aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/private2-prefix-id.json
blob: f3f0ae10719e6f6aedecda02c3a79535db1a0616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
  "tags": "private2-prefix-id",
  "name": "private2-prefix-id",
  "property": {
    "description": "private2-prefix-id",
    "type": "string"
  },
  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
  "sources": {
    "input": {
      "type": "source-input"
    },
    "default": {
      "type": "source-default",
      "properties": {}
    },
    "primary-config-data": {
      "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/private2-prefix-id",
        "path": "/param/0/value",
        "input-key-mapping": {
          "service-instance-id": "service-instance-id",
          "vnf-id": "vnf-id"
        },
        "output-key-mapping": {
          "private2-prefix-id": "value"
        },
        "key-dependencies": [
          "service-instance-id",
          "vnf-id"
        ]
      }
    },
    "processor-db": {
      "type": "source-processor-db",
      "properties": {
        "endpoint-selector": "dynamic-db-source",
        "type": "SQL",
        "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
        "input-key-mapping": {},
        "output-key-mapping": {
          "private2-prefix-id": "prefix_id"
        }
      }
    }
  }
}