2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
4 "template_author" : "Rahul Tyagi",
5 "author-email" : "rahul.tyagi@est.tech",
6 "user-groups" : "ADMIN, OPERATION",
7 "template_name" : "pnf_config_aai",
8 "template_version" : "1.0.0",
9 "template_tags" : "pnf, restconf, config, configuration"
12 "file" : "Definitions/data_types.json"
14 "file" : "Definitions/relationship_types.json"
16 "file" : "Definitions/artifact_types.json"
18 "file" : "Definitions/node_types.json"
20 "file" : "Definitions/policy_types.json"
23 "config-deploy-properties" : {
25 "get_input" : "resolution-key"
29 "topology_template" : {
33 "activate-process" : {
34 "description" : "Create a configlet",
35 "target" : "config-assign",
50 "config-assign-properties" : {
51 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
53 "type" : "dt-config-assign-properties"
59 "activate-process" : {
60 "description" : "Send a configlet to the pnf",
61 "target" : "config-deploy",
72 "config-deploy-properties" : {
73 "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
75 "type" : "dt-config-deploy-properties"
82 "type" : "component-resource-resolution",
84 "ResourceResolutionComponent" : {
89 "get_input" : "resolution-key"
91 "store-result" : true,
92 "artifact-prefix-names" : [ "config-assign" ]
95 "resource-assignment-params" : {
96 "get_attribute" : [ "SELF", "assignment-params" ]
105 "config-assign-template" : {
106 "type" : "artifact-template-velocity",
107 "file" : "Templates/config-assign-restconf-configlet-template.vtl"
109 "config-assign-mapping" : {
110 "type" : "artifact-mapping-resource",
111 "file" : "Definitions/config-assign-pnf-mapping.json"
116 "type" : "component-script-executor",
118 "ComponentScriptExecutor" : {
122 "primary" : "component-script",
124 "operation_host" : "SELF"
127 "script-type" : "jython",
128 "script-class-reference" : "Scripts/python/RestconfConfigDeploy.py",
129 "dynamic-properties" : "*config-deploy-properties"
132 "response-data" : "",
140 "config-deploy-template" : {
141 "type" : "artifact-template-velocity",
142 "file" : "Templates/config-deploy-restconf-mount-template.vtl"
144 "config-deploy-mapping" : {
145 "type" : "artifact-mapping-resource",
146 "file" : "Definitions/config-deploy-pnf-mapping.json"
148 "component-script" : {
149 "type" : "artifact-script-jython",
150 "file" : "Scripts/python/RestconfConfigDeploy.py"