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