a62807ac9a5639674aac7892fcb92ea1aea3e848
[ccsdk/cds.git] / components / model-catalog / blueprint-model / service-blueprint / 5GC_Simulator_CNF_CDS / Templates / helm_upf-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": "VF_MODULE_TYPE",
16                             "param-value": "vfmt"
17                         },
18                         {
19                             "param-name": "resource-name",
20                             "param-value": "vf_module_name"
21                         },
22                         {
23                             "param-name": "resource-value",
24                             "param-value": "${vf-module-name}"
25                         },
26
27                         {
28                             "param-name": "external-key",
29                             "param-value": "${vf-module-id}_vf-module-name"
30                         },
31                         {
32                             "param-name": "policy-instance-name",
33                             "param-value": "${vf-naming-policy}"
34                         },
35                         {
36                             "param-name": "naming-type",
37                             "param-value": "VF-MODULE"
38                         },
39                         {
40                             "param-name": "VNF_NAME",
41                             "param-value": "${vnf_name}"
42                         },
43                         {
44                             "param-name": "VF_MODULE_LABEL",
45                             "param-value": "${vf-module-label}"
46                         }
47                     ]
48                 }
49             ]
50         },
51         {
52             "capability-name": "aai-vf-module-put",
53             "key-mapping": [
54                 {
55                     "output-key-mapping": [
56                         {
57                             "resource-name": "aai-vf-module-put",
58                             "resource-value": ""
59                         }
60                     ]
61                 }
62             ]
63         },
64         {
65             "capability-name": "unresolved-composite-data",
66             "key-mapping": [
67                 {
68                     "output-key-mapping": [
69                         {
70                             "resource-name": "config.upfName",
71                             "resource-value": "upf"
72                         }
73                     ]
74                 }
75             ]
76         },
77                 {
78             "capability-name": "unresolved-composite-data",
79             "key-mapping": [
80                 {
81                     "output-key-mapping": [
82                         {
83                             "resource-name": "upfName",
84                             "resource-value": "upf"
85                         }
86                     ]
87                 }
88             ]
89         }
90     ],
91     "resource-accumulator-resolved-data": [
92         {
93             "param-name": "vf-module-model-invariant-uuid",
94             "param-value": "${vf-module-model-invariant-uuid}"
95         },
96         {
97             "param-name": "vf-module-model-version",
98             "param-value": "${vf-module-model-version}"
99         },
100                 {
101             "param-name": "vnf-id",
102             "param-value": "${vnf-id}"
103         },
104          {
105             "param-name": "vf-module-label",
106             "param-value": "${vf-module-label}"
107         },
108        
109                 
110                 {
111             "param-name": "vf-module-id",
112             "param-value": "${vf-module-id}"
113         },
114                 {
115             "param-name": "k8s-rb-profile-name",
116             "param-value": "profile-${vf-module-id}"
117         },
118         {
119             "param-name": "k8s-rb-profile-namespace",
120             "param-value": "ns-${vf-module-id}"
121         },
122          {
123             "param-name": "k8s-rb-instance-release-name",
124             "param-value": "release-${vf-module-id}"
125         },
126                 
127           {
128             "param-name": "vf-module-model-customization-uuid",
129             "param-value": "${vf-module-model-customization-uuid}"
130         },
131                 {
132             "param-name": "fivegc0_snssai",
133             "param-value": "${fivegc0_snssai}"
134         },
135         {
136             "param-name": "config.supportedNssai.sNssai.snssai",
137             "param-value": "${fivegc0_snssai}"
138         }
139         
140     ]
141 }