[VVP] updating validation scripts in dublin
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_neutron_port_fixed_ips / fail / fail1.yaml
1 # -*- coding: utf8 -*-
2 # ============LICENSE_START====================================================
3 # org.onap.vvp/validation-scripts
4 # ===================================================================
5 # Copyright © 2017 AT&T Intellectual Property. All rights reserved.
6 # ===================================================================
7 #
8 # Unless otherwise specified, all software contained herein is licensed
9 # under the Apache License, Version 2.0 (the "License");
10 # you may not use this software except in compliance with the License.
11 # You may obtain a copy of the License at
12 #
13 #             http://www.apache.org/licenses/LICENSE-2.0
14 #
15 # Unless required by applicable law or agreed to in writing, software
16 # distributed under the License is distributed on an "AS IS" BASIS,
17 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 # See the License for the specific language governing permissions and
19 # limitations under the License.
20 #
21 #
22 #
23 # Unless otherwise specified, all documentation contained herein is licensed
24 # under the Creative Commons License, Attribution 4.0 Intl. (the "License");
25 # you may not use this documentation except in compliance with the License.
26 # You may obtain a copy of the License at
27 #
28 #             https://creativecommons.org/licenses/by/4.0/
29 #
30 # Unless required by applicable law or agreed to in writing, documentation
31 # distributed under the License is distributed on an "AS IS" BASIS,
32 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33 # See the License for the specific language governing permissions and
34 # limitations under the License.
35 #
36 # ============LICENSE_END============================================
37 #
38 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
39 #
40 # VERSION: '1.0.0'
41
42 ---
43 parameters:
44
45   vm_typeX_bialy_vlan_filter:
46     type: comma_delimited_list
47   vm_typeX_bialy_public_vlans:
48     type: comma_delimited_list
49   vm_typeX_bialy_private_vlans:
50     type: comma_delimited_list
51   vm_typeX_bialy_guest_vlans:
52     type: comma_delimited_list
53   bialy_subnet:
54     type: string
55   bialy_subnet_id:
56     type: string
57
58 resources:
59
60   vm_typeX_0_bialy_port_2:
61     type: OS::Neutron::Port
62     properties:
63       network: { get_param: int_intranet_net_name }
64       fixed_ips:
65         - ip_address: { get_param: lb_1_int_intranet_floating_ip }
66           subnet: { get_param: bialy_subnet }
67           subnet_id: { get_param: bialy_subnet_id }
68       binding:vnic_type: direct
69       value_specs:
70         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
71         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
72         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
73         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
74         vlan_mirror: 
75         ATT_FABRIC_CONFIGURATION_REQUIRED: true
76     metadata:
77         port_type: SR-IOV_Trunk
78
79   vm_typeX_3_bialy_port_2:
80     type: OS::Neutron::Port
81     properties:
82       network: { get_param: extnet_net_id }
83       fixed_ips:
84         - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
85           subnet: { get_param: bialy_subnet }
86           subnet_id: { get_param: bialy_subnet_id }
87       binding:vnic_type: direct
88       value_specs:
89         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
90         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
91         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
92         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
93         vlan_mirror: 
94         ATT_FABRIC_CONFIGURATION_REQUIRED: true
95     metadata:
96         port_type: SR-IOV_Mirrored_Trunk
97