summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/pg_int.json
blob: a51b7f79bf64f93583f0221303edb6c42ac97cd8 (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
50
51
52
53
54
55
56
57
58
59
{
    "tags": "pg_int",
    "name": "pg_int",
    "group":"default",
    "property": {
        "description": "pg_int",
        "type": "string"
    },
    "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
    "sources": {
        "input": {
            "type": "source-input"
        },
        "default": {
            "type": "source-default",
            "properties": {}
        },
        "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/vnf-topology/vnf-parameters-data/param/pg_int",
                "path": "/param/0/value",
                "input-key-mapping": {
                    "service-instance-id": "service-instance-id",
                    "vnf-id": "vnf-id"
                },
                "output-key-mapping": {
                    "pg_int": "value"
                },
                "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": "private2-prefix-id"
                },
                "output-key-mapping": {
                    "pg_int": "address",
                    "id": "id"
                },
                "key-dependencies": [
                    "private2-prefix-id"
                ]
            }
        }
    }
}