[vFW CNF CDS] vf_module and vnf name generation improvment in CBA
[demo.git] / heat / vFW_CNF_CDS / templates / cba / Templates / vfw-mapping.json
1 [
2     {
3         "name": "vf-module-model-invariant-uuid",
4         "property": {
5             "type": "string"
6         },
7         "input-param": false,
8         "dictionary-name": "vf-module-model-invariant-uuid",
9         "dictionary-source": "processor-db",
10         "dependencies": [
11             "vf-module-model-customization-uuid"
12         ]
13     },
14     {
15         "name": "vf-module-model-version",
16         "property": {
17             "type": "string"
18         },
19         "input-param": false,
20         "dictionary-name": "vf-module-model-version",
21         "dictionary-source": "processor-db",
22         "dependencies": [
23             "vf-module-model-customization-uuid"
24         ]
25     },
26     {
27         "name": "vf-module-name",
28         "property": {
29             "description": "",
30             "required": false,
31             "type": "string",
32             "status": "",
33             "constraints": [
34                 {}
35             ],
36             "entry_schema": {
37                 "type": ""
38             }
39         },
40         "input-param": false,
41         "dictionary-name": "vf-module-name",
42         "dictionary-source": "rest",
43         "dependencies": [
44             "vnf_name",
45             "vf-module-label",
46             "vf-naming-policy",
47             "vf-module-id"
48         ],
49         "version": 0
50     },
51     {
52         "name": "management-prefix-id",
53         "property": {
54             "description": "",
55             "required": false,
56             "type": "string"
57         },
58         "input-param": false,
59         "dictionary-name": "management-prefix-id",
60         "dictionary-source": "processor-db",
61         "dependencies": [],
62         "version": 0
63     },
64     {
65         "name": "service-instance-id",
66         "property": {
67             "description": "",
68             "required": false,
69             "type": "string"
70         },
71         "input-param": false,
72         "dictionary-name": "service-instance-id",
73         "dictionary-source": "input",
74         "dependencies": [],
75         "version": 0
76     },
77     {
78         "name": "vf-module-id",
79         "property": {
80             "description": "",
81             "required": false,
82             "type": "string"
83         },
84         "input-param": false,
85         "dictionary-name": "vf-module-id",
86         "dictionary-source": "input",
87         "dependencies": [],
88         "version": 0
89     },
90     {
91         "name": "vf-module-label",
92         "property": {
93             "description": "",
94             "required": false,
95             "type": "string"
96         },
97         "input-param": false,
98         "dictionary-name": "vf-module-label",
99         "dictionary-source": "processor-db",
100         "dependencies": [
101             "vf-module-model-customization-uuid"
102         ],
103         "version": 0
104     },
105     {
106         "name": "vf-module-model-customization-uuid",
107         "property": {
108             "description": "",
109             "required": false,
110             "type": "string"
111         },
112         "input-param": false,
113         "dictionary-name": "vf-module-model-customization-uuid",
114         "dictionary-source": "input",
115         "dependencies": [],
116         "version": 0
117     },
118     {
119         "name": "vf-naming-policy",
120         "property": {
121             "description": "",
122             "required": false,
123             "type": "string"
124         },
125         "input-param": false,
126         "dictionary-name": "vf-naming-policy",
127         "dictionary-source": "sdnc",
128         "dependencies": [
129             "service-instance-id",
130             "vnf-id"
131         ],
132         "version": 0
133     },
134     {
135         "name": "vnf-id",
136         "property": {
137             "description": "",
138             "required": false,
139             "type": "string"
140         },
141         "input-param": false,
142         "dictionary-name": "vnf-id",
143         "dictionary-source": "input",
144         "dependencies": [],
145         "version": 0
146     },
147     {
148         "name": "vnf_name",
149         "property": {
150             "description": "",
151             "required": false,
152             "type": "string"
153         },
154         "input-param": false,
155         "dictionary-name": "vnf_name",
156         "dictionary-source": "sdnc",
157         "dependencies": [
158             "service-instance-id",
159             "vnf-id"
160         ],
161         "version": 0
162     },
163     {
164         "name": "k8s-rb-profile-namespace",
165         "property": {
166             "description": "K8s namespace to create helm chart for specified RB profile",
167             "type": "string",
168             "required": false,
169             "default": "default"
170         },
171         "input-param": false,
172         "dictionary-name": "k8s-rb-profile-namespace",
173         "dictionary-source": "sdnc",
174         "dependencies": [
175             "service-instance-id",
176             "vnf-id"
177         ]
178     },
179     {
180         "name": "k8s-rb-profile-k8s-version",
181         "property": {
182             "description": "K8s cluster version to create helm chart for specified RB profile",
183             "type": "string",
184             "required": false,
185             "default": "1.18.9"
186         },
187         "input-param": false,
188         "dictionary-name": "k8s-rb-profile-k8s-version",
189         "dictionary-source": "sdnc",
190         "dependencies": [
191             "service-instance-id",
192             "vnf-id"
193         ]
194     },
195     {
196         "name": "k8s-rb-profile-name",
197         "property": {
198             "description": "RB Profile name used in k8s plugin to identify Helm chart(s) where this mapping is providing override values.",
199             "type": "string",
200             "required": false,
201             "default": "default"
202         },
203         "input-param": false,
204         "dictionary-name": "k8s-rb-profile-name",
205         "dictionary-source": "default",
206         "dependencies": []
207     },
208     {
209         "name": "k8s-rb-instance-release-name",
210         "property": {
211             "description": "Name of the release for the helm package instance in k8s",
212             "type": "string",
213             "required": false,
214             "default": "vfw"
215         },
216         "input-param": false,
217         "dictionary-name": "k8s-rb-instance-release-name",
218         "dictionary-source": "default",
219         "dependencies": []
220     },
221     {
222         "name": "k8s-rb-definition-name",
223         "property": {
224             "description": "RB Name identifier of Helm chart(s) in k8s plugin",
225             "type": "string",
226             "required": false,
227             "metadata": {
228                 "transform-template": "${vf-module-model-invariant-uuid}"
229             }
230         },
231         "input-param": false,
232         "dictionary-name": "k8s-rb-definition-name",
233         "dictionary-source": "default",
234         "dependencies": [
235             "vf-module-model-invariant-uuid"
236         ]
237     },
238     {
239         "name": "k8s-rb-definition-version",
240         "property": {
241             "description": "RB Version identifier of Helm chart(s) in k8s plugin",
242             "type": "string",
243             "required": false,
244             "metadata": {
245                 "transform-template": "${vf-module-model-customization-uuid}"
246             }
247         },
248         "input-param": false,
249         "dictionary-name": "k8s-rb-definition-version",
250         "dictionary-source": "default",
251         "dependencies": [
252             "vf-module-model-customization-uuid"
253         ]
254     },
255     {
256         "name": "k8s-rb-profile-source",
257         "property": {
258             "description": "The source folder or file relative to 'Templates/k8s-profiles' folder",
259             "type": "string",
260             "required": true
261         },
262         "input-param": false,
263         "dictionary-name": "k8s-rb-profile-source",
264         "dictionary-source": "default",
265         "dependencies": []
266     },
267     {
268         "name": "k8s-rb-config-template-name",
269         "property": {
270             "description": "The source of configuration template for config-assign operation",
271             "type": "string",
272             "required": false
273         },
274         "input-param": false,
275         "dictionary-name": "k8s-rb-config-template-name",
276         "dictionary-source": "default",
277         "dependencies": []
278     },
279     {
280         "name": "k8s-rb-config-template-source",
281         "property": {
282             "description": "The source of configuration template for config-assign operation",
283             "type": "string",
284             "required": false
285         },
286         "input-param": false,
287         "dictionary-name": "k8s-rb-config-template-source",
288         "dictionary-source": "default",
289         "dependencies": []
290     },
291     {
292         "name": "k8s-rb-config-name",
293         "property": {
294             "description": "The source of configuration values for config-deploy operation",
295             "type": "string",
296             "required": false
297         },
298         "input-param": false,
299         "dictionary-name": "k8s-rb-config-name",
300         "dictionary-source": "default",
301         "dependencies": []
302     },
303     {
304         "name": "k8s-rb-config-value-source",
305         "property": {
306             "description": "The source of configuration values for config-deploy operation",
307             "type": "string",
308             "required": false
309         },
310         "input-param": false,
311         "dictionary-name": "k8s-rb-config-value-source",
312         "dictionary-source": "default",
313         "dependencies": []
314     }
315 ]