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" : { },
15 "description" : "This is dt-v4-aggregate Data Type",
27 "derived_from" : "tosca.datatypes.Root"
30 "description" : "This is dt-plicense-key Data Type",
38 "derived_from" : "tosca.datatypes.Root"
40 "datatype-resource-assignment" : {
41 "description" : "This is Resource Assignment Data Type",
46 "type" : "datatype-property"
56 "dictionary-source" : {
84 "derived_from" : "tosca.datatypes.Root"
86 "datatype-property" : {
87 "description" : "This is Entry point Input Data Type, which is dynamic datatype, The parameter names will be populated during the Design time for each inputs",
111 "derived_from" : "tosca.datatypes.Root"
113 "dt-resource-assignment-request" : {
114 "description" : "This is Dynamic Data type definition generated from resource mapping for the config template name base-config-template.",
125 "type" : "dt-license-key"
136 "service-instance-id" : {
145 "type" : "dt-v4-aggregate"
149 "derived_from" : "tosca.datatypes.Dynamic"
153 "dg-resource-assignment" : {
154 "description" : "This is Resource Assignment Directed Graph",
175 "type" : "tosca.capabilities.Node"
179 "component-dependency" : {
180 "capability" : "component-node",
181 "node" : "component-resource-assignment",
182 "relationship" : "tosca.relationships.DependsOn"
188 "ResourceAssignment" : {
194 "type" : "datatype-property"
202 "derived_from" : "tosca.nodes.DG"
204 "tosca.nodes.Component" : {
205 "description" : "This is default Component Node",
207 "derived_from" : "tosca.nodes.Root"
209 "artifact-config-template" : {
210 "description" : "This is Configuration Velocity Template",
223 "type" : "tosca.capabilities.Content",
232 "type" : "tosca.capabilities.Mapping",
238 "type" : "datatype-resource-assignment"
244 "derived_from" : "tosca.nodes.Artifact"
246 "tosca.nodes.Vnf" : {
247 "description" : "This is VNF Node Type",
249 "derived_from" : "tosca.nodes.Root"
251 "tosca.nodes.Artifact" : {
252 "description" : "This is Deprecated Artifact Node Type.",
254 "derived_from" : "tosca.nodes.Root"
256 "dg-activate-netconf" : {
257 "description" : "This is Download Netconf Directed Graph",
278 "type" : "tosca.capabilities.Node"
282 "component-dependency" : {
283 "capability" : "component-node",
284 "node" : "component-netconf-executor",
285 "relationship" : "tosca.relationships.DependsOn"
291 "ActivateNetconf" : {
297 "type" : "datatype-property"
305 "derived_from" : "tosca.nodes.DG"
308 "description" : "This is Input Resource Source Node Type",
315 "key-dependencies" : {
323 "derived_from" : "tosca.nodes.ResourceSource"
325 "tosca.nodes.ResourceSource" : {
326 "description" : "TOSCA base type for Resource Sources",
328 "derived_from" : "tosca.nodes.Root"
330 "component-resource-assignment" : {
331 "description" : "This is Resource Assignment Component API",
335 "type" : "tosca.capabilities.Node"
339 "org-onap-ccsdk-config-assignment-service-ConfigAssignmentNode" : {
344 "description" : "Service Template Name.",
348 "template-version" : {
349 "description" : "Service Template Version.",
354 "description" : "Request type.",
359 "description" : "Name of the artifact Node Templates, to get the template Content.",
367 "description" : "Request Id, Unique Id for the request.",
372 "description" : "Resource Id.",
377 "description" : "Action Name of the process",
383 "resource-assignment-params" : {
396 "derived_from" : "tosca.nodes.Component"
399 "description" : "This is Directed Graph Node Type",
401 "derived_from" : "tosca.nodes.Root"
404 "description" : "This is Database Resource Source Node Type",
411 "valid_values" : [ "SQL", "PLSQL" ]
418 "input-key-mapping" : {
425 "output-key-mapping" : {
432 "key-dependencies" : {
440 "derived_from" : "tosca.nodes.ResourceSource"
442 "vnf-netconf-device" : {
443 "description" : "This is VNF Device with Netconf Capability",
447 "type" : "tosca.capabilities.Netconf",
457 "default" : "sdnc-tacacs"
464 "target-ip-address" : {
473 "connection-time-out" : {
481 "derived_from" : "tosca.nodes.Vnf"
484 "description" : "This is Rest Resource Source Node Type",
491 "valid_values" : [ "JSON" ]
503 "expression-type" : {
507 "valid_values" : [ "JSON_PATH", "JSON_POINTER" ]
509 "default" : "JSON_PATH"
511 "input-key-mapping" : {
518 "output-key-mapping" : {
525 "key-dependencies" : {
533 "derived_from" : "tosca.nodes.ResourceSource"
535 "component-netconf-executor" : {
536 "description" : "This is Netconf Transaction Configuration Component API",
540 "type" : "tosca.capabilities.Node"
544 "netconf-connection" : {
545 "capability" : "netconf",
546 "node" : "vnf-netconf-device",
547 "relationship" : "tosca.relationships.ConnectsTo"
551 "org-openecomp-sdnc-netconf-adaptor-service-NetconfExecutorNode" : {
556 "description" : "Request Id used to store the generated configuration, in the database along with the template-name",
561 "description" : "Service Template Name",
565 "template-version" : {
566 "description" : "Service Template Version",
571 "description" : "Action Name to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",
576 "description" : "Resource Type to get from Database, Either (message & mask-info ) or( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",
581 "description" : "Resource Id to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",
586 "description" : "Reservation Id used to send to NPM",
590 "execution-script" : {
591 "description" : "Python Script to Execute for this Component action, It should refer any one of Prython Artifact Definition for this Node Template.",
598 "description" : "Execution Response Data in JSON format.",
603 "description" : "Status of the Component Execution ( success or failure )",
612 "derived_from" : "tosca.nodes.Component"
615 "topology_template" : {
621 "service-instance-id" : {
637 "resource-assignment-request" : {
638 "description" : "This is Dynamic Data type for the receipe resource-assignment-action.",
640 "type" : "dt-resource-assignment-request"
644 "vpe-netconf-device" : {
645 "type" : "vnf-netconf-device",
649 "login-key" : "sdnc",
650 "login-account" : "sndc-local",
652 "target-ip-address" : {
653 "get_attribute" : [ "SELF", "lo0-local-ipv4-address" ]
656 "connection-time-out" : 30
661 "activate-netconf-component" : {
662 "type" : "component-netconf-executor",
664 "component-node" : { }
667 "netconf-connection" : {
668 "capability" : "netconf",
669 "node" : "vpe-netconf-device",
670 "relationship" : "tosca.relationships.ConnectsTo"
674 "org-openecomp-sdnc-netconf-adaptor-service-NetconfExecutorNode" : {
678 "primary" : "file://netconf_adaptor/DefaultBaseLicenceConfig.py"
682 "get_input" : "action-name"
685 "get_input" : "template_name"
687 "template-version" : {
688 "get_input" : "template_version"
690 "resource-type" : "vnf-type",
692 "get_input" : "request-id"
695 "get_input" : "hostname"
697 "execution-script" : "execution-script"
701 "get_attribute" : [ "SELF", "netconf-executor-baseconfig.response-data" ]
704 "get_attribute" : [ "SELF", "netconf-executor-baseconfig.status" ]
712 "resource-assignment-ra-component" : {
713 "type" : "component-resource-assignment",
715 "component-node" : { }
718 "org-onap-ccsdk-config-assignment-service-ConfigAssignmentNode" : {
722 "template-names" : [ "base-config-template", "licence-template" ],
724 "get_input" : "action-name"
727 "get_input" : "template_name"
729 "template-version" : {
730 "get_input" : "template-version"
732 "resource-type" : "vnf-type",
734 "get_input" : "request-id"
737 "get_input" : "hostname"
741 "resource-assignment-params" : "success",
749 "resource-assignment-action" : {
750 "type" : "dg-resource-assignment",
753 "version" : "LATEST",
754 "is-start-flow" : false
760 "component-dependency" : {
761 "capability" : "component-node",
762 "node" : "resource-assignment-ra-component",
763 "relationship" : "tosca.relationships.DependsOn"
769 "ResourceAssignment" : {
778 "activate-action" : {
779 "type" : "dg-activate-netconf",
782 "version" : "LATEST",
783 "is-start-flow" : false
789 "component-dependency" : {
790 "capability" : "component-node",
791 "node" : "activate-netconf-component",
792 "relationship" : "tosca.relationships.DependsOn"
798 "ActivateNetconf" : {
807 "base-config-template" : {
808 "type" : "artifact-config-template",
810 "action-names" : [ "resource-assignment-action" ]
815 "content" : "db://base-config-template"
821 "name" : "rs-db-source",
826 "input-param" : false,
827 "dictionary-name" : "sample-db-source",
828 "dictionary-source" : "db",
829 "dependencies" : [ "hostname" ],
832 "name" : "mdsal-source",
838 "type" : "dt-v4-aggregate"
841 "input-param" : false,
842 "dictionary-name" : "sample-mdsal-source",
843 "dictionary-source" : "mdsal",
844 "dependencies" : [ "service-instance-id" ],
852 "dictionary-name" : "hostname",
853 "dictionary-source" : "input",
855 "input-param" : false
862 "dictionary-name" : "service",
863 "dictionary-source" : "input",
865 "input-param" : false
867 "name" : "service-instance-id",
872 "dictionary-name" : "service-instance-id",
873 "dictionary-source" : "input",
875 "input-param" : false
881 "licence-template" : {
882 "type" : "artifact-config-template",
884 "action-names" : [ "resource-assignment-action" ]
889 "content" : "db://licence-template"
900 "type" : "dt-license-key"
903 "input-param" : false,
904 "dictionary-name" : "sample-licenses",
905 "dictionary-source" : "mdsal",
906 "dependencies" : [ "service-instance-id" ],
909 "name" : "service-instance-id",
914 "dictionary-name" : "service-instance-id",
915 "dictionary-source" : "input",
917 "input-param" : false