From 8360dc945da365c1c33dea2f4e796c51830dd1e6 Mon Sep 17 00:00:00 2001 From: hanybaki Date: Wed, 16 Oct 2019 13:20:27 +0200 Subject: Modified vf-module-name Issue-ID: CCSDK-1816 Signed-off-by: hanybaki Change-Id: Iee947751589ef640a8c519d5ffabe424835bac93 Signed-off-by: Shaaban Ebrahim Signed-off-by: root Signed-off-by: Abdelmuhaimen Seaudi --- .../starter-dictionary/vdns_vf_module_id.json | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json b/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json new file mode 100644 index 000000000..d428268b6 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json @@ -0,0 +1,53 @@ +{ + "tags": "vdns_vf_module_id", + "name": "vdns_vf_module_id", + "property": { + "description": "vdns_vf_module_id", + "type": "string" + }, + "updated-by": "MALAKOV, YURIY ", + "sources": { + "default": { + "type": "source-default", + "properties": {} + }, + "sdnc": { + "type": "source-rest", + "properties": { + "verb": "GET", + "type": "JSON", + "url-path": "/restconf/config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vdns_vf_module_id": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } + }, + "aai-data": { + "type": "source-rest", + "properties": { + "verb": "GET", + "type": "JSON", + "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id", + "path": "", + "input-key-mapping": { + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vdns_vf_module_id": "nm-profile-name" + }, + "key-dependencies": [ + "vnf-id" + ] + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg