Add preload templates
[integration.git] / test / vcpe / preload_templates / template.vcpe_vgw_vfmodule.json
diff --git a/test/vcpe/preload_templates/template.vcpe_vgw_vfmodule.json b/test/vcpe/preload_templates/template.vcpe_vgw_vfmodule.json
new file mode 100644 (file)
index 0000000..8b33482
--- /dev/null
@@ -0,0 +1,121 @@
+{
+   "VNF-API:input": {
+     "VNF-API:request-information": {
+       "VNF-API:request-id": "robot12",
+       "VNF-API:notification-url": "https://so.onap.org",
+       "VNF-API:order-number": "robot12",
+       "VNF-API:request-sub-action": "SUPP",
+       "VNF-API:request-action": "PreloadVNFRequest",
+       "VNF-API:source": "VID",
+       "VNF-API:order-version": "1.0"
+     },
+     "VNF-API:sdnc-request-header": {
+       "VNF-API:svc-action": "reserve",
+       "VNF-API:svc-notification-url": "https://son.onap.org",
+       "VNF-API:svc-request-id": "robot12"
+     },
+     "VNF-API:vnf-topology-information": {
+             "vnf-topology-identifier": {
+               "service-type": "VGW-SERVICE-TYPE",
+               "vnf-type": "VGW-VNF-TYPE",
+               "generic-vnf-name": "GENERIC-VGW-VNF-NAME0",
+               "generic-vnf-type": "GENERIC-VGW-VNF-TYPE",
+               "vnf-name": "VGW2BRG-${brg_mac}"
+       },
+       "VNF-API:vnf-parameters": [
+
+               {
+               "vnf-parameter-name": "public_net_id",
+               "vnf-parameter-value": "${public_net_id}"
+               },
+               {
+               "vnf-parameter-name": "mux_gw_private_net_id",
+               "vnf-parameter-value": "${mux_gw_net}"
+               },
+               {
+               "vnf-parameter-name": "mux_gw_private_subnet_id",
+               "vnf-parameter-value": "${mux_gw_subnet}"
+               },
+               {
+               "vnf-parameter-name": "mux_gw_private_net_cidr",
+               "vnf-parameter-value": "10.5.0.0/24"
+               },
+               {
+               "vnf-parameter-name": "cpe_public_net_id",
+               "vnf-parameter-value": "${cpe_public_net}"
+               },
+               {
+               "vnf-parameter-name": "cpe_public_subnet_id",
+               "vnf-parameter-value": "${cpe_public_subnet}"
+               },
+               {
+               "vnf-parameter-name": "cpe_public_net_cidr",
+               "vnf-parameter-value": "10.2.0.0/24"
+               },
+               {
+               "vnf-parameter-name": "vgw_private_ip_0",
+               "vnf-parameter-value": "10.5.0.22"
+               },
+               {
+               "vnf-parameter-name": "vgw_private_ip_1",
+               "vnf-parameter-value": "10.0.101.30"
+               },
+               {
+               "vnf-parameter-name": "vgw_name_0",
+               "vnf-parameter-value": "zdcpe1cpe01gw01_${suffix}"
+               },
+               {
+               "vnf-parameter-name": "mux_ip_addr",
+               "vnf-parameter-value": "10.5.0.21"
+               },
+               {
+               "vnf-parameter-name": "vg_vgmux_tunnel_vni",
+               "vnf-parameter-value": "100"
+               },
+               {
+               "vnf-parameter-name": "onap_private_net_id",
+               "vnf-parameter-value": "${oam_onap_net}"
+               },
+               {
+               "vnf-parameter-name": "onap_private_subnet_id",
+               "vnf-parameter-value": "${oam_onap_subnet}"
+               },
+               {
+               "vnf-parameter-name": "onap_private_net_cidr",
+               "vnf-parameter-value": "10.0.0.0/16"
+               },
+               {
+               "vnf-parameter-name": "repo_url_blob",
+               "vnf-parameter-value": "https://nexus.onap.org/content/sites/raw"
+               },
+               {
+               "vnf-parameter-name": "repo_url_artifacts",
+               "vnf-parameter-value": "https://nexus.onap.org/content/groups/staging"
+               },
+               {
+               "vnf-parameter-name": "demo_artifacts_version",
+               "vnf-parameter-value": "1.1.1"
+               },
+               {
+               "vnf-parameter-name": "install_script_version",
+               "vnf-parameter-value": "1.1.1"
+               },
+               {
+               "vnf-parameter-name": "key_name",
+               "vnf-parameter-value": "vgw_key"
+               },
+               {
+               "vnf-parameter-name": "pub_key",
+               "vnf-parameter-value": "${pub_key}"
+               },
+               {
+               "vnf-parameter-name": "cloud_env",
+               "vnf-parameter-value": "openstack"
+               }
+       ],
+       "VNF-API:vnf-assignments": {
+         }
+       }
+     }
+}
+