X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=components%2Fmodel-catalog%2Fresource-dictionary%2Fstarter-dictionary%2Fvdns_onap_private_ip_0.json;h=45d961ddd704b3560318ed10ced7e5f3d85ae246;hb=c7bd99a9bf07e3023ab510dfe84fc2acbe74299b;hp=d6f1e37e7f60f5d73e064b029892685ce3ac972f;hpb=44f56d241be4de6edf6b3ccda4e44426241581ed;p=ccsdk%2Fcds.git diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vdns_onap_private_ip_0.json b/components/model-catalog/resource-dictionary/starter-dictionary/vdns_onap_private_ip_0.json index d6f1e37e7..45d961ddd 100644 --- a/components/model-catalog/resource-dictionary/starter-dictionary/vdns_onap_private_ip_0.json +++ b/components/model-catalog/resource-dictionary/starter-dictionary/vdns_onap_private_ip_0.json @@ -1,37 +1,61 @@ { - "tags": "vdns_onap_private_ip_0", - "name": "vdns_onap_private_ip_0", - "property": { - "description": "vdns_onap_private_ip_0", - "type": "string" - }, - "updated-by": "MALAKOV, YURIY ", - "sources": { - "input": { - "type": "source-input" + "tags": "vdns_onap_private_ip_0", + "name": "vdns_onap_private_ip_0", + "group":"default", + "property": { + "description": "vdns_onap_private_ip_0", + "type": "string" }, - "default": { - "type": "source-default", - "properties": {} - }, - "sdnc": { - "type": "source-rest", - "properties": { - "type": "JSON", - "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_onap_private_ip_0", - "path": "/param/0/value", - "input-key-mapping": { - "service-instance-id": "service-instance-id", - "vnf-id": "vnf-id" + "updated-by": "MALAKOV, YURIY ", + "sources": { + "input": { + "type": "source-input" + }, + "default": { + "type": "source-default", + "properties": {} }, - "output-key-mapping": { - "vdns_onap_private_ip_0": "value" + "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/vf-modules/vf-module/$vdns_vf_module_id/vf-module-data/vf-module-topology/vf-module-parameters/param/vdns_onap_private_ip_0", + "path": "/param/0/value", + "input-key-mapping": { + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id", + "vdns_vf_module_id": "vdns_vf_module_id" + }, + "output-key-mapping": { + "vdns_onap_private_ip_0": "value" + }, + "key-dependencies": [ + "service-instance-id", + "vnf-id", + "vdns_vf_module_id" + ] + } }, - "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": "management-prefix-id" + }, + "output-key-mapping": { + "vdns_onap_private_ip_0": "address", + "id": "id" + }, + "key-dependencies": [ + "management-prefix-id" + ] + } + } } - } -} +} \ No newline at end of file