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
33 "dynamic-db-source" : {
\r
34 "type" : "maria-db",
\r
35 "url" : "jdbc:mysql://mariadb-galera:3306/sdnctl",
\r
36 "username" : "root",
\r
37 "password" : "secretpassword"
\r
40 "topology_template" : {
\r
42 "resource-assignment" : {
\r
44 "resource-assignment" : {
\r
45 "description" : "Resource Assign Workflow",
\r
46 "target" : "resource-assignment"
\r
50 "template-prefix" : {
\r
57 "resource-assignment-properties" : {
\r
58 "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
\r
60 "type" : "dt-resource-assignment-properties"
\r
64 "meshed-template" : {
\r
67 "get_attribute" : [ "resource-assignment", "assignment-params" ]
\r
75 "description" : "Config Assign Workflow",
\r
76 "target" : "config-assign",
\r
78 "call_operation" : ""
\r
83 "resolution-key" : {
\r
87 "config-assign-properties" : {
\r
88 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
\r
90 "type" : "dt-config-assign-properties"
\r
97 "get_attribuxte" : [ "config-assign", "assignment-params" ]
\r
102 "config-deploy" : {
\r
104 "config-deploy" : {
\r
105 "description" : "Resource Assign and Kotlin Netconf Activation Workflow",
\r
106 "target" : "config-deploy-process",
\r
108 "call_operation" : ""
\r
113 "resolution-key" : {
\r
114 "required" : false,
\r
117 "service-instance-id" : {
\r
118 "required" : false,
\r
121 "config-deploy-properties" : {
\r
122 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
\r
124 "type" : "dt-config-deploy-properties"
\r
129 "node_templates" : {
\r
130 "resource-assignment" : {
\r
131 "type" : "component-resource-resolution",
\r
133 "ResourceResolutionComponent" : {
\r
137 "artifact-prefix-names" : {
\r
138 "get_input" : "template-prefix"
\r
146 "base_template-template" : {
\r
147 "type" : "artifact-template-velocity",
\r
148 "file" : "Templates/base_template-template.vtl"
\r
150 "base_template-mapping" : {
\r
151 "type" : "artifact-mapping-resource",
\r
152 "file" : "Templates/base_template-mapping.json"
\r
154 "vpkg-template" : {
\r
155 "type" : "artifact-template-velocity",
\r
156 "file" : "Templates/vpkg-template.vtl"
\r
159 "type" : "artifact-mapping-resource",
\r
160 "file" : "Templates/vpkg-mapping.json"
\r
162 "vdns-template" : {
\r
163 "type" : "artifact-template-velocity",
\r
164 "file" : "Templates/vdns-template.vtl"
\r
167 "type" : "artifact-mapping-resource",
\r
168 "file" : "Templates/vdns-mapping.json"
\r
171 "type" : "artifact-template-velocity",
\r
172 "file" : "Templates/vnf-template.vtl"
\r
175 "type" : "artifact-mapping-resource",
\r
176 "file" : "Templates/vnf-mapping.json"
\r
179 "type" : "artifact-template-velocity",
\r
180 "file" : "Templates/vlb-template.vtl"
\r
183 "type" : "artifact-mapping-resource",
\r
184 "file" : "Templates/vlb-mapping.json"
\r
188 "config-assign" : {
\r
189 "type" : "component-resource-resolution",
\r
191 "ResourceResolutionComponent" : {
\r
195 "resolution-key" : {
\r
196 "get_input" : "resolution-key"
\r
198 "store-result" : true,
\r
199 "artifact-prefix-names" : [ "baseconfig", "incremental-config" ]
\r
206 "baseconfig-template" : {
\r
207 "type" : "artifact-template-velocity",
\r
208 "file" : "Templates/baseconfig-template.vtl"
\r
210 "baseconfig-mapping" : {
\r
211 "type" : "artifact-mapping-resource",
\r
212 "file" : "Templates/baseconfig-mapping.json"
\r
214 "incremental-config-template" : {
\r
215 "type" : "artifact-template-velocity",
\r
216 "file" : "Templates/incremental-config-template.vtl"
\r
218 "incremental-config-mapping" : {
\r
219 "type" : "artifact-mapping-resource",
\r
220 "file" : "Templates/incremental-config-mapping.json"
\r
224 "netconf-device" : {
\r
225 "type" : "vnf-netconf-device",
\r
229 "login-key" : "admin",
\r
230 "login-account" : "admin",
\r
231 "target-ip-address" : {
\r
232 "get_attribute" : [ "nf-account-collection", "", "assignment-params", "nf-params" ]
\r
234 "port-number" : 2831,
\r
235 "connection-time-out" : 5
\r
240 "config-deploy-process" : {
\r
241 "type" : "dg-generic",
\r
244 "get_artifact" : [ "SELF", "dg-config-deploy-process" ]
\r
246 "dependency-node-templates" : [ "nf-account-collection", "execute" ]
\r
249 "dg-config-deploy-process" : {
\r
250 "type" : "artifact-directed-graph",
\r
251 "file" : "Plans/CONFIG_ConfigDeploy.xml"
\r
255 "nf-account-collection" : {
\r
256 "type" : "component-resource-resolution",
\r
258 "ResourceResolutionComponent" : {
\r
262 "artifact-prefix-names" : [ "nf-params" ]
\r
269 "nf-params-template" : {
\r
270 "type" : "artifact-template-velocity",
\r
271 "file" : "Templates/nf-params-template.vtl"
\r
273 "nf-params-mapping" : {
\r
274 "type" : "artifact-mapping-resource",
\r
275 "file" : "Templates/nf-params-mapping.json"
\r
280 "type" : "component-script-executor",
\r
282 "netconf-connection" : {
\r
283 "capability" : "netconf",
\r
284 "node" : "netconf-device",
\r
285 "relationship" : "tosca.relationships.ConnectsTo"
\r
289 "ComponentScriptExecutor" : {
\r
293 "script-type" : "kotlin",
\r
294 "script-class-reference" : "org.onap.ccsdk.cds.blueprintsprocessor.services.execution.scripts.ConfigDeploy",
\r
295 "instance-dependencies" : [ ],
\r
296 "dynamic-properties" : "*config-deploy-properties"
\r