[vFW CNF CDS] vf_module and vnf name generation improvment in CBA
[demo.git] / heat / vFW_CNF_CDS / templates / cba / Templates / vsn-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": "vnf_name",
53         "property": {
54             "description": "",
55             "required": false,
56             "type": "string"
57         },
58         "input-param": false,
59         "dictionary-name": "vnf_name",
60         "dictionary-source": "sdnc",
61         "dependencies": [
62             "service-instance-id",
63             "vnf-id"
64         ],
65         "version": 0
66     },
67     {
68         "name": "service-instance-id",
69         "property": {
70             "description": "",
71             "required": false,
72             "type": "string"
73         },
74         "input-param": false,
75         "dictionary-name": "service-instance-id",
76         "dictionary-source": "input",
77         "dependencies": [],
78         "version": 0
79     },
80     {
81         "name": "vf-module-id",
82         "property": {
83             "description": "",
84             "required": false,
85             "type": "string"
86         },
87         "input-param": false,
88         "dictionary-name": "vf-module-id",
89         "dictionary-source": "input",
90         "dependencies": [],
91         "version": 0
92     },
93     {
94         "name": "vf-module-label",
95         "property": {
96             "description": "",
97             "required": false,
98             "type": "string"
99         },
100         "input-param": false,
101         "dictionary-name": "vf-module-label",
102         "dictionary-source": "processor-db",
103         "dependencies": [
104             "vf-module-model-customization-uuid"
105         ],
106         "version": 0
107     },
108     {
109         "name": "vf-module-model-customization-uuid",
110         "property": {
111             "description": "",
112             "required": false,
113             "type": "string"
114         },
115         "input-param": false,
116         "dictionary-name": "vf-module-model-customization-uuid",
117         "dictionary-source": "input",
118         "dependencies": [],
119         "version": 0
120     },
121     {
122         "name": "vf-naming-policy",
123         "property": {
124             "description": "",
125             "required": false,
126             "type": "string"
127         },
128         "input-param": false,
129         "dictionary-name": "vf-naming-policy",
130         "dictionary-source": "sdnc",
131         "dependencies": [
132             "service-instance-id",
133             "vnf-id"
134         ],
135         "version": 0
136     },
137     {
138         "name": "vnf-id",
139         "property": {
140             "description": "",
141             "required": false,
142             "type": "string"
143         },
144         "input-param": false,
145         "dictionary-name": "vnf-id",
146         "dictionary-source": "input",
147         "dependencies": [],
148         "version": 0
149     },
150     {
151         "name": "management-prefix-id",
152         "property": {
153             "description": "",
154             "required": false,
155             "type": "string"
156         },
157         "input-param": false,
158         "dictionary-name": "management-prefix-id",
159         "dictionary-source": "processor-db",
160         "dependencies": [],
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": "vsn"
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 ]