From 8a61013d546bd56867f5fff8927fd7c0da585a81 Mon Sep 17 00:00:00 2001 From: DR695H Date: Mon, 1 Jul 2019 16:16:02 -0400 Subject: move preload to the sdnc interface Issue-ID: TEST-173 Change-Id: Ie5cf74ebb20af3b9994ff6dfbec3a51f49cddef8 Signed-off-by: DR695H --- .../sdnc/template.vcpe_vgw_vfmodule.jinja | 130 +++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 robot/assets/templates/sdnc/template.vcpe_vgw_vfmodule.jinja (limited to 'robot/assets/templates/sdnc/template.vcpe_vgw_vfmodule.jinja') diff --git a/robot/assets/templates/sdnc/template.vcpe_vgw_vfmodule.jinja b/robot/assets/templates/sdnc/template.vcpe_vgw_vfmodule.jinja new file mode 100644 index 00000000..daf0d49c --- /dev/null +++ b/robot/assets/templates/sdnc/template.vcpe_vgw_vfmodule.jinja @@ -0,0 +1,130 @@ +{ + "VNF-API:input": { + "VNF-API:request-information": { + "VNF-API:notification-url": "https://so.onap.org", + "VNF-API:order-number": "robot12", + "VNF-API:order-version": "1.0", + "VNF-API:request-action": "PreloadVNFRequest", + "VNF-API:request-id": "robot12", + "VNF-API:request-sub-action": "SUPP", + "VNF-API:source": "VID" + }, + "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-API:vnf-assignments": {}, + "VNF-API:vnf-parameters": [ + { + "vnf-parameter-name": "vcpe_image_name", + "vnf-parameter-value": "vgw-casa-base-ubuntu-16-04" + }, + { + "vnf-parameter-name": "vcpe_flavor_name", + "vnf-parameter-value": "m1.medium" + }, + { + "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.126" + }, + { + "vnf-parameter-name": "vgw_private_ip_1", + "vnf-parameter-value": "10.0.101.126" + }, + { + "vnf-parameter-name": "vgw_private_ip_2", + "vnf-parameter-value": "10.2.0.41" + }, + { + "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": "126" + }, + { + "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/repositories/releases" + }, + { + "vnf-parameter-name": "demo_artifacts_version", + "vnf-parameter-value": "1.1.1" + }, + { + "vnf-parameter-name": "script_version", + "vnf-parameter-value": "1.3.0" + }, + { + "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-topology-identifier": { + "generic-vnf-name": "GENERIC-VGW-VNF-NAME0", + "generic-vnf-type": "GENERIC-VGW-VNF-TYPE", + "service-type": "VGW-SERVICE-TYPE", + "vnf-name": "VGW2BRG-{{brg_mac}}", + "vnf-type": "VGW-VNF-TYPE" + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg