summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/sdnc/template.vcpe_gwgra_vfmodule.jinja
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-01 16:16:02 -0400
committerDR695H <dr695h@att.com>2019-07-08 17:49:01 -0400
commit8a61013d546bd56867f5fff8927fd7c0da585a81 (patch)
tree7b906b1aa1c8029f329d627e283baf1a869ca477 /robot/assets/templates/sdnc/template.vcpe_gwgra_vfmodule.jinja
parent37529943e361704b159d4802c04307239c87b204 (diff)
move preload to the sdnc interface
Issue-ID: TEST-173 Change-Id: Ie5cf74ebb20af3b9994ff6dfbec3a51f49cddef8 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/assets/templates/sdnc/template.vcpe_gwgra_vfmodule.jinja')
-rw-r--r--robot/assets/templates/sdnc/template.vcpe_gwgra_vfmodule.jinja133
1 files changed, 133 insertions, 0 deletions
diff --git a/robot/assets/templates/sdnc/template.vcpe_gwgra_vfmodule.jinja b/robot/assets/templates/sdnc/template.vcpe_gwgra_vfmodule.jinja
new file mode 100644
index 00000000..f1fec648
--- /dev/null
+++ b/robot/assets/templates/sdnc/template.vcpe_gwgra_vfmodule.jinja
@@ -0,0 +1,133 @@
+{
+ "GENERIC-RESOURCE-API:input": {
+ "GENERIC-RESOURCE-API:request-information": {
+ "GENERIC-RESOURCE-API:notification-url": "https://so.onap.org",
+ "GENERIC-RESOURCE-API:order-number": "robot12",
+ "GENERIC-RESOURCE-API:order-version": "1.0",
+ "GENERIC-RESOURCE-API:request-action": "PreloadVfModuleRequest",
+ "GENERIC-RESOURCE-API:request-id": "robot12",
+ "GENERIC-RESOURCE-API:source": "VID"
+ },
+ "GENERIC-RESOURCE-API:sdnc-request-header": {
+ "GENERIC-RESOURCE-API:svc-action": "reserve",
+ "GENERIC-RESOURCE-API:svc-notification-url": "https://son.onap.org",
+ "GENERIC-RESOURCE-API:svc-request-id": "robot12"
+ },
+ "preload-vf-module-topology-information": {
+ "vf-module-topology": {
+ "vf-module-parameters": {
+ "param": [
+ {
+ "name": "vcpe_image_name",
+ "value": "vgw-casa-base-ubuntu-16-04"
+ },
+ {
+ "name": "vcpe_flavor_name",
+ "value": "m1.medium"
+ },
+ {
+ "name": "public_net_id",
+ "value": "{{public_net_id}}"
+ },
+ {
+ "name": "mux_gw_private_net_id",
+ "value": "{{mux_gw_net}}"
+ },
+ {
+ "name": "mux_gw_private_subnet_id",
+ "value": "{{mux_gw_subnet}}"
+ },
+ {
+ "name": "mux_gw_private_net_cidr",
+ "value": "10.5.0.0/24"
+ },
+ {
+ "name": "cpe_public_net_id",
+ "value": "{{cpe_public_net}}"
+ },
+ {
+ "name": "cpe_public_subnet_id",
+ "value": "{{cpe_public_subnet}}"
+ },
+ {
+ "name": "cpe_public_net_cidr",
+ "value": "10.2.0.0/24"
+ },
+ {
+ "name": "vgw_private_ip_0",
+ "value": "10.5.0.92"
+ },
+ {
+ "name": "vgw_private_ip_1",
+ "value": "10.0.101.92"
+ },
+ {
+ "name": "vgw_private_ip_2",
+ "value": "10.2.0.7"
+ },
+ {
+ "name": "vgw_name_0",
+ "value": "zdcpe1cpe01gw01_{{suffix}}"
+ },
+ {
+ "name": "mux_ip_addr",
+ "value": "10.5.0.21"
+ },
+ {
+ "name": "vg_vgmux_tunnel_vni",
+ "value": "92"
+ },
+ {
+ "name": "onap_private_net_id",
+ "value": "{{oam_onap_net}}"
+ },
+ {
+ "name": "onap_private_subnet_id",
+ "value": "{{oam_onap_subnet}}"
+ },
+ {
+ "name": "onap_private_net_cidr",
+ "value": "10.0.0.0/16"
+ },
+ {
+ "name": "repo_url_blob",
+ "value": "https://nexus.onap.org/content/sites/raw"
+ },
+ {
+ "name": "repo_url_artifacts",
+ "value": "https://nexus.onap.org/content/repositories/releases"
+ },
+ {
+ "name": "demo_artifacts_version",
+ "value": "1.1.1"
+ },
+ {
+ "name": "script_version",
+ "value": "1.3.0"
+ },
+ {
+ "name": "key_name",
+ "value": "vgw_key"
+ },
+ {
+ "name": "pub_key",
+ "value": "{{pub_key}}"
+ },
+ {
+ "name": "cloud_env",
+ "value": "openstack"
+ }
+ ] },
+ "vf-module-assignments": {},
+ "vf-module-topology-identifier": {
+ "vf-module-name": "VGW2BRG-{{brg_mac}}"
+ }
+ },
+ "vnf-resource-assignments": {},
+ "vnf-topology-identifier-structure": {
+ "nf-type": "vgw",
+ "vnf-id": "VGW2BRG-{{brg_mac}}"
+ }
+ }
+ }
+}