3 "template_author" : "Brinda Santh",
4 "template_name" : "enhance-template",
5 "template_version" : "1.0.0",
6 "template_tags" : "brinda, VPE",
7 "service-type" : "Sample Service",
11 "tosca_definitions_version" : "controller_blueprint_1_0_0",
12 "artifact_types" : { },
17 "topology_template" : {
23 "service-instance-id" : {
39 "resource-assignment-request" : {
40 "description" : "This is Dynamic Data type for the receipe resource-assignment-action.",
42 "type" : "dt-resource-assignment-request"
46 "vpe-netconf-device" : {
47 "type" : "vnf-netconf-device",
52 "login-account" : "sndc-local",
54 "target-ip-address" : {
55 "get_attribute" : [ "SELF", "lo0-local-ipv4-address" ]
58 "connection-time-out" : 30
63 "activate-netconf-component" : {
64 "type" : "component-netconf-executor",
66 "component-node" : { }
69 "netconf-connection" : {
70 "capability" : "netconf",
71 "node" : "vpe-netconf-device",
72 "relationship" : "tosca.relationships.ConnectsTo"
76 "NetconfExecutorComponent" : {
80 "primary" : "file://netconf_adaptor/DefaultBaseLicenceConfig.py"
84 "get_input" : "action-name"
87 "get_input" : "template_name"
89 "template-version" : {
90 "get_input" : "template_version"
92 "resource-type" : "vnf-type",
94 "get_input" : "request-id"
97 "get_input" : "hostname"
99 "execution-script" : "execution-script"
103 "get_attribute" : [ "SELF", "netconf-executor-baseconfig.response-data" ]
106 "get_attribute" : [ "SELF", "netconf-executor-baseconfig.status" ]
114 "resource-assignment-ra-component" : {
115 "type" : "component-resource-assignment",
117 "component-node" : { }
120 "ResourceAssignmentComponent" : {
124 "template-names" : [ "base-config-template", "licence-template" ],
126 "get_input" : "action-name"
129 "get_input" : "template_name"
131 "template-version" : {
132 "get_input" : "template-version"
134 "resource-type" : "vnf-type",
136 "get_input" : "request-id"
139 "get_input" : "hostname"
143 "resource-assignment-params" : "success",
151 "resource-assignment-action" : {
152 "type" : "dg-resource-assignment",
155 "version" : "LATEST",
156 "is-start-flow" : false
162 "component-dependency" : {
163 "capability" : "component-node",
164 "node" : "resource-assignment-ra-component",
165 "relationship" : "tosca.relationships.DependsOn"
171 "ResourceAssignment" : {
180 "activate-action" : {
181 "type" : "dg-activate-netconf",
184 "version" : "LATEST",
185 "is-start-flow" : false
191 "component-dependency" : {
192 "capability" : "component-node",
193 "node" : "activate-netconf-component",
194 "relationship" : "tosca.relationships.DependsOn"
200 "ActivateNetconf" : {
209 "base-config-template" : {
210 "type" : "artifact-config-template",
212 "action-names" : [ "resource-assignment-action" ]
217 "content" : "db://base-config-template"
223 "name" : "rs-db-source",
228 "input-param" : false,
229 "dictionary-name" : "sample-db-source",
230 "dictionary-source" : "processor-db",
231 "dependencies" : [ "hostname" ],
234 "name" : "mdsal-source",
240 "type" : "dt-v4-aggregate"
243 "input-param" : false,
244 "dictionary-name" : "sample-mdsal-source",
245 "dictionary-source" : "config-data",
246 "dependencies" : [ "service-instance-id" ],
254 "dictionary-name" : "hostname",
255 "dictionary-source" : "input",
257 "input-param" : false
264 "dictionary-name" : "service",
265 "dictionary-source" : "input",
267 "input-param" : false
269 "name" : "service-instance-id",
274 "dictionary-name" : "service-instance-id",
275 "dictionary-source" : "input",
277 "input-param" : false
283 "licence-template" : {
284 "type" : "artifact-config-template",
286 "action-names" : [ "resource-assignment-action" ]
291 "content" : "db://licence-template"
302 "type" : "dt-license-key"
305 "input-param" : false,
306 "dictionary-name" : "sample-licenses",
307 "dictionary-source" : "config-data",
308 "dependencies" : [ "service-instance-id" ],
311 "name" : "service-instance-id",
316 "dictionary-name" : "service-instance-id",
317 "dictionary-source" : "input",
319 "input-param" : false