From 0f82eb6b9bdf1f0df98f75e437a6f03e1734d57b Mon Sep 17 00:00:00 2001 From: Abdelmuhaimen Seaudi Date: Wed, 20 May 2020 04:20:27 -0700 Subject: Update Data Definitions Issue-ID: CCSDK-2382 Signed-off-by: Abdelmuhaimen Seaudi Change-Id: Ie6d9970e9148422e187f2594c9d9deee0cf01d3e --- .../vlb_int_pktgen_private_ip_0.json | 96 +++++++++++++--------- 1 file changed, 58 insertions(+), 38 deletions(-) mode change 100755 => 100644 components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json (limited to 'components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json') diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json old mode 100755 new mode 100644 index ac0734cd9..1a486a2fa --- a/components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json @@ -1,39 +1,59 @@ { - "tags": "vlb_int_pktgen_private_ip_0", - "name": "vlb_int_pktgen_private_ip_0", - "group":"default", - "property": { - "description": "vlb_int_pktgen_private_ip_0", - "type": "string" - }, - "updated-by": "MALAKOV, YURIY ", - "sources": { - "input": { - "type": "source-input" - }, - "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/vlb_int_pktgen_private_ip_0", - "path": "/param/0/value", - "input-key-mapping": { - "service-instance-id": "service-instance-id", - "vnf-id": "vnf-id" - }, - "output-key-mapping": { - "vlb_int_pktgen_private_ip_0": "value" - }, - "key-dependencies": [ - "service-instance-id", - "vnf-id" - ] - } - } - } -} + "tags": "vlb_int_pktgen_private_ip_0", + "name": "vlb_int_pktgen_private_ip_0", + "group":"default", + "property": { + "description": "vlb_int_pktgen_private_ip_0", + "type": "string" + }, + "updated-by": "MALAKOV, YURIY ", + "sources": { + "input": { + "type": "source-input" + }, + "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/vlb_int_pktgen_private_ip_0", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id" + }, + "output-key-mapping": { + "vlb_int_pktgen_private_ip_0": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id" + ] + } + }, + "rest": { + "type": "source-rest", + "properties": { + "endpoint-selector": "ipam-1", + "type": "JSON", + "verb": "POST", + "url-path": "/api/ipam/prefixes/$prefix-id/available-ips/", + "path": "", + "input-key-mapping": { + "prefix-id": "private2-prefix-id" + }, + "output-key-mapping": { + "vlb_int_pktgen_private_ip_0": "address", + "id": "id" + }, + "key-dependencies": [ + "private2-prefix-id" + ] + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg