Modified vf-module-name
[ccsdk/cds.git] / components / model-catalog / resource-dictionary / starter-dictionary / pktgen_private_net_cidr.json
index dc86efa..0eaaf9b 100644 (file)
@@ -1,50 +1,50 @@
- {
-      "tags": "pktgen_private_net_cidr",
-      "name": "pktgen_private_net_cidr",
-      "property": {
-        "description": "pktgen_private_net_cidr",
-        "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": {
-            "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/pktgen_private_net_cidr",
-            "path": "/param/0/value",
-            "input-key-mapping": {
-              "service-instance-id": "service-instance-id",
-              "vnf-id": "vnf-id"
-            },
-            "output-key-mapping": {
-              "pktgen_private_net_cidr": "value"
-            },
-            "key-dependencies": [
-              "service-instance-id",
-              "vnf-id"
-            ]
-          }
-        },
-      
-      "processor-db": {
-        "type": "source-db",
-        "properties": {
-          "endpoint-selector": "dynamic-db-source",
-          "type": "SQL",
-          "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
-          "input-key-mapping": {},
-          "output-key-mapping": {
-            "onap_private_net_cidr": "prefix"
-          }
-        }
-      }
-    }
-  }
+{
+       "tags": "pktgen_private_net_cidr",
+       "name": "pktgen_private_net_cidr",
+       "property": {
+               "description": "pktgen_private_net_cidr",
+               "type": "string"
+       },
+       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+       "sources": {
+               "input": {
+                       "type": "source-input"
+               },
+               "default": {
+                       "type": "source-default",
+                       "properties": {}
+               },
+               "processor-db": {
+                       "type": "source-db",
+                       "properties": {
+                               "type": "SQL",
+                               "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+                               "output-key-mapping": {
+                                       "pktgen_private_net_cidr": "prefix"
+                               },
+                               
+                               "input-key-mapping": {}
+                       }
+               },
+               "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/vnf-topology/vnf-parameters-data/param/pktgen_private_net_cidr",
+                               "path": "/param/0/value",
+                               "input-key-mapping": {
+                                       "service-instance-id": "service-instance-id",
+                                       "vnf-id": "vnf-id"
+                               },
+                               "output-key-mapping": {
+                                       "pktgen_private_net_cidr": "value"
+                               },
+                               "key-dependencies": [
+                                       "service-instance-id",
+                                       "vnf-id"
+                               ]
+                       }
+               }
+       }
+}
\ No newline at end of file