summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/vLB_CDS_Kotlin/Templates/base_template-template.vtl
diff options
context:
space:
mode:
authorBrinda Santh Muthuramalingam <brindasanth@in.ibm.com>2019-10-31 19:46:05 +0000
committerGerrit Code Review <gerrit@onap.org>2019-10-31 19:46:05 +0000
commitfecb2a6da364eb94926aaacf136991e4e17b9bb6 (patch)
tree266c5e66859c8478c22f2c7ea1bf755f4d5da20f /components/model-catalog/blueprint-model/service-blueprint/vLB_CDS_Kotlin/Templates/base_template-template.vtl
parent81904a70bdf2a2b0434b99002429b4749b6cd6b5 (diff)
parentb2975ab0e2ea8cba7f1bb0bac9871e66eed919ae (diff)
Merge "Update vLB CDS Kotlin Package"
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/vLB_CDS_Kotlin/Templates/base_template-template.vtl')
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/vLB_CDS_Kotlin/Templates/base_template-template.vtl144
1 files changed, 144 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/service-blueprint/vLB_CDS_Kotlin/Templates/base_template-template.vtl b/components/model-catalog/blueprint-model/service-blueprint/vLB_CDS_Kotlin/Templates/base_template-template.vtl
new file mode 100644
index 000000000..8e6f5ce26
--- /dev/null
+++ b/components/model-catalog/blueprint-model/service-blueprint/vLB_CDS_Kotlin/Templates/base_template-template.vtl
@@ -0,0 +1,144 @@
+{
+ "resource-accumulator-resolved-data": [
+ {
+ "param-name": "service-instance-id",
+ "param-value": "${service-instance-id}"
+ },
+ {
+ "param-name": "vnf_id",
+ "param-value": "${vnf-id}"
+ },
+ {
+ "param-name": "vnf_name",
+ "param-value": "${vnf_name}"
+ },
+ {
+ "param-name": "vnf_model_customization_uuid",
+ "param-value": "${vnf-model-customization-uuid}"
+ },
+ {
+ "param-name": "vf_module_id",
+ "param-value": "${vf-module-id}"
+ },
+ {
+ "param-name": "vf_module_type",
+ "param-value": "${vf-module-type}"
+ },
+ {
+ "param-name": "vlb_private_net_id",
+ "param-value": "private1"
+ },
+ {
+ "param-name": "pktgen_private_net_id",
+ "param-value": "private2"
+ },
+ {
+ "param-name": "vlb_private_net_cidr",
+ "param-value": "${vlb_private_net_cidr}"
+ },
+ {
+ "param-name": "vlb_0_int_pktgen_private_port_0_mac",
+ "param-value": "fa:16:3e:00:00:10"
+ },
+ {
+ "param-name": "vpg_0_int_pktgen_private_port_0_mac",
+ "param-value": "fa:16:3e:00:00:20"
+ },
+ {
+ "param-name": "pktgen_private_net_cidr",
+ "param-value": "${pktgen_private_net_cidr}"
+ },
+ {
+ "param-name": "int_pktgen_private_net_id",
+ "param-value": "${vnf_name}_private2"
+ },
+ {
+ "param-name": "int_pktgen_private_subnet_id",
+ "param-value": "${vnf_name}_private2_subnet"
+ },
+ {
+ "param-name": "int_private_net_id",
+ "param-value": "${vnf_name}_private1"
+ },
+ {
+ "param-name": "int_private_subnet_id",
+ "param-value": "${vnf_name}_private1_subnet"
+ },
+ {
+ "param-name": "key_name",
+ "param-value": "${key_name}"
+ },
+ {
+ "param-name": "pub_key",
+ "param-value": "${pub_key}"
+ }
+ ],
+ "capability-data": [
+ {
+ "capability-name": "generate-name",
+ "key-mapping": [
+ {
+ "payload": [
+ {
+ "param-name": "resource-name",
+ "param-value": "vf-module-name"
+ },
+ {
+ "param-name": "resource-value",
+ "param-value": "${vf-module-name}"
+ },
+ {
+ "param-name": "external-key",
+ "param-value": "${vf-module-id}_vf-module-name"
+ },
+ {
+ "param-name": "policy-instance-name",
+ "param-value": "${vf-naming-policy}"
+ },
+ {
+ "param-name": "naming-type",
+ "param-value": "VF-MODULE"
+ },
+ {
+ "param-name": "VNF_NAME",
+ "param-value": "${vnf_name}"
+ },
+ {
+ "param-name": "VF_MODULE_LABEL",
+ "param-value": "${vf-module-label}"
+ },
+ {
+ "param-name": "VF_MODULE_TYPE",
+ "param-value": "${vf-module-type}"
+ }
+ ],
+ "output-key-mapping": [
+ {
+ "resource-name": "vf-module-name",
+ "resource-value": "${vf-module-name}"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "capability-name": "aai-vf-module-put",
+ "key-mapping": [
+ {
+ "payload": [
+ {
+ "param-name": "vf-module",
+ "param-value": "vf-module"
+ }
+ ],
+ "output-key-mapping": [
+ {
+ "resource-name": "aai-vf-module-put",
+ "resource-value": "${status}"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+} \ No newline at end of file