3b0453d1a242c854bc7fc0fd3e1578b3daf29044
[demo.git] / heat / vFW_CNF_CDS / templates / cba / Templates / vpkg-template.vtl
1 {
2     "capability-data": [
3         {
4             "capability-name": "generate-name",
5             "key-mapping": [
6                 {
7                     "output-key-mapping": [
8                         {
9                             "resource-name": "vf_module_name",
10                             "resource-value": "${vf-module-name}"
11                         }
12                     ],
13                     "payload": [
14                         {
15                             "param-name": "resource-name",
16                             "param-value": "vf_module_name"
17                         },
18                         {
19                             "param-name": "resource-value",
20                             "param-value": "${vf-module-name}"
21                         },
22                         {
23                             "param-name": "external-key",
24                             "param-value": "${vf-module-id}_vf-module-name"
25                         },
26                         {
27                             "param-name": "policy-instance-name",
28                             "param-value": "${vf-naming-policy}"
29                         },
30                         {
31                             "param-name": "naming-type",
32                             "param-value": "VF-MODULE"
33                         },
34                         {
35                             "param-name": "VNF_NAME",
36                             "param-value": "${vnf_name}"
37                         },
38                         {
39                             "param-name": "VF_MODULE_LABEL",
40                             "param-value": "${vf-module-label}"
41                         },
42                         {
43                             "param-name": "VF_MODULE_TYPE",
44                             "param-value": "${vf-module-type}"
45                         }
46                     ]
47                 }
48             ]
49         },
50         {
51             "capability-name": "aai-vf-module-put",
52             "key-mapping": [
53                 {
54                     "output-key-mapping": [
55                         {
56                             "resource-name": "aai-vf-module-put",
57                             "resource-value": "${status}"
58                         }
59                     ],
60                     "payload": [
61                         {
62                             "param-name": "vf-module",
63                             "param-value": "vf-module"
64                         }
65                     ]
66                 }
67             ]
68         }
69     ],
70     "resource-accumulator-resolved-data": [
71         {
72             "param-name": "service-instance-id",
73             "param-value": "${service-instance-id}"
74         },
75         {
76             "param-name": "vnf_name",
77             "param-value": "${vnf_name}"
78         },
79         {
80             "param-name": "vnf_model_customization_uuid",
81             "param-value": "${vnf-model-customization-uuid}"
82         },
83         {
84             "param-name": "vf-module-model-invariant-uuid",
85             "param-value": "${vf-module-model-invariant-uuid}"
86         },
87         {
88             "param-name": "vf-module-model-version",
89             "param-value": "${vf-module-model-version}"
90         },
91         {
92             "param-name": "vf_module_id",
93             "param-value": "${vf-module-id}"
94         },
95         {
96             "param-name": "vf_module_type",
97             "param-value": "${vf-module-type}"
98         },
99         {
100             "param-name": "vf_module_customization_uuid",
101             "param-value": "${vf-module-model-customization-uuid}"
102         },
103         {
104             "param-name": "vfc_customization_uuid",
105             "param-value": "${vfccustomizationuuid}"
106         },
107         {
108             "param-name": "aic-cloud-region",
109             "param-value": "${aic-cloud-region}"
110         },
111         {
112             "param-name": "vnfc-model-customization-uuid",
113             "param-value": "${vfccustomizationuuid}"
114         },
115         {
116             "param-name": "vnfc-model-invariant-uuid",
117             "param-value": "${vnfc-model-invariant-uuid}"
118         },
119         {
120             "param-name": "vnfc-model-version",
121             "param-value": "${vnfc-model-version}"
122         },
123         {
124             "param-name": "nfc-naming-code",
125             "param-value": "${nfc-naming-code}"
126         },
127         {
128             "param-name": "vpg_image_name",
129             "param-value": "${vpg_image_name}"
130         },
131         {
132             "param-name": "vpg_flavor_name",
133             "param-value": "${vpg_flavor_name}"
134         },
135         {
136             "param-name": "public_net_id",
137             "param-value": "${public_net_id}"
138         },
139         {
140             "param-name": "int_private1_net_cidr",
141             "param-value": "${int_private1_net_cidr}"
142         },
143         {
144             "param-name": "onap_private_net_cidr",
145             "param-value": "${onap_private_net_cidr}"
146         },
147         {
148             "param-name": "int_private2_net_cidr",
149             "param-value": "${int_private2_net_cidr}"
150         },
151         {
152             "param-name": "vfw_int_private1_ip_0",
153             "param-value": "${vfw_int_private1_ip_0}"
154         },
155         {
156             "param-name": "vpg_int_private1_ip_0",
157             "param-value": "${vpg_int_private1_ip_0}"
158         },
159         {
160             "param-name": "vsn_int_private2_ip_0",
161             "param-value": "${vsn_int_private2_ip_0}"
162         },
163         {
164             "param-name": "dcae_collector_ip",
165             "param-value": "${dcae_collector_ip}"
166         },
167         {
168             "param-name": "dcae_collector_port",
169             "param-value": "${dcae_collector_port}"
170         },
171         {
172             "param-name": "demo_artifacts_version",
173             "param-value": "${demo_artifacts_version}}"
174         },
175         {
176             "param-name": "install_script_version",
177             "param-value": "${install_script_version}}"
178         },
179         {
180             "param-name": "key_name",
181             "param-value": "${vnf_name}_key_name"
182         },
183         {
184             "param-name": "cloud_env",
185             "param-value": "${cloud_env}"
186         },
187         {
188             "param-name": "sec_group",
189             "param-value": "${sec_group}"
190         },
191         {
192             "param-name": "nexus_artifact_repo",
193             "param-value": "${nexus_artifact_repo}"
194         },
195         {
196             "param-name": "vpg_onap_private_ip_0",
197             "param-value": "${vpg_onap_private_ip_0}"
198         },
199         {
200             "param-name": "k8s-rb-profile-name",
201             "param-value": "${k8s-rb-profile-name}"
202         },
203         {
204             "param-name": "k8s-rb-profile-namespace",
205             "param-value": "${k8s-rb-profile-namespace}"
206         },
207         {
208             "param-name": "onap_private_net_id",
209             "param-value": "${vnf-id}-management-network"
210         },
211         {
212             "param-name": "int_private1_net_id",
213             "param-value": "${vnf-id}-unprotected-network"
214         },
215         {
216             "param-name": "vpg_name_0",
217             "param-value": "vpg-${vf-module-id}"
218         }
219     ]
220 }