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"
33 "dynamic-db-source" : {
35 "url" : "jdbc:mysql://mariadb-galera:3306/sdnctl",
37 "password" : "secretpassword"
40 "topology_template" : {
42 "resource-assignment" : {
44 "resource-assignment" : {
45 "description" : "Resource Assign Workflow",
46 "target" : "resource-assignment"
57 "resource-assignment-properties" : {
58 "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
60 "type" : "dt-resource-assignment-properties"
67 "get_attribute" : [ "resource-assignment", "assignment-params" ]
75 "description" : "Config Assign Workflow",
76 "target" : "config-assign",
87 "config-assign-properties" : {
88 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
90 "type" : "dt-config-assign-properties"
97 "get_attribuxte" : [ "config-assign", "assignment-params" ]
105 "description" : "Resource Assign and Python Netconf Activation Workflow",
106 "target" : "config-deploy-process",
108 "call_operation" : ""
117 "service-instance-id" : {
121 "config-deploy-properties" : {
122 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
124 "type" : "dt-config-deploy-properties"
130 "resource-assignment" : {
131 "type" : "component-resource-resolution",
133 "ResourceResolutionComponent" : {
137 "artifact-prefix-names" : {
138 "get_input" : "template-prefix"
146 "base_template-template" : {
147 "type" : "artifact-template-velocity",
148 "file" : "Templates/base_template-template.vtl"
150 "base_template-mapping" : {
151 "type" : "artifact-mapping-resource",
152 "file" : "Templates/base_template-mapping.json"
155 "type" : "artifact-template-velocity",
156 "file" : "Templates/vpkg-template.vtl"
159 "type" : "artifact-mapping-resource",
160 "file" : "Templates/vpkg-mapping.json"
163 "type" : "artifact-template-velocity",
164 "file" : "Templates/vdns-template.vtl"
167 "type" : "artifact-mapping-resource",
168 "file" : "Templates/vdns-mapping.json"
171 "type" : "artifact-template-velocity",
172 "file" : "Templates/vnf-template.vtl"
175 "type" : "artifact-mapping-resource",
176 "file" : "Templates/vnf-mapping.json"
179 "type" : "artifact-template-velocity",
180 "file" : "Templates/vlb-template.vtl"
183 "type" : "artifact-mapping-resource",
184 "file" : "Templates/vlb-mapping.json"
189 "type" : "component-resource-resolution",
191 "ResourceResolutionComponent" : {
196 "get_input" : "resolution-key"
198 "store-result" : true,
199 "artifact-prefix-names" : [ "baseconfig", "incremental-config" ]
206 "baseconfig-template" : {
207 "type" : "artifact-template-velocity",
208 "file" : "Templates/baseconfig-template.vtl"
210 "baseconfig-mapping" : {
211 "type" : "artifact-mapping-resource",
212 "file" : "Templates/baseconfig-mapping.json"
214 "incremental-config-template" : {
215 "type" : "artifact-template-velocity",
216 "file" : "Templates/incremental-config-template.vtl"
218 "incremental-config-mapping" : {
219 "type" : "artifact-mapping-resource",
220 "file" : "Templates/incremental-config-mapping.json"
225 "type" : "vnf-netconf-device",
229 "login-key" : "admin",
230 "login-account" : "admin",
231 "target-ip-address" : {
232 "get_attribute" : [ "nf-account-collection", "", "assignment-params", "nf-params" ]
234 "port-number" : 2831,
235 "connection-time-out" : 5
240 "login-key" : "admin",
241 "login-account" : "admin",
242 "target-ip-address" : {
243 "get_attribute" : [ "nf-account-collection", "", "assignment-params", "nf-params" ]
245 "port-number" : 8183,
246 "connection-time-out" : 5
251 "config-deploy-process" : {
252 "type" : "dg-generic",
255 "get_artifact" : [ "SELF", "dg-config-deploy-process" ]
257 "dependency-node-templates" : [ "nf-account-collection", "execute" ]
260 "dg-config-deploy-process" : {
261 "type" : "artifact-directed-graph",
262 "file" : "Plans/CONFIG_ConfigDeploy.xml"
266 "nf-account-collection" : {
267 "type" : "component-resource-resolution",
269 "ResourceResolutionComponent" : {
273 "artifact-prefix-names" : [ "nf-params" ]
280 "nf-params-template" : {
281 "type" : "artifact-template-velocity",
282 "file" : "Templates/nf-params-template.vtl"
284 "nf-params-mapping" : {
285 "type" : "artifact-mapping-resource",
286 "file" : "Templates/nf-params-mapping.json"
291 "type" : "component-script-executor",
293 "restconf-connection" : {
294 "capability" : "restconf",
295 "node" : "netconf-device",
296 "relationship" : "tosca.relationships.ConnectsTo"
300 "ComponentScriptExecutor" : {
304 "script-type" : "kotlin",
305 "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
306 "instance-dependencies" : [ ],
307 "dynamic-properties" : "*config-deploy-properties"