diff options
Diffstat (limited to 'cds-regression-test/cba/netconf/Definitions/netconf.json')
-rw-r--r-- | cds-regression-test/cba/netconf/Definitions/netconf.json | 137 |
1 files changed, 0 insertions, 137 deletions
diff --git a/cds-regression-test/cba/netconf/Definitions/netconf.json b/cds-regression-test/cba/netconf/Definitions/netconf.json deleted file mode 100644 index 74a98c1..0000000 --- a/cds-regression-test/cba/netconf/Definitions/netconf.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "metadata": { - "template_author": "Selffish", - "author-email": "test@bell.ca", - "template_name": "RT-netconf", - "template_version": "1.0.0", - "template_tags": "Bell, CBA, test" - }, - "topology_template": { - "workflows": { - "netconf-jython": { - "steps": { - "netconf-jython": { - "description": "deploy config", - "target": "execute-jython-netconf" - } - }, - "inputs": { - "netconf-host": { - "required": true, - "type": "string" - }, - "netconf-timeout": { - "required": true, - "type": "string" - } - }, - "outputs": { - "response-data": { - "type": "string", - "value": { - "get_attribute": [ - "execute-jython-netconf", - "response-data" - ] - } - } - } - }, - "netconf-kotlin": { - "steps": { - "netconf-kotlin": { - "description": "deploy config", - "target": "execute-kotlin-netconf" - } - }, - "inputs": { - "netconf-host": { - "required": true, - "type": "string" - }, - "netconf-timeout": { - "required": true, - "type": "string" - } - }, - "outputs": { - "response-data": { - "type": "string", - "value": { - "get_attribute": [ - "execute-kotlin-netconf", - "response-data" - ] - } - } - } - } - }, - "node_templates": { - "execute-jython-netconf": { - "type": "component-netconf-executor", - "requirements": { - "netconf-connection": { - "capability": "netconf", - "node": "netconf-device", - "relationship": "tosca.relationships.ConnectsTo" - } - }, - "interfaces": { - "ComponentNetconfExecutor": { - "operations": { - "process": { - "inputs": { - "script-type": "jython", - "script-class-reference": "Scripts/python/NetconfTest.py", - "instance-dependencies": [] - } - } - } - } - } - }, - "execute-kotlin-netconf": { - "type": "component-netconf-executor", - "requirements": { - "netconf-connection": { - "capability": "netconf", - "node": "netconf-device", - "relationship": "tosca.relationships.ConnectsTo" - } - }, - "interfaces": { - "ComponentNetconfExecutor": { - "operations": { - "process": { - "inputs": { - "script-type": "kotlin", - "script-class-reference": "org.onap.ccsdk.cds.blueprintsprocessor.functions.netconf.executor.ConfigDeploy", - "instance-dependencies": [] - } - } - } - } - } - }, - "netconf-device": { - "type": "vnf-netconf-device", - "capabilities": { - "netconf": { - "properties": { - "login-key": "password", - "login-account": "admin", - "target-ip-address": { - "get_input": "netconf-host" - }, - "port-number": 17830, - "connection-time-out": { - "get_input": "netconf-timeout" - } - } - } - } - } - } - } -} |