aboutsummaryrefslogtreecommitdiffstats
path: root/ms/controllerblueprints/modules/resource-dict/load/resource_dictionary/vnf-name.json
blob: bba92c8fa0919be9c7b34417a0bbb5c4ffee6e35 (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
{
  "name" : "vnf-name",
  "tags" : "vnf-name, tosca.datatypes.Root, data_type",
  "updated-by" : "Singal, Kapil <ks220y@att.com>",
  "property" : {
    "description" : "vnf-name",
    "type" : "string"
  },
  "sources" : {
    "sdnc": {
      "type": "source-rest",
      "properties": {
        "type": "JSON",
        "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-name/vnf-data/vnf-topology/vnf-parameters-data/param/vnf-name",
        "path": "/param/0/value",
        "input-key-mapping": {
          "service-instance-id": "service-instance-id",
          "vnf-name": "vnf-name"
        },
        "output-key-mapping": {
          "vnf-name": "value"
        },
        "key-dependencies": [
          "service-instance-id",
          "vnf-name"
        ]
      }
    },
    "aai-data": {
      "type": "source-rest",
      "properties": {
        "type": "JSON",
        "verb": "GET",
        "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
        "path": "",
        "input-key-mapping": {
          "vnf-id": "vnf-id"
        },
        "output-key-mapping": {
          "vnf-name": "vnf-name"
        },
        "key-dependencies": [
          "vnf-id"
        ]
      }
    }
  }
}