[VVP] adding subnet_uuid to nested parameter check
[vvp/validation-scripts.git] / ice_validator / tests / fixtures / test_nested_parameters / fail / 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   vnfname:
13     label: VNF name
14     description: this name will also be used on VM server and other resources.
15     type: string
16
17   vnfid:
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   vfmodule_id:
23     type: string
24     description: Unique ID for this VF Module instance 
25
26   vfmodule_index:
27     type: string
28     description: Unique ID for this VF Module instance 
29
30   vfmodule_name:
31     type: string
32     description: Unique name for this VF Module instance
33     
34   vmrole: 
35     type: string
36     description: role tagged to VM 
37
38   flavor:
39     label: VMs flavor
40     description: The JSON map containing the nova Flavors to be used for the VM Servers
41     type: string
42
43   starkimage_name:
44     type: string
45     description: "stark image name"
46     
47   names:
48     type: comma_delimited_list
49     description: VM name for STARK VM 1
50
51   workloadcontext:
52     type: string
53     description: Workload Context for this VNF instance
54
55   environmentcontext:
56     type: string
57     description: Environment Context for this VNF instance     
58
59   dummynet_id:
60     type: string
61     description: nsdaljfnsak
62
63   dummysubnet_id:
64     type: string
65     description: nsdaljfnsak
66
67   iplist:
68     type: comma_delimited_list
69     description: dsnafljsadnlfks
70
71   stark_count: 
72     type: number
73     description: njsdlf
74
75   starkdummy_floating_ip:
76     type: string
77     description: nfalsd
78
79   starkint_mummy_ips:
80     type: comma_delimited_list
81     description: nfdsa
82
83   oamnet_fqdn:
84     type: string
85     description: ndfsakl
86
87   oam2net_fqdn:
88     type: string
89     description: nfkldas
90
91   instanceip_address:
92     type: string
93     description: nfsakdl
94
95   my_contrailip:
96     type: string
97     description: nlfdsa
98
99   subnet_uid:
100     type: string
101     description: nlfdsa
102
103 resources:
104
105   int_mummy_network:
106     type: OS::Neutron::Net
107
108   int_mummy_subnet:
109     type: OS::Neutron::Subnet
110     properties:
111       network: { get_resource: int_mummy_network }
112
113   stark_RG:
114     type: OS::Heat::ResourceGroup
115     properties:
116       count: { get_param: stark_count }
117       resource_def:
118         type: stark_nested.yaml
119         properties:
120           index: '%index%'
121           dummy_net_id: { get_param: dummynet_id }
122           dummy_subnet_id: { get_param: dummysubnet_id }
123           stark_dummy_ips: { get_param: iplist }
124           vnf_name: { get_param: vnfname }
125           vnf_id: { get_param: vnfid }
126           vf_module_id: { get_param: vfmodule_id }
127           vf_module_index: { get_param: vfmodule_index }
128           vf_module_name: { get_param: vfmodule_name }    
129           vm_role: { get_param: vmrole }
130           stark_flavor_name: { get_param: flavor }
131           stark_image_name: { get_param: starkimage_name }
132           stark_names: { get_param: names }
133           workload_context: { get_param: workloadcontext }
134           environment_context: { get_param: environmentcontext }
135           stark_volumes: { get_param: stark_volumes }
136           stark_dummy_floating_ip: { get_param: starkdummy_floating_ip }
137           int_mummy_net_id: { get_resource: int_mummy_network }
138           int_mummy_subnet_id: { get_resource: int_mummy_subnet }
139           stark_int_mummy_ips: { get_param: starkint_mummy_ips }
140           oam_net_fqdn: { get_param: oamnet_fqdn }
141           oam2_net_fqdn: { get_param: oam2net_fqdn }
142           instance_ip_address: { get_param: instanceip_address }
143           mycontrailip: { get_param: my_contrailip }
144           subnet_uuid: { get_param: subnet_uid }