diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-09-28 10:09:36 -0400 |
---|---|---|
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-10-06 18:20:58 +0000 |
commit | fc165016d5757a119c93e9d9ae73766fbd3db1fc (patch) | |
tree | 7ae3e72003d2f1214b8909b8bba97b0580073d61 /components/model-catalog/definition-type/starter-type/node_type/vnf-netconf-device.json | |
parent | 87bf343b8b810ed790b92eb915331a69b9d6cc77 (diff) |
Fix service blueprints
Blueprints were failing enrichment. Cba's were referencing requirement
restconf-connection which is not defined in component-netconf-executor.
Added new capability for restconf and fixed referencing
Issue-ID: CCSDK-2859
Change-Id: I13f8800ea5fad9daed8a8b7b81cc3649efbebbc9
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
(cherry picked from commit 919a7aa6ecbb06a4d04afba280202bdedef0eb52)
Diffstat (limited to 'components/model-catalog/definition-type/starter-type/node_type/vnf-netconf-device.json')
-rw-r--r-- | components/model-catalog/definition-type/starter-type/node_type/vnf-netconf-device.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/components/model-catalog/definition-type/starter-type/node_type/vnf-netconf-device.json b/components/model-catalog/definition-type/starter-type/node_type/vnf-netconf-device.json index 9aa3a4f70..cfeb9ca04 100644 --- a/components/model-catalog/definition-type/starter-type/node_type/vnf-netconf-device.json +++ b/components/model-catalog/definition-type/starter-type/node_type/vnf-netconf-device.json @@ -35,6 +35,32 @@ "default": 30 } } + }, + "restconf" : { + "type": "tosca.capabilities.Restconf", + "properties" : { + "login-key": { + "required": true, + "type": "string" + }, + "login-account": { + "required": true, + "type": "string" + }, + "target-ip-address": { + "required": true, + "type": "string" + }, + "port-number": { + "required": true, + "type": "integer" + }, + "connection-time-out": { + "required": false, + "type": "integer", + "default": 30 + } + } } }, "derived_from": "tosca.nodes.Vnf" |