[VVP] Removing unnecessary trademark lines
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_servers_have_optional_metadata / fail / template_missing_specified_vf_module_name.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 #
39 ---
40 heat_template_version: 2013-05-23
41
42 description: Simple template to deploy a single compute instance - only one optional field and 2 servers
43
44 parameters:
45   vf_module_id:
46     type: string
47     label: vf_module_id
48     description: Module ID for servers
49   vnf_id:
50     type: string
51     label: vnf_id
52     description: VNF ID for servers
53   vnf_name:
54     type: string
55     label: vnf_name
56     description: VNF name for servers
57   vm_role:
58     type: string
59     label: vf_role
60     description: Role of the server
61   vf_module_index:
62     type: string
63     label: vf_role
64     description: Module index for the server
65   example_server_name_0:
66     type: string
67     label: image
68     description: name for for server_0
69   example_server_name_1:
70     type: string
71     label: image
72     description: name for for server_1
73   example_server_image:
74     type: string
75     label: image
76     description: Glance image for server_0
77   example_server_flavor:
78     type: string
79     label: flavor
80     description: Flavor for server_0
81
82 resources:
83
84   example_server_0:
85     type: OS::Nova::Server
86     properties:
87       name: { get_param: example_server_name_0 }
88       image: { get_param: example_server_image }
89       flavor: { get_param: example_server_flavor }
90       metadata:
91         vf_module_id: { get_param: vf_module_id }
92         vnf_id: { get_param: vnf_id }
93         vnf_name: { get_param: vnf_name }
94         vm_role: { get_param: vm_role }
95         vf_module_name: { get_param: vf_module_name }
96
97   example_server_1:
98     type: OS::Nova::Server
99     properties:
100       name: { get_param: example_server_name_1 }
101       image: { get_param: example_server_image }
102       flavor: { get_param: example_server_flavor }
103       metadata:
104         vf_module_id: { get_param: vf_module_id }
105         vnf_id: { get_param: vnf_id }
106         vnf_name: { get_param: vnf_name }
107         vm_role: { get_param: vm_role }
108         vf_module_index: { get_param: vf_module_index }