2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
\r
4 "template_author" : "Abdelmuhaimen Seaudi",
\r
5 "author-email" : "abdelmuhaimen.seaudi@orange.com",
\r
6 "user-groups" : "ADMIN, OPERATION",
\r
7 "template_name" : "vLB_CDS_KOTLIN",
\r
8 "template_version" : "1.0.0",
\r
9 "template_tags" : "test, vDNS-CDS, SCALE-OUT, MARCO"
\r
12 "file" : "Definitions/data_types.json"
\r
14 "file" : "Definitions/relationship_types.json"
\r
16 "file" : "Definitions/artifact_types.json"
\r
18 "file" : "Definitions/node_types.json"
\r
20 "file" : "Definitions/policy_types.json"
\r
22 "dsl_definitions" : {
\r
24 "type" : "token-auth",
\r
25 "url" : "http://netbox-nginx:8080",
\r
26 "token" : "Token 0123456789abcdef0123456789abcdef01234567"
\r
28 "config-deploy-properties" : {
\r
29 "resolution-key" : {
\r
30 "get_input" : "resolution-key"
\r
34 "topology_template" : {
\r
36 "resource-assignment" : {
\r
38 "resource-assignment" : {
\r
39 "description" : "Resource Assign Workflow",
\r
40 "target" : "resource-assignment"
\r
44 "template-prefix" : {
\r
51 "resource-assignment-properties" : {
\r
52 "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
\r
54 "type" : "dt-resource-assignment-properties"
\r
58 "meshed-template" : {
\r
61 "get_attribute" : [ "resource-assignment", "assignment-params" ]
\r
69 "description" : "Config Assign Workflow",
\r
70 "target" : "config-assign",
\r
72 "call_operation" : ""
\r
77 "resolution-key" : {
\r
81 "config-assign-properties" : {
\r
82 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
\r
84 "type" : "dt-config-assign-properties"
\r
91 "get_attribuxte" : [ "config-assign", "assignment-params" ]
\r
99 "description" : "Resource Assign and Kotlin Netconf Activation Workflow",
\r
100 "target" : "config-deploy-process",
\r
102 "call_operation" : ""
\r
107 "resolution-key" : {
\r
108 "required" : false,
\r
111 "service-instance-id" : {
\r
112 "required" : false,
\r
115 "config-deploy-properties" : {
\r
116 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
\r
118 "type" : "dt-config-deploy-properties"
\r
123 "node_templates" : {
\r
124 "resource-assignment" : {
\r
125 "type" : "component-resource-resolution",
\r
127 "ResourceResolutionComponent" : {
\r
131 "artifact-prefix-names" : {
\r
132 "get_input" : "template-prefix"
\r
140 "base_template-template" : {
\r
141 "type" : "artifact-template-velocity",
\r
142 "file" : "Templates/base_template-template.vtl"
\r
144 "base_template-mapping" : {
\r
145 "type" : "artifact-mapping-resource",
\r
146 "file" : "Templates/base_template-mapping.json"
\r
148 "vpkg-template" : {
\r
149 "type" : "artifact-template-velocity",
\r
150 "file" : "Templates/vpkg-template.vtl"
\r
153 "type" : "artifact-mapping-resource",
\r
154 "file" : "Templates/vpkg-mapping.json"
\r
156 "vdns-template" : {
\r
157 "type" : "artifact-template-velocity",
\r
158 "file" : "Templates/vdns-template.vtl"
\r
161 "type" : "artifact-mapping-resource",
\r
162 "file" : "Templates/vdns-mapping.json"
\r
165 "type" : "artifact-template-velocity",
\r
166 "file" : "Templates/vnf-template.vtl"
\r
169 "type" : "artifact-mapping-resource",
\r
170 "file" : "Templates/vnf-mapping.json"
\r
173 "type" : "artifact-template-velocity",
\r
174 "file" : "Templates/vlb-template.vtl"
\r
177 "type" : "artifact-mapping-resource",
\r
178 "file" : "Templates/vlb-mapping.json"
\r
182 "config-assign" : {
\r
183 "type" : "component-resource-resolution",
\r
185 "ResourceResolutionComponent" : {
\r
189 "resolution-key" : {
\r
190 "get_input" : "resolution-key"
\r
192 "store-result" : true,
\r
193 "artifact-prefix-names" : [ "baseconfig", "incremental-config" ]
\r
200 "baseconfig-template" : {
\r
201 "type" : "artifact-template-velocity",
\r
202 "file" : "Templates/baseconfig-template.vtl"
\r
204 "baseconfig-mapping" : {
\r
205 "type" : "artifact-mapping-resource",
\r
206 "file" : "Templates/baseconfig-mapping.json"
\r
208 "incremental-config-template" : {
\r
209 "type" : "artifact-template-velocity",
\r
210 "file" : "Templates/incremental-config-template.vtl"
\r
212 "incremental-config-mapping" : {
\r
213 "type" : "artifact-mapping-resource",
\r
214 "file" : "Templates/incremental-config-mapping.json"
\r
218 "netconf-device" : {
\r
219 "type" : "vnf-netconf-device",
\r
223 "login-key" : "admin",
\r
224 "login-account" : "admin",
\r
225 "target-ip-address" : {
\r
226 "get_attribute" : [ "nf-account-collection", "", "assignment-params", "nf-params" ]
\r
228 "port-number" : 2831,
\r
229 "connection-time-out" : 5
\r
234 "config-deploy-process" : {
\r
235 "type" : "dg-generic",
\r
238 "get_artifact" : [ "SELF", "dg-config-deploy-process" ]
\r
240 "dependency-node-templates" : [ "nf-account-collection", "execute" ]
\r
243 "dg-config-deploy-process" : {
\r
244 "type" : "artifact-directed-graph",
\r
245 "file" : "Plans/CONFIG_ConfigDeploy.xml"
\r
249 "nf-account-collection" : {
\r
250 "type" : "component-resource-resolution",
\r
252 "ResourceResolutionComponent" : {
\r
256 "artifact-prefix-names" : [ "nf-params" ]
\r
263 "nf-params-template" : {
\r
264 "type" : "artifact-template-velocity",
\r
265 "file" : "Templates/nf-params-template.vtl"
\r
267 "nf-params-mapping" : {
\r
268 "type" : "artifact-mapping-resource",
\r
269 "file" : "Templates/nf-params-mapping.json"
\r
274 "type" : "component-netconf-executor",
\r
276 "netconf-connection" : {
\r
277 "capability" : "netconf",
\r
278 "node" : "netconf-device",
\r
279 "relationship" : "tosca.relationships.ConnectsTo"
\r
283 "ComponentNetconfExecutor" : {
\r
287 "script-type" : "kotlin",
\r
288 "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
\r
289 "instance-dependencies" : [ ],
\r
290 "dynamic-properties" : "*config-deploy-properties"
\r