[VVP] Fixing internal network check
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_neutron_port_internal_network / pass / pass0.yaml
1 # -*- coding: utf8 -*-
2 # ============LICENSE_START====================================================
3 # org.onap.vvp/validation-scripts
4 # ===================================================================
5 # Copyright © 2019 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 parameters:
39
40   vm_typeX_bialy_vlan_filter:
41     type: comma_delimited_list
42   vm_typeX_bialy_public_vlans:
43     type: comma_delimited_list
44   vm_typeX_bialy_private_vlans:
45     type: comma_delimited_list
46   vm_typeX_bialy_guest_vlans:
47     type: comma_delimited_list
48   subnet_param:
49     type: string
50   subnet_id_param:
51     type: string
52   int_intranet_net_id:
53     type: string
54
55 resources:
56
57   vm_typeX_0_intranet_port_2:
58     type: OS::Neutron::Port
59     properties:
60       network: { get_param: int_intranet_net_id }
61       fixed_ips:
62         - ip_address: { get_param: lb_1_int_intranet_floating_ip }
63           subnet: { get_param: subnet_param }
64           subnet_id: { get_param: subnet_id_param }
65       binding:vnic_type: direct
66       value_specs:
67         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
68         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
69         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
70         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
71         vlan_mirror: 
72         ATT_FABRIC_CONFIGURATION_REQUIRED: true
73     metadata:
74         port_type: SR-IOV_Trunk
75
76   vm_typeX_3_extnet_port_2:
77     type: OS::Neutron::Port
78     properties:
79       network: { get_param: int_intranet_net_id }
80       fixed_ips:
81         - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
82           subnet: { get_param: subnet_param }
83           subnet_id: { get_param: subnet_id_param }
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
95     int_special_network:
96       type: OS::Neutron::Net
97
98     vm_typeX_3_extnet_port_3:
99       type: nested.yaml
100       properties:
101         int_special_net_id: { get_resource: int_special_network }
102
103
104
105