aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/vpg_name_0.json
blob: c7bffdd06af1f931c51960e0e8d89683538f2f56 (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
60
61
62
63
64
65
66
67
68
69
{
    "tags": "vpg_name_0",
    "name": "vpg_name_0",
    "group":"default",
    "property": {
        "description": "vlb_name_0",
        "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/vpg_name_0",
                "path": "/param/0/value",
                "input-key-mapping": {
                    "service-instance-id": "service-instance-id",
                    "vnf-id": "vnf-id"
                },
                "output-key-mapping": {
                    "vpg_name_0": "value"
                },
                "key-dependencies": [
                    "service-instance-id",
                    "vnf-id"
                ]
            }
        },
        "rest": {
            "type": "source-rest",
            "properties": {
                "endpoint-selector": "naming-resolution",
                "verb": "POST",
                "type": "JSON",
                "headers": {
                    "Accept": "application/json",
                    "Content-Type": "application/json"
                },
                "url-path": "/v1/genNetworkElementName",
                "payload": "{\r\n\t\"elements\": [{\r\n\t\t\"resource-name\": \"vpg_name_0\",\r\n\t\t\"resource-value\": \"${vpg_name_0}\",\r\n\t\t\"external-key\": \"${vf-module-id}_vpg_name_0\",\r\n\t\t\"policy-instance-name\": \"${vf-naming-policy}\",\r\n\t\t\"naming-type\": \"VNFC\",\r\n\t\t\"VNF_NAME\": \"${vnf_name}\",\r\n\t\t\"NFC_NAMING_CODE\": \"${nfc-naming-code}\"\r\n\t}]\r\n}",
                "path": "/elements/0/resource-value",
                "input-key-mapping": {
                    "vf-naming-policy": "vf-naming-policy",
                    "nfc-naming-code": "nfc-naming-code",
                    "vnf_name": "vnf_name",
                    "vf-module-id": "vf-module-id"
                },
                "output-key-mapping": {
                    "vpg_name_0": "resource-value"
                },
                "key-dependencies": [
                    "vf-naming-policy",
                    "nfc-naming-code",
                    "vnf_name",
                    "vf-module-id"
                ]
            }
        }
    }
}