summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json
diff options
context:
space:
mode:
authorAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>2020-05-20 04:20:27 -0700
committerKAPIL SINGAL <ks220y@att.com>2020-05-27 19:09:40 +0000
commit0f82eb6b9bdf1f0df98f75e437a6f03e1734d57b (patch)
tree31b9d9d6bf20fccb3219e2a49d2593536bb50770 /components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json
parent1591ba7289f34c1c44881c169e91c3a6ceda9531 (diff)
Update Data Definitions
Issue-ID: CCSDK-2382 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com> Change-Id: Ie6d9970e9148422e187f2594c9d9deee0cf01d3e
Diffstat (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json')
-rw-r--r--[-rwxr-xr-x]components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json102
1 files changed, 53 insertions, 49 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
index db917b6f5..6f9890b21 100755..100644
--- 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
@@ -1,50 +1,54 @@
{
- "tags": "create-md-sal-vnf-param",
- "name": "create-md-sal-vnf-param",
- "group":"default",
- "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"
- ]
- }
- }
- }
-}
+ "tags": "create-md-sal-vnf-param",
+ "name": "create-md-sal-vnf-param",
+ "group":"default",
+ "property": {
+ "description": "create-md-sal-vnf-param",
+ "type": "string"
+ },
+ "updated-by": "Singal, Kapil <ks220y@att.com>",
+ "sources": {
+ "sdnc": {
+ "type": "source-rest",
+ "properties": {
+ "type": "JSON",
+ "headers": {
+ "Accept": "application/json",
+ "Content-Type": "application/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