Data dictionary fixes and improvements from vFW CNF demo
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / int_private2_net_cidr.json
1 {
2         "tags": "int_private2_net_cidr",
3         "name": "int_private2_net_cidr",
4         "group":"default",
5         "property": {
6                 "description": "int_private2_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                 "processor-db": {
19                         "type": "source-db",
20                         "properties": {
21                                 "type": "SQL",
22                                 "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
23                                 "output-key-mapping": {
24                                         "int_private2_net_cidr": "prefix"
25                                 },
26                                 "input-key-mapping": {}
27                         }
28                 },
29                 "sdnc": {
30                         "type": "source-rest",
31                         "properties": {
32                                 "verb": "GET",
33                                 "type": "JSON",
34                                 "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/int_private2_net_cidr",
35                                 "path": "/param/0/value",
36                                 "input-key-mapping": {
37                                         "service-instance-id": "service-instance-id",
38                                         "vnf-id": "vnf-id"
39                                 },
40                                 "output-key-mapping": {
41                                         "int_private2_net_cidr": "value"
42                                 },
43                                 "key-dependencies": [
44                                         "service-instance-id",
45                                         "vnf-id"
46                                 ]
47                         }
48                 }
49         }
50 }