Update Data Definitions
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vlb_private_net_cidr.json
1 {
2     "tags": "vlb_private_net_cidr",
3     "name": "vlb_private_net_cidr",
4     "group":"default",
5     "property": {
6         "description": "vlb_private_net_cidr",
7         "type": "string"
8     },
9     "updated-by": "MALAKOV, YURIY <yuriy.malakov@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/vlb_private_net_cidr",
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                     "vlb_private_net_cidr": "value"
31                 },
32                 "key-dependencies": [
33                     "service-instance-id",
34                     "vnf-id"
35                 ]
36             }
37         },
38         "processor-db": {
39             "type": "source-db",
40             "properties": {
41                 "type": "SQL",
42                 "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"",
43                 "input-key-mapping": {},
44                 "output-key-mapping": {
45                     "vlb_private_net_cidr": "prefix"
46                 }
47             }
48         }
49     }
50 }