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 5c5d3e0..45d961d 100644 (file)
@@ -1,37 +1,61 @@
-{\r
-  "tags": "vdns_onap_private_ip_0",\r
-  "name": "vdns_onap_private_ip_0",\r
-  "property": {\r
-    "description": "vdns_onap_private_ip_0",\r
-    "type": "string"\r
-  },\r
-  "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",\r
-  "sources": {\r
-    "input": {\r
-      "type": "source-input"\r
-    },\r
-    "default": {\r
-      "type": "source-default",\r
-      "properties": {}\r
-    },\r
-    "sdnc": {\r
-      "type": "source-rest",\r
-      "properties": {\r
-        "type": "JSON",\r
-        "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",\r
-        "path": "/param/0/value",\r
-        "input-key-mapping": {\r
-          "service-instance-id": "service-instance-id",\r
-          "vnf-id": "vnf-id"\r
-        },\r
-        "output-key-mapping": {\r
-          "vdns_onap_private_ip_0": "value"\r
-        },\r
-        "key-dependencies": [\r
-          "service-instance-id",\r
-          "vnf-id"\r
-        ]\r
-      }\r
-    }\r
-  }\r
-}\r
+{
+    "tags": "vdns_onap_private_ip_0",
+    "name": "vdns_onap_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vdns_onap_private_ip_0",
+        "type": "string"
+    },
+    "updated-by": "MALAKOV, YURIY <yuriy.malakov@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/$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"
+                ]
+            }
+        },
+        "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