3 "template_author": "Brinda Santh Muthuramalingam",
4 "author-email": "brindasanth@in.ibm.com",
5 "user-groups": "ADMIN, OPERATION",
6 "template_name": "baseconfiguration",
7 "template_version": "1.0.0",
8 "template_tags": "brinda, tosca"
12 "file": "Definitions/data_types.json"
15 "file": "Definitions/relationship_types.json"
18 "file": "Definitions/artifact_types.json"
21 "file": "Definitions/node_types.json"
24 "file": "Definitions/policy_types.json"
27 "topology_template": {
47 "resource-assignment-process": {
53 "dg-resource-assignment-process"
56 "dependency-node-templates": [
61 "dg-resource-assignment-process": {
62 "type": "artifact-directed-graph",
63 "file": "Plans/CONFIG_ResourceAssignment_1.0.0.xml"
76 "dependency-node-templates": [
81 "dg-activate-process": {
82 "type": "artifact-directed-graph",
83 "file": "Plans/CONFIG_ActivateNetconf_1.0.0.xml"
87 "assign-activate-process": {
93 "dg-assign-activate-process"
96 "dependency-node-templates": [
97 "resource-assignment",
102 "dg-assign-activate-process": {
103 "type": "artifact-directed-graph",
104 "file": "Plans/CONFIG_AssignActivateNetconf_1.0.0.xml"
108 "resource-assignment": {
109 "type": "component-resource-resolution",
111 "ResourceResolutionComponent": {
116 "get_input": "action-name"
118 "resource-type": "vnf-type",
120 "get_input": "request-id"
123 "get_input": "hostname"
125 "artifact-prefix-names": [
130 "resource-assignment-params": {
143 "baseconfig-template": {
144 "type": "artifact-template-velocity",
145 "file": "Templates/baseconfig-template.vtl"
147 "baseconfig-mapping": {
148 "type": "artifact-mapping-resource",
149 "file": "Definitions/baseconfig-mapping.json"
153 "resource-assignment-py": {
154 "type": "component-resource-resolution",
156 "ResourceResolutionComponent": {
160 "primary": "component-script"
164 "get_input": "action-name"
168 "resource-assignment-params": "",
176 "component-script": {
177 "type": "artifact-script-jython",
178 "file": "Scripts/python/SamplePythonComponentNode.py"
183 "type": "component-jython-executor",
185 "ComponentJythonExecutor": {
189 "primary": "component-script"
192 "instance-dependencies": [
193 "json-parser-service"
205 "component-script": {
206 "type": "artifact-script-jython",
207 "file": "Scripts/python/SamplePythonComponentNode.py"
211 "activate-netconf": {
212 "type": "component-netconf-executor",
214 "ComponentNetconfExecutor": {
218 "primary": "component-script"
221 "instance-dependencies": [
224 "artifact-prefix-names": [
237 "netconf-connection": {
238 "capability": "netconf",
239 "node": "sample-netconf-device",
240 "relationship": "tosca.relationships.ConnectsTo"
244 "hostname-template": {
245 "type": "artifact-template-velocity",
246 "file": "Templates/hostname-template.vtl"
248 "hostname-mapping": {
249 "type": "artifact-mapping-resource",
250 "file": "Templates/hostname-mapping.json"
252 "component-script": {
253 "type": "artifact-script-jython",
254 "file": "Scripts/python/NetconfRpcExample.py"
258 "sample-netconf-device": {
259 "type": "vnf-netconf-device",
263 "login-key": "sample-key",
264 "login-account": "sample-account",
265 "target-ip-address": {
267 "resource-assignment",
274 "connection-time-out": 30
281 "resource-assignment": {
283 "resource-assignment-properties": {
285 "type": "dt-resource-assignment-properties"
289 "call-resource-assignment": {
290 "description": "Resource Assignment Workflow",
291 "target": "resource-assignment-process",
294 "call_operation": "CONFIG.ResourceAssignment"
320 "activate-process": {
321 "description": "Netconf Activation Workflow",
322 "target": "activate-process",
325 "call_operation": "CONFIG.ActivateProcess"
333 "assign-activate-properties": {
335 "type": "dt-assign-activate-properties"
339 "activate-process": {
340 "description": "Resource Assign and Netconf Activation Workflow",
341 "target": "assign-activate-process",
344 "call_operation": "CONFIG.AssignActivateProcess"