3 "template_author": "Brinda Santh",
\r
4 "template_name": "enhance-template",
\r
5 "template_version": "1.0.0",
\r
6 "service-type": "Sample Service",
\r
10 "topology_template": {
\r
16 "service-instance-id": {
\r
34 "vpe-netconf-device": {
\r
38 "login-key": "sdnc",
\r
39 "login-account": "sndc-local",
\r
41 "target-ip-address": "{\"get_attribute\":\"lo0-local-ipv4-address\"}",
\r
43 "connection-time-out": 30
\r
47 "type": "vnf-netconf-device"
\r
49 "activate-netconf-component": {
\r
51 "component-node": {}
\r
54 "netconf-connection": {
\r
55 "capability": "netconf",
\r
56 "node": "vpe-netconf-device",
\r
57 "relationship": "tosca.relationships.ConnectsTo"
\r
61 "org-openecomp-sdnc-netconf-adaptor-service-NetconfExecutorNode": {
\r
65 "action-name": "{ \"get_input\" : \"action-name\" }",
\r
66 "template_name": "{ \"get_attribute\" : \"template_name\" }",
\r
67 "service-template-version": "{ \"get_attribute\" : \"service-template-version\" }",
\r
68 "resource-type": "vnf-type",
\r
69 "request-id": "{ \"get_input\" : \"request-id\" }",
\r
70 "resource-id": "{ \"get_input\" : \"hostname\" }",
\r
71 "execution-script": "execution-script"
\r
74 "response-data": "{ \"get_attribute\" : \"netconf-executor-baseconfig.response-data\" }",
\r
75 "status": "{ \"get_attribute\" : \"netconf-executor-baseconfig.status\" }"
\r
77 "implementation" : {
\r
78 "primary" : "file://netconf_adaptor/DefaultBaseLicenceConfig.py"
\r
84 "type": "component-netconf-executor"
\r
86 "resource-assignment-ra-component": {
\r
88 "component-node": {}
\r
91 "org-openecomp-sdnc-config-assignment-service-ConfigAssignmentNode": {
\r
96 "base-config-template",
\r
99 "action-name": "{ \"get_input\" : \"action-name\" }",
\r
100 "service-template-name": "{ \"get_attribute\" : \"template_name\" }",
\r
101 "service-template-version": "{ \"get_attribute\" : \"service-template-version\" }",
\r
102 "resource-type": "vnf-type",
\r
103 "request-id": "{ \"get_input\" : \"request-id\" }",
\r
104 "resource-id": "{ \"get_input\" : \"hostname\" }"
\r
107 "resource-assignment-params": "success",
\r
114 "type": "component-resource-assignment"
\r
116 "resource-assignment-action": {
\r
119 "version": "LATEST",
\r
120 "is-start-flow": "false"
\r
123 "component-dependency": {
\r
124 "capability": "component-node",
\r
125 "node": "resource-assignment-ra-component",
\r
126 "relationship": "tosca.relationships.DependsOn"
\r
140 "ResourceAssignment": {
\r
148 "type": "dg-resource-assignment"
\r
150 "activate-action": {
\r
153 "version": "LATEST",
\r
154 "is-start-flow": "false"
\r
157 "component-dependency": {
\r
158 "capability": "component-node",
\r
159 "node": "activate-netconf-component",
\r
160 "relationship": "tosca.relationships.DependsOn"
\r
174 "ActivateNetconf": {
\r
182 "type": "dg-activate-netconf"
\r
184 "base-config-template": {
\r
188 "content": "db://base-config-template"
\r
195 "name": "bundle-mac",
\r
208 "input-param": false,
\r
209 "dictionary-name": "bundle-mac",
\r
210 "dictionary-source": "db",
\r
217 "name": "wan-aggregate-ipv4-addresses",
\r
227 "type": "dt-v4-aggregate"
\r
230 "input-param": false,
\r
231 "dictionary-name": "wan-aggregate-ipv4-addresses",
\r
232 "dictionary-source": "mdsal",
\r
234 "service-instance-id",
\r
235 "oam-network-role",
\r
242 "name": "hostname",
\r
247 "dictionary-name": "hostname",
\r
248 "dictionary-source": "input",
\r
250 "input-param": false
\r
258 "dictionary-name": "service",
\r
259 "dictionary-source": "input",
\r
261 "input-param": false
\r
264 "name": "service-instance-id",
\r
269 "dictionary-name": "service-instance-id",
\r
270 "dictionary-source": "input",
\r
272 "input-param": false
\r
280 "resource-assignment-action"
\r
283 "type": "artifact-config-template"
\r
285 "licence-template": {
\r
289 "content": "db://licence-template"
\r
296 "name": "licenses",
\r
306 "type": "dt-license-key"
\r
309 "input-param": false,
\r
310 "dictionary-name": "licenses",
\r
311 "dictionary-source": "mdsal",
\r
313 "service-instance-id"
\r
318 "name": "service-instance-id",
\r
323 "dictionary-name": "service-instance-id",
\r
324 "dictionary-source": "input",
\r
326 "input-param": false
\r
334 "resource-assignment-action"
\r
337 "type": "artifact-config-template"
\r