aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-name.json
blob: 23af6f2478134835dc9de6919f279dbeb3257e78 (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
70
71
72
{
    "tags": "vf-module-name",
    "name": "vf-module-name",
    "group":"default",
    "property": {
        "description": "vf-module-name",
        "type": "string"
    },
    "updated-by": "Singal, Kapil <ks220y@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/vf-modules/vf-module/$vf_module_id/vf-module-data/vf-module-topology/vf-module-parameters/param/vf-module-name",
                "path": "/param/0/value",
                "input-key-mapping": {
                    "service-instance-id": "service-instance-id",
                    "vnf-id": "vnf-id"
                },
                "output-key-mapping": {
                    "vf-module-name": "value"
                },
                "key-dependencies": [
                    "service-instance-id",
                    "vnf-id",
                    "vf_module_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  \"elements\": [\r\n    {\r\n      \"resource-name\": \"vf-module-name\",\r\n      \"resource-value\": \"${vf-module-name}\",\r\n      \"external-key\": \"${vf-module-id}\",\r\n      \"policy-instance-name\": \"${vf-naming-policy}\",\r\n      \"naming-type\": \"VF-MODULE\",\r\n      \"VNF_NAME\": \"${vnf_name}\",\r\n      \"VF_MODULE_LABEL\":\"${vf-module-label}\",\r\n      \"VF_MODULE_TYPE\":\"${vf-module-type}\"\r\n    }\r\n  ]\r\n}",
                "path": "/elements/0/resource-value",
                "input-key-mapping": {
                    "vf-naming-policy": "vf-naming-policy",
                    "vnf_name": "vnf_name",
                    "vf-module-label": "vf-module-label",
                    "vf-module-type": "vf-module-type",
                    "vf-module-id": "vf-module-id"
                },
                "output-key-mapping": {
                    "vf-module-name": "resource-value"
                },
                "key-dependencies": [
                    "vf-naming-policy",
                    "vnf_name",
                    "vf-module-label",
                    "vf-module-type",
                    "vf-module-id"
                ]
            }
        }
    }
}