[VVP] updating validation scripts in dublin
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_non_server_name / fail / fail1.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:
62           params: mynameisstilltrouble
63       network: { get_param: int_intranet_net_name }
64       fixed_ips:
65         - ip_address: { get_param: lb_1_int_intranet_floating_ip }
66       binding:vnic_type: direct
67       value_specs:
68         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
69         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
70         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
71         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
72         vlan_mirror: 
73         ATT_FABRIC_CONFIGURATION_REQUIRED: true
74     metadata:
75         port_type: SR-IOV_Trunk
76
77   vm_typeX_1_bialy_port_2:
78     type: OS::Neutron::Port
79     properties:
80       name:
81         str_replace: {}
82       network: { get_param: int_intranet_net_id }
83       fixed_ips:
84         - ip_address: { get_param: lb_2_int_intranet_floating_v6_ip }
85       binding:vnic_type: direct
86       value_specs:
87         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
88         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
89         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
90         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
91         vlan_mirror: 
92         ATT_FABRIC_CONFIGURATION_REQUIRED: true
93     metadata:
94         port_type: SR-IOV_Non_Trunk
95
96   vm_typeX_2_bialy_port_2:
97     type: OS::Neutron::Port
98     properties:
99       network: { get_param: extnet_net_name }
100       fixed_ips:
101         - ip_address: { get_param: lb_1_extnet_floating_ip }
102       binding:vnic_type: direct
103       value_specs:
104         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
105         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
106         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
107         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
108         vlan_mirror: 
109         ATT_FABRIC_CONFIGURATION_REQUIRED: true
110     metadata:
111         port_type: OVS
112
113   vm_typeX_3_bialy_port_2:
114     type: OS::Neutron::Port
115     properties:
116       network: { get_param: extnet_net_id }
117       fixed_ips:
118         - ip_address: { get_param: lb_2_extnet_floating_v6_ip }
119       binding:vnic_type: direct
120       value_specs:
121         vlan_filter: {get_param: vm_typeX_bialy_vlan_filter}
122         public_vlans: {get_param: vm_typeX_bialy_public_vlans}
123         private_vlans: {get_param: vm_typeX_bialy_private_vlans}
124         guest_vlans: {get_param: vm_typeX_bialy_guest_vlans}
125         vlan_mirror: 
126         ATT_FABRIC_CONFIGURATION_REQUIRED: true
127     metadata:
128         port_type: SR-IOV_Mirrored_Trunk
129