summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/service-blueprint/vFW/Templates/base-template.vtl
diff options
context:
space:
mode:
Diffstat (limited to 'components/model-catalog/blueprint-model/service-blueprint/vFW/Templates/base-template.vtl')
-rw-r--r--components/model-catalog/blueprint-model/service-blueprint/vFW/Templates/base-template.vtl77
1 files changed, 77 insertions, 0 deletions
diff --git a/components/model-catalog/blueprint-model/service-blueprint/vFW/Templates/base-template.vtl b/components/model-catalog/blueprint-model/service-blueprint/vFW/Templates/base-template.vtl
new file mode 100644
index 000000000..271c50738
--- /dev/null
+++ b/components/model-catalog/blueprint-model/service-blueprint/vFW/Templates/base-template.vtl
@@ -0,0 +1,77 @@
+{
+ "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": "unprotected_private_net_id",
+ "param-value": "${vnf-name}_unprotected"
+ },
+ {
+ "param-name": "unprotected_private_subnet_id",
+ "param-value": "${vnf-name}_unprotected_sub"
+ },
+ {
+ "param-name": "unprotected_private_net_cidr",
+ "param-value": "${unprotected_private_net_cidr}"
+ },
+ {
+ "param-name": "protected_private_net_id",
+ "param-value": "${vnf-name}_protected"
+ },
+ {
+ "param-name": "protected_private_subnet_id",
+ "param-value": "${vnf-name}_protected_sub"
+ },
+ {
+ "param-name": "protected_private_net_cidr",
+ "param-value": "${protected_private_net_cidr}"
+ },
+ {
+ "param-name": "vf_module_name",
+ "param-value": "${vnf-name}_base"
+ }
+ ],
+ "capability-data": [
+ {
+ "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