aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions
diff options
context:
space:
mode:
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions')
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/data_types.json292
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json1055
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/vFW_CDS.json (renamed from components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/vFW_spinup.json)113
3 files changed, 1081 insertions, 379 deletions
diff --git a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/data_types.json b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/data_types.json
index b7109251e..4df92dd3e 100644
--- a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/data_types.json
+++ b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/data_types.json
@@ -1,21 +1,78 @@
{
"data_types" : {
+ "dt-config-deploy-properties" : {
+ "description" : "Dynamic DataType definition for workflow(config-deploy).",
+ "version" : "1.0.0",
+ "properties" : {
+ "vpg_onap_private_ip_0" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "vnf-id" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "service-instance-id" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "active-streams" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "put-active-streams" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ }
+ },
+ "derived_from" : "tosca.datatypes.Dynamic"
+ },
"dt-resource-assignment-properties" : {
"description" : "Dynamic DataType definition for workflow(resource-assignment).",
"version" : "1.0.0",
"properties" : {
- "nf-role" : {
+ "vf-module-name" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
- "default" : "vSN",
+ "default" : "${vf-module-name}",
"entry_schema" : {
"type" : ""
}
},
- "vm-type" : {
+ "private1-prefix-id" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -27,7 +84,27 @@
},
"vnf-id" : {
"description" : "",
- "required" : true,
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "vsn_flavor_name" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "vfw_int_private2_ip_0" : {
+ "description" : "",
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -37,17 +114,15 @@
},
"public_net_id" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
- "value" : "public_net_id",
- "default" : "public_net_id",
"entry_schema" : {
"type" : ""
}
},
- "vnf_name" : {
+ "sec_group" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -57,7 +132,7 @@
"type" : ""
}
},
- "vfw_private_ip_1" : {
+ "nfc-naming-code" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -67,27 +142,28 @@
"type" : ""
}
},
- "unprotected-prefix-id" : {
+ "vnfc-model-invariant-uuid" : {
"description" : "",
"required" : false,
- "type" : "integer",
+ "type" : "string",
"status" : "",
"constraints" : [ { } ],
"entry_schema" : {
"type" : ""
}
},
- "onap_private_subnet_id" : {
+ "vfw_name_0" : {
"description" : "",
"required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "${vfw_name_0}",
"entry_schema" : {
"type" : ""
}
},
- "vfw_private_ip_0" : {
+ "nexus_artifact_repo" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -97,9 +173,9 @@
"type" : ""
}
},
- "aic-cloud-region" : {
+ "onap_private_net_cidr" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -107,18 +183,18 @@
"type" : ""
}
},
- "sec_group" : {
+ "vpg_onap_private_ip_0" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
- "default" : "onap_sg_PUhf",
+ "default" : "vpg_onap_private_ip_0",
"entry_schema" : {
"type" : ""
}
},
- "vfw_private_ip_2" : {
+ "image_name" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -128,9 +204,9 @@
"type" : ""
}
},
- "vnfc-model-invariant-uuid" : {
+ "flavor_name" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -138,29 +214,31 @@
"type" : ""
}
},
- "nfc-naming-code" : {
+ "dcae_collector_ip" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "10.0.4.1",
"entry_schema" : {
"type" : ""
}
},
- "private-prefix-id" : {
+ "vpg_name_0" : {
"description" : "",
"required" : false,
- "type" : "integer",
+ "type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "${vpg_name_0}",
"entry_schema" : {
"type" : ""
}
},
- "vf-module-model-customization-uuid" : {
+ "vf-naming-policy" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -168,7 +246,7 @@
"type" : ""
}
},
- "vfw_name_0" : {
+ "int_private2_net_cidr" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -178,7 +256,7 @@
"type" : ""
}
},
- "vf_module_name" : {
+ "vfccustomizationuuid" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -188,21 +266,20 @@
"type" : ""
}
},
- "nexus_artifact_repo" : {
+ "vsn_name_0" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
- "value" : "nexus_artifact_repo",
- "default" : "nexus_artifact_repo",
+ "default" : "${vsn_name_0}",
"entry_schema" : {
"type" : ""
}
},
- "onap_private_net_cidr" : {
+ "onap_private_net_id" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -210,7 +287,7 @@
"type" : ""
}
},
- "image_name" : {
+ "demo_artifacts_version" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -220,9 +297,9 @@
"type" : ""
}
},
- "vf-nf-code" : {
+ "vnf-model-customization-uuid" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -230,19 +307,20 @@
"type" : ""
}
},
- "vf-module-id" : {
+ "vfw_int_private1_ip_0" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "${vfw_int_private1_ip_0}",
"entry_schema" : {
"type" : ""
}
},
- "vf-module-label" : {
+ "key_name" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -250,7 +328,7 @@
"type" : ""
}
},
- "vsn_private_ip_0" : {
+ "install_script_version" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -260,7 +338,7 @@
"type" : ""
}
},
- "vpg_name_0" : {
+ "vfw_image_name" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -270,19 +348,20 @@
"type" : ""
}
},
- "vpg_private_ip_1" : {
+ "vfw_onap_private_ip_0" : {
"description" : "",
"required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "${vfw_onap_private_ip_0}",
"entry_schema" : {
"type" : ""
}
},
- "protected_private_net_cidr" : {
+ "vnf_name" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -290,18 +369,17 @@
"type" : ""
}
},
- "vf-naming-policy" : {
+ "onap_private_subnet_id" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
- "default" : "SDNC_Policy.Config_MS_ONAP_VSN_NAMING_TIMESTAMP",
"entry_schema" : {
"type" : ""
}
},
- "vpg_private_ip_0" : {
+ "aic-cloud-region" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -311,7 +389,7 @@
"type" : ""
}
},
- "vsn_private_ip_1" : {
+ "vsn_int_private2_ip_0" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -321,9 +399,9 @@
"type" : ""
}
},
- "vfccustomizationuuid" : {
+ "vf-module-model-customization-uuid" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -331,9 +409,9 @@
"type" : ""
}
},
- "unprotected_private_net_cidr" : {
+ "vsn_image_name" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -341,7 +419,7 @@
"type" : ""
}
},
- "vsn_name_0" : {
+ "vpg_flavor_name" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -351,7 +429,58 @@
"type" : ""
}
},
- "onap_private_net_id" : {
+ "vf-module-id" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "dcae_collector_port" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "default" : "30235",
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "vf-module-label" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "vfw_int_private2_floating_ip" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "vpg_image_name" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "private2-prefix-id" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -363,7 +492,7 @@
},
"vnfc-model-version" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -373,7 +502,7 @@
},
"service-instance-id" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -381,19 +510,30 @@
"type" : ""
}
},
- "vf-module-type" : {
+ "vsn_onap_private_ip_0" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "${vsn_onap_private_ip_0}",
"entry_schema" : {
"type" : ""
}
},
- "vnf-model-customization-uuid" : {
+ "vfw_flavor_name" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "vf-module-type" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
@@ -411,7 +551,17 @@
"type" : ""
}
},
- "key_name" : {
+ "management-prefix-id" : {
+ "description" : "",
+ "required" : false,
+ "type" : "string",
+ "status" : "",
+ "constraints" : [ { } ],
+ "entry_schema" : {
+ "type" : ""
+ }
+ },
+ "int_private1_net_cidr" : {
"description" : "",
"required" : false,
"type" : "string",
@@ -421,22 +571,24 @@
"type" : ""
}
},
- "protected-prefix-id" : {
+ "vpg_int_private1_ip_0" : {
"description" : "",
"required" : false,
- "type" : "integer",
+ "type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "${vpg_int_private1_ip_0}",
"entry_schema" : {
"type" : ""
}
},
- "vnf-name" : {
+ "cloud_env" : {
"description" : "",
- "required" : true,
+ "required" : false,
"type" : "string",
"status" : "",
"constraints" : [ { } ],
+ "default" : "openstack",
"entry_schema" : {
"type" : ""
}
diff --git a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json
index a35974c83..baeafb6bb 100644
--- a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json
+++ b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/resources_definition_types.json
@@ -1,4 +1,22 @@
{
+ "active-streams" : {
+ "tags" : "active-streams",
+ "name" : "active-streams",
+ "property" : {
+ "description" : "active-streams",
+ "type" : "string"
+ },
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "sources" : {
+ "input" : {
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
+ "properties" : { }
+ }
+ }
+ },
"aic-cloud-region" : {
"tags" : "aic-cloud-region",
"name" : "aic-cloud-region",
@@ -14,6 +32,181 @@
}
}
},
+ "cloud_env" : {
+ "tags" : "cloud_env",
+ "name" : "cloud_env",
+ "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" ]
+ }
+ }
+ }
+ },
+ "dcae_collector_ip" : {
+ "tags" : "dcae_collector_ip",
+ "name" : "dcae_collector_ip",
+ "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" ]
+ }
+ }
+ }
+ },
+ "dcae_collector_port" : {
+ "tags" : "dcae_collector_port",
+ "name" : "dcae_collector_port",
+ "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" ]
+ }
+ }
+ }
+ },
+ "demo_artifacts_version" : {
+ "tags" : "demo_artifacts_version",
+ "name" : "demo_artifacts_version",
+ "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" ]
+ }
+ }
+ }
+ },
+ "flavor_name" : {
+ "tags" : "flavor_name",
+ "name" : "flavor_name",
+ "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" ]
+ }
+ }
+ }
+ },
"image_name" : {
"tags" : "image_name",
"name" : "image_name",
@@ -21,16 +214,21 @@
"description" : "image_name",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "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" : "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",
+ "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",
@@ -44,6 +242,135 @@
}
}
},
+ "install_script_version" : {
+ "tags" : "install_script_version",
+ "name" : "install_script_version",
+ "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" ]
+ }
+ }
+ }
+ },
+ "int_private1_net_cidr" : {
+ "tags" : "int_private1_net_cidr",
+ "name" : "int_private1_net_cidr",
+ "property" : {
+ "description" : "int_private1_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" : {
+ "endpoint-selector" : "dynamic-db-source",
+ "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" : {
+ "int_private1_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/int_private1_net_cidr",
+ "path" : "/param/0/value",
+ "input-key-mapping" : {
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
+ },
+ "output-key-mapping" : {
+ "int_private1_net_cidr" : "value"
+ },
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+ }
+ }
+ }
+ },
+ "int_private2_net_cidr" : {
+ "tags" : "int_private2_net_cidr",
+ "name" : "int_private2_net_cidr",
+ "property" : {
+ "description" : "int_private2_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/int_private2_net_cidr",
+ "path" : "/param/0/value",
+ "input-key-mapping" : {
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
+ },
+ "output-key-mapping" : {
+ "int_private2_net_cidr" : "value"
+ },
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+ }
+ },
+ "processor-db" : {
+ "type" : "source-db",
+ "properties" : {
+ "endpoint-selector" : "dynamic-db-source",
+ "type" : "SQL",
+ "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"private2\"",
+ "input-key-mapping" : { },
+ "output-key-mapping" : {
+ "int_private2_net_cidr" : "prefix"
+ }
+ }
+ }
+ }
+ },
"key_name" : {
"tags" : "key_name",
"name" : "key_name",
@@ -51,16 +378,21 @@
"description" : "key_name",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "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" : "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",
+ "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",
@@ -74,11 +406,11 @@
}
}
},
- "nexus_artifact_repo" : {
- "tags" : "nexus_artifact_repo",
- "name" : "nexus_artifact_repo",
+ "management-prefix-id" : {
+ "tags" : "management-prefix-id",
+ "name" : "management-prefix-id",
"property" : {
- "description" : "nexus_artifact_repo",
+ "description" : "management-prefix-id",
"type" : "string"
},
"updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
@@ -93,46 +425,65 @@
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/nexus_artifact_repo",
+ "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" : {
- "nexus_artifact_repo" : "value"
+ "management-prefix-id" : "value"
},
"key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
+ },
+ "processor-db" : {
+ "type" : "source-db",
+ "properties" : {
+ "endpoint-selector" : "dynamic-db-source",
+ "type" : "SQL",
+ "query" : "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"management\"",
+ "input-key-mapping" : { },
+ "output-key-mapping" : {
+ "management-prefix-id" : "prefix_id"
+ }
+ }
}
}
},
- "nf-role" : {
- "tags" : "nf-role",
- "name" : "nf-role",
+ "nexus_artifact_repo" : {
+ "tags" : "nexus_artifact_repo",
+ "name" : "nexus_artifact_repo",
"property" : {
- "description" : "vnf/nf-role",
+ "description" : "nexus_artifact_repo",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
+ "input" : {
+ "type" : "source-input"
+ },
"default" : {
"type" : "source-default",
"properties" : { }
},
- "processor-db" : {
- "type" : "source-db",
+ "sdnc" : {
+ "type" : "source-rest",
"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",
+ "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" : {
- "vnfmodelcustomizationuuid" : "vnf-model-customization-uuid"
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "nf-role" : "vf_model_role"
+ "nexus_artifact_repo" : "value"
},
- "key-dependencies" : [ "vnf-model-customization-uuid" ]
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
}
}
@@ -156,7 +507,6 @@
"processor-db" : {
"type" : "source-db",
"properties" : {
- "endpoint-selector" : "dynamic-db-source",
"type" : "SQL",
"query" : "select nfc_naming_code as nfc_naming_code from sdnctl.VFC_MODEL where customization_uuid=:vfccustomizationuuid",
"input-key-mapping" : {
@@ -165,7 +515,8 @@
"output-key-mapping" : {
"nfc-naming-code" : "nfc_naming_code"
},
- "key-dependencies" : [ "vfccustomizationuuid" ]
+ "key-dependencies" : [ "vfccustomizationuuid" ],
+ "endpoint-selector" : "dynamic-db-source"
}
}
}
@@ -186,11 +537,24 @@
"type" : "source-default",
"properties" : { }
},
+ "processor-db" : {
+ "type" : "source-db",
+ "properties" : {
+ "endpoint-selector" : "dynamic-db-source",
+ "type" : "SQL",
+ "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"management\"",
+ "input-key-mapping" : { },
+ "output-key-mapping" : {
+ "onap_private_net_cidr" : "prefix"
+ }
+ }
+ },
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/onap_private_net_cidr",
+ "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",
@@ -201,18 +565,6 @@
},
"key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
- },
- "processor-db" : {
- "type" : "source-db",
- "properties" : {
- "endpoint-selector" : "dynamic-db-source",
- "type" : "SQL",
- "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"management\"",
- "input-key-mapping" : { },
- "output-key-mapping" : {
- "onap_private_net_cidr" : "prefix"
- }
- }
}
}
},
@@ -235,8 +587,9 @@
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/onap_private_net_id",
+ "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",
@@ -269,8 +622,9 @@
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/onap_private_subnet_id",
+ "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",
@@ -284,11 +638,11 @@
}
}
},
- "private-prefix-id" : {
- "tags" : "private-prefix-id",
- "name" : "private-prefix-id",
+ "private1-prefix-id" : {
+ "tags" : "private1-prefix-id",
+ "name" : "private1-prefix-id",
"property" : {
- "description" : "private-prefix-id",
+ "description" : "private1-prefix-id",
"type" : "string"
},
"updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
@@ -300,57 +654,79 @@
"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" : {
"endpoint-selector" : "dynamic-db-source",
"type" : "SQL",
- "query" : "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"private\"",
+ "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" : {
- "private-prefix-id" : "prefix_id"
+ "private1-prefix-id" : "prefix_id"
}
}
}
}
},
- "protected-prefix-id" : {
- "tags" : "protected-prefix-id",
- "name" : "protected-prefix-id",
+ "private2-prefix-id" : {
+ "tags" : "private2-prefix-id",
+ "name" : "private2-prefix-id",
"property" : {
- "description" : "protected-prefix-id",
+ "description" : "private2-prefix-id",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
- "processor-db" : {
- "type" : "source-db",
+ "input" : {
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
+ "properties" : { }
+ },
+ "sdnc" : {
+ "type" : "source-rest",
"properties" : {
- "type" : "SQL",
- "query" : "select sdnctl.IPAM_IP_POOL.prefix_id as prefix_id from sdnctl.IPAM_IP_POOL where description = \"protected\"",
+ "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" : {
- "protected-prefix-id" : "prefix_id"
- }
+ "private2-prefix-id" : "value"
+ },
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
- }
- }
- },
- "protected_private_net_cidr" : {
- "tags" : "protected_private_net_cidr",
- "name" : "protected_private_net_cidr",
- "property" : {
- "description" : "protected_private_net_cidr",
- "type" : "string"
- },
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
- "sources" : {
+ },
"processor-db" : {
"type" : "source-db",
"properties" : {
+ "endpoint-selector" : "dynamic-db-source",
"type" : "SQL",
- "query" : "select sdnctl.IPAM_IP_POOL.prefix as prefix from sdnctl.IPAM_IP_POOL where description = \"protected\"",
+ "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" : {
- "protected_private_net_cidr" : "prefix"
+ "private2-prefix-id" : "prefix_id"
}
}
}
@@ -375,8 +751,9 @@
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/pub_key",
+ "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",
@@ -409,8 +786,9 @@
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/public_net_id",
+ "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",
@@ -424,6 +802,41 @@
}
}
},
+ "put-active-streams" : {
+ "tags" : "put-active-streams",
+ "name" : "put-active-streams",
+ "property" : {
+ "description" : "put-active-streams",
+ "type" : "string"
+ },
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "sources" : {
+ "sdnc" : {
+ "type" : "source-rest",
+ "properties" : {
+ "verb" : "PUT",
+ "type" : "JSON",
+ "url-path" : "$vpg_onap_private_ip_0:8183/restconf/config/stream-count:stream-count/streams",
+ "path" : "/param/0/value",
+ "input-key-mapping" : {
+ "vpg_onap_private_ip_0" : "vpg_onap_private_ip_0",
+ "active-streams" : "active-streams"
+ },
+ "output-key-mapping" : { },
+ "key-dependencies" : [ "vpg_onap_private_ip_0", "active-streams" ],
+ "endpoint-selector" : "vpkg-rest-api",
+ "payload" : "{\"streams\": {\"active-streams\": $active-streams}}"
+ }
+ },
+ "input" : {
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
+ "properties" : { }
+ }
+ }
+ },
"sec_group" : {
"tags" : "sec_group",
"name" : "sec_group",
@@ -443,8 +856,9 @@
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/sec_group",
+ "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",
@@ -501,48 +915,6 @@
}
}
},
- "unprotected-prefix-id" : {
- "tags" : "unprotected-prefix-id",
- "name" : "unprotected-prefix-id",
- "property" : {
- "description" : "unprotected-prefix-id",
- "type" : "string"
- },
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
- "sources" : {
- "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 = \"unprotected\"",
- "output-key-mapping" : {
- "unprotected-prefix-id" : "prefix_id"
- }
- }
- }
- }
- },
- "unprotected_private_net_cidr" : {
- "tags" : "unprotected_private_net_cidr",
- "name" : "unprotected_private_net_cidr",
- "property" : {
- "description" : "unprotected_private_net_cidr",
- "type" : "string"
- },
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
- "sources" : {
- "processor-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"
- }
- }
- }
- }
- },
"vf-module-id" : {
"tags" : "vf-module-id",
"name" : "vf-module-id",
@@ -585,7 +957,8 @@
"output-key-mapping" : {
"vf-module-label" : "vf_module_label"
},
- "key-dependencies" : [ "vf-module-model-customization-uuid" ]
+ "key-dependencies" : [ "vf-module-model-customization-uuid" ],
+ "endpoint-selector" : "dynamic-db-source"
}
}
}
@@ -608,6 +981,24 @@
}
}
},
+ "vf-module-name" : {
+ "tags" : "vf-module-name",
+ "name" : "vf-module-name",
+ "property" : {
+ "description" : "vf-module-name",
+ "type" : "string"
+ },
+ "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "sources" : {
+ "input" : {
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
+ "properties" : { }
+ }
+ }
+ },
"vf-module-type" : {
"tags" : "vf-module-type",
"name" : "vf-module-type",
@@ -615,20 +1006,28 @@
"description" : "vf-module-type",
"type" : "string"
},
- "updated-by" : "adetalhouet",
+ "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.demo.value as value from sdnctl.demo where sdnctl.demo.id=:vfmoduleid",
- "input-key-mapping" : {
- "vfmoduleid" : "vf-module-number"
- },
+ "query" : "select vf_module_type as vf_module_type from sdnctl.VF_MODULE_MODEL where customization_uuid=:customizationid",
"output-key-mapping" : {
- "vf-module-type" : "value"
+ "vf-module-type" : "vf_module_type"
+ },
+ "endpoint-selector" : "dynamic-db-source",
+ "input-key-mapping" : {
+ "customizationid" : "vf-module-model-customization-uuid"
},
- "key-dependencies" : [ "vf-module-number" ]
+ "key-dependencies" : [ "vf-module-model-customization-uuid" ]
}
}
}
@@ -640,68 +1039,46 @@
"description" : "vf-naming-policy",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
"default" : {
"type" : "source-default",
"properties" : { }
},
- "processor-db" : {
- "type" : "source-db",
+ "sdnc" : {
+ "type" : "source-rest",
"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",
+ "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" : {
- "vnf_model_customization_uuid" : "vnf-model-customization-uuid"
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "vf-naming-policy" : "vf_naming_policy"
+ "vf-naming-policy" : "value"
},
- "key-dependencies" : [ "vnf-model-customization-uuid" ]
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
- }
- }
- },
- "vf-nf-code" : {
- "tags" : "vf-nf-code",
- "name" : "vf-nf-code",
- "property" : {
- "description" : "vf-nf-code",
- "type" : "string"
- },
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
- "sources" : {
+ },
"processor-db" : {
"type" : "source-db",
"properties" : {
+ "endpoint-selector" : "dynamic-db-source",
"type" : "SQL",
- "query" : "select sdnctl.VF_MODEL.nf_code as vf_nf_code from sdnctl.VF_MODEL where sdnctl.VF_MODEL.customization_uuid=:customizationid",
+ "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" : {
- "customizationid" : "vnf-model-customization-uuid"
+ "vnf_model_customization_uuid" : "vnf-model-customization-uuid"
},
"output-key-mapping" : {
- "vf-nf-code" : "vf_nf_code"
+ "vf-naming-policy" : "vf_naming_policy"
},
"key-dependencies" : [ "vnf-model-customization-uuid" ]
}
}
}
},
- "vf_module_name" : {
- "tags" : "vf_module_name",
- "name" : "vf_module_name",
- "property" : {
- "description" : "vf_module_name",
- "type" : "string"
- },
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
- "sources" : {
- "input" : {
- "type" : "source-input",
- "properties" : { }
- }
- }
- },
"vfccustomizationuuid" : {
"tags" : "vfccustomizationuuid",
"name" : "vfccustomizationuuid",
@@ -735,104 +1112,151 @@
}
}
},
- "vfw_name_0" : {
- "tags" : "vfw_name_0",
- "name" : "vfw_name_0",
+ "vfw_int_private1_ip_0" : {
+ "tags" : "vfw_int_private1_ip_0",
+ "name" : "vfw_int_private1_ip_0",
"property" : {
- "description" : "vfw_name_0",
+ "description" : "vfw_int_private1_ip_0",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
"input" : {
- "type" : "source-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/vfw_int_private1_ip_0",
+ "path" : "/param/0/value",
+ "input-key-mapping" : {
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
+ },
+ "output-key-mapping" : {
+ "vfw_int_private1_ip_0" : "value"
+ },
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+ }
}
}
},
- "vfw_private_ip_0" : {
- "tags" : "vfw_private_ip_0",
- "name" : "vfw_private_ip_0",
+ "vfw_int_private2_floating_ip" : {
+ "tags" : "vfw_int_private2_floating_ip",
+ "name" : "vfw_int_private2_floating_ip",
"property" : {
- "description" : "vfw_private_ip_0",
+ "description" : "vfw_int_private2_floating_ip",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
"input" : {
- "type" : "source-input",
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
"properties" : { }
},
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/vfw_private_ip_0",
+ "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/vfw_int_private2_floating_ip",
"path" : "/param/0/value",
- "expression-type" : "JSON_POINTER",
"input-key-mapping" : {
"service-instance-id" : "service-instance-id",
"vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "vfw_private_ip_0" : "value"
+ "vfw_int_private2_floating_ip" : "value"
},
"key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
}
}
},
- "vfw_private_ip_1" : {
- "tags" : "vfw_private_ip_1",
- "name" : "vfw_private_ip_1",
+ "vfw_int_private2_ip_0" : {
+ "tags" : "vfw_int_private2_ip_0",
+ "name" : "vfw_int_private2_ip_0",
"property" : {
- "description" : "vfw_private_ip_1",
+ "description" : "vfw_int_private2_ip_0",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
"input" : {
- "type" : "source-input",
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
"properties" : { }
},
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/vfw_private_ip_1",
+ "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/vfw_int_private2_ip_0",
"path" : "/param/0/value",
- "expression-type" : "JSON_POINTER",
"input-key-mapping" : {
"service-instance-id" : "service-instance-id",
"vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "vfw_private_ip_1" : "value"
+ "vfw_int_private2_ip_0" : "value"
},
"key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
}
}
},
- "vfw_private_ip_2" : {
- "tags" : "vfw_private_ip_2",
- "name" : "vfw_private_ip_2",
+ "vfw_name_0" : {
+ "tags" : "vfw_name_0",
+ "name" : "vfw_name_0",
"property" : {
- "description" : "vfw_private_ip_2",
+ "description" : "vfw_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/vfw_name_0",
+ "path" : "/param/0/value",
+ "input-key-mapping" : {
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
+ },
+ "output-key-mapping" : {
+ "vfw_name_0" : "value"
+ },
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+ }
}
}
},
- "vm-type" : {
- "tags" : "vm-type",
- "name" : "vm-type",
+ "vfw_onap_private_ip_0" : {
+ "tags" : "vfw_onap_private_ip_0",
+ "name" : "vfw_onap_private_ip_0",
"property" : {
- "description" : "vm-type",
+ "description" : "vfw_onap_private_ip_0",
"type" : "string"
},
"updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
@@ -844,19 +1268,21 @@
"type" : "source-default",
"properties" : { }
},
- "processor-db" : {
- "type" : "source-db",
+ "sdnc" : {
+ "type" : "source-rest",
"properties" : {
- "endpoint-selector" : "dynamic-db-source",
- "type" : "SQL",
- "query" : "select VFC_MODEL.vm_type as vm_type from VFC_MODEL where customization_uuid=:vfccustomizationuuid",
+ "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/vfw_onap_private_ip_0",
+ "path" : "/param/0/value",
"input-key-mapping" : {
- "vfccustomizationuuid" : "vfccustomizationuuid"
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "vm-type" : "vm_type"
+ "vfw_onap_private_ip_0" : "value"
},
- "key-dependencies" : [ "vfccustomizationuuid" ]
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
}
}
@@ -894,11 +1320,11 @@
}
}
},
- "vnf-name" : {
- "tags" : "vnf-name",
- "name" : "vnf-name",
+ "vnf_name" : {
+ "tags" : "vnf_name",
+ "name" : "vnf_name",
"property" : {
- "description" : "vnf-name",
+ "description" : "vnf_name",
"type" : "string"
},
"updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
@@ -913,15 +1339,16 @@
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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",
+ "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",
"input-key-mapping" : {
"service-instance-id" : "service-instance-id",
"vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "vnf-name" : "value"
+ "vnf_name" : "value"
},
"key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
@@ -944,41 +1371,6 @@
}
}
},
- "vnf_name" : {
- "tags" : "vnf_name",
- "name" : "vnf_name",
- "property" : {
- "description" : "vnf_name",
- "type" : "string"
- },
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
- "sources" : {
- "default" : {
- "type" : "source-default",
- "properties" : { }
- },
- "input" : {
- "type" : "source-input",
- "properties" : { }
- },
- "sdnc" : {
- "type" : "source-rest",
- "properties" : {
- "type" : "JSON",
- "url-path" : "config/GENERIC-RESOURCE-API:services/service/$service-instance-id/service-data/vnfs/vnf/$vnf-id/vnf-data/vnf-topology/vnf-parameters-data/param/vnf_name",
- "path" : "/param/0/value",
- "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" ]
- }
- }
- }
- },
"vnfc-model-invariant-uuid" : {
"tags" : "vnfc-model-invariant-uuid",
"name" : "vnfc-model-invariant-uuid",
@@ -998,15 +1390,15 @@
"processor-db" : {
"type" : "source-db",
"properties" : {
- "endpoint-selector" : "dynamic-db-source",
"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"
},
+ "endpoint-selector" : "dynamic-db-source",
+ "input-key-mapping" : {
+ "vfccustomizationuuid" : "vfccustomizationuuid"
+ },
"key-dependencies" : [ "vfccustomizationuuid" ]
}
}
@@ -1031,140 +1423,227 @@
"processor-db" : {
"type" : "source-db",
"properties" : {
- "endpoint-selector" : "dynamic-db-source",
"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"
},
+ "endpoint-selector" : "dynamic-db-source",
+ "input-key-mapping" : {
+ "vfccustomizationuuid" : "vfccustomizationuuid"
+ },
"key-dependencies" : [ "vfccustomizationuuid" ]
}
}
}
},
- "vpg_name_0" : {
- "tags" : "vpg_name_0",
- "name" : "vpg_name_0",
+ "vpg_int_private1_ip_0" : {
+ "tags" : "vpg_int_private1_ip_0",
+ "name" : "vpg_int_private1_ip_0",
"property" : {
- "description" : "vpg_name_0",
+ "description" : "vpg_int_private1_ip_0",
"type" : "string"
},
"updated-by" : "Singal, Kapil <ks220y@att.com>",
"sources" : {
"input" : {
- "type" : "source-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" ]
+ }
}
}
},
- "vpg_private_ip_0" : {
- "tags" : "vpg_private_ip_0",
- "name" : "vpg_private_ip_0",
+ "vpg_name_0" : {
+ "tags" : "vpg_name_0",
+ "name" : "vpg_name_0",
"property" : {
- "description" : "vpg_private_ip_0",
+ "description" : "vlb_name_0",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
"input" : {
- "type" : "source-input",
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
"properties" : { }
},
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/vpg_private_ip_0",
+ "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",
- "expression-type" : "JSON_POINTER",
"input-key-mapping" : {
"service-instance-id" : "service-instance-id",
"vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "vpg_private_ip_0" : "value"
+ "vpg_name_0" : "value"
},
"key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
}
}
},
- "vpg_private_ip_1" : {
- "tags" : "vpg_private_ip_1",
- "name" : "vpg_private_ip_1",
+ "vpg_onap_private_ip_0" : {
+ "tags" : "vpg_onap_private_ip_0",
+ "name" : "vpg_onap_private_ip_0",
"property" : {
- "description" : "vpg_private_ip_1",
+ "description" : "vpg_onap_private_ip_0",
"type" : "string"
},
"updated-by" : "Singal, Kapil <ks220y@att.com>",
"sources" : {
"input" : {
- "type" : "source-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" ]
+ }
}
}
},
- "vsn_name_0" : {
- "tags" : "vsn_name_0",
- "name" : "vsn_name_0",
+ "vsn_int_private2_ip_0" : {
+ "tags" : "vsn_int_private2_ip_0",
+ "name" : "vsn_int_private2_ip_0",
"property" : {
- "description" : "vsn_name_0",
+ "description" : "vsn_int_private2_ip_0",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "updated-by" : "MALAKOV, YURIY <yuriy.malakov@att.com>",
"sources" : {
"input" : {
- "type" : "source-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/vsn_int_private2_ip_0",
+ "path" : "/param/0/value",
+ "input-key-mapping" : {
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
+ },
+ "output-key-mapping" : {
+ "vsn_int_private2_ip_0" : "value"
+ },
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+ }
}
}
},
- "vsn_private_ip_0" : {
- "tags" : "vsn_private_ip_0",
- "name" : "vsn_private_ip_0",
+ "vsn_name_0" : {
+ "tags" : "vsn_name_0",
+ "name" : "vsn_name_0",
"property" : {
- "description" : "vsn_private_ip_0",
+ "description" : "vsn_name_0",
"type" : "string"
},
"updated-by" : "Singal, Kapil <ks220y@att.com>",
"sources" : {
"input" : {
- "type" : "source-input",
+ "type" : "source-input"
+ },
+ "default" : {
+ "type" : "source-default",
"properties" : { }
},
"sdnc" : {
"type" : "source-rest",
"properties" : {
+ "verb" : "GET",
"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/vsn_private_ip_0",
+ "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/vsn_name_0",
"path" : "/param/0/value",
- "expression-type" : "JSON_POINTER",
"input-key-mapping" : {
"service-instance-id" : "service-instance-id",
"vnf-id" : "vnf-id"
},
"output-key-mapping" : {
- "vsn_private_ip_0" : "value"
+ "vsn_name_0" : "value"
},
"key-dependencies" : [ "service-instance-id", "vnf-id" ]
}
}
}
},
- "vsn_private_ip_1" : {
- "tags" : "vsn_private_ip_1",
- "name" : "vsn_private_ip_1",
+ "vsn_onap_private_ip_0" : {
+ "tags" : "vsn_onap_private_ip_0",
+ "name" : "vsn_onap_private_ip_0",
"property" : {
- "description" : "vsn_private_ip_1",
+ "description" : "vsn_onap_private_ip_0",
"type" : "string"
},
- "updated-by" : "Singal, Kapil <ks220y@att.com>",
+ "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/vsn_onap_private_ip_0",
+ "path" : "/param/0/value",
+ "input-key-mapping" : {
+ "service-instance-id" : "service-instance-id",
+ "vnf-id" : "vnf-id"
+ },
+ "output-key-mapping" : {
+ "vsn_onap_private_ip_0" : "value"
+ },
+ "key-dependencies" : [ "service-instance-id", "vnf-id" ]
+ }
}
}
}
diff --git a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/vFW_spinup.json b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/vFW_CDS.json
index 9ff4f3a1f..5b1af84cd 100644
--- a/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/vFW_spinup.json
+++ b/components/model-catalog/blueprint-model/service-blueprint/vFW/Definitions/vFW_CDS.json
@@ -1,12 +1,12 @@
{
"tosca_definitions_version" : "controller_blueprint_1_0_0",
"metadata" : {
- "template_author" : "Alexis de Talhouƫt",
- "author-email" : "adetalhouet89@gmail.com",
+ "template_author" : "Abdelmuhaimen Seaudi",
+ "author-email" : "abdelmuhaimen.seaudi@orange.com",
"user-groups" : "ADMIN, OPERATION",
- "template_name" : "vFW_spinup",
+ "template_name" : "vFW_CDS",
"template_version" : "1.0.0",
- "template_tags" : "vFW"
+ "template_tags" : "vFW-CDS, vfw-CDS, SCALE-OUT, MACRO"
},
"imports" : [ {
"file" : "Definitions/data_types.json"
@@ -19,6 +19,30 @@
}, {
"file" : "Definitions/policy_types.json"
} ],
+ "dsl_definitions" : {
+ "ipam-1" : {
+ "type" : "token-auth",
+ "url" : "http://netbox-nginx:8080",
+ "token" : "Token 0123456789abcdef0123456789abcdef01234567"
+ },
+ "vpkg-rest-api" : {
+ "type" : "basic-auth",
+ "url" : "http://",
+ "username" : "admin",
+ "password" : "admin"
+ },
+ "config-deploy-properties" : {
+ "resolution-key" : {
+ "get_input" : "resolution-key"
+ }
+ },
+ "dynamic-db-source" : {
+ "type" : "maria-db",
+ "url" : "jdbc:mysql://mariadb-galera:3306/sdnctl",
+ "username" : "root",
+ "password" : "secretpassword"
+ }
+ },
"topology_template" : {
"workflows" : {
"resource-assignment" : {
@@ -50,6 +74,29 @@
}
}
}
+ },
+ "config-deploy" : {
+ "steps" : {
+ "config-deploy" : {
+ "description" : "Config Deploy Workflow",
+ "target" : "config-deploy-process"
+ }
+ },
+ "inputs" : {
+ "config-deploy-properties" : {
+ "description" : "Dynamic PropertyDefinition for workflow(config-deploy).",
+ "required" : true,
+ "type" : "dt-config-deploy-properties"
+ }
+ },
+ "outputs" : {
+ "dry-run" : {
+ "type" : "json",
+ "value" : {
+ "get_attribute" : [ "config-deploy-process", "assignment-params" ]
+ }
+ }
+ }
}
},
"node_templates" : {
@@ -61,7 +108,7 @@
"process" : {
"inputs" : {
"artifact-prefix-names" : {
- "get_input" : "artifact-name"
+ "get_input" : "template-prefix"
}
}
}
@@ -69,37 +116,37 @@
}
},
"artifacts" : {
- "base-template" : {
+ "base_template-template" : {
"type" : "artifact-template-velocity",
- "file" : "Templates/base-template.vtl"
+ "file" : "Templates/base_template-template.vtl"
},
- "base-mapping" : {
+ "base_template-mapping" : {
"type" : "artifact-mapping-resource",
- "file" : "Templates/base-mapping.json"
+ "file" : "Templates/base_template-mapping.json"
},
- "vfw-template" : {
+ "vpkg-template" : {
"type" : "artifact-template-velocity",
- "file" : "Templates/vfw-template.vtl"
+ "file" : "Templates/vpkg-template.vtl"
},
- "vfw-mapping" : {
+ "vpkg-mapping" : {
"type" : "artifact-mapping-resource",
- "file" : "Templates/vfw-mapping.json"
+ "file" : "Templates/vpkg-mapping.json"
},
- "vfw-vnf-template" : {
+ "vfw-template" : {
"type" : "artifact-template-velocity",
- "file" : "Templates/vfw-vnf-template.vtl"
+ "file" : "Templates/vfw-template.vtl"
},
- "vfw-vnf-mapping" : {
+ "vfw-mapping" : {
"type" : "artifact-mapping-resource",
- "file" : "Templates/vfw-vnf-mapping.json"
+ "file" : "Templates/vfw-mapping.json"
},
- "vpg-template" : {
+ "vnf-template" : {
"type" : "artifact-template-velocity",
- "file" : "Templates/vpg-template.vtl"
+ "file" : "Templates/vnf-template.vtl"
},
- "vpg-mapping" : {
+ "vnf-mapping" : {
"type" : "artifact-mapping-resource",
- "file" : "Templates/vpg-mapping.json"
+ "file" : "Templates/vnf-mapping.json"
},
"vsn-template" : {
"type" : "artifact-template-velocity",
@@ -110,6 +157,30 @@
"file" : "Templates/vsn-mapping.json"
}
}
+ },
+ "config-deploy-process" : {
+ "type" : "component-resource-resolution",
+ "interfaces" : {
+ "ResourceResolutionComponent" : {
+ "operations" : {
+ "process" : {
+ "inputs" : {
+ "artifact-prefix-names" : [ "nf-params" ]
+ }
+ }
+ }
+ }
+ },
+ "artifacts" : {
+ "nf-params-template" : {
+ "type" : "artifact-template-velocity",
+ "file" : "Templates/nf-params-template.vtl"
+ },
+ "nf-params-mapping" : {
+ "type" : "artifact-mapping-resource",
+ "file" : "Templates/nf-params-mapping.json"
+ }
+ }
}
}
}