2a651b12f243b6a062909addc5da1338d05cbac4
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_neutron_port_fixed_ips_subnet / pass / pass0.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 #
39 # VERSION: '1.0.0'
40
41 ---
42 parameters:
43
44   vm_typeX_bialy_vlan_filter:
45     type: comma_delimited_list
46   vm_typeX_bialy_public_vlans:
47     type: comma_delimited_list
48   vm_typeX_bialy_private_vlans:
49     type: comma_delimited_list
50   vm_typeX_bialy_guest_vlans:
51     type: comma_delimited_list
52   bialy_subnet:
53     type: string
54   bialy_subnet_id:
55     type: string
56
57 resources:
58
59   vm_typeX_0_bialy_port_2:
60     type: OS::Neutron::Port
61     properties:
62       network: { get_param: int_intranet_net_name }
63       fixed_ips:
64         - ip_address: { get_param: lb_1_int_intranet_floating_ip }
65           subnet: { get_param: bialy_subnet_id }
66       binding:vnic_type: direct
67       value_specs:
68         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
69         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
70         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
71         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
72         vlan_mirror: 
73         ATT_FABRIC_CONFIGURATION_REQUIRED: true
74     metadata:
75         port_type: SR-IOV_Trunk
76
77   vm_typeX_3_bialy_port_2:
78     type: OS::Neutron::Port
79     properties:
80       network: { get_param: extnet_net_id }
81       fixed_ips:
82         - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
83           subnet_id: { get_param: bialy_subnet_id }
84       binding:vnic_type: direct
85       value_specs:
86         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
87         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
88         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
89         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
90         vlan_mirror: 
91         ATT_FABRIC_CONFIGURATION_REQUIRED: true
92     metadata:
93         port_type: SR-IOV_Mirrored_Trunk
94