SDN Controller Blueprints MS Component
authorSingal, Kapil (ks220y) <ks220y@att.com>
Fri, 21 Sep 2018 18:31:06 +0000 (14:31 -0400)
committerSingal, Kapil (ks220y) <ks220y@att.com>
Fri, 21 Sep 2018 20:26:47 +0000 (16:26 -0400)
Adding ONAP Resource Definitions with new schema

Change-Id: Ic4e1bd79dd54d12ce12f6e79ae1d738b283f3f0c
Issue-ID: CCSDK-490
Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
38 files changed:
components/resource-dict/load/resource_dictionary/address.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/aic-cloud-region.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/aic_clli.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/availability_zone_0.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/name_0.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/nf-role.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/nfc-naming-code.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/onap_private_net_cidr.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/onap_private_net_id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/private-prefix-id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/protected-prefix-id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/protected_private_net_cidr.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/public_net_id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/service-instance-id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/unprotected-prefix-id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/unprotected_private_net_cidr.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vf-module-id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vf-module-label.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vf-module-model-customization-uuid.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vf-module-type.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vf-naming-policy.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vf-nf-code.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vf_module_name.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vfw_private_ip_0.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vfw_private_ip_1.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vfw_private_ip_2.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vm-type.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vnf-id.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vnf-model-customization-uuid.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vnf-name.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vnf_name.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vnfc-model-invariant-uuid.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vnfc-model-version.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vpg_private_ip_0.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vpg_private_ip_1.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vsn_private_ip_0.json [new file with mode: 0644]
components/resource-dict/load/resource_dictionary/vsn_private_ip_1.json [new file with mode: 0644]

diff --git a/components/resource-dict/load/resource_dictionary/address.json b/components/resource-dict/load/resource_dictionary/address.json
new file mode 100644 (file)
index 0000000..e999938
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "name" : "address",
+  "tags" : "address",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "address",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "address"
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/aic-cloud-region.json b/components/resource-dict/load/resource_dictionary/aic-cloud-region.json
new file mode 100644 (file)
index 0000000..da2c744
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "aic-cloud-region",\r
+  "tags" : "aic-cloud-region",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "aic-cloud-region",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "aic-cloud-region"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/aic_clli.json b/components/resource-dict/load/resource_dictionary/aic_clli.json
new file mode 100644 (file)
index 0000000..182d706
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "aic_clli",\r
+  "tags" : "aic_clli",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "aic_clli",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "aic_clli"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/availability_zone_0.json b/components/resource-dict/load/resource_dictionary/availability_zone_0.json
new file mode 100644 (file)
index 0000000..f1cebdb
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "availability_zone_0",\r
+  "tags" : "availability_zone_0",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "availability_zone_0",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "availability_zone_0"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/name_0.json b/components/resource-dict/load/resource_dictionary/name_0.json
new file mode 100644 (file)
index 0000000..2392c3d
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "name_0",\r
+  "tags" : "name_0",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "name_0",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "name_0"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/nf-role.json b/components/resource-dict/load/resource_dictionary/nf-role.json
new file mode 100644 (file)
index 0000000..0e108c5
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "nf-role",\r
+  "tags" : "nf-role",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vnf/nf-role",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select sdnctl.VF_MODEL.nf_role as vf_model_role from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnfmodelcustomizationuuid",\r
+        "input-key-mapping" : {\r
+          "vnfmodelcustomizationuuid" : "vnf-model-customization-uuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "nf-role" : "vf_model_role"\r
+        },\r
+        "key-dependencies" : [ "vnf-model-customization-uuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/nfc-naming-code.json b/components/resource-dict/load/resource_dictionary/nfc-naming-code.json
new file mode 100644 (file)
index 0000000..f0f2b7f
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "nfc-naming-code",\r
+  "tags" : "nfc-naming-code",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "nfc-naming-code",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",\r
+        "input-key-mapping" : {\r
+          "vfccustomizationuuid" : "vfccustomizationuuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "nfc-naming-code" : "nfc_naming_code"\r
+        },\r
+        "key-dependencies" : [ "vfccustomizationuuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/onap_private_net_cidr.json b/components/resource-dict/load/resource_dictionary/onap_private_net_cidr.json
new file mode 100644 (file)
index 0000000..07c5cbc
--- /dev/null
@@ -0,0 +1,21 @@
+{\r
+  "name" : "onap_private_net_cidr",\r
+  "tags" : "onap_private_net_cidr",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "onap_private_net_cidr",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = private",\r
+        "output-key-mapping" : {\r
+          "onap_private_net_cidr" : "prefix"\r
+        }\r
+         }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/onap_private_net_id.json b/components/resource-dict/load/resource_dictionary/onap_private_net_id.json
new file mode 100644 (file)
index 0000000..4e430f4
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "onap_private_net_id",\r
+  "tags" : "onap_private_net_id",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "onap_private_net_id",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "onap_private_net_id"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/private-prefix-id.json b/components/resource-dict/load/resource_dictionary/private-prefix-id.json
new file mode 100644 (file)
index 0000000..a95bae3
--- /dev/null
@@ -0,0 +1,21 @@
+{\r
+  "name" : "private-prefix-id",\r
+  "tags" : "private-prefix-id",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "private-prefix-id",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = private",\r
+        "output-key-mapping" : {\r
+          "private-prefix-id" : "prefix_id"\r
+        }\r
+         }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/protected-prefix-id.json b/components/resource-dict/load/resource_dictionary/protected-prefix-id.json
new file mode 100644 (file)
index 0000000..56b0d6d
--- /dev/null
@@ -0,0 +1,21 @@
+{\r
+  "name" : "protected-prefix-id",\r
+  "tags" : "protected-prefix-id",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "protected-prefix-id",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = protected",\r
+        "output-key-mapping" : {\r
+          "protected-prefix-id" : "prefix_id"\r
+        }      \r
+         }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/protected_private_net_cidr.json b/components/resource-dict/load/resource_dictionary/protected_private_net_cidr.json
new file mode 100644 (file)
index 0000000..db0a43d
--- /dev/null
@@ -0,0 +1,21 @@
+{\r
+  "name" : "protected_private_net_cidr",\r
+  "tags" : "protected_private_net_cidr",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "protected_private_net_cidr",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = protected",\r
+        "output-key-mapping" : {\r
+          "protected_private_net_cidr" : "prefix"\r
+        }      \r
+         }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/public_net_id.json b/components/resource-dict/load/resource_dictionary/public_net_id.json
new file mode 100644 (file)
index 0000000..17ad96b
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "name" : "public_net_id",
+  "tags" : "public_net_id",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "public_net_id",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "public_net_id"
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/service-instance-id.json b/components/resource-dict/load/resource_dictionary/service-instance-id.json
new file mode 100644 (file)
index 0000000..ed583be
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "service-instance-id",\r
+  "tags" : "service-instance-id, tosca.datatypes.Root, data_type",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "To be provided",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "service-instance-id"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/unprotected-prefix-id.json b/components/resource-dict/load/resource_dictionary/unprotected-prefix-id.json
new file mode 100644 (file)
index 0000000..a0d966a
--- /dev/null
@@ -0,0 +1,21 @@
+{\r
+  "name" : "unprotected-prefix-id",\r
+  "tags" : "unprotected-prefix-id",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "unprotected-prefix-id",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = unprotected",\r
+        "output-key-mapping" : {\r
+          "unprotected-prefix-id" : "prefix_id"\r
+        }      \r
+         }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/unprotected_private_net_cidr.json b/components/resource-dict/load/resource_dictionary/unprotected_private_net_cidr.json
new file mode 100644 (file)
index 0000000..8f9385d
--- /dev/null
@@ -0,0 +1,21 @@
+{
+  "name" : "unprotected_private_net_cidr",
+  "tags" : "unprotected_private_net_cidr",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "unprotected_private_net_cidr",
+    "type" : "string"
+  },
+  "sources" : {
+    "db" : {
+      "type" : "source-db",
+      "properties" : {
+        "type" : "SQL",
+        "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = unprotected",
+        "output-key-mapping" : {
+          "unprotected_private_net_cidr" : "prefix"
+        }      
+         }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vf-module-id.json b/components/resource-dict/load/resource_dictionary/vf-module-id.json
new file mode 100644 (file)
index 0000000..0e1d771
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "vf-module-id",\r
+  "tags" : "vf-module-id",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vf-module-id",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "vf-module-id"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vf-module-label.json b/components/resource-dict/load/resource_dictionary/vf-module-label.json
new file mode 100644 (file)
index 0000000..a954372
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vf-module-label",\r
+  "tags" : "vf-module-label",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vf-module-label",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "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",\r
+        "input-key-mapping" : {\r
+          "customizationid" : "vf-module-model-customization-uuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vf-module-label" : "vf_module_label"\r
+        },\r
+        "key-dependencies" : [ "vf-module-model-customization-uuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vf-module-model-customization-uuid.json b/components/resource-dict/load/resource_dictionary/vf-module-model-customization-uuid.json
new file mode 100644 (file)
index 0000000..f41c781
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "vf-module-model-customization-uuid",\r
+  "tags" : "vf-module-model-customization-uuid",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vf-module-model-customization-uuid",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "vf-module-model-customization-uuid"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vf-module-type.json b/components/resource-dict/load/resource_dictionary/vf-module-type.json
new file mode 100644 (file)
index 0000000..805d834
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vf-module-type",\r
+  "tags" : "vf-module-type",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vf-module-type",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",\r
+        "input-key-mapping" : {\r
+          "customizationid" : "vf-module-model-customization-uuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vf-module-type" : "vf_module_type"\r
+        },\r
+        "key-dependencies" : [ "vf-module-model-customization-uuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vf-naming-policy.json b/components/resource-dict/load/resource_dictionary/vf-naming-policy.json
new file mode 100644 (file)
index 0000000..ceed318
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vf-naming-policy",\r
+  "tags" : "vf-naming-policy",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vf-naming-policy",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "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",\r
+        "input-key-mapping" : {\r
+          "vnf_model_customization_uuid" : "vnf-model-customization-uuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vf-naming-policy" : "vf_naming_policy"\r
+        },\r
+        "key-dependencies" : [ "vnf-model-customization-uuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vf-nf-code.json b/components/resource-dict/load/resource_dictionary/vf-nf-code.json
new file mode 100644 (file)
index 0000000..0d25d0e
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vf-nf-code",\r
+  "tags" : "vf-nf-code",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vf-nf-code",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select sdnctl.VF_MODEL.nf_code as vf_nf_code from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:customizationid",\r
+        "input-key-mapping" : {\r
+          "customizationid" : "vnf-model-customization-uuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vf-nf-code" : "vf_nf_code"\r
+        },\r
+        "key-dependencies" : [ "vnf-model-customization-uuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vf_module_name.json b/components/resource-dict/load/resource_dictionary/vf_module_name.json
new file mode 100644 (file)
index 0000000..b416f52
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "vf_module_name",\r
+  "tags" : "vf_module_name",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vf_module_name",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "vf_module_name"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json b/components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json
new file mode 100644 (file)
index 0000000..a34a9a7
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vfccustomizationuuid",\r
+  "tags" : "vfccustomizationuuid, tosca.datatypes.Root, data_type",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vfccustomizationuuid",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "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",\r
+        "input-key-mapping" : {\r
+          "vfmodulecustomizationuuid" : "vf-module-model-customization-uuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vfccustomizationuuid" : "vnf_customid"\r
+        },\r
+        "key-dependencies" : [ "vf-module-model-customization-uuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vfw_private_ip_0.json b/components/resource-dict/load/resource_dictionary/vfw_private_ip_0.json
new file mode 100644 (file)
index 0000000..7c8d4f4
--- /dev/null
@@ -0,0 +1,35 @@
+{
+  "name" : "vfw_private_ip_0",
+  "tags" : "vfw_private_ip_0",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "vfw_private_ip_0",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "vfw_private_ip_0"
+      }
+    },
+    "mdsal" : {
+      "type" : "source-rest",
+      "properties" : {
+        "type" : "JSON",
+        "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules/$vf-module-id/vf-module-data/vf-module-topology/vf-module-parameters/param/vfw_private_ip_0",
+        "path" : "/param/0/value",
+        "expression-type" : "JSON_POINTER",
+        "input-key-mapping" : {
+          "service-instance-id" : "service-instance-id",
+          "vnf-id" : "vnf-id",
+          "vf-module-id" : "vf-module-id"
+        },
+        "output-key-mapping" : {
+          "vfw_private_ip_0" : "value"
+        },
+        "key-dependencies" : [ "service-instance-id", "vnf-id", "vf-module-id" ]
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vfw_private_ip_1.json b/components/resource-dict/load/resource_dictionary/vfw_private_ip_1.json
new file mode 100644 (file)
index 0000000..0553b8c
--- /dev/null
@@ -0,0 +1,35 @@
+{
+  "name" : "vfw_private_ip_1",
+  "tags" : "vfw_private_ip_1",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "vfw_private_ip_1",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "vfw_private_ip_1"
+      }
+    },
+    "mdsal" : {
+      "type" : "source-rest",
+      "properties" : {
+        "type" : "JSON",
+        "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules/$vf-module-id/vf-module-data/vf-module-topology/vf-module-parameters/param/vfw_private_ip_1",
+        "path" : "/param/0/value",
+        "expression-type" : "JSON_POINTER",
+        "input-key-mapping" : {
+          "service-instance-id" : "service-instance-id",
+          "vnf-id" : "vnf-id",
+          "vf-module-id" : "vf-module-id"
+        },
+        "output-key-mapping" : {
+          "vfw_private_ip_1" : "value"
+        },
+        "key-dependencies" : [ "service-instance-id", "vnf-id", "vf-module-id" ]
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vfw_private_ip_2.json b/components/resource-dict/load/resource_dictionary/vfw_private_ip_2.json
new file mode 100644 (file)
index 0000000..9e51064
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "name" : "vfw_private_ip_2",
+  "tags" : "vfw_private_ip_2",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "vfw_private_ip_2",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "vfw_private_ip_2"
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vm-type.json b/components/resource-dict/load/resource_dictionary/vm-type.json
new file mode 100644 (file)
index 0000000..7bb5ef1
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vm-type",\r
+  "tags" : "vm-type",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vm-type",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select vfc_model.vm_type as vm_type from VFC_MODEL where customization_uuid=:vfccustomizationuuid",\r
+        "input-key-mapping" : {\r
+          "vfccustomizationuuid" : "vfccustomizationuuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vm-type" : "vm_type"\r
+        },\r
+        "key-dependencies" : [ "vfccustomizationuuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vnf-id.json b/components/resource-dict/load/resource_dictionary/vnf-id.json
new file mode 100644 (file)
index 0000000..55c24b5
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "vnf-id",\r
+  "tags" : "vnf-id",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vnf-id",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "vnf-id"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vnf-model-customization-uuid.json b/components/resource-dict/load/resource_dictionary/vnf-model-customization-uuid.json
new file mode 100644 (file)
index 0000000..f6c3b81
--- /dev/null
@@ -0,0 +1,17 @@
+{\r
+  "name" : "vnf-model-customization-uuid",\r
+  "tags" : "vnf-model-customization-uuid",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vnf-model-customization-uuid",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "input" : {\r
+      "type" : "source-input",\r
+      "properties" : {\r
+        "key" : "vnf-model-customization-uuid"\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vnf-name.json b/components/resource-dict/load/resource_dictionary/vnf-name.json
new file mode 100644 (file)
index 0000000..47371d1
--- /dev/null
@@ -0,0 +1,28 @@
+{\r
+  "name" : "vnf-name",\r
+  "tags" : "vnf-name, tosca.datatypes.Root, data_type",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vnf-name",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "mdsal" : {\r
+      "type" : "source-rest",\r
+      "properties" : {\r
+        "type" : "JSON",\r
+        "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vnf_name",\r
+        "path" : "/param/0/value",\r
+        "expression-type" : "JSON_POINTER",\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" : [ "service-instance-id", "vnf-id" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vnf_name.json b/components/resource-dict/load/resource_dictionary/vnf_name.json
new file mode 100644 (file)
index 0000000..4617a26
--- /dev/null
@@ -0,0 +1,28 @@
+{\r
+  "name" : "vnf_name",\r
+  "tags" : "vnf_name",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vnf_name",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "mdsal" : {\r
+      "type" : "source-rest",\r
+      "properties" : {\r
+        "type" : "JSON",\r
+        "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vnf_name",\r
+        "path" : "/param/0/value",\r
+        "expression-type" : "JSON_POINTER",\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" : [ "service-instance-id", "vnf-id" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vnfc-model-invariant-uuid.json b/components/resource-dict/load/resource_dictionary/vnfc-model-invariant-uuid.json
new file mode 100644 (file)
index 0000000..b2ccd45
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vnfc-model-invariant-uuid",\r
+  "tags" : "vnfc-model-invariant-uuid",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vnfc-model-invariant-uuid for vFW template",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select vfc_model.invariant_uuid as vfc_invariant_uuid from VFC_MODEL where customization_uuid=:vfccustomizationuuid",\r
+        "input-key-mapping" : {\r
+          "vfccustomizationuuid" : "vfccustomizationuuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vnfc-model-invariant-uuid" : "vfc_invariant_uuid"\r
+        },\r
+        "key-dependencies" : [ "vfccustomizationuuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vnfc-model-version.json b/components/resource-dict/load/resource_dictionary/vnfc-model-version.json
new file mode 100644 (file)
index 0000000..fb59eea
--- /dev/null
@@ -0,0 +1,25 @@
+{\r
+  "name" : "vnfc-model-version",\r
+  "tags" : "vnfc-model-version",\r
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",\r
+  "property" : {\r
+    "description" : "vnfc-model-version for vFW template",\r
+    "type" : "string"\r
+  },\r
+  "sources" : {\r
+    "db" : {\r
+      "type" : "source-db",\r
+      "properties" : {\r
+        "type" : "SQL",\r
+        "query" : "select vfc_model.version as vnfc_model_version from VFC_MODEL where customization_uuid=:vfccustomizationuuid",\r
+        "input-key-mapping" : {\r
+          "vfccustomizationuuid" : "vfccustomizationuuid"\r
+        },\r
+        "output-key-mapping" : {\r
+          "vnfc-model-version" : "vnfc_model_version"\r
+        },\r
+        "key-dependencies" : [ "vfccustomizationuuid" ]\r
+      }\r
+    }\r
+  }\r
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vpg_private_ip_0.json b/components/resource-dict/load/resource_dictionary/vpg_private_ip_0.json
new file mode 100644 (file)
index 0000000..912cfb9
--- /dev/null
@@ -0,0 +1,35 @@
+{
+  "name" : "vpg_private_ip_0",
+  "tags" : "vpg_private_ip_0",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "vpg_private_ip_0",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "vpg_private_ip_0"
+      }
+    },
+    "mdsal" : {
+      "type" : "source-rest",
+      "properties" : {
+        "type" : "JSON",
+        "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules/$vf-module-id/vf-module-data/vf-module-topology/vf-module-parameters/param/vpg_private_ip_0",
+        "path" : "/param/0/value",
+        "expression-type" : "JSON_POINTER",
+        "input-key-mapping" : {
+          "service-instance-id" : "service-instance-id",
+          "vnf-id" : "vnf-id",
+          "vf-module-id" : "vf-module-id"
+        },
+        "output-key-mapping" : {
+          "vpg_private_ip_0" : "value"
+        },
+        "key-dependencies" : [ "service-instance-id", "vnf-id", "vf-module-id" ]
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vpg_private_ip_1.json b/components/resource-dict/load/resource_dictionary/vpg_private_ip_1.json
new file mode 100644 (file)
index 0000000..23c42e0
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "name" : "vpg_private_ip_1",
+  "tags" : "vpg_private_ip_1",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "vpg_private_ip_1",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "vpg_private_ip_1"
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vsn_private_ip_0.json b/components/resource-dict/load/resource_dictionary/vsn_private_ip_0.json
new file mode 100644 (file)
index 0000000..bf98738
--- /dev/null
@@ -0,0 +1,35 @@
+{
+  "name" : "vsn_private_ip_0",
+  "tags" : "vsn_private_ip_0",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "vsn_private_ip_0",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "vsn_private_ip_0"
+      }
+    },
+    "mdsal" : {
+      "type" : "source-rest",
+      "properties" : {
+        "type" : "JSON",
+        "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vf-modules/$vf-module-id/vf-module-data/vf-module-topology/vf-module-parameters/param/vsn_private_ip_0",
+        "path" : "/param/0/value",
+        "expression-type" : "JSON_POINTER",
+        "input-key-mapping" : {
+          "service-instance-id" : "service-instance-id",
+          "vnf-id" : "vnf-id",
+          "vf-module-id" : "vf-module-id"
+        },
+        "output-key-mapping" : {
+          "vsn_private_ip_0" : "value"
+        },
+        "key-dependencies" : [ "service-instance-id", "vnf-id", "vf-module-id" ]
+      }
+    }
+  }
+}
\ No newline at end of file
diff --git a/components/resource-dict/load/resource_dictionary/vsn_private_ip_1.json b/components/resource-dict/load/resource_dictionary/vsn_private_ip_1.json
new file mode 100644 (file)
index 0000000..88750b2
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "name" : "vsn_private_ip_1",
+  "tags" : "vsn_private_ip_1",
+  "updated-by" : "Singal, Kapil <ks220y@att.com>",
+  "property" : {
+    "description" : "vsn_private_ip_1",
+    "type" : "string"
+  },
+  "sources" : {
+    "input" : {
+      "type" : "source-input",
+      "properties" : {
+        "key" : "vsn_private_ip_1"
+      }
+    }
+  }
+}
\ No newline at end of file