Commit seed code for validation-scripts
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_get_file_only_reference_local_files / fail / user_data_contains_http.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 ---
41 resources:
42
43   admin_server_0:
44     type: OS::Nova::Server
45     properties:
46       availability_zone: { get_param: availability_zone_0 }
47       name: { get_param: [admin_names, 0]  }
48       flavor: { get_param: admin_flavor_name}
49       networks:
50         - port: { get_resource: admin_0_exnet_0_port }
51         - port: { get_resource: admin_0_int_vpnnet_0_port }
52       metadata:
53         vnf_name: { get_param: vnf_name }
54         vnf_id: { get_param: vnf_id }
55         vf_module_id: { get_param: vf_module_id }
56       user_data:
57         get_file: http://server.example.com/files/user_data.sh
58
59   admin_server_1:
60     type: OS::Nova::Server
61     properties:
62       availability_zone: { get_param: availability_zone_0 }
63       name: { get_param: [admin_names, 1]  }
64       flavor: { get_param: admin_flavor_name}
65       networks:
66         - port: { get_resource: admin_1_extnet_0_port }
67         - port: { get_resource: admin_1_extnet_1_port }
68       metadata:
69         vnf_name: { get_param: vnf_name }
70         vnf_id: { get_param: vnf_id }
71         vf_module_id: { get_param: vf_module_id }
72       personality: {"/opt/new.txt": { get_file: "new.txt" } }
73
74   admin_server_2:
75     type: OS::Nova::Server
76     properties:
77       availability_zone: { get_param: availability_zone_0 }
78       name: { get_param: [admin_names, 2]  }
79       flavor: { get_param: admin_flavor_name}
80       metadata:
81         vnf_name: { get_param: vnf_name }
82         vnf_id: { get_param: vnf_id }
83         vf_module_id: { get_param: vf_module_id }
84
85   lb_server_0:
86     type: OS::Nova::Server
87     properties:
88       availability_zone: { get_param: availability_zone_0 }
89       name: { get_param: [lb_names, 0]  }
90       flavor: { get_param: lb_flavor_name}
91       metadata:
92         vnf_name: { get_param: vnf_name }
93         vnf_id: { get_param: vnf_id }
94         vf_module_id: { get_param: vf_module_id }