Fixed bug when k8s profile is created for default k8s version
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / mdsal-source.json
1 {
2   "tags": "oam-local-ipv4-address",
3   "name": "mdsal-source",
4   "group":"default",
5   "property" :{
6     "description": "based on service-instance-id,network-role,v4-ip-type and vm-type get the ipv4-gateway-prefix from the SDN-GC mdsal",
7     "type": "string"
8   },
9   "updated-by": "brindasanth@onap.com",
10   "sources": {
11     "sdnc": {
12       "type": "source-rest",
13       "properties": {
14         "type": "JSON",
15         "endpoint-selector" : "",
16         "url-path": "config/L3VNF-API:services/service-list/$service-instance-id/service-data/vnf-topology-information/vnf-assignments/vnf-vms/$vm-type/vm-networks/$network-role/v4-assigned-ip-list/$v4-ip-type",
17         "path": "/v4-assigned-ip-list/0/v4-ip-prefix",
18         "input-key-mapping": {
19           "service-instance-id": "service-instance-id",
20           "network-role": "network-role",
21           "v4-ip-type": "v4-ip-type",
22           "vm-type": "vm-type"
23         },
24         "output-key-mapping": {
25           "oam-local-ipv4-address": "v4-ip-prefix"
26         },
27         "key-dependencies": [
28           "service-instance-id",
29           "network-role",
30           "v4-ip-type",
31           "vm-type"
32         ]
33       }
34     }
35   }
36 }