CDS Blueprint for vFW K8s Use Case
[demo.git] / heat / vFW_CNF_CDS / templates / cba-dd.json
1 [
2   {
3     "name": "k8s-rb-profile-name",
4     "tags": "k8s, cnf, profile",
5     "data_type": "string",
6     "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
7     "entry_schema": "string",
8     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
9     "definition": {
10       "tags": "k8s, cnf, profile",
11       "name": "k8s-rb-profile-name",
12       "property": {
13         "description": "Profile name used in multicloud/k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
14         "type": "string"
15       },
16       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
17       "sources": {
18         "input": {
19           "type": "source-input"
20         },
21         "default": {
22           "type": "source-default",
23           "properties": {}
24         },
25         "sdnc" : {
26            "type" : "source-rest",
27            "properties" : {
28              "verb" : "GET",
29              "type" : "JSON",
30              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/k8s-rb-profile-name",
31              "path" : "/param/0/value",
32              "input-key-mapping" : {
33                "service-instance-id" : "service-instance-id",
34                "vnf-id" : "vnf-id"
35              },
36              "output-key-mapping" : {
37                "k8s-rb-profile-name" : "value"
38              },
39              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
40            }
41          }
42       }
43     }
44   },
45   {
46     "name": "vf-module-model-invariant-uuid",
47     "tags": "vnf, vf-module",
48     "data_type": "string",
49     "description": "vf module model invariant uuid",
50     "entry_schema": "string",
51     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
52     "definition": {
53       "tags": "vnf, vf-module",
54       "name": "vf-module-model-invariant-uuid",
55       "property": {
56         "description": "vf module model invariant uuid",
57         "type": "string"
58       },
59       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
60       "sources": {
61         "input": {
62           "type": "source-input"
63         },
64         "default": {
65           "type": "source-default",
66           "properties": {}
67         },
68         "processor-db" : {
69            "type" : "source-db",
70            "properties" : {
71              "type" : "SQL",
72              "query" : "select sdnctl.VF_MODULE_MODEL.invariant_uuid as vf_module_model_invariant_uuid from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
73              "input-key-mapping" : {
74                "customizationid" : "vf-module-model-customization-uuid"
75              },
76              "output-key-mapping" : {
77                "vf-module-model-invariant-uuid" : "vf_module_model_invariant_uuid"
78              },
79              "key-dependencies" : [ "vf-module-model-customization-uuid" ],
80              "endpoint-selector" : "dynamic-db-source"
81            }
82          }
83       }
84     }
85   },
86   {
87     "name": "vf-module-model-version",
88     "tags": "vnf, vf-module",
89     "data_type": "string",
90     "description": "vf module model model version",
91     "entry_schema": "string",
92     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
93     "definition": {
94       "tags": "vnf, vf-module",
95       "name": "vf-module-model-version",
96       "property": {
97         "description": "vf module model model version",
98         "type": "string"
99       },
100       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
101       "sources": {
102         "input": {
103           "type": "source-input"
104         },
105         "default": {
106           "type": "source-default",
107           "properties": {}
108         },
109         "processor-db" : {
110            "type" : "source-db",
111            "properties" : {
112              "type" : "SQL",
113              "query" : "select sdnctl.VF_MODULE_MODEL.version as vf_module_model_version from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
114              "input-key-mapping" : {
115                "customizationid" : "vf-module-model-customization-uuid"
116              },
117              "output-key-mapping" : {
118                "vf-module-model-version" : "vf-module-model-version"
119              },
120              "key-dependencies" : [ "vf-module-model-customization-uuid" ],
121              "endpoint-selector" : "dynamic-db-source"
122            }
123          }
124       }
125     }
126   },
127   {
128     "name": "int_private1_gw_ip",
129     "tags": "k8s, cnf, int_private1_gw_ip",
130     "data_type": "string",
131     "description": "Private unprotected network gateway ip address",
132     "entry_schema": "string",
133     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
134     "definition": {
135       "tags": "k8s, cnf, int_private1_gw_ip",
136       "name": "int_private1_gw_ip",
137       "property": {
138         "description": "Private unprotected network gateway ip address",
139         "type": "string"
140       },
141       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
142       "sources": {
143         "input": {
144           "type": "source-input"
145         },
146         "default": {
147           "type": "source-default",
148           "properties": {}
149         },
150         "sdnc" : {
151            "type" : "source-rest",
152            "properties" : {
153              "verb" : "GET",
154              "type" : "JSON",
155              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_gw_ip",
156              "path" : "/param/0/value",
157              "input-key-mapping" : {
158                "service-instance-id" : "service-instance-id",
159                "vnf-id" : "vnf-id"
160              },
161              "output-key-mapping" : {
162                "int_private1_gw_ip" : "value"
163              },
164              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
165            }
166          }
167       }
168     }
169   },
170   {
171     "name": "int_private1_net_id",
172     "tags": "k8s, cnf, int_private1_net_id",
173     "data_type": "string",
174     "description": "Private unprotected network identification",
175     "entry_schema": "string",
176     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
177     "definition": {
178       "tags": "k8s, cnf, int_private1_net_id",
179       "name": "int_private1_net_id",
180       "property": {
181         "description": "Private network identification",
182         "type": "string"
183       },
184       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
185       "sources": {
186         "input": {
187           "type": "source-input"
188         },
189         "default": {
190           "type": "source-default",
191           "properties": {}
192         },
193         "sdnc" : {
194            "type" : "source-rest",
195            "properties" : {
196              "verb" : "GET",
197              "type" : "JSON",
198              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_net_id",
199              "path" : "/param/0/value",
200              "input-key-mapping" : {
201                "service-instance-id" : "service-instance-id",
202                "vnf-id" : "vnf-id"
203              },
204              "output-key-mapping" : {
205                "int_private1_net_id" : "value"
206              },
207              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
208            }
209          }
210       }
211     }
212   },
213   {
214     "name": "int_private1_subnet_id",
215     "tags": "k8s, cnf, int_private1_subnet_id",
216     "data_type": "string",
217     "description": "Private unprotected subnetwork identification",
218     "entry_schema": "string",
219     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
220     "definition": {
221       "tags": "k8s, cnf, int_private1_subnet_id",
222       "name": "int_private1_subnet_id",
223       "property": {
224         "description": "Private unprotected subnetwork identification",
225         "type": "string"
226       },
227       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
228       "sources": {
229         "input": {
230           "type": "source-input"
231         },
232         "default": {
233           "type": "source-default",
234           "properties": {}
235         },
236         "sdnc" : {
237            "type" : "source-rest",
238            "properties" : {
239              "verb" : "GET",
240              "type" : "JSON",
241              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private1_subnet_id",
242              "path" : "/param/0/value",
243              "input-key-mapping" : {
244                "service-instance-id" : "service-instance-id",
245                "vnf-id" : "vnf-id"
246              },
247              "output-key-mapping" : {
248                "int_private1_subnet_id" : "value"
249              },
250              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
251            }
252          }
253       }
254     }
255   },
256   {
257     "name": "int_private2_gw_ip",
258     "tags": "k8s, cnf, int_private2_gw_ip",
259     "data_type": "string",
260     "description": "Private protected network gateway ip address",
261     "entry_schema": "string",
262     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
263     "definition": {
264       "tags": "k8s, cnf, int_private2_gw_ip",
265       "name": "int_private2_gw_ip",
266       "property": {
267         "description": "Private protected network gateway ip address",
268         "type": "string"
269       },
270       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
271       "sources": {
272         "input": {
273           "type": "source-input"
274         },
275         "default": {
276           "type": "source-default",
277           "properties": {}
278         },
279         "sdnc" : {
280            "type" : "source-rest",
281            "properties" : {
282              "verb" : "GET",
283              "type" : "JSON",
284              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_gw_ip",
285              "path" : "/param/0/value",
286              "input-key-mapping" : {
287                "service-instance-id" : "service-instance-id",
288                "vnf-id" : "vnf-id"
289              },
290              "output-key-mapping" : {
291                "int_private2_gw_ip" : "value"
292              },
293              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
294            }
295          }
296       }
297     }
298   },
299   {
300     "name": "int_private2_net_id",
301     "tags": "k8s, cnf, int_private2_net_id",
302     "data_type": "string",
303     "description": "Private protected network identification",
304     "entry_schema": "string",
305     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
306     "definition": {
307       "tags": "k8s, cnf, int_private2_net_id",
308       "name": "int_private2_net_id",
309       "property": {
310         "description": "Private protected network identification",
311         "type": "string"
312       },
313       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
314       "sources": {
315         "input": {
316           "type": "source-input"
317         },
318         "default": {
319           "type": "source-default",
320           "properties": {}
321         },
322         "sdnc" : {
323            "type" : "source-rest",
324            "properties" : {
325              "verb" : "GET",
326              "type" : "JSON",
327              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_net_id",
328              "path" : "/param/0/value",
329              "input-key-mapping" : {
330                "service-instance-id" : "service-instance-id",
331                "vnf-id" : "vnf-id"
332              },
333              "output-key-mapping" : {
334                "int_private2_net_id" : "value"
335              },
336              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
337            }
338          }
339       }
340     }
341   },
342   {
343     "name": "int_private2_subnet_id",
344     "tags": "k8s, cnf, int_private2_subnet_id",
345     "data_type": "string",
346     "description": "Private protected subnetwork identification",
347     "entry_schema": "string",
348     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
349     "definition": {
350       "tags": "k8s, cnf, int_private2_subnet_id",
351       "name": "int_private2_subnet_id",
352       "property": {
353         "description": "Private protected subnetwork identification",
354         "type": "string"
355       },
356       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
357       "sources": {
358         "input": {
359           "type": "source-input"
360         },
361         "default": {
362           "type": "source-default",
363           "properties": {}
364         },
365         "sdnc" : {
366            "type" : "source-rest",
367            "properties" : {
368              "verb" : "GET",
369              "type" : "JSON",
370              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/int_private2_subnet_id",
371              "path" : "/param/0/value",
372              "input-key-mapping" : {
373                "service-instance-id" : "service-instance-id",
374                "vnf-id" : "vnf-id"
375              },
376              "output-key-mapping" : {
377                "int_private2_subnet_id" : "value"
378              },
379              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
380            }
381          }
382       }
383     }
384   },
385   {
386     "name": "onap_private_gw_ip",
387     "tags": "k8s, cnf, onap_private_gw_ip",
388     "data_type": "string",
389     "description": "Private onap management network gateway ip address",
390     "entry_schema": "string",
391     "updatedBy": "Samuli, Silvius <s.silvius@partner.samsung.com>",
392     "definition": {
393       "tags": "k8s, cnf, onap_private_gw_ip",
394       "name": "onap_private_gw_ip",
395       "property": {
396         "description": "Private onap management network gateway ip address",
397         "type": "string"
398       },
399       "updated-by": "Samuli, Silvius <s.silvius@partner.samsung.com>",
400       "sources": {
401         "input": {
402           "type": "source-input"
403         },
404         "default": {
405           "type": "source-default",
406           "properties": {}
407         },
408         "sdnc" : {
409            "type" : "source-rest",
410            "properties" : {
411              "verb" : "GET",
412              "type" : "JSON",
413              "url-path" : "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/onap_private_gw_ip",
414              "path" : "/param/0/value",
415              "input-key-mapping" : {
416                "service-instance-id" : "service-instance-id",
417                "vnf-id" : "vnf-id"
418              },
419              "output-key-mapping" : {
420                "onap_private_gw_ip" : "value"
421              },
422              "key-dependencies" : [ "service-instance-id", "vnf-id" ]
423            }
424          }
425       }
426     }
427   }
428 ]