2 "tosca_definitions_version" : "controller_blueprint_1_0_0",
4 "template_author" : "Alexis de Talhouƫt",
5 "author-email" : "adetalhouet89@gmail.com",
6 "user-groups" : "ADMIN, OPERATION",
7 "template_name" : "golden",
8 "template_version" : "1.0.0",
9 "template_tags" : "test"
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"
24 "type" : "token-auth",
25 "url" : "http://netbox-nginx:8080",
26 "token" : "Token 0123456789abcdef0123456789abcdef01234567"
28 "config-deploy-properties" : {
30 "get_input" : "resolution-key"
34 "topology_template" : {
36 "resource-assignment" : {
38 "resource-assignment" : {
39 "description" : "Resource Assign Workflow",
40 "target" : "resource-assignment",
47 "resource-assignment-properties" : {
48 "description" : "Dynamic PropertyDefinition for workflow(resource-assignment).",
50 "type" : "dt-resource-assignment-properties"
57 "get_attribute" : [ "resource-assignment", "assignment-params" ]
65 "description" : "Config Assign Workflow",
66 "target" : "config-assign",
77 "config-assign-properties" : {
78 "description" : "Dynamic PropertyDefinition for workflow(config-assign).",
80 "type" : "dt-config-assign-properties"
87 "get_attribute" : [ "config-assign", "assignment-params" ]
95 "description" : "Resource Assign and Python Netconf Activation Workflow",
96 "target" : "config-deploy",
124 "description" : "Rollback Workflow",
125 "target" : "rollback",
127 "call_operation" : ""
148 "rollback-properties" : {
149 "description" : "Dynamic PropertyDefinition for workflow(rollback).",
151 "type" : "dt-rollback-properties"
157 "resource-assignment" : {
158 "type" : "component-resource-resolution",
160 "ResourceResolutionComponent" : {
164 "artifact-prefix-names" : [ "vf-module-1" ]
171 "vf-module-1-template" : {
172 "type" : "artifact-template-velocity",
173 "file" : "Templates/vf-module-1-template.vtl"
175 "vf-module-1-mapping" : {
176 "type" : "artifact-mapping-resource",
177 "file" : "Templates/vf-module-1-mapping.json"
182 "type" : "component-resource-resolution",
184 "ResourceResolutionComponent" : {
189 "get_input" : "resolution-key"
191 "store-result" : true,
192 "artifact-prefix-names" : [ "hostname", "vfw-interface" ]
199 "hostname-template" : {
200 "type" : "artifact-template-velocity",
201 "file" : "Templates/hostname-template.vtl"
203 "hostname-mapping" : {
204 "type" : "artifact-mapping-resource",
205 "file" : "Templates/hostname-mapping.json"
207 "vfw-interface-template" : {
208 "type" : "artifact-template-velocity",
209 "file" : "Templates/vfw-interface-template.vtl"
211 "vfw-interface-mapping" : {
212 "type" : "artifact-mapping-resource",
213 "file" : "Templates/vfw-interface-mapping.json"
218 "type" : "component-netconf-executor",
220 "netconf-connection" : {
221 "capability" : "netconf",
222 "node" : "netconf-device",
223 "relationship" : "tosca.relationships.ConnectsTo"
227 "ComponentNetconfExecutor" : {
231 "script-type" : "jython",
232 "script-class-reference" : "Scripts/python/ConfigDeploy.py",
233 "instance-dependencies" : [ ],
234 "dynamic-properties" : "*config-deploy-properties"
242 "type" : "component-netconf-executor",
244 "netconf-connection" : {
245 "capability" : "netconf",
246 "node" : "netconf-device",
247 "relationship" : "tosca.relationships.ConnectsTo"
251 "ComponentNetconfExecutor" : {
255 "script-type" : "jython",
256 "script-class-reference" : "Scripts/python/Rollback.py",
257 "instance-dependencies" : [ ]
264 "junos-rollback-RPC-template" : {
265 "type" : "artifact-template-velocity",
266 "file" : "Templates/junos-rollback-RPC-template.vtl"
268 "junos-rollback-RPC-mapping" : {
269 "type" : "artifact-mapping-resource",
270 "file" : "Templates/junos-rollback-RPC-mapping.json"
275 "type" : "vnf-netconf-device",
280 "get_input" : "password"
283 "get_input" : "username"
285 "target-ip-address" : {
289 "connection-time-out" : 5