2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
4 "template_author" : "Abdelmuhaimen Seaudi",
5 "author-email" : "abdelmuhaimen.seaudi@orange.com",
6 "user-groups" : "ADMIN, OPERATION",
7 "template_name" : "vLB_CDS_RESTCONF",
8 "template_version" : "1.0.0",
9 "template_tags" : "vLB_CDS, RestConf"
12 "file" : "Definitions/data_types.json"
14 "file" : "Definitions/relationship_types.json"
16 "file" : "Definitions/artifact_types.json"
18 "file" : "Definitions/node_types.json"
20 "file" : "Definitions/policy_types.json"
24 "type" : "token-auth",
25 "url" : "http://netbox-nginx:8080",
26 "token" : "Token 0123456789abcdef0123456789abcdef01234567"
28 "config-deploy-properties" : {
30 "get_input" : "resolution-key"
34 "topology_template" : {
36 "resource-assignment" : {
38 "resource-assignment" : {
39 "description" : "Resource Assign Workflow",
40 "target" : "resource-assignment"
51 "resource-assignment-properties" : {
52 "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
54 "type" : "dt-resource-assignment-properties"
61 "get_attribute" : [ "resource-assignment", "assignment-params" ]
69 "description" : "Config Assign Workflow",
70 "target" : "config-assign",
81 "config-assign-properties" : {
82 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
84 "type" : "dt-config-assign-properties"
91 "get_attribuxte" : [ "config-assign", "assignment-params" ]
99 "description" : "Resource Assign and Python Netconf Activation Workflow",
100 "target" : "config-deploy-process",
102 "call_operation" : ""
111 "service-instance-id" : {
115 "config-deploy-properties" : {
116 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
118 "type" : "dt-config-deploy-properties"
124 "resource-assignment" : {
125 "type" : "component-resource-resolution",
127 "ResourceResolutionComponent" : {
131 "artifact-prefix-names" : {
132 "get_input" : "template-prefix"
140 "base_template-template" : {
141 "type" : "artifact-template-velocity",
142 "file" : "Templates/base_template-template.vtl"
144 "base_template-mapping" : {
145 "type" : "artifact-mapping-resource",
146 "file" : "Templates/base_template-mapping.json"
149 "type" : "artifact-template-velocity",
150 "file" : "Templates/vpkg-template.vtl"
153 "type" : "artifact-mapping-resource",
154 "file" : "Templates/vpkg-mapping.json"
157 "type" : "artifact-template-velocity",
158 "file" : "Templates/vdns-template.vtl"
161 "type" : "artifact-mapping-resource",
162 "file" : "Templates/vdns-mapping.json"
165 "type" : "artifact-template-velocity",
166 "file" : "Templates/vnf-template.vtl"
169 "type" : "artifact-mapping-resource",
170 "file" : "Templates/vnf-mapping.json"
173 "type" : "artifact-template-velocity",
174 "file" : "Templates/vlb-template.vtl"
177 "type" : "artifact-mapping-resource",
178 "file" : "Templates/vlb-mapping.json"
183 "type" : "component-resource-resolution",
185 "ResourceResolutionComponent" : {
190 "get_input" : "resolution-key"
192 "store-result" : true,
193 "artifact-prefix-names" : [ "baseconfig", "incremental-config" ]
200 "baseconfig-template" : {
201 "type" : "artifact-template-velocity",
202 "file" : "Templates/baseconfig-template.vtl"
204 "baseconfig-mapping" : {
205 "type" : "artifact-mapping-resource",
206 "file" : "Templates/baseconfig-mapping.json"
208 "incremental-config-template" : {
209 "type" : "artifact-template-velocity",
210 "file" : "Templates/incremental-config-template.vtl"
212 "incremental-config-mapping" : {
213 "type" : "artifact-mapping-resource",
214 "file" : "Templates/incremental-config-mapping.json"
219 "type" : "vnf-netconf-device",
223 "login-key" : "admin",
224 "login-account" : "admin",
225 "target-ip-address" : {
226 "get_attribute" : [ "nf-account-collection", "", "assignment-params", "nf-params" ]
228 "port-number" : 2831,
229 "connection-time-out" : 5
234 "login-key" : "admin",
235 "login-account" : "admin",
236 "target-ip-address" : {
237 "get_attribute" : [ "nf-account-collection", "", "assignment-params", "nf-params" ]
239 "port-number" : 8183,
240 "connection-time-out" : 5
245 "config-deploy-process" : {
246 "type" : "dg-generic",
249 "get_artifact" : [ "SELF", "dg-config-deploy-process" ]
251 "dependency-node-templates" : [ "nf-account-collection", "execute" ]
254 "dg-config-deploy-process" : {
255 "type" : "artifact-directed-graph",
256 "file" : "Plans/CONFIG_ConfigDeploy.xml"
260 "nf-account-collection" : {
261 "type" : "component-resource-resolution",
263 "ResourceResolutionComponent" : {
267 "artifact-prefix-names" : [ "nf-params" ]
274 "nf-params-template" : {
275 "type" : "artifact-template-velocity",
276 "file" : "Templates/nf-params-template.vtl"
278 "nf-params-mapping" : {
279 "type" : "artifact-mapping-resource",
280 "file" : "Templates/nf-params-mapping.json"
285 "type" : "component-script-executor",
287 "restconf-connection" : {
288 "capability" : "restconf",
289 "node" : "netconf-device",
290 "relationship" : "tosca.relationships.ConnectsTo"
294 "ComponentScriptExecutor" : {
298 "script-type" : "kotlin",
299 "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
300 "instance-dependencies" : [ ],
301 "dynamic-properties" : "*config-deploy-properties"