diff options
author | 2019-10-16 13:20:27 +0200 | |
---|---|---|
committer | 2019-10-27 10:43:39 +0000 | |
commit | 8360dc945da365c1c33dea2f4e796c51830dd1e6 (patch) | |
tree | a91544ce5a6ad61163ebc34e1e4842e13b48d089 /components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json | |
parent | 8c16a7853900312866868a61079a336d4b12991a (diff) |
Modified vf-module-name
Issue-ID: CCSDK-1816
Signed-off-by: hanybaki <habdelbaki.ext@orange.com>
Change-Id: Iee947751589ef640a8c519d5ffabe424835bac93
Signed-off-by: Shaaban Ebrahim <shaaban.eltanany.ext@orange.com>
Signed-off-by: root <root@olc-rancher.novalocal>
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Diffstat (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json')
-rw-r--r-- | components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json b/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json new file mode 100644 index 000000000..e19e67c05 --- /dev/null +++ b/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json @@ -0,0 +1,49 @@ +{ + "tags": "create-md-sal-vnf-param", + "name": "create-md-sal-vnf-param", + "property": { + "description": "create-md-sal-vnf-param", + "type": "string" + }, + "updated-by": "Singal, Kapil <ks220y@att.com>", + "sources": { + "sdnc": { + "type": "source-rest", + "properties": { + "type": "JSON", + "verb": "PUT", + "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": "", + "payload": "{\n\"GENERIC-RESOURCE-API:param\": [\n{\n\"GENERIC-RESOURCE-API:name\": \"vdns_vf_module_id\",\n\"GENERIC-RESOURCE-API:value\": \"$vf-module-id\"\n}\n]\n}", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id", + "vf-module-id": "vf-module-id" + }, + "output-key-mapping": {}, + "key-dependencies": [ + "vf-module-id", + "service-instance-id", + "vnf-id" + ] + } + }, + "aai-data": { + "type": "source-rest", + "properties": { + "verb": "PATCH", + "type": "JSON", + "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id/nm-profile-name", + "payload": "{\"nm-profile-name\":\"$vf-module-id\"}", + "path": "", + "input-key-mapping": { + "vnf-id": "vnf-id" + }, + "output-key-mapping": {}, + "key-dependencies": [ + "vnf-id" + ] + } + } + } +}
\ No newline at end of file |