[VVP] adding list support for non-server-name uniqueness
[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   testr0:
56     type: testr
57     properties:
58       name:
59         str_replace:
60           template: vnfname_param
61           params:
62             vnfname: { get_param: vnf_name }
63             param: { get_param: [params, 0]}
64
65   testr1:
66     type: testr
67     properties:
68       name:
69         str_replace:
70           template: vnfname_param
71           params:
72             vnfname: { get_param: vnf_name }
73             param: { get_param: [params, 1]}
74
75   vm_typeX_0_bialy_port_2:
76     type: OS::Neutron::Port
77     properties:
78       name:
79         str_replace:
80           template: mynameisok_myindex
81           params:
82             mynameisok:
83               get_param: vnf_name
84             myindex:
85               get_param: 0
86       network: { get_param: int_intranet_net_name }
87       fixed_ips:
88         - ip_address: { get_param: lb_1_int_intranet_floating_ip }
89       binding:vnic_type: direct
90       value_specs:
91         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
92         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
93         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
94         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
95         vlan_mirror: 
96         ATT_FABRIC_CONFIGURATION_REQUIRED: true
97     metadata:
98         port_type: SR-IOV_Trunk
99
100   vm_typeX_1_bialy_port_2:
101     type: OS::Neutron::Port
102     properties:
103       name:
104         str_replace:
105           template: mynameisok_myindex
106           params:
107             mynameisok:
108               get_param: vnf_name
109             myindex:
110               get_param: 1
111       network: { get_param: int_intranet_net_id }
112       fixed_ips:
113         - ip_address: { get_param: lb_2_int_intranet_floating_v6_ip }
114       binding:vnic_type: direct
115       value_specs:
116         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
117         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
118         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
119         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
120         vlan_mirror: 
121         ATT_FABRIC_CONFIGURATION_REQUIRED: true
122     metadata:
123         port_type: SR-IOV_Non_Trunk
124
125   vm_typeX_2_bialy_port_2:
126     type: OS::Neutron::Port
127     properties:
128       network: { get_param: extnet_net_name }
129       fixed_ips:
130         - ip_address: { get_param: lb_1_extnet_floating_ip }
131       binding:vnic_type: direct
132       value_specs:
133         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
134         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
135         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
136         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
137         vlan_mirror: 
138         ATT_FABRIC_CONFIGURATION_REQUIRED: true
139     metadata:
140         port_type: OVS
141
142   vm_typeX_3_bialy_port_2:
143     type: OS::Neutron::Port
144     properties:
145       network: { get_param: extnet_net_id }
146       fixed_ips:
147         - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
148       binding:vnic_type: direct
149       value_specs:
150         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
151         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
152         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
153         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
154         vlan_mirror: 
155         ATT_FABRIC_CONFIGURATION_REQUIRED: true
156     metadata:
157         port_type: SR-IOV_Mirrored_Trunk
158