Update Data Definitions
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vpg_onap_private_ip_0.json
1 {
2     "tags": "vpg_onap_private_ip_0",
3     "name": "vpg_onap_private_ip_0",
4     "group":"default",
5     "property": {
6         "description": "vpg_onap_private_ip_0",
7         "type": "string"
8     },
9     "updated-by": "Singal, Kapil <ks220y@att.com>",
10     "sources": {
11         "input": {
12             "type": "source-input"
13         },
14         "default": {
15             "type": "source-default",
16             "properties": {}
17         },
18         "sdnc": {
19             "type": "source-rest",
20             "properties": {
21                 "verb": "GET",
22                 "type": "JSON",
23                 "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/vpg_onap_private_ip_0",
24                 "path": "/param/0/value",
25                 "input-key-mapping": {
26                     "service-instance-id": "service-instance-id",
27                     "vnf-id": "vnf-id"
28                 },
29                 "output-key-mapping": {
30                     "vpg_onap_private_ip_0": "value"
31                 },
32                 "key-dependencies": [
33                     "service-instance-id",
34                     "vnf-id"
35                 ]
36             }
37         },
38         "rest": {
39             "type": "source-rest",
40             "properties": {
41                 "endpoint-selector": "ipam-1",
42                 "type": "JSON",
43                 "verb": "POST",
44                 "url-path": "/api/ipam/prefixes/$prefix-id/available-ips/",
45                 "path": "",
46                 "input-key-mapping": {
47                     "prefix-id": "management-prefix-id"
48                 },
49                 "output-key-mapping": {
50                     "vpg_onap_private_ip_0": "address",
51                     "id": "id"
52                 },
53                 "key-dependencies": [
54                     "management-prefix-id"
55                 ]
56             }
57         }
58     }
59 }