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