Update Data Definitions 56/107956/3
authorAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Wed, 20 May 2020 11:20:27 +0000 (04:20 -0700)
committerKAPIL SINGAL <ks220y@att.com>
Wed, 27 May 2020 19:09:40 +0000 (19:09 +0000)
Issue-ID: CCSDK-2382
Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
Change-Id: Ie6d9970e9148422e187f2594c9d9deee0cf01d3e

64 files changed:
components/model-catalog/resource-dictionary/starter-dictionary/aic-cloud-region.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/cloud_env.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/create-md-sal-vnf-param.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/dcae_collector_ip.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/dcae_collector_port.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/demo_artifacts_version.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/flavor_name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/gre_ipaddr.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/image_name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/install_script_version.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_pktgen_private_net_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_pktgen_private_subnet_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_private_net_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/int_private_subnet_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/key_name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/keypair.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/management-prefix-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/nb_api_version.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/nexus_artifact_repo.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/nfc-naming-code.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/onap_private_net_cidr.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/onap_private_net_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/onap_private_subnet_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/pg_int.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/pktgen_private_net_cidr.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/private1-prefix-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/private2-prefix-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/pub_key.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/public_net_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/repo_url_artifacts.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/repo_url_blob.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/sec_group.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/service-instance-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vdns_int_private_ip_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vdns_name_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vdns_onap_private_ip_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vdns_vf_module_id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-assign.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-label.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-model-customization-uuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-module-type.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vf-naming-policy.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vfccustomizationuuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vip.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vlb_0_int_pktgen_private_port_0_mac.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_pktgen_private_ip_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vlb_int_private_ip_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vlb_name_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vlb_onap_private_ip_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vlb_private_net_cidr.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vm-type.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf-id.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf-model-customization-uuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnf_name.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-invariant-uuid.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vnfc-model-version.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_0_int_pktgen_private_port_0_mac.json [new file with mode: 0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_int_pktgen_private_ip_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_int_private1_ip_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_name_0.json [changed mode: 0755->0644]
components/model-catalog/resource-dictionary/starter-dictionary/vpg_onap_private_ip_0.json [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index af80999..4d1bf72
@@ -1,16 +1,16 @@
 {
-  "name" : "aic-cloud-region",
-  "tags" : "aic-cloud-region",
-  "group":"default",
-  "updated-by" : "Singal, Kapil <ks220y@att.com>",
-  "property" : {
-    "description" : "aic-cloud-region",
-    "type" : "string"
-  },
-  "sources" : {
-    "input" : {
-      "type" : "source-input",
-      "properties" : { }
+    "tags": "aic-cloud-region",
+    "name": "aic-cloud-region",
+    "group":"default",
+    "property": {
+        "description": "aic-cloud-region",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@att.com>",
+    "sources": {
+        "input": {
+            "type": "source-input",
+            "properties": {}
+        }
     }
-  }
-}
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f5b1aa0..bd156ce
@@ -1,39 +1,39 @@
 {
-       "tags": "cloud_env",
-       "name": "cloud_env",
-       "group":"default",
-       "property": {
-               "description": "cloud_env",
-               "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/vnf-topology/vnf-parameters-data/param/cloud_env",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "cloud_env": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "cloud_env",
+    "name": "cloud_env",
+    "group":"default",
+    "property": {
+        "description": "cloud_env",
+        "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/vnf-topology/vnf-parameters-data/param/cloud_env",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "cloud_env": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index db917b6..6f9890b
@@ -1,50 +1,54 @@
 {
-       "tags": "create-md-sal-vnf-param",
-       "name": "create-md-sal-vnf-param",
-       "group":"default",
-       "property": {
-               "description": "create-md-sal-vnf-param",
-               "type": "string"
-       },
-       "updated-by": "Singal, Kapil <ks220y@att.com>",
-       "sources": {
-               "sdnc": {
-                       "type": "source-rest",
-                       "properties": {
-                               "type": "JSON",
-                               "verb": "PUT",
-                               "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/vdns_vf_module_id",
-                               "path": "",
-                               "payload": "{\n\"GENERIC-RESOURCE-API:param\": [\n{\n\"GENERIC-RESOURCE-API:name\": \"vdns_vf_module_id\",\n\"GENERIC-RESOURCE-API:value\": \"$vf-module-id\"\n}\n]\n}",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id",
-                                       "vf-module-id": "vf-module-id"
-                               },
-                               "output-key-mapping": {},
-                               "key-dependencies": [
-                                       "vf-module-id",
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               },
-               "aai-data": {
-                       "type": "source-rest",
-                       "properties": {
-                               "verb": "PATCH",
-                               "type": "JSON",
-                               "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id/nm-profile-name",
-                               "payload": "{\"nm-profile-name\":\"$vf-module-id\"}",
-                               "path": "",
-                               "input-key-mapping": {
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {},
-                               "key-dependencies": [
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "create-md-sal-vnf-param",
+    "name": "create-md-sal-vnf-param",
+    "group":"default",
+    "property": {
+        "description": "create-md-sal-vnf-param",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@att.com>",
+    "sources": {
+        "sdnc": {
+            "type": "source-rest",
+            "properties": {
+                "type": "JSON",
+                "headers": {
+                    "Accept": "application/json",
+                    "Content-Type": "application/json"
+                },
+                "verb": "PUT",
+                "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/vdns_vf_module_id",
+                "path": "",
+                "payload": "{\n\"GENERIC-RESOURCE-API:param\": [\n{\n\"GENERIC-RESOURCE-API:name\": \"vdns_vf_module_id\",\n\"GENERIC-RESOURCE-API:value\": \"$vf-module-id\"\n}\n]\n}",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id",
+                    "vf-module-id": "vf-module-id"
+                },
+                "output-key-mapping": {},
+                "key-dependencies": [
+                    "vf-module-id",
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "aai-data": {
+            "type": "source-rest",
+            "properties": {
+                "verb": "PATCH",
+                "type": "JSON",
+                "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id/nm-profile-name",
+                "payload": "{\"nm-profile-name\":\"$vf-module-id\"}",
+                "path": "",
+                "input-key-mapping": {
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {},
+                "key-dependencies": [
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f0c5455..761c831
@@ -1,39 +1,39 @@
 {
-       "tags": "dcae_collector_ip",
-       "name": "dcae_collector_ip",
-       "group":"default",
-       "property": {
-               "description": "dcae_collector_ip",
-               "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/vnf-topology/vnf-parameters-data/param/dcae_collector_ip",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "dcae_collector_ip": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "dcae_collector_ip",
+    "name": "dcae_collector_ip",
+    "group":"default",
+    "property": {
+        "description": "dcae_collector_ip",
+        "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/vnf-topology/vnf-parameters-data/param/dcae_collector_ip",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "dcae_collector_ip": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 4e055fc..8371534
@@ -1,39 +1,39 @@
 {
-       "tags": "dcae_collector_port",
-       "name": "dcae_collector_port",
-       "group":"default",
-       "property": {
-               "description": "dcae_collector_port",
-               "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/vnf-topology/vnf-parameters-data/param/dcae_collector_port",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "dcae_collector_port": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "dcae_collector_port",
+    "name": "dcae_collector_port",
+    "group":"default",
+    "property": {
+        "description": "dcae_collector_port",
+        "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/vnf-topology/vnf-parameters-data/param/dcae_collector_port",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "dcae_collector_port": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 9e9568c..e790970
@@ -1,39 +1,39 @@
 {
-       "tags": "demo_artifacts_version",
-       "name": "demo_artifacts_version",
-       "group":"default",
-       "property": {
-               "description": "demo_artifacts_version",
-               "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/vnf-topology/vnf-parameters-data/param/demo_artifacts_version",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "demo_artifacts_version": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "demo_artifacts_version",
+    "name": "demo_artifacts_version",
+    "group":"default",
+    "property": {
+        "description": "demo_artifacts_version",
+        "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/vnf-topology/vnf-parameters-data/param/demo_artifacts_version",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "demo_artifacts_version": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index ba06295..b82ed30
@@ -1,39 +1,39 @@
 {
-       "tags": "flavor_name",
-       "name": "flavor_name",
-       "group":"default",
-       "property": {
-               "description": "flavor_name",
-               "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/vnf-topology/vnf-parameters-data/param/flavor_name",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "flavor_name": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "flavor_name",
+    "name": "flavor_name",
+    "group":"default",
+    "property": {
+        "description": "flavor_name",
+        "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/vnf-topology/vnf-parameters-data/param/flavor_name",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "flavor_name": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 70baab9..4801ec6
@@ -1,39 +1,59 @@
 {
-       "tags": "gre_ipaddr",
-       "name": "gre_ipaddr",
-       "group":"default",
-       "property": {
-               "description": "gre_ipaddr",
-               "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/vnf-topology/vnf-parameters-data/param/gre_ipaddr",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "gre_ipaddr": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "gre_ipaddr",
+    "name": "gre_ipaddr",
+    "group":"default",
+    "property": {
+        "description": "gre_ipaddr",
+        "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/vnf-topology/vnf-parameters-data/param/gre_ipaddr",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "gre_ipaddr": "value"
+                },
+                "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": "private1-prefix-id"
+                },
+                "output-key-mapping": {
+                    "gre_ipaddr": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "private1-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 9964ad0..2727838
@@ -1,39 +1,39 @@
 {
-       "tags": "image_name",
-       "name": "image_name",
-       "group":"default",
-       "property": {
-               "description": "image_name",
-               "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/vnf-topology/vnf-parameters-data/param/image_name",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "image_name": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "image_name",
+    "name": "image_name",
+    "group":"default",
+    "property": {
+        "description": "image_name",
+        "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/vnf-topology/vnf-parameters-data/param/image_name",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "image_name": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index e352a94..91592d1
@@ -1,39 +1,39 @@
 {
-       "tags": "install_script_version",
-       "name": "install_script_version",
-       "group":"default",
-       "property": {
-               "description": "install_script_version",
-               "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/vnf-topology/vnf-parameters-data/param/install_script_version",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "install_script_version": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "install_script_version",
+    "name": "install_script_version",
+    "group":"default",
+    "property": {
+        "description": "install_script_version",
+        "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/vnf-topology/vnf-parameters-data/param/install_script_version",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "install_script_version": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index d5ba0e2..580d27c
@@ -1,39 +1,39 @@
 {
-       "tags": "int_pktgen_private_net_id",
-       "name": "int_pktgen_private_net_id",
-       "group":"default",
-       "property": {
-               "description": "int_pktgen_private_net_id",
-               "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/vnf-topology/vnf-parameters-data/param/int_pktgen_private_net_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "int_pktgen_private_net_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "int_pktgen_private_net_id",
+    "name": "int_pktgen_private_net_id",
+    "group":"default",
+    "property": {
+        "description": "int_pktgen_private_net_id",
+        "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/vnf-topology/vnf-parameters-data/param/int_pktgen_private_net_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "int_pktgen_private_net_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f689923..3fa1bc1
@@ -1,39 +1,39 @@
 {
-       "tags": "int_pktgen_private_subnet_id",
-       "name": "int_pktgen_private_subnet_id",
-       "group":"default",
-       "property": {
-               "description": "int_pktgen_private_subnet_id",
-               "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/vnf-topology/vnf-parameters-data/param/int_pktgen_private_subnet_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "int_pktgen_private_subnet_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "int_pktgen_private_subnet_id",
+    "name": "int_pktgen_private_subnet_id",
+    "group":"default",
+    "property": {
+        "description": "int_pktgen_private_subnet_id",
+        "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/vnf-topology/vnf-parameters-data/param/int_pktgen_private_subnet_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "int_pktgen_private_subnet_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 6cbb04d..10c2fa8
@@ -1,39 +1,39 @@
 {
-       "tags": "int_private_net_id",
-       "name": "int_private_net_id",
-       "group":"default",
-       "property": {
-               "description": "int_private_net_id",
-               "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/vnf-topology/vnf-parameters-data/param/int_private_net_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "int_private_net_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "int_private_net_id",
+    "name": "int_private_net_id",
+    "group":"default",
+    "property": {
+        "description": "int_private_net_id",
+        "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/vnf-topology/vnf-parameters-data/param/int_private_net_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "int_private_net_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 2bfdcb0..3cf72e8
@@ -1,39 +1,39 @@
 {
-       "tags": "int_private_subnet_id",
-       "name": "int_private_subnet_id",
-       "group":"default",
-       "property": {
-               "description": "int_private_subnet_id",
-               "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/vnf-topology/vnf-parameters-data/param/int_private_subnet_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "int_private_subnet_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "int_private_subnet_id",
+    "name": "int_private_subnet_id",
+    "group":"default",
+    "property": {
+        "description": "int_private_subnet_id",
+        "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/vnf-topology/vnf-parameters-data/param/int_private_subnet_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "int_private_subnet_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index ca02f2b..1d65b2b
@@ -1,39 +1,39 @@
 {
-       "tags": "key_name",
-       "name": "key_name",
-       "group":"default",
-       "property": {
-               "description": "key_name",
-               "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/vnf-topology/vnf-parameters-data/param/key_name",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "key_name": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "key_name",
+    "name": "key_name",
+    "group":"default",
+    "property": {
+        "description": "key_name",
+        "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/vnf-topology/vnf-parameters-data/param/key_name",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "key_name": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 48ac472..d8e6f20
@@ -1,39 +1,39 @@
 {
-       "tags": "keypair",
-       "name": "keypair",
-       "group":"default",
-       "property": {
-               "description": "keypair",
-               "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/vnf-topology/vnf-parameters-data/param/keypair",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "keypair": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "keypair",
+    "name": "keypair",
+    "group":"default",
+    "property": {
+        "description": "keypair",
+        "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/vnf-topology/vnf-parameters-data/param/keypair",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "keypair": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 63480df..ed53868
@@ -1,51 +1,50 @@
 {
-       "tags": "management-prefix-id",
-       "name": "management-prefix-id",
-       "group":"default",
-       "property": {
-               "description": "management-prefix-id",
-               "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/vnf-topology/vnf-parameters-data/param/management-prefix-id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "management-prefix-id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               },
-               "processor-db": {
-                       "type": "source-db",
-                       "properties": {
-                               
-                               "type": "SQL",
-                               "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"",
-                               "input-key-mapping": {},
-                               "output-key-mapping": {
-                                       "management-prefix-id": "prefix_id"
-                               }
-                       }
-               }
-       }
-}
+    "tags": "management-prefix-id",
+    "name": "management-prefix-id",
+    "group":"default",
+    "property": {
+        "description": "management-prefix-id",
+        "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/vnf-topology/vnf-parameters-data/param/management-prefix-id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "management-prefix-id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "processor-db": {
+            "type": "source-db",
+            "properties": {
+                "type": "SQL",
+                "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"",
+                "input-key-mapping": {},
+                "output-key-mapping": {
+                    "management-prefix-id": "prefix_id"
+                }
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index cf0c009..c7b0631
@@ -1,39 +1,39 @@
 {
-       "tags": "nb_api_version",
-       "name": "nb_api_version",
-       "group":"default",
-       "property": {
-               "description": "nb_api_version",
-               "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/vnf-topology/vnf-parameters-data/param/nb_api_version",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "nb_api_version": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "nb_api_version",
+    "name": "nb_api_version",
+    "group":"default",
+    "property": {
+        "description": "nb_api_version",
+        "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/vnf-topology/vnf-parameters-data/param/nb_api_version",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "nb_api_version": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index ee23563..a6b0b53
@@ -1,39 +1,39 @@
 {
-       "tags": "nexus_artifact_repo",
-       "name": "nexus_artifact_repo",
-       "group":"default",
-       "property": {
-               "description": "nexus_artifact_repo",
-               "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/vnf-topology/vnf-parameters-data/param/nexus_artifact_repo",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "nexus_artifact_repo": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "nexus_artifact_repo",
+    "name": "nexus_artifact_repo",
+    "group":"default",
+    "property": {
+        "description": "nexus_artifact_repo",
+        "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/vnf-topology/vnf-parameters-data/param/nexus_artifact_repo",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "nexus_artifact_repo": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 133df5d..1740aea
@@ -1,36 +1,35 @@
 {
-       "tags": "nfc-naming-code",
-       "name": "nfc-naming-code",
-       "group":"default",
-       "property": {
-               "description": "nfc-naming-code",
-               "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 nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-                               "input-key-mapping": {
-                                       "vfccustomizationuuid": "vfccustomizationuuid"
-                               },
-                               "output-key-mapping": {
-                                       "nfc-naming-code": "nfc_naming_code"
-                               },
-                               "key-dependencies": [
-                                       "vfccustomizationuuid"
-                               ],
-                               "endpoint-selector": "dynamic-db-source"
-                       }
-               }
-       }
-}
+    "tags": "nfc-naming-code",
+    "name": "nfc-naming-code",
+    "group":"default",
+    "property": {
+        "description": "nfc-naming-code",
+        "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 nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                "input-key-mapping": {
+                    "vfccustomizationuuid": "vfccustomizationuuid"
+                },
+                "output-key-mapping": {
+                    "nfc-naming-code": "nfc_naming_code"
+                },
+                "key-dependencies": [
+                    "vfccustomizationuuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index a9f2dfd..71d3b02
@@ -1,51 +1,50 @@
 {
-       "tags": "onap_private_net_cidr",
-       "name": "onap_private_net_cidr",
-       "group":"default",
-       "property": {
-               "description": "onap_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 = \"management\"",
-                               "input-key-mapping": {},
-                               "output-key-mapping": {
-                                       "onap_private_net_cidr": "prefix"
-                               }
-                       }
-               },
-               "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/onap_private_net_cidr",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "onap_private_net_cidr": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "onap_private_net_cidr",
+    "name": "onap_private_net_cidr",
+    "group":"default",
+    "property": {
+        "description": "onap_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 = \"management\"",
+                "input-key-mapping": {},
+                "output-key-mapping": {
+                    "onap_private_net_cidr": "prefix"
+                }
+            }
+        },
+        "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/onap_private_net_cidr",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "onap_private_net_cidr": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 267484e..286cff7
@@ -1,39 +1,39 @@
 {
-       "tags": "onap_private_net_id",
-       "name": "onap_private_net_id",
-       "group":"default",
-       "property": {
-               "description": "onap_private_net_id",
-               "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/vnf-topology/vnf-parameters-data/param/onap_private_net_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "onap_private_net_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "onap_private_net_id",
+    "name": "onap_private_net_id",
+    "group":"default",
+    "property": {
+        "description": "onap_private_net_id",
+        "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/vnf-topology/vnf-parameters-data/param/onap_private_net_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "onap_private_net_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index be73016..6c60093
@@ -1,39 +1,39 @@
 {
-       "tags": "onap_private_subnet_id",
-       "name": "onap_private_subnet_id",
-       "group":"default",
-       "property": {
-               "description": "onap_private_subnet_id",
-               "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/vnf-topology/vnf-parameters-data/param/onap_private_subnet_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "onap_private_subnet_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "onap_private_subnet_id",
+    "name": "onap_private_subnet_id",
+    "group":"default",
+    "property": {
+        "description": "onap_private_subnet_id",
+        "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/vnf-topology/vnf-parameters-data/param/onap_private_subnet_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "onap_private_subnet_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 4faee19..a51b7f7
@@ -1,39 +1,59 @@
 {
-       "tags": "pg_int",
-       "name": "pg_int",
-       "group":"default",
-       "property": {
-               "description": "pg_int",
-               "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/vnf-topology/vnf-parameters-data/param/pg_int",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "pg_int": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "pg_int",
+    "name": "pg_int",
+    "group":"default",
+    "property": {
+        "description": "pg_int",
+        "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/vnf-topology/vnf-parameters-data/param/pg_int",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "pg_int": "value"
+                },
+                "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": "private2-prefix-id"
+                },
+                "output-key-mapping": {
+                    "pg_int": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "private2-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 7b8239a..5e3079c
@@ -1,51 +1,50 @@
 {
-       "tags": "pktgen_private_net_cidr",
-       "name": "pktgen_private_net_cidr",
-       "group":"default",
-       "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"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "pktgen_private_net_cidr",
+    "name": "pktgen_private_net_cidr",
+    "group":"default",
+    "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
old mode 100755 (executable)
new mode 100644 (file)
index 3122c3e..7ba15ec
@@ -1,51 +1,50 @@
 {
-       "tags": "private1-prefix-id",
-       "name": "private1-prefix-id",
-       "group":"default",
-       "property": {
-               "description": "private1-prefix-id",
-               "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/vnf-topology/vnf-parameters-data/param/private1-prefix-id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "private1-prefix-id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               },
-               "processor-db": {
-                       "type": "source-db",
-                       "properties": {
-                               
-                               "type": "SQL",
-                               "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private1\"",
-                               "input-key-mapping": {},
-                               "output-key-mapping": {
-                                       "private1-prefix-id": "prefix_id"
-                               }
-                       }
-               }
-       }
-}
+    "tags": "private1-prefix-id",
+    "name": "private1-prefix-id",
+    "group":"default",
+    "property": {
+        "description": "private1-prefix-id",
+        "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/vnf-topology/vnf-parameters-data/param/private1-prefix-id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "private1-prefix-id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "processor-db": {
+            "type": "source-db",
+            "properties": {
+                "type": "SQL",
+                "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private1\"",
+                "input-key-mapping": {},
+                "output-key-mapping": {
+                    "private1-prefix-id": "prefix_id"
+                }
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 291ffe5..99b790c
@@ -1,51 +1,50 @@
 {
-       "tags": "private2-prefix-id",
-       "name": "private2-prefix-id",
-       "group":"default",
-       "property": {
-               "description": "private2-prefix-id",
-               "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/vnf-topology/vnf-parameters-data/param/private2-prefix-id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "private2-prefix-id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               },
-               "processor-db": {
-                       "type": "source-db",
-                       "properties": {
-                               
-                               "type": "SQL",
-                               "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
-                               "input-key-mapping": {},
-                               "output-key-mapping": {
-                                       "private2-prefix-id": "prefix_id"
-                               }
-                       }
-               }
-       }
-}
+    "tags": "private2-prefix-id",
+    "name": "private2-prefix-id",
+    "group":"default",
+    "property": {
+        "description": "private2-prefix-id",
+        "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/vnf-topology/vnf-parameters-data/param/private2-prefix-id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "private2-prefix-id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "processor-db": {
+            "type": "source-db",
+            "properties": {
+                "type": "SQL",
+                "query": "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+                "input-key-mapping": {},
+                "output-key-mapping": {
+                    "private2-prefix-id": "prefix_id"
+                }
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index f21cf32..4212d04
@@ -1,39 +1,39 @@
 {
-       "tags": "pub_key",
-       "name": "pub_key",
-       "group":"default",
-       "property": {
-               "description": "pub_key",
-               "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/vnf-topology/vnf-parameters-data/param/pub_key",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "pub_key": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "pub_key",
+    "name": "pub_key",
+    "group":"default",
+    "property": {
+        "description": "pub_key",
+        "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/vnf-topology/vnf-parameters-data/param/pub_key",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "pub_key": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index fa6c40b..08ec676
@@ -1,39 +1,39 @@
 {
-       "tags": "public_net_id",
-       "name": "public_net_id",
-       "group":"default",
-       "property": {
-               "description": "public_net_id",
-               "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/vnf-topology/vnf-parameters-data/param/public_net_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "public_net_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "public_net_id",
+    "name": "public_net_id",
+    "group":"default",
+    "property": {
+        "description": "public_net_id",
+        "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/vnf-topology/vnf-parameters-data/param/public_net_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "public_net_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/repo_url_artifacts.json b/components/model-catalog/resource-dictionary/starter-dictionary/repo_url_artifacts.json
new file mode 100644 (file)
index 0000000..366be26
--- /dev/null
@@ -0,0 +1,39 @@
+{
+    "tags": "repo_url_artifacts",
+    "name": "repo_url_artifacts",
+    "group":"default",
+    "property": {
+        "description": "repo_url_artifacts",
+        "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/vnf-topology/vnf-parameters-data/param/repo_url_artifacts",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "repo_url_artifacts": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/repo_url_blob.json b/components/model-catalog/resource-dictionary/starter-dictionary/repo_url_blob.json
new file mode 100644 (file)
index 0000000..9b3e767
--- /dev/null
@@ -0,0 +1,39 @@
+{
+    "tags": "repo_url_blob",
+    "name": "repo_url_blob",
+    "group":"default",
+    "property": {
+        "description": "repo_url_blob",
+        "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/vnf-topology/vnf-parameters-data/param/repo_url_blob",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "repo_url_blob": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index e7f27a2..8488313
@@ -1,39 +1,39 @@
 {
-       "tags": "sec_group",
-       "name": "sec_group",
-       "group":"default",
-       "property": {
-               "description": "sec_group",
-               "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/vnf-topology/vnf-parameters-data/param/sec_group",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "sec_group": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "sec_group",
+    "name": "sec_group",
+    "group":"default",
+    "property": {
+        "description": "sec_group",
+        "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/vnf-topology/vnf-parameters-data/param/sec_group",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "sec_group": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 0f20842..67c2844
@@ -1,41 +1,61 @@
 {
-       "tags": "vdns_int_private_ip_0",
-       "name": "vdns_int_private_ip_0",
-       "group":"default",
-       "property": {
-               "description": "vdns_int_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_int_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_int_private_ip_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id",
-                                       "vdns_vf_module_id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vdns_int_private_ip_0",
+    "name": "vdns_int_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vdns_int_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_int_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_int_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": "private1-prefix-id"
+                },
+                "output-key-mapping": {
+                    "vdns_int_private_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "private1-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 709eb2a..c826b6f
@@ -1,39 +1,69 @@
 {
-       "tags": "vdns_name_0",
-       "name": "vdns_name_0",
-       "group":"default",
-       "property": {
-               "description": "vdns_name_0",
-               "type": "string"
-       },
-       "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vdns_name_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vdns_name_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vdns_name_0",
+    "name": "vdns_name_0",
+    "group":"default",
+    "property": {
+        "description": "vdns_name_0",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vdns_name_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vdns_name_0": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "rest": {
+            "type": "source-rest",
+            "properties": {
+                "endpoint-selector": "naming-resolution",
+                "verb": "POST",
+                "type": "JSON",
+                "headers": {
+                    "Accept": "application/json",
+                    "Content-Type": "application/json"
+                },
+                "url-path": "/v1/genNetworkElementName",
+                "payload": "{\r\n\t\"elements\": [{\r\n\t\t\"resource-name\": \"vdns_name_0\",\r\n\t\t\"resource-value\": \"${vdns_name_0}\",\r\n\t\t\"external-key\": \"${vf-module-id}_vdns_name_0\",\r\n\t\t\"policy-instance-name\": \"${vf-naming-policy}\",\r\n\t\t\"naming-type\": \"VNFC\",\r\n\t\t\"VNF_NAME\": \"${vnf_name}\",\r\n\t\t\"NFC_NAMING_CODE\": \"${nfc-naming-code}\"\r\n\t}]\r\n}",
+                "path": "/elements/0/resource-value",
+                "input-key-mapping": {
+                    "vf-naming-policy": "vf-naming-policy",
+                    "nfc-naming-code": "nfc-naming-code",
+                    "vnf_name": "vnf_name",
+                    "vf-module-id": "vf-module-id"
+                },
+                "output-key-mapping": {
+                    "vdns_name_0": "resource-value"
+                },
+                "key-dependencies": [
+                    "vf-naming-policy",
+                    "nfc-naming-code",
+                    "vnf_name",
+                    "vf-module-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 93a5fa0..45d961d
@@ -1,41 +1,61 @@
 {
-       "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"
-                               ]
-                       }
-               }
-       }
-}
+    "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
old mode 100755 (executable)
new mode 100644 (file)
index 630061e..e093a77
@@ -1,54 +1,54 @@
 {
-       "tags": "vdns_vf_module_id",
-       "name": "vdns_vf_module_id",
-       "group":"default",
-       "property": {
-               "description": "vdns_vf_module_id",
-               "type": "string"
-       },
-       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-       "sources": {
-               "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/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vdns_vf_module_id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               },
-               "aai-data": {
-                       "type": "source-rest",
-                       "properties": {
-                               "verb": "GET",
-                               "type": "JSON",
-                               "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
-                               "path": "",
-                               "input-key-mapping": {
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vdns_vf_module_id": "nm-profile-name"
-                               },
-                               "key-dependencies": [
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vdns_vf_module_id",
+    "name": "vdns_vf_module_id",
+    "group":"default",
+    "property": {
+        "description": "vdns_vf_module_id",
+        "type": "string"
+    },
+    "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+    "sources": {
+        "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/vnf-topology/vnf-parameters-data/param/vdns_vf_module_id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vdns_vf_module_id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "rest": {
+            "type": "source-rest",
+            "properties": {
+                "verb": "GET",
+                "type": "JSON",
+                "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
+                "path": "",
+                "input-key-mapping": {
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vdns_vf_module_id": "nm-profile-name"
+                },
+                "key-dependencies": [
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-assign.json b/components/model-catalog/resource-dictionary/starter-dictionary/vf-module-assign.json
new file mode 100644 (file)
index 0000000..6c8e226
--- /dev/null
@@ -0,0 +1,38 @@
+{
+    "tags": "vf-module-assign",
+    "name": "vf-module-assign",
+    "group":"default",
+    "property": {
+        "description": "vf-module-assign",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@att.com>",
+    "sources": {
+        "aai-data": {
+            "type": "source-rest",
+            "properties": {
+                "verb": "PATCH",
+                "type": "JSON",
+                "headers": {
+                    "Content-Type": "application/merge-patch+json"
+                },
+                "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id/vf-modules/vf-module/$vf-module-id",
+                "payload": "{\r\n\"vf-module-name\":\"${vf-module-name}\", \r\n\"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/${service-instance-id}/service-data/vnfs/vnf/${vnf-id}/vnf-data/vf-modules/vf-module/${vf-module-id}/vf-module-data/vf-module-topology/\"\r\n  \r\n}",
+                "path": "",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id",
+                    "vf-module-id": "vf-module-id",
+                    "vf-module-name": "vf-module-name"
+                },
+                "output-key-mapping": {},
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id",
+                    "vf-module-id",
+                    "vf-module-name"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 5c21358..34ec2c4
@@ -1,36 +1,35 @@
 {
-       "tags": "vf-module-label",
-       "name": "vf-module-label",
-       "group":"default",
-       "property": {
-               "description": "vf-module-label",
-               "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.VF_MODULE_MODEL.vf_module_label as vf_module_label from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
-                               "input-key-mapping": {
-                                       "customizationid": "vf-module-model-customization-uuid"
-                               },
-                               "output-key-mapping": {
-                                       "vf-module-label": "vf_module_label"
-                               },
-                               "key-dependencies": [
-                                       "vf-module-model-customization-uuid"
-                               ],
-                               "endpoint-selector": "dynamic-db-source"
-                       }
-               }
-       }
-}
+    "tags": "vf-module-label",
+    "name": "vf-module-label",
+    "group":"default",
+    "property": {
+        "description": "vf-module-label",
+        "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.VF_MODULE_MODEL.vf_module_label as vf_module_label from sdnctl.VF_MODULE_MODEL where sdnctl.VF_MODULE_MODEL.customization_uuid=:customizationid",
+                "input-key-mapping": {
+                    "customizationid": "vf-module-model-customization-uuid"
+                },
+                "output-key-mapping": {
+                    "vf-module-label": "vf_module_label"
+                },
+                "key-dependencies": [
+                    "vf-module-model-customization-uuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 4eb0fed..d67d457
@@ -1,19 +1,19 @@
 {
-       "tags": "vf-module-model-customization-uuid",
-       "name": "vf-module-model-customization-uuid",
-       "group":"default",
-       "property": {
-               "description": "vf-module-model-customization-uuid",
-               "type": "string"
-       },
-       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-       "sources": {
-               "input": {
-                       "type": "source-input"
-               },
-               "default": {
-                       "type": "source-default",
-                       "properties": {}
-               }
-       }
-}
+    "tags": "vf-module-model-customization-uuid",
+    "name": "vf-module-model-customization-uuid",
+    "group":"default",
+    "property": {
+        "description": "vf-module-model-customization-uuid",
+        "type": "string"
+    },
+    "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+    "sources": {
+        "input": {
+            "type": "source-input"
+        },
+        "default": {
+            "type": "source-default",
+            "properties": {}
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 78c337d..12ba519
@@ -1,19 +1,72 @@
 {
-       "tags": "vf-module-name",
-       "name": "vf-module-name",
-       "group":"default",
-       "property": {
-               "description": "vf_module_name",
-               "type": "string"
-       },
-       "updated-by": "Singal, Kapil <ks220y@att.com>",
-       "sources": {
-               "input": {
-                       "type": "source-input"
-               },
-               "default": {
-                       "type": "source-default",
-                       "properties": {}
-               }
-       }
-}
+    "tags": "vf-module-name",
+    "name": "vf-module-name",
+    "group":"default",
+    "property": {
+        "description": "vf_module_name",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@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/$vf_module_id/vf-module-data/vf-module-topology/vf-module-parameters/param/vf-module-name",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vf-module-name": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id",
+                    "vf_module_id"
+                ]
+            }
+        },
+        "rest": {
+            "type": "source-rest",
+            "properties": {
+                "endpoint-selector": "naming-resolution",
+                "verb": "POST",
+                "type": "JSON",
+                "headers": {
+                    "Accept": "application/json",
+                    "Content-Type": "application/json"
+                },
+                "url-path": "/v1/genNetworkElementName",
+                "payload": "{\r\n  \"elements\": [\r\n    {\r\n      \"resource-name\": \"vf-module-name\",\r\n      \"resource-value\": \"${vf-module-name}\",\r\n      \"external-key\": \"${vf-module-id}\",\r\n      \"policy-instance-name\": \"${vf-naming-policy}\",\r\n      \"naming-type\": \"VF-MODULE\",\r\n      \"VNF_NAME\": \"${vnf_name}\",\r\n      \"VF_MODULE_LABEL\":\"${vf-module-label}\",\r\n      \"VF_MODULE_TYPE\":\"${vf-module-type}\"\r\n    }\r\n  ]\r\n}",
+                "path": "/elements/0/resource-value",
+                "input-key-mapping": {
+                    "vf-naming-policy": "vf-naming-policy",
+                    "vnf_name": "vnf_name",
+                    "vf-module-label": "vf-module-label",
+                    "vf-module-type": "vf-module-type",
+                    "vf-module-id": "vf-module-id"
+                },
+                "output-key-mapping": {
+                    "vf-module-name": "resource-value"
+                },
+                "key-dependencies": [
+                    "vf-naming-policy",
+                    "vnf_name",
+                    "vf-module-label",
+                    "vf-module-type",
+                    "vf-module-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index d1d6cca..8c563cf
@@ -1,36 +1,35 @@
 {
-       "tags": "vf-module-type",
-       "name": "vf-module-type",
-       "group":"default",
-       "property": {
-               "description": "vf-module-type",
-               "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 vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",
-                               "output-key-mapping": {
-                                       "vf-module-type": "vf_module_type"
-                               },
-                               
-                               "input-key-mapping": {
-                                       "customizationid": "vf-module-model-customization-uuid"
-                               },
-                               "key-dependencies": [
-                                       "vf-module-model-customization-uuid"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vf-module-type",
+    "name": "vf-module-type",
+    "group":"default",
+    "property": {
+        "description": "vf-module-type",
+        "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 vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",
+                "output-key-mapping": {
+                    "vf-module-type": "vf_module_type"
+                },
+                "input-key-mapping": {
+                    "customizationid": "vf-module-model-customization-uuid"
+                },
+                "key-dependencies": [
+                    "vf-module-model-customization-uuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index acb6f88..97344da
@@ -1,53 +1,52 @@
 {
-       "tags": "vf-naming-policy",
-       "name": "vf-naming-policy",
-       "group":"default",
-       "property": {
-               "description": "vf-naming-policy",
-               "type": "string"
-       },
-       "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
-       "sources": {
-               "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/vnf-topology/vnf-parameters-data/param/vf-naming-policy",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vf-naming-policy": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               },
-               "processor-db": {
-                       "type": "source-db",
-                       "properties": {
-                               
-                               "type": "SQL",
-                               "query": "select sdnctl.VF_MODEL.naming_policy as vf_naming_policy from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnf_model_customization_uuid",
-                               "input-key-mapping": {
-                                       "vnf_model_customization_uuid": "vnf-model-customization-uuid"
-                               },
-                               "output-key-mapping": {
-                                       "vf-naming-policy": "vf_naming_policy"
-                               },
-                               "key-dependencies": [
-                                       "vnf-model-customization-uuid"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vf-naming-policy",
+    "name": "vf-naming-policy",
+    "group":"default",
+    "property": {
+        "description": "vf-naming-policy",
+        "type": "string"
+    },
+    "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+    "sources": {
+        "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/vnf-topology/vnf-parameters-data/param/vf-naming-policy",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vf-naming-policy": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "processor-db": {
+            "type": "source-db",
+            "properties": {
+                "type": "SQL",
+                "query": "select sdnctl.VF_MODEL.naming_policy as vf_naming_policy from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnf_model_customization_uuid",
+                "input-key-mapping": {
+                    "vnf_model_customization_uuid": "vnf-model-customization-uuid"
+                },
+                "output-key-mapping": {
+                    "vf-naming-policy": "vf_naming_policy"
+                },
+                "key-dependencies": [
+                    "vnf-model-customization-uuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index c8746e8..4abd7a3
@@ -1,36 +1,35 @@
 {
-       "tags": "vfccustomizationuuid",
-       "name": "vfccustomizationuuid",
-       "group":"default",
-       "property": {
-               "description": "vfccustomizationuuid",
-               "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.VF_MODULE_TO_VFC_MAPPING.vfc_customization_uuid as vnf_customid from sdnctl.VF_MODULE_TO_VFC_MAPPING where vm_count = 1 and sdnctl.VF_MODULE_TO_VFC_MAPPING.vf_module_customization_uuid=:vfmodulecustomizationuuid",
-                               "input-key-mapping": {
-                                       "vfmodulecustomizationuuid": "vf-module-model-customization-uuid"
-                               },
-                               "output-key-mapping": {
-                                       "vfccustomizationuuid": "vnf_customid"
-                               },
-                               "key-dependencies": [
-                                       "vf-module-model-customization-uuid"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vfccustomizationuuid",
+    "name": "vfccustomizationuuid",
+    "group":"default",
+    "property": {
+        "description": "vfccustomizationuuid",
+        "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.VF_MODULE_TO_VFC_MAPPING.vfc_customization_uuid as vnf_customid from sdnctl.VF_MODULE_TO_VFC_MAPPING where vm_count = 1 and sdnctl.VF_MODULE_TO_VFC_MAPPING.vf_module_customization_uuid=:vfmodulecustomizationuuid",
+                "input-key-mapping": {
+                    "vfmodulecustomizationuuid": "vf-module-model-customization-uuid"
+                },
+                "output-key-mapping": {
+                    "vfccustomizationuuid": "vnf_customid"
+                },
+                "key-dependencies": [
+                    "vf-module-model-customization-uuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index fb26650..4e7545b
@@ -1,39 +1,59 @@
 {
-       "tags": "vip",
-       "name": "vip",
-       "group":"default",
-       "property": {
-               "description": "vip",
-               "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/vnf-topology/vnf-parameters-data/param/vip",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vip": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vip",
+    "name": "vip",
+    "group":"default",
+    "property": {
+        "description": "vip",
+        "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/vnf-topology/vnf-parameters-data/param/vip",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vip": "value"
+                },
+                "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": "private2-prefix-id"
+                },
+                "output-key-mapping": {
+                    "vip": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "private2-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 938715d..8f07481
@@ -1,39 +1,39 @@
 {
-       "tags": "vlb_0_int_pktgen_private_port_0_mac",
-       "name": "vlb_0_int_pktgen_private_port_0_mac",
-       "group":"default",
-       "property": {
-               "description": "vlb_0_int_pktgen_private_port_0_mac",
-               "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/vnf-topology/vnf-parameters-data/param/vlb_0_int_pktgen_private_port_0_mac",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vlb_0_int_pktgen_private_port_0_mac": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vlb_0_int_pktgen_private_port_0_mac",
+    "name": "vlb_0_int_pktgen_private_port_0_mac",
+    "group":"default",
+    "property": {
+        "description": "vlb_0_int_pktgen_private_port_0_mac",
+        "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/vnf-topology/vnf-parameters-data/param/vlb_0_int_pktgen_private_port_0_mac",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vlb_0_int_pktgen_private_port_0_mac": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index ac0734c..1a486a2
@@ -1,39 +1,59 @@
 {
-       "tags": "vlb_int_pktgen_private_ip_0",
-       "name": "vlb_int_pktgen_private_ip_0",
-       "group":"default",
-       "property": {
-               "description": "vlb_int_pktgen_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/vnf-topology/vnf-parameters-data/param/vlb_int_pktgen_private_ip_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vlb_int_pktgen_private_ip_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vlb_int_pktgen_private_ip_0",
+    "name": "vlb_int_pktgen_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vlb_int_pktgen_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/vnf-topology/vnf-parameters-data/param/vlb_int_pktgen_private_ip_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vlb_int_pktgen_private_ip_0": "value"
+                },
+                "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": "private2-prefix-id"
+                },
+                "output-key-mapping": {
+                    "vlb_int_pktgen_private_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "private2-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 176522b..d8858be
@@ -1,39 +1,59 @@
 {
-       "tags": "vlb_int_private_ip_0",
-       "name": "vlb_int_private_ip_0",
-       "group":"default",
-       "property": {
-               "description": "vlb_int_private_ip_0",
-               "type": "string"
-       },
-       "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vlb_int_private_ip_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vlb_int_private_ip_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vlb_int_private_ip_0",
+    "name": "vlb_int_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vlb_int_private_ip_0",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vlb_int_private_ip_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vlb_int_private_ip_0": "value"
+                },
+                "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": "private1-prefix-id"
+                },
+                "output-key-mapping": {
+                    "vlb_int_private_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "private1-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index acdcfeb..ec2842f
@@ -1,39 +1,69 @@
 {
-       "tags": "vlb_name_0",
-       "name": "vlb_name_0",
-       "group":"default",
-       "property": {
-               "description": "vlb_name_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/vnf-topology/vnf-parameters-data/param/vlb_name_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vlb_name_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vlb_name_0",
+    "name": "vlb_name_0",
+    "group":"default",
+    "property": {
+        "description": "vlb_name_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/vnf-topology/vnf-parameters-data/param/vlb_name_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vlb_name_0": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "rest": {
+            "type": "source-rest",
+            "properties": {
+                "endpoint-selector": "naming-resolution",
+                "verb": "POST",
+                "type": "JSON",
+                "headers": {
+                    "Accept": "application/json",
+                    "Content-Type": "application/json"
+                },
+                "url-path": "/v1/genNetworkElementName",
+                "payload": "{\r\n\t\"elements\": [{\r\n\t\t\"resource-name\": \"vlb_name_0\",\r\n\t\t\"resource-value\": \"${vlb_name_0}\",\r\n\t\t\"external-key\": \"${vf-module-id}_vlb_name_0\",\r\n\t\t\"policy-instance-name\": \"${vf-naming-policy}\",\r\n\t\t\"naming-type\": \"VNFC\",\r\n\t\t\"VNF_NAME\": \"${vnf_name}\",\r\n\t\t\"NFC_NAMING_CODE\": \"${nfc-naming-code}\"\r\n\t}]\r\n}",
+                "path": "/elements/0/resource-value",
+                "input-key-mapping": {
+                    "vf-naming-policy": "vf-naming-policy",
+                    "nfc-naming-code": "nfc-naming-code",
+                    "vnf_name": "vnf_name",
+                    "vf-module-id": "vf-module-id"
+                },
+                "output-key-mapping": {
+                    "vlb_name_0": "resource-value"
+                },
+                "key-dependencies": [
+                    "vf-naming-policy",
+                    "nfc-naming-code",
+                    "vnf_name",
+                    "vf-module-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 7925f47..9976cdb
@@ -1,39 +1,59 @@
 {
-       "tags": "vlb_onap_private_ip_0",
-       "name": "vlb_onap_private_ip_0",
-       "group":"default",
-       "property": {
-               "description": "vlb_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/vnf-topology/vnf-parameters-data/param/vlb_onap_private_ip_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "private2-prefix-id": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vlb_onap_private_ip_0",
+    "name": "vlb_onap_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vlb_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/vnf-topology/vnf-parameters-data/param/vlb_onap_private_ip_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vlb_onap_private_ip_0": "value"
+                },
+                "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": {
+                    "vlb_onap_private_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "management-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index d35a513..118ef72
@@ -1,51 +1,50 @@
 {
-       "tags": "vlb_private_net_cidr",
-       "name": "vlb_private_net_cidr",
-       "group":"default",
-       "property": {
-               "description": "vlb_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 = \"private1\"",
-                               "input-key-mapping": {},
-                               "output-key-mapping": {
-                                       "vlb_private_net_cidr": "prefix"
-                               }
-                       }
-               },
-               "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/vlb_private_net_cidr",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vlb_private_net_cidr": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vlb_private_net_cidr",
+    "name": "vlb_private_net_cidr",
+    "group":"default",
+    "property": {
+        "description": "vlb_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": {
+                "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/vlb_private_net_cidr",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vlb_private_net_cidr": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "processor-db": {
+            "type": "source-db",
+            "properties": {
+                "type": "SQL",
+                "query": "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private1\"",
+                "input-key-mapping": {},
+                "output-key-mapping": {
+                    "vlb_private_net_cidr": "prefix"
+                }
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index e1bce92..26e4634
@@ -1,36 +1,35 @@
 {
-       "tags": "vm-type",
-       "name": "vm-type",
-       "group":"default",
-       "property": {
-               "description": "vm-type",
-               "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 VFC_MODEL.vm_type as vm_type from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-                               "output-key-mapping": {
-                                       "vm-type": "vm_type"
-                               },
-                               
-                               "input-key-mapping": {
-                                       "vfccustomizationuuid": "vfccustomizationuuid"
-                               },
-                               "key-dependencies": [
-                                       "vfccustomizationuuid"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vm-type",
+    "name": "vm-type",
+    "group":"default",
+    "property": {
+        "description": "vm-type",
+        "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 VFC_MODEL.vm_type as vm_type from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                "output-key-mapping": {
+                    "vm-type": "vm_type"
+                },
+                "input-key-mapping": {
+                    "vfccustomizationuuid": "vfccustomizationuuid"
+                },
+                "key-dependencies": [
+                    "vfccustomizationuuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 50ca219..97d3d73
@@ -3,38 +3,37 @@
     "name": "vnf-id",
     "group":"default",
     "property": {
-      "description": "vnf-id",
-      "type": "string"
+        "description": "vnf-id",
+        "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/",
-          "path": "/vnf/0/vnf-id",
-          "input-key-mapping": {
-            "service-instance-id": "service-instance-id",
-            "vnf-id": "generic-vnf.vnf-id"
-          },
-          "output-key-mapping": {
-            "vnf-id": "vnf-id"
-          },
-          "key-dependencies": [
-            "service-instance-id",
-            "generic-vnf.vnf-id"
-          ]
+        "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/vnf-topology/vnf-parameters-data/param/vnf-id",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vnf-id": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
         }
-      }
     }
-}
-  
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 7a52c64..f44d563
@@ -1,16 +1,16 @@
 {
-       "tags": "vnf-model-customization-uuid",
-       "name": "vnf-model-customization-uuid",
-       "group":"default",
-       "property": {
-               "description": "vnf-model-customization-uuid",
-               "type": "string"
-       },
-       "updated-by": "Singal, Kapil <ks220y@att.com>",
-       "sources": {
-               "input": {
-                       "type": "source-input",
-                       "properties": {}
-               }
-       }
-}
+    "tags": "vnf-model-customization-uuid",
+    "name": "vnf-model-customization-uuid",
+    "group":"default",
+    "property": {
+        "description": "vnf-model-customization-uuid",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@att.com>",
+    "sources": {
+        "input": {
+            "type": "source-input",
+            "properties": {}
+        }
+    }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json b/components/model-catalog/resource-dictionary/starter-dictionary/vnf_assign_aai.json
new file mode 100644 (file)
index 0000000..9408d29
--- /dev/null
@@ -0,0 +1,36 @@
+{
+    "tags": "vnf_assign_aai",
+    "name": "vnf_assign_aai",
+    "group":"default",
+    "property": {
+        "description": "vnf_assign_aai",
+        "type": "string"
+    },
+    "updated-by": "MALAKOV, YURIY <yuriy.malakov@att.com>",
+    "sources": {
+        "aai-data": {
+            "type": "source-rest",
+            "properties": {
+                "verb": "PATCH",
+                "type": "JSON",
+                "headers": {
+                    "Content-Type": "application/merge-patch+json"
+                },
+                "url-path": "/aai/v14/network/generic-vnfs/generic-vnf/$vnf-id",
+                "payload": "{\r\n\"vnf-name\":\"${vnf_name}\", \r\n \"selflink\": \"restconf/config/GENERIC-RESOURCE-API:services/service/${service-instance-id}/service-data/vnfs/vnf/${vnf-id}/vnf-data/vnf-topology/\"\r\n}",
+                "path": "",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id",
+                    "vnf_name": "vnf_name"
+                },
+                "output-key-mapping": {},
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id",
+                    "vnf_name"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index cb3061b..fd679f6
@@ -1,38 +1,71 @@
-{\r
-  "tags": "vnf_name",\r
-  "name": "vnf_name",\r
-  "group":"default",\r
-  "property": {\r
-    "description": "vnf_name",\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
-        "verb": "GET",   "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/vnf_name",\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
-          "vnf_name": "value"\r
-        },\r
-        "key-dependencies": [\r
-          "service-instance-id",\r
-          "vnf-id"\r
-        ]\r
-      }\r
-    }\r
-  }\r
-}\r
+{
+    "tags": "vnf_name",
+    "name": "vnf_name",
+    "group":"default",
+    "property": {
+        "description": "vnf_name",
+        "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/vnf-topology/vnf-parameters-data/param/vnf_name",
+                "path": "/param/0/value",
+                "headers": {
+                    "Accept": "application/json",
+                    "Content-Type": "application/json"
+                },
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vnf_name": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "rest": {
+            "type": "source-rest",
+            "properties": {
+                "endpoint-selector": "naming-resolution",
+                "verb": "POST",
+                "type": "JSON",
+                "headers": {
+                    "Accept": "application/json",
+                    "Content-Type": "application/json"
+                },
+                "url-path": "/v1/genNetworkElementName",
+                "payload": "{\r\n  \"elements\": [\r\n    {\r\n      \"resource-name\": \"vnf_name\",\r\n      \"resource-value\": \"${vnf_name}\",\r\n      \"external-key\": \"${vnf-id}\",\r\n      \"policy-instance-name\": \"${vf-naming-policy}\",\r\n      \"naming-type\": \"VNF\",\r\n      \"AIC_CLOUD_REGION\": \"${aic-cloud-region}\"\r\n    }\r\n  ]\r\n}",
+                "path": "/elements/0/resource-value",
+                "input-key-mapping": {
+                    "vnf-id": "vnf-id",
+                    "aic-cloud-region": "aic-cloud-region",
+                    "vf-naming-policy": "vf-naming-policy"
+                },
+                "output-key-mapping": {
+                    "vnf_name": "resource-value"
+                },
+                "key-dependencies": [
+                    "vnf-id",
+                    "aic-cloud-region",
+                    "vf-naming-policy"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 9d1435b..a7a58ad
@@ -1,36 +1,35 @@
 {
-       "tags": "vnfc-model-invariant-uuid",
-       "name": "vnfc-model-invariant-uuid",
-       "group":"default",
-       "property": {
-               "description": "vnfc-model-invariant-uuid",
-               "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 VFC_MODEL.invariant_uuid as vfc_invariant_uuid from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-                               "output-key-mapping": {
-                                       "vnfc-model-invariant-uuid": "vfc_invariant_uuid"
-                               },
-                               
-                               "input-key-mapping": {
-                                       "vfccustomizationuuid": "vfccustomizationuuid"
-                               },
-                               "key-dependencies": [
-                                       "vfccustomizationuuid"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vnfc-model-invariant-uuid",
+    "name": "vnfc-model-invariant-uuid",
+    "group":"default",
+    "property": {
+        "description": "vnfc-model-invariant-uuid",
+        "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 VFC_MODEL.invariant_uuid as vfc_invariant_uuid from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                "output-key-mapping": {
+                    "vnfc-model-invariant-uuid": "vfc_invariant_uuid"
+                },
+                "input-key-mapping": {
+                    "vfccustomizationuuid": "vfccustomizationuuid"
+                },
+                "key-dependencies": [
+                    "vfccustomizationuuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 7e0b5a2..59282c0
@@ -1,36 +1,35 @@
 {
-       "tags": "vnfc-model-version",
-       "name": "vnfc-model-version",
-       "group":"default",
-       "property": {
-               "description": "vnfc-model-version",
-               "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 VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
-                               "input-key-mapping": {
-                                       "vfccustomizationuuid": "vfccustomizationuuid"
-                               },
-                               "output-key-mapping": {
-                                       "vnfc-model-version": "vnfc_model_version"
-                               },
-                               "key-dependencies": [
-                                       "vfccustomizationuuid"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vnfc-model-version",
+    "name": "vnfc-model-version",
+    "group":"default",
+    "property": {
+        "description": "vnfc-model-version",
+        "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 VFC_MODEL.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+                "output-key-mapping": {
+                    "vnfc-model-version": "vnfc_model_version"
+                },
+                "input-key-mapping": {
+                    "vfccustomizationuuid": "vfccustomizationuuid"
+                },
+                "key-dependencies": [
+                    "vfccustomizationuuid"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
diff --git a/components/model-catalog/resource-dictionary/starter-dictionary/vpg_0_int_pktgen_private_port_0_mac.json b/components/model-catalog/resource-dictionary/starter-dictionary/vpg_0_int_pktgen_private_port_0_mac.json
new file mode 100644 (file)
index 0000000..b272885
--- /dev/null
@@ -0,0 +1,39 @@
+{
+    "tags": "vpg_0_int_pktgen_private_port_0_mac",
+    "name": "vpg_0_int_pktgen_private_port_0_mac",
+    "group":"default",
+    "property": {
+        "description": "vpg_0_int_pktgen_private_port_0_mac",
+        "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/vnf-topology/vnf-parameters-data/param/vpg_0_int_pktgen_private_port_0_mac",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vpg_0_int_pktgen_private_port_0_mac": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 9bdd0ca..a179720
@@ -1,39 +1,59 @@
 {
-       "tags": "vpg_int_pktgen_private_ip_0",
-       "name": "vpg_int_pktgen_private_ip_0",
-       "group":"default",
-       "property": {
-               "description": "vpg_int_pktgen_private_ip_0",
-               "type": "string"
-       },
-       "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vpg_int_pktgen_private_ip_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vpg_int_pktgen_private_ip_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vpg_int_pktgen_private_ip_0",
+    "name": "vpg_int_pktgen_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vpg_int_pktgen_private_ip_0",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vpg_int_pktgen_private_ip_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vpg_int_pktgen_private_ip_0": "value"
+                },
+                "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": "private2-prefix-id"
+                },
+                "output-key-mapping": {
+                    "vpg_int_pktgen_private_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "private2-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index dd34626..8a15595
@@ -1,39 +1,59 @@
 {
-       "tags": "vpg_int_private1_ip_0",
-       "name": "vpg_int_private1_ip_0",
-       "group":"default",
-       "property": {
-               "description": "vpg_int_private1_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/vnf-topology/vnf-parameters-data/param/vpg_int_private1_ip_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vpg_int_private1_ip_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vpg_int_private1_ip_0",
+    "name": "vpg_int_private1_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vpg_int_private1_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/vnf-topology/vnf-parameters-data/param/vpg_int_private1_ip_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vpg_int_private1_ip_0": "value"
+                },
+                "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": {
+                    "vpg_int_private1_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "management-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 72a2db3..c7bffdd
@@ -1,38 +1,69 @@
 {
-       "tags": "vpg_name_0",
-       "name": "vpg_name_0",
-       "property": {
-               "description": "vpg_name_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/vnf-topology/vnf-parameters-data/param/vpg_name_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vpg_name_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vpg_name_0",
+    "name": "vpg_name_0",
+    "group":"default",
+    "property": {
+        "description": "vlb_name_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/vnf-topology/vnf-parameters-data/param/vpg_name_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vpg_name_0": "value"
+                },
+                "key-dependencies": [
+                    "service-instance-id",
+                    "vnf-id"
+                ]
+            }
+        },
+        "rest": {
+            "type": "source-rest",
+            "properties": {
+                "endpoint-selector": "naming-resolution",
+                "verb": "POST",
+                "type": "JSON",
+                "headers": {
+                    "Accept": "application/json",
+                    "Content-Type": "application/json"
+                },
+                "url-path": "/v1/genNetworkElementName",
+                "payload": "{\r\n\t\"elements\": [{\r\n\t\t\"resource-name\": \"vpg_name_0\",\r\n\t\t\"resource-value\": \"${vpg_name_0}\",\r\n\t\t\"external-key\": \"${vf-module-id}_vpg_name_0\",\r\n\t\t\"policy-instance-name\": \"${vf-naming-policy}\",\r\n\t\t\"naming-type\": \"VNFC\",\r\n\t\t\"VNF_NAME\": \"${vnf_name}\",\r\n\t\t\"NFC_NAMING_CODE\": \"${nfc-naming-code}\"\r\n\t}]\r\n}",
+                "path": "/elements/0/resource-value",
+                "input-key-mapping": {
+                    "vf-naming-policy": "vf-naming-policy",
+                    "nfc-naming-code": "nfc-naming-code",
+                    "vnf_name": "vnf_name",
+                    "vf-module-id": "vf-module-id"
+                },
+                "output-key-mapping": {
+                    "vpg_name_0": "resource-value"
+                },
+                "key-dependencies": [
+                    "vf-naming-policy",
+                    "nfc-naming-code",
+                    "vnf_name",
+                    "vf-module-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file
old mode 100755 (executable)
new mode 100644 (file)
index 21d5738..2586b87
@@ -1,39 +1,59 @@
 {
-       "tags": "vpg_onap_private_ip_0",
-       "name": "vpg_onap_private_ip_0",
-       "group":"default",
-       "property": {
-               "description": "vpg_onap_private_ip_0",
-               "type": "string"
-       },
-       "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vpg_onap_private_ip_0",
-                               "path": "/param/0/value",
-                               "input-key-mapping": {
-                                       "service-instance-id": "service-instance-id",
-                                       "vnf-id": "vnf-id"
-                               },
-                               "output-key-mapping": {
-                                       "vpg_onap_private_ip_0": "value"
-                               },
-                               "key-dependencies": [
-                                       "service-instance-id",
-                                       "vnf-id"
-                               ]
-                       }
-               }
-       }
-}
+    "tags": "vpg_onap_private_ip_0",
+    "name": "vpg_onap_private_ip_0",
+    "group":"default",
+    "property": {
+        "description": "vpg_onap_private_ip_0",
+        "type": "string"
+    },
+    "updated-by": "Singal, Kapil <ks220y@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/vnf-topology/vnf-parameters-data/param/vpg_onap_private_ip_0",
+                "path": "/param/0/value",
+                "input-key-mapping": {
+                    "service-instance-id": "service-instance-id",
+                    "vnf-id": "vnf-id"
+                },
+                "output-key-mapping": {
+                    "vpg_onap_private_ip_0": "value"
+                },
+                "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": {
+                    "vpg_onap_private_ip_0": "address",
+                    "id": "id"
+                },
+                "key-dependencies": [
+                    "management-prefix-id"
+                ]
+            }
+        }
+    }
+}
\ No newline at end of file