summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json
blob: cd8707c69ca0bb133c41370f8dae42d27adaac6e (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
{
    "tags": "create-md-sal-vnf-param",
    "name": "create-md-sal-vnf-param",
    "group":"default",
    "property": {
        "description": "create-md-sal-vnf-param",
        "type": "string"
    },
    "updated-by": "Singal, Kapil <ks220y@att.com>",
    "sources": {
        "sdnc": {
            "type": "source-rest",
            "properties": {
                "type": "JSON",
                "headers": {
                    "Accept": "application/json",
                    "Content-Type": "application/json"
                },
                "verb": "PUT",
                "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/vdns_vf_module_id",
                "path": "",
                "payload": "{\n\"GENERIC-RESOURCE-API:param\": [\n{\n\"GENERIC-RESOURCE-API:name\": \"vdns_vf_module_id\",\n\"GENERIC-RESOURCE-API:value\": \"$vf-module-id\"\n}\n]\n}",
                "input-key-mapping": {
                    "service-instance-id": "service-instance-id",
                    "vnf-id": "vnf-id",
                    "vf-module-id": "vf-module-id"
                },
                "output-key-mapping": {},
                "key-dependencies": [
                    "vf-module-id",
                    "service-instance-id",
                    "vnf-id"
                ]
            }
        },
        "aai-data": {
            "type": "source-rest",
            "properties": {
                "verb": "PATCH",
                "type": "JSON",
                "url-path": "/aai/v21/network/generic-vnfs/generic-vnf/$vnf-id/nm-profile-name",
                "payload": "{\"nm-profile-name\":\"$vf-module-id\"}",
                "path": "",
                "input-key-mapping": {
                    "vnf-id": "vnf-id"
                },
                "output-key-mapping": {},
                "key-dependencies": [
                    "vnf-id"
                ]
            }
        }
    }
}