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/node_types.json"
18 "file": "Definitions/artifact_types.json"
21 "topology_template": {
41 "resource-assignment-process": {
42 "type": "dg-activate",
45 "get_input": "action-name"
56 "dg-resource-assignment-process"
61 "dg-resource-assignment-process": {
62 "type": "artifact-directed-graph",
63 "file": "Plans/CONFIG_ResourceAssignment_1.0.0.xml"
68 "type": "dg-activate",
71 "get_input": "action-name"
87 "dg-activate-process": {
88 "type": "artifact-directed-graph",
89 "file": "Plans/CONFIG_ActivateNetconf_1.0.0.xml"
93 "assign-activate-process": {
94 "type": "dg-activate",
97 "get_input": "action-name"
108 "dg-assign-activate-process"
113 "dg-assign-activate-process": {
114 "type": "artifact-directed-graph",
115 "file": "Plans/CONFIG_AssignActivateNetconf_1.0.0.xml"
119 "resource-assignment": {
120 "type": "component-resource-assignment",
125 "ResourceAssignmentComponent": {
130 "get_input": "action-name"
132 "resource-type": "vnf-type",
134 "get_input": "request-id"
137 "get_input": "hostname"
139 "artifact-prefix-names": [
142 "template-content": {
145 "baseconfig-template"
156 "resource-assignment-params": {
169 "baseconfig-template": {
170 "type": "artifact-template-velocity",
171 "file": "Templates/baseconfig-template.vtl"
173 "baseconfig-mapping": {
174 "type": "artifact-mapping-resource",
175 "file": "Definitions/baseconfig-mapping.json"
179 "resource-assignment-py": {
180 "type": "component-resource-assignment",
185 "ResourceAssignmentComponent": {
189 "primary": "component-script"
193 "get_input": "action-name"
197 "resource-assignment-params": "",
205 "component-script": {
206 "type": "artifact-script-jython",
207 "file": "Scripts/SamplePythonComponentNode.py"
212 "type": "component-jython-executor",
214 "JythonExecutorComponent": {
218 "primary": "component-script"
221 "instance-dependencies": [
222 "json-parser-service",
223 "netconf-rpc-service"
235 "component-script": {
236 "type": "artifact-script-jython",
237 "file": "Scripts/SamplePythonComponentNode.py"
243 "resource-assignment": {
245 "resource-assignment-properties": {
247 "type": "resource-assignment-properties"
251 "call-resource-assignment": {
252 "description": "Resource Assignment Workflow",
253 "target": "resource-assignment-process",
256 "call_operation": "CONFIG.ResourceAssignment"
264 "activate-properties": {
266 "type": "activate-properties"
270 "activate-process": {
271 "description": "Netconf Activation Workflow",
272 "target": "activate-process",
275 "call_operation": "CONFIG.ActivateProcess"
283 "assign-activate-properties": {
285 "type": "assign-activate-properties"
289 "activate-process": {
290 "description": "Resource Assign and Netconf Activation Workflow",
291 "target": "assign-activate-process",
294 "call_operation": "CONFIG.AssignActivateProcess"