3 "template_author": "Brinda Santh",
\r
4 "template_name": "enhance-template",
\r
5 "template_version": "1.0.0",
\r
6 "template_tags": "brinda, VPE",
\r
7 "service-type": "Sample Service",
\r
11 "topology_template": {
\r
17 "service-instance-id": {
\r
35 "vpe-netconf-device": {
\r
39 "login-key": "sdnc",
\r
40 "login-account": "sndc-local",
\r
42 "target-ip-address": "{\"get_attribute\":\"lo0-local-ipv4-address\"}",
\r
44 "connection-time-out": 30
\r
48 "type": "vnf-netconf-device"
\r
50 "activate-netconf-component": {
\r
52 "component-node": {}
\r
55 "netconf-connection": {
\r
56 "capability": "netconf",
\r
57 "node": "vpe-netconf-device",
\r
58 "relationship": "tosca.relationships.ConnectsTo"
\r
62 "org-openecomp-sdnc-netconf-adaptor-service-NetconfExecutorNode": {
\r
66 "action-name": "{ \"get_input\" : \"action-name\" }",
\r
67 "template_name": "{ \"get_attribute\" : \"template_name\" }",
\r
68 "service-template-version": "{ \"get_attribute\" : \"service-template-version\" }",
\r
69 "resource-type": "vnf-type",
\r
70 "request-id": "{ \"get_input\" : \"request-id\" }",
\r
71 "resource-id": "{ \"get_input\" : \"hostname\" }",
\r
72 "execution-script": "execution-script"
\r
75 "response-data": "{ \"get_attribute\" : \"netconf-executor-baseconfig.response-data\" }",
\r
76 "status": "{ \"get_attribute\" : \"netconf-executor-baseconfig.status\" }"
\r
78 "implementation" : {
\r
79 "primary" : "file://netconf_adaptor/DefaultBaseLicenceConfig.py"
\r
85 "type": "component-netconf-executor"
\r
87 "resource-assignment-ra-component": {
\r
89 "component-node": {}
\r
92 "org-openecomp-sdnc-config-assignment-service-ConfigAssignmentNode": {
\r
97 "base-config-template",
\r
100 "action-name": "{ \"get_input\" : \"action-name\" }",
\r
101 "service-template-name": "{ \"get_attribute\" : \"template_name\" }",
\r
102 "service-template-version": "{ \"get_attribute\" : \"service-template-version\" }",
\r
103 "resource-type": "vnf-type",
\r
104 "request-id": "{ \"get_input\" : \"request-id\" }",
\r
105 "resource-id": "{ \"get_input\" : \"hostname\" }"
\r
108 "resource-assignment-params": "success",
\r
115 "type": "component-resource-assignment"
\r
117 "resource-assignment-action": {
\r
120 "version": "LATEST",
\r
121 "is-start-flow": "false"
\r
124 "component-dependency": {
\r
125 "capability": "component-node",
\r
126 "node": "resource-assignment-ra-component",
\r
127 "relationship": "tosca.relationships.DependsOn"
\r
141 "ResourceAssignment": {
\r
149 "type": "dg-resource-assignment"
\r
151 "activate-action": {
\r
154 "version": "LATEST",
\r
155 "is-start-flow": "false"
\r
158 "component-dependency": {
\r
159 "capability": "component-node",
\r
160 "node": "activate-netconf-component",
\r
161 "relationship": "tosca.relationships.DependsOn"
\r
175 "ActivateNetconf": {
\r
183 "type": "dg-activate-netconf"
\r
185 "base-config-template": {
\r
189 "content": "db://base-config-template"
\r
196 "name": "bundle-mac",
\r
209 "input-param": false,
\r
210 "dictionary-name": "bundle-mac",
\r
211 "dictionary-source": "db",
\r
218 "name": "wan-aggregate-ipv4-addresses",
\r
228 "type": "dt-v4-aggregate"
\r
231 "input-param": false,
\r
232 "dictionary-name": "wan-aggregate-ipv4-addresses",
\r
233 "dictionary-source": "mdsal",
\r
235 "service-instance-id"
\r
240 "name": "hostname",
\r
245 "dictionary-name": "hostname",
\r
246 "dictionary-source": "input",
\r
248 "input-param": false
\r
256 "dictionary-name": "service",
\r
257 "dictionary-source": "input",
\r
259 "input-param": false
\r
262 "name": "service-instance-id",
\r
267 "dictionary-name": "service-instance-id",
\r
268 "dictionary-source": "input",
\r
270 "input-param": false
\r
278 "resource-assignment-action"
\r
281 "type": "artifact-config-template"
\r
283 "licence-template": {
\r
287 "content": "db://licence-template"
\r
294 "name": "licenses",
\r
304 "type": "dt-license-key"
\r
307 "input-param": false,
\r
308 "dictionary-name": "licenses",
\r
309 "dictionary-source": "mdsal",
\r
311 "service-instance-id"
\r
316 "name": "service-instance-id",
\r
321 "dictionary-name": "service-instance-id",
\r
322 "dictionary-source": "input",
\r
324 "input-param": false
\r
332 "resource-assignment-action"
\r
335 "type": "artifact-config-template"
\r