ca80c875bfbe53b2d404b132f0179594358d1c33
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_non_server_name / 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 #
39 # VERSION: '1.2.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
53 resources:
54
55   vm_typeX_0_bialy_port_2:
56     type: OS::Neutron::Port
57     properties:
58       name:
59         str_replace:
60           template: mynameisok_myindex
61           params:
62             mynameisok:
63               get_param: vnf_name
64             myindex:
65               get_param: 0
66       network: { get_param: int_intranet_net_name }
67       fixed_ips:
68         - ip_address: { get_param: lb_1_int_intranet_floating_ip }
69       binding:vnic_type: direct
70       value_specs:
71         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
72         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
73         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
74         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
75         vlan_mirror: 
76         ATT_FABRIC_CONFIGURATION_REQUIRED: true
77     metadata:
78         port_type: SR-IOV_Trunk
79
80   vm_typeX_1_bialy_port_2:
81     type: OS::Neutron::Port
82     properties:
83       name:
84         str_replace:
85           template: mynameisok_myindex
86           params:
87             mynameisok:
88               get_param: vnf_name
89             myindex:
90               get_param: 1
91       network: { get_param: int_intranet_net_id }
92       fixed_ips:
93         - ip_address: { get_param: lb_2_int_intranet_floating_v6_ip }
94       binding:vnic_type: direct
95       value_specs:
96         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
97         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
98         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
99         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
100         vlan_mirror: 
101         ATT_FABRIC_CONFIGURATION_REQUIRED: true
102     metadata:
103         port_type: SR-IOV_Non_Trunk
104
105   vm_typeX_2_bialy_port_2:
106     type: OS::Neutron::Port
107     properties:
108       network: { get_param: extnet_net_name }
109       fixed_ips:
110         - ip_address: { get_param: lb_1_extnet_floating_ip }
111       binding:vnic_type: direct
112       value_specs:
113         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
114         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
115         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
116         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
117         vlan_mirror: 
118         ATT_FABRIC_CONFIGURATION_REQUIRED: true
119     metadata:
120         port_type: OVS
121
122   vm_typeX_3_bialy_port_2:
123     type: OS::Neutron::Port
124     properties:
125       network: { get_param: extnet_net_id }
126       fixed_ips:
127         - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
128       binding:vnic_type: direct
129       value_specs:
130         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
131         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
132         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
133         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
134         vlan_mirror: 
135         ATT_FABRIC_CONFIGURATION_REQUIRED: true
136     metadata:
137         port_type: SR-IOV_Mirrored_Trunk
138