summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSingal, Kapil (ks220y) <ks220y@att.com>2018-09-21 14:31:06 -0400
committerSingal, Kapil (ks220y) <ks220y@att.com>2018-09-21 16:26:47 -0400
commit83c8be70288614aecd64e0fadfaa0b8908a2d0b7 (patch)
treef02cdcc9ed182a19ac5d38aa7c5c2ea00e1e66ec
parent7b533e17764ba9932e31aae498bd6c3447cb8839 (diff)
SDN Controller Blueprints MS Component
Adding ONAP Resource Definitions with new schema Change-Id: Ic4e1bd79dd54d12ce12f6e79ae1d738b283f3f0c Issue-ID: CCSDK-490 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
-rw-r--r--components/resource-dict/load/resource_dictionary/address.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/aic-cloud-region.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/aic_clli.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/availability_zone_0.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/name_0.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/nf-role.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/nfc-naming-code.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/onap_private_net_cidr.json21
-rw-r--r--components/resource-dict/load/resource_dictionary/onap_private_net_id.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/private-prefix-id.json21
-rw-r--r--components/resource-dict/load/resource_dictionary/protected-prefix-id.json21
-rw-r--r--components/resource-dict/load/resource_dictionary/protected_private_net_cidr.json21
-rw-r--r--components/resource-dict/load/resource_dictionary/public_net_id.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/service-instance-id.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/unprotected-prefix-id.json21
-rw-r--r--components/resource-dict/load/resource_dictionary/unprotected_private_net_cidr.json21
-rw-r--r--components/resource-dict/load/resource_dictionary/vf-module-id.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/vf-module-label.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vf-module-model-customization-uuid.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/vf-module-type.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vf-naming-policy.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vf-nf-code.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vf_module_name.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vfw_private_ip_0.json35
-rw-r--r--components/resource-dict/load/resource_dictionary/vfw_private_ip_1.json35
-rw-r--r--components/resource-dict/load/resource_dictionary/vfw_private_ip_2.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/vm-type.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vnf-id.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/vnf-model-customization-uuid.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/vnf-name.json28
-rw-r--r--components/resource-dict/load/resource_dictionary/vnf_name.json28
-rw-r--r--components/resource-dict/load/resource_dictionary/vnfc-model-invariant-uuid.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vnfc-model-version.json25
-rw-r--r--components/resource-dict/load/resource_dictionary/vpg_private_ip_0.json35
-rw-r--r--components/resource-dict/load/resource_dictionary/vpg_private_ip_1.json17
-rw-r--r--components/resource-dict/load/resource_dictionary/vsn_private_ip_0.json35
-rw-r--r--components/resource-dict/load/resource_dictionary/vsn_private_ip_1.json17
38 files changed, 844 insertions, 0 deletions
diff --git a/components/resource-dict/load/resource_dictionary/address.json b/components/resource-dict/load/resource_dictionary/address.json
new file mode 100644
index 000000000..e999938cf
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/address.json
@@ -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
index 000000000..da2c7440a
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/aic-cloud-region.json
@@ -0,0 +1,17 @@
+{
+ "name" : "aic-cloud-region",
+ "tags" : "aic-cloud-region",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "aic-cloud-region",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "aic-cloud-region"
+ }
+ }
+ }
+} \ 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
index 000000000..182d70614
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/aic_clli.json
@@ -0,0 +1,17 @@
+{
+ "name" : "aic_clli",
+ "tags" : "aic_clli",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "aic_clli",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "aic_clli"
+ }
+ }
+ }
+} \ 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
index 000000000..f1cebdb77
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/availability_zone_0.json
@@ -0,0 +1,17 @@
+{
+ "name" : "availability_zone_0",
+ "tags" : "availability_zone_0",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "availability_zone_0",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "availability_zone_0"
+ }
+ }
+ }
+} \ 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
index 000000000..2392c3dc7
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/name_0.json
@@ -0,0 +1,17 @@
+{
+ "name" : "name_0",
+ "tags" : "name_0",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "name_0",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "name_0"
+ }
+ }
+ }
+} \ 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
index 000000000..0e108c5cb
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/nf-role.json
@@ -0,0 +1,25 @@
+{
+ "name" : "nf-role",
+ "tags" : "nf-role",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnf/nf-role",
+ "type" : "string"
+ },
+ "sources" : {
+ "db" : {
+ "type" : "source-db",
+ "properties" : {
+ "type" : "SQL",
+ "query" : "select sdnctl.VF_MODEL.nf_role as vf_model_role from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:vnfmodelcustomizationuuid",
+ "input-key-mapping" : {
+ "vnfmodelcustomizationuuid" : "vnf-model-customization-uuid"
+ },
+ "output-key-mapping" : {
+ "nf-role" : "vf_model_role"
+ },
+ "key-dependencies" : [ "vnf-model-customization-uuid" ]
+ }
+ }
+ }
+} \ 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
index 000000000..f0f2b7f0f
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/nfc-naming-code.json
@@ -0,0 +1,25 @@
+{
+ "name" : "nfc-naming-code",
+ "tags" : "nfc-naming-code",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "nfc-naming-code",
+ "type" : "string"
+ },
+ "sources" : {
+ "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
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
index 000000000..07c5cbc18
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/onap_private_net_cidr.json
@@ -0,0 +1,21 @@
+{
+ "name" : "onap_private_net_cidr",
+ "tags" : "onap_private_net_cidr",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "onap_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 = private",
+ "output-key-mapping" : {
+ "onap_private_net_cidr" : "prefix"
+ }
+ }
+ }
+ }
+} \ 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
index 000000000..4e430f465
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/onap_private_net_id.json
@@ -0,0 +1,17 @@
+{
+ "name" : "onap_private_net_id",
+ "tags" : "onap_private_net_id",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "onap_private_net_id",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "onap_private_net_id"
+ }
+ }
+ }
+} \ 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
index 000000000..a95bae308
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/private-prefix-id.json
@@ -0,0 +1,21 @@
+{
+ "name" : "private-prefix-id",
+ "tags" : "private-prefix-id",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "private-prefix-id",
+ "type" : "string"
+ },
+ "sources" : {
+ "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 = private",
+ "output-key-mapping" : {
+ "private-prefix-id" : "prefix_id"
+ }
+ }
+ }
+ }
+} \ 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
index 000000000..56b0d6d21
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/protected-prefix-id.json
@@ -0,0 +1,21 @@
+{
+ "name" : "protected-prefix-id",
+ "tags" : "protected-prefix-id",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "protected-prefix-id",
+ "type" : "string"
+ },
+ "sources" : {
+ "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 = protected",
+ "output-key-mapping" : {
+ "protected-prefix-id" : "prefix_id"
+ }
+ }
+ }
+ }
+} \ 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
index 000000000..db0a43dc5
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/protected_private_net_cidr.json
@@ -0,0 +1,21 @@
+{
+ "name" : "protected_private_net_cidr",
+ "tags" : "protected_private_net_cidr",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "protected_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 = protected",
+ "output-key-mapping" : {
+ "protected_private_net_cidr" : "prefix"
+ }
+ }
+ }
+ }
+} \ 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
index 000000000..17ad96bdb
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/public_net_id.json
@@ -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
index 000000000..ed583be73
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/service-instance-id.json
@@ -0,0 +1,17 @@
+{
+ "name" : "service-instance-id",
+ "tags" : "service-instance-id, tosca.datatypes.Root, data_type",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "To be provided",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "service-instance-id"
+ }
+ }
+ }
+} \ 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
index 000000000..a0d966a2c
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/unprotected-prefix-id.json
@@ -0,0 +1,21 @@
+{
+ "name" : "unprotected-prefix-id",
+ "tags" : "unprotected-prefix-id",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "unprotected-prefix-id",
+ "type" : "string"
+ },
+ "sources" : {
+ "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 = unprotected",
+ "output-key-mapping" : {
+ "unprotected-prefix-id" : "prefix_id"
+ }
+ }
+ }
+ }
+} \ 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
index 000000000..8f9385d87
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/unprotected_private_net_cidr.json
@@ -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
index 000000000..0e1d771ff
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vf-module-id.json
@@ -0,0 +1,17 @@
+{
+ "name" : "vf-module-id",
+ "tags" : "vf-module-id",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vf-module-id",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "vf-module-id"
+ }
+ }
+ }
+} \ 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
index 000000000..a9543722c
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vf-module-label.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vf-module-label",
+ "tags" : "vf-module-label",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vf-module-label",
+ "type" : "string"
+ },
+ "sources" : {
+ "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
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
index 000000000..f41c781cf
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vf-module-model-customization-uuid.json
@@ -0,0 +1,17 @@
+{
+ "name" : "vf-module-model-customization-uuid",
+ "tags" : "vf-module-model-customization-uuid",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vf-module-model-customization-uuid",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "vf-module-model-customization-uuid"
+ }
+ }
+ }
+} \ 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
index 000000000..805d834b5
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vf-module-type.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vf-module-type",
+ "tags" : "vf-module-type",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vf-module-type",
+ "type" : "string"
+ },
+ "sources" : {
+ "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",
+ "input-key-mapping" : {
+ "customizationid" : "vf-module-model-customization-uuid"
+ },
+ "output-key-mapping" : {
+ "vf-module-type" : "vf_module_type"
+ },
+ "key-dependencies" : [ "vf-module-model-customization-uuid" ]
+ }
+ }
+ }
+} \ 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
index 000000000..ceed3186c
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vf-naming-policy.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vf-naming-policy",
+ "tags" : "vf-naming-policy",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vf-naming-policy",
+ "type" : "string"
+ },
+ "sources" : {
+ "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
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
index 000000000..0d25d0e94
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vf-nf-code.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vf-nf-code",
+ "tags" : "vf-nf-code",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vf-nf-code",
+ "type" : "string"
+ },
+ "sources" : {
+ "db" : {
+ "type" : "source-db",
+ "properties" : {
+ "type" : "SQL",
+ "query" : "select sdnctl.VF_MODEL.nf_code as vf_nf_code from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:customizationid",
+ "input-key-mapping" : {
+ "customizationid" : "vnf-model-customization-uuid"
+ },
+ "output-key-mapping" : {
+ "vf-nf-code" : "vf_nf_code"
+ },
+ "key-dependencies" : [ "vnf-model-customization-uuid" ]
+ }
+ }
+ }
+} \ 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
index 000000000..b416f5295
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vf_module_name.json
@@ -0,0 +1,17 @@
+{
+ "name" : "vf_module_name",
+ "tags" : "vf_module_name",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vf_module_name",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "vf_module_name"
+ }
+ }
+ }
+} \ 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
index 000000000..a34a9a783
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vfccustomizationuuid.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vfccustomizationuuid",
+ "tags" : "vfccustomizationuuid, tosca.datatypes.Root, data_type",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vfccustomizationuuid",
+ "type" : "string"
+ },
+ "sources" : {
+ "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
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
index 000000000..7c8d4f4e8
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vfw_private_ip_0.json
@@ -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
index 000000000..0553b8c37
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vfw_private_ip_1.json
@@ -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
index 000000000..9e5106470
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vfw_private_ip_2.json
@@ -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
index 000000000..7bb5ef1cc
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vm-type.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vm-type",
+ "tags" : "vm-type",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vm-type",
+ "type" : "string"
+ },
+ "sources" : {
+ "db" : {
+ "type" : "source-db",
+ "properties" : {
+ "type" : "SQL",
+ "query" : "select vfc_model.vm_type as vm_type from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+ "input-key-mapping" : {
+ "vfccustomizationuuid" : "vfccustomizationuuid"
+ },
+ "output-key-mapping" : {
+ "vm-type" : "vm_type"
+ },
+ "key-dependencies" : [ "vfccustomizationuuid" ]
+ }
+ }
+ }
+} \ 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
index 000000000..55c24b5fa
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vnf-id.json
@@ -0,0 +1,17 @@
+{
+ "name" : "vnf-id",
+ "tags" : "vnf-id",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnf-id",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "vnf-id"
+ }
+ }
+ }
+} \ 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
index 000000000..f6c3b8144
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vnf-model-customization-uuid.json
@@ -0,0 +1,17 @@
+{
+ "name" : "vnf-model-customization-uuid",
+ "tags" : "vnf-model-customization-uuid",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnf-model-customization-uuid",
+ "type" : "string"
+ },
+ "sources" : {
+ "input" : {
+ "type" : "source-input",
+ "properties" : {
+ "key" : "vnf-model-customization-uuid"
+ }
+ }
+ }
+} \ 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
index 000000000..47371d184
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vnf-name.json
@@ -0,0 +1,28 @@
+{
+ "name" : "vnf-name",
+ "tags" : "vnf-name, tosca.datatypes.Root, data_type",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnf-name",
+ "type" : "string"
+ },
+ "sources" : {
+ "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/vnf-topology/vnf-parameters-data/param/vnf_name",
+ "path" : "/param/0/value",
+ "expression-type" : "JSON_POINTER",
+ "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" ]
+ }
+ }
+ }
+} \ 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
index 000000000..4617a264e
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vnf_name.json
@@ -0,0 +1,28 @@
+{
+ "name" : "vnf_name",
+ "tags" : "vnf_name",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnf_name",
+ "type" : "string"
+ },
+ "sources" : {
+ "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/vnf-topology/vnf-parameters-data/param/vnf_name",
+ "path" : "/param/0/value",
+ "expression-type" : "JSON_POINTER",
+ "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" ]
+ }
+ }
+ }
+} \ 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
index 000000000..b2ccd45da
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vnfc-model-invariant-uuid.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vnfc-model-invariant-uuid",
+ "tags" : "vnfc-model-invariant-uuid",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnfc-model-invariant-uuid for vFW template",
+ "type" : "string"
+ },
+ "sources" : {
+ "db" : {
+ "type" : "source-db",
+ "properties" : {
+ "type" : "SQL",
+ "query" : "select vfc_model.invariant_uuid as vfc_invariant_uuid from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+ "input-key-mapping" : {
+ "vfccustomizationuuid" : "vfccustomizationuuid"
+ },
+ "output-key-mapping" : {
+ "vnfc-model-invariant-uuid" : "vfc_invariant_uuid"
+ },
+ "key-dependencies" : [ "vfccustomizationuuid" ]
+ }
+ }
+ }
+} \ 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
index 000000000..fb59eea7f
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vnfc-model-version.json
@@ -0,0 +1,25 @@
+{
+ "name" : "vnfc-model-version",
+ "tags" : "vnfc-model-version",
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "property" : {
+ "description" : "vnfc-model-version for vFW template",
+ "type" : "string"
+ },
+ "sources" : {
+ "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" ]
+ }
+ }
+ }
+} \ 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
index 000000000..912cfb9ad
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vpg_private_ip_0.json
@@ -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
index 000000000..23c42e0c7
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vpg_private_ip_1.json
@@ -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
index 000000000..bf987382c
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vsn_private_ip_0.json
@@ -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
index 000000000..88750b25e
--- /dev/null
+++ b/components/resource-dict/load/resource_dictionary/vsn_private_ip_1.json
@@ -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