Fixed bug when k8s profile is created for default k8s version
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / vdns_onap_private_ip_0.json
index d6f1e37..45d961d 100644 (file)
@@ -1,37 +1,61 @@
 {
-  "tags": "vdns_onap_private_ip_0",
-  "name": "vdns_onap_private_ip_0",
-  "property": {
-    "description": "vdns_onap_private_ip_0",
-    "type": "string"
-  },
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-  "sources": {
-    "input": {
-      "type": "source-input"
+    "tags": "vdns_onap_private_ip_0",
+    "name": "vdns_onap_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vdns_onap_private_ip_0",
+        "type": "string"
     },
-    "default": {
-      "type": "source-default",
-      "properties": {}
-    },
-    "sdnc": {
-      "type": "source-rest",
-      "properties": {
-        "type": "JSON",
-        "url-path": "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vdns_onap_private_ip_0",
-        "path": "/param/0/value",
-        "input-key-mapping": {
-          "service-instance-id": "service-instance-id",
-          "vnf-id": "vnf-id"
+    "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+    "sources": {
+        "input": {
+            "type": "source-input"
+        },
+        "default": {
+            "type": "source-default",
+            "properties": {}
         },
-        "output-key-mapping": {
-          "vdns_onap_private_ip_0": "value"
+        "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/$vdns_vf_module_id/vf-module-data/vf-module-topology/vf-module-parameters/param/vdns_onap_private_ip_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id",
+                    "vdns_vf_module_id": "vdns_vf_module_id"
+                },
+                "output-key-mapping": {
+                    "vdns_onap_private_ip_0": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id",
+                    "vdns_vf_module_id"
+                ]
+            }
         },
-        "key-dependencies": [
-          "service-instance-id",
-          "vnf-id"
-        ]
-      }
+        "rest": {
+            "type": "source-rest",
+            "properties": {
+                "endpoint-selector": "ipam-1",
+                "type": "JSON",
+                "verb": "POST",
+                "url-path": "/api/ipam/prefixes/$prefix-id/available-ips/",
+                "path": "",
+                "input-key-mapping": {
+                    "prefix-id": "management-prefix-id"
+                },
+                "output-key-mapping": {
+                    "vdns_onap_private_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "management-prefix-id"
+                ]
+            }
+        }
     }
-  }
-}
+}
\ No newline at end of file