0f82c0b0a154829edfdb49f0223e775727058e3d
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_nested_parameters / pass / base_stark.yaml
1 heat_template_version: 2015-04-30
2
3 description: |
4   this is a test template
5
6 parameters:
7
8   stark_volumes:
9     description: nfsadnfkl
10     type: json
11
12   vnf_name:
13     label: VNF name
14     description: this name will also be used on VM server and other resources.
15     type: string
16
17   vnf_id:
18     label: VNF ID
19     description: 'This ID will be passed as metadata on all Nova Servers, Cinder Volumes, and any other resource that supports metadata'
20     type: string
21
22   vf_module_id:
23     type: string
24     description: Unique ID for this VF Module instance 
25
26   vf_module_name:
27     type: string
28     description: Unique name for this VF Module instance
29     
30   vm_role: 
31     type: string
32     description: role tagged to VM 
33
34   stark_flavor_name:
35     label: VMs flavor
36     description: The JSON map containing the nova Flavors to be used for the VM Servers
37     type: string
38
39   stark_image_name:
40     type: string
41     description: "stark image name"
42     
43   stark_names:
44     type: comma_delimited_list
45     description: VM name for STARK VM 1
46
47   workload_context:
48     type: string
49     description: Workload Context for this VNF instance
50
51   environment_context:
52     type: string
53     description: Environment Context for this VNF instance     
54
55   dummy_net_id:
56     type: string
57     description: nsdaljfnsak
58
59   dummy_subnet_id:
60     type: string
61     description: nsdaljfnsak
62
63   stark_dummy_ips:
64     type: comma_delimited_list
65     description: dsnafljsadnlfks
66
67   stark_count: 
68     type: number
69     description: njsdlf
70
71   stark_dummy_floating_ip:
72     type: string
73     description: nfalsd
74
75   stark_int_mummy_ips:
76     type: comma_delimited_list
77     description: nfdsa
78
79   oam_net_fqdn:
80     type: string
81     description: ndfsakl
82
83   oam2_net_fqdn:
84     type: string
85     description: nfkldas
86
87   instance_ip_address:
88     type: string
89     description: nfsakdl
90
91   mycontrailip:
92     type: string
93     description: nlfdsa
94
95 resources:
96
97   int_mummy_network:
98     type: OS::Neutron::Net
99
100   int_mummy_subnet:
101     type: OS::Neutron::Subnet
102     properties:
103       network: { get_resource: int_mummy_network }
104
105   stark_RG:
106     type: OS::Heat::ResourceGroup
107     properties:
108       count: { get_param: stark_count }
109       resource_def:
110         type: stark_nested.yaml
111         properties:
112           index: '%index%'
113           dummy_net_id: { get_param: dummy_net_id }
114           dummy_subnet_id: { get_param: dummy_subnet_id }
115           stark_dummy_ips: { get_param: stark_dummy_ips }
116           vnf_name: { get_param: vnf_name }
117           vnf_id: { get_param: vnf_id }
118           vf_module_id: { get_param: vf_module_id }
119           vf_module_name: { get_param: vf_module_name }    
120           vm_role: { get_param: vm_role }
121           stark_flavor_name: { get_param: stark_flavor_name }
122           stark_image_name: { get_param: stark_image_name }
123           stark_names: { get_param: stark_names }
124           workload_context: { get_param: workload_context }
125           environment_context: { get_param: environment_context }
126           stark_volumes: { get_param: stark_volumes }
127           stark_dummy_floating_ip: { get_param: stark_dummy_floating_ip }
128           int_mummy_net_id: { get_resource: int_mummy_network }
129           int_mummy_subnet_id: { get_resource: int_mummy_subnet }
130           stark_int_mummy_ips: { get_param: stark_int_mummy_ips }
131           oam_net_fqdn: { get_param: oam_net_fqdn }
132           oam2_net_fqdn: { get_param: oam2_net_fqdn }
133           instance_ip_address: { get_param: instance_ip_address }
134           mycontrailip: { get_param: mycontrailip }