aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.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/vnf_assign_aai.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/vnf_assign_aai.json')
-rw-r--r--components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json b/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json
new file mode 100644
index 000000000..9408d2902
--- /dev/null
+++ b/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json
@@ -0,0 +1,36 @@
+{
+ "tags": "vnf_assign_aai",
+ "name": "vnf_assign_aai",
+ "group":"default",
+ "property": {
+ "description": "vnf_assign_aai",
+ "type": "string"
+ },
+ "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+ "sources": {
+ "aai-data": {
+ "type": "source-rest",
+ "properties": {
+ "verb": "PATCH",
+ "type": "JSON",
+ "headers": {
+ "Content-Type": "application/merge-patch+json"
+ },
+ "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
+ "payload": "{\r\n\"vnf-name\":\"${vnf_name}\", \r\n \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/${service-instance-id}/service-data/vnfs/vnf/${vnf-id}/vnf-data/vnf-topology/\"\r\n}",
+ "path": "",
+ "input-key-mapping": {
+ "service-instance-id": "service-instance-id",
+ "vnf-id": "vnf-id",
+ "vnf_name": "vnf_name"
+ },
+ "output-key-mapping": {},
+ "key-dependencies": [
+ "service-instance-id",
+ "vnf-id",
+ "vnf_name"
+ ]
+ }
+ }
+ }
+} \ No newline at end of file