diff options
author | Brian Freeman <bf1936@att.com> | 2019-11-06 13:22:53 -0500 |
---|---|---|
committer | Daniel Rose <dr695h@att.com> | 2019-11-14 17:01:50 +0000 |
commit | 9b3d6ca160649ebd23c5646b2a24af0e86aa21fa (patch) | |
tree | 4e366e8400a7c63b3a56990561c05358c1a308f5 /test/vcpe/preload_templates | |
parent | 48e2fd833c8ef9ea59f7312f5aea2cd9a2a22f1e (diff) |
Initial GRA_API Support
Updated after testing in integration-release-daily
Issue-ID: INT-1345
Change-Id: I61410e97d244ec7a736722727e11764fb5f3f5a9
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'test/vcpe/preload_templates')
4 files changed, 657 insertions, 0 deletions
diff --git a/test/vcpe/preload_templates/template.vcpe_bnggra_vfmodule.json b/test/vcpe/preload_templates/template.vcpe_bnggra_vfmodule.json new file mode 100644 index 000000000..544d8e1b1 --- /dev/null +++ b/test/vcpe/preload_templates/template.vcpe_bnggra_vfmodule.json @@ -0,0 +1,173 @@ +{ + "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": "vbng-casa-base-ubuntu-16-04" + }, + { + "name": "vcpe_flavor_name", + "value": "m1.medium" + }, + { + "name": "public_net_id", + "value": "${public_net_id}" + }, + { + "name": "brgemu_bng_private_net_id", + "value": "${brg_bng_net}" + }, + { + "name": "brgemu_bng_private_subnet_id", + "value": "${brg_bng_subnet}" + }, + { + "name": "bng_gmux_private_net_id", + "value": "${bng_mux_net}" + }, + { + "name": "bng_gmux_private_subnet_id", + "value": "${bng_mux_subnet}" + }, + { + "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": "cpe_signal_net_id", + "value": "${cpe_signal_net}" + }, + { + "name": "cpe_signal_subnet_id", + "value": "${cpe_signal_subnet}" + }, + { + "name": "brgemu_bng_private_net_cidr", + "value": "10.3.0.0/24" + }, + { + "name": "bng_gmux_private_net_cidr", + "value": "10.1.0.0/24" + }, + { + "name": "cpe_signal_private_net_cidr", + "value": "10.4.0.0/24" + }, + { + "name": "sdnc_ip_addr", + "value": "${sdnc_oam_ip}" + }, + { + "name": "vbng_private_ip_0", + "value": "10.3.0.1" + }, + { + "name": "vbng_private_ip_1", + "value": "10.0.101.10" + }, + { + "name": "vbng_private_ip_2", + "value": "10.4.0.3" + }, + { + "name": "vbng_private_ip_3", + "value": "10.1.0.10" + }, + { + "name": "vbng_name_0", + "value": "zdcpe1cpe01bng01_${suffix}" + }, + { + "name": "vnf_id", + "value": "vCPE_Infrastructure_Metro_vBNG_demo_app" + }, + { + "name": "vf_module_id", + "value": "vCPE_Intrastructure_Metro_vBNG" + }, + { + "name": "dcae_collector_ip", + "value": "10.0.4.102" + }, + { + "name": "dcae_collector_port", + "value": "8080" + }, + { + "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": "vbng_key" + }, + { + "name": "pub_key", + "value": "${pub_key}" + }, + { + "name": "cloud_env", + "value": "openstack" + }, + { + "name": "vpp_source_repo_url", + "value": "https://gerrit.fd.io/r/vpp" + }, + { + "name": "vpp_source_repo_branch", + "value": "stable/1704" + }, + { + "name": "vpp_patch_url", + "value": "https://git.onap.org/demo/plain/vnfs/vCPE/vpp-radius-client-for-vbng/src/patches/Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch" + } + ] }, + "vf-module-assignments": {}, + "vf-module-topology-identifier": { + "vf-module-name": "${vnf_name}" + } + }, + "vnf-resource-assignments": {}, + "vnf-topology-identifier-structure": { + "nf-type": "${vnf_type}", + "vnf-id": "${vnf_name}" + } + } + } +} diff --git a/test/vcpe/preload_templates/template.vcpe_brgemugra_vfmodule.json b/test/vcpe/preload_templates/template.vcpe_brgemugra_vfmodule.json new file mode 100644 index 000000000..4d5b2d425 --- /dev/null +++ b/test/vcpe/preload_templates/template.vcpe_brgemugra_vfmodule.json @@ -0,0 +1,141 @@ +{ + "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": "vbrg-casa-base-ubuntu-16-04" + }, + { + "name": "vcpe_flavor_name", + "value": "m1.medium" + }, + { + "name": "public_net_id", + "value": "${public_net_id}" + }, + { + "name": "vbrgemu_bng_private_net_id", + "value": "${brg_bng_net}" + }, + { + "name": "vbrgemu_bng_private_subnet_id", + "value": "${brg_bng_subnet}" + }, + { + "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": "compile_state", + "value": "done" + }, + { + "name": "vbrgemu_bng_private_net_cidr", + "value": "10.3.0.0/24" + }, + { + "name": "vbrgemu_private_ip_0", + "value": "10.3.0.21" + }, + { + "name": "sdnc_ip", + "value": "${sdnc_oam_ip}" + }, + { + "name": "vbrgemu_name_0", + "value": "zdcpe1cpe01brgemu01_${suffix}" + }, + { + "name": "vnf_id", + "value": "vCPE_Infrastructure_BGREMU_demo_app_${suffix}" + }, + { + "name": "vf_module_id", + "value": "vCPE_Customer_BRGEMU_${suffix}" + }, + { + "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": "vbrgemu_key" + }, + { + "name": "pub_key", + "value": "${pub_key}" + }, + { + "name": "cloud_env", + "value": "openstack" + }, + { + "name": "vpp_source_repo_url", + "value": "https://gerrit.fd.io/r/vpp" + }, + { + "name": "vpp_source_repo_branch", + "value": "stable/1704" + }, + { + "name": "hc2vpp_source_repo_url", + "value": "https://gerrit.fd.io/r/hc2vpp" + }, + { + "name": "hc2vpp_source_repo_branch", + "value": "stable/1704" + }, + { + "name": "vpp_patch_url", + "value": "https://git.onap.org/demo/plain/vnfs/vCPE/vpp-option-82-for-vbrg/src/patches/VPP-Add-Option82-Nat-Filter-For-vBRG.patch" + } + ] }, + "vf-module-assignments": {}, + "vf-module-topology-identifier": { + "vf-module-name": "${vnf_name}" + } + }, + "vnf-resource-assignments": {}, + "vnf-topology-identifier-structure": { + "nf-type": "${vnf_type}", + "vnf-id": "${vnf_name}" + } + } + } +} diff --git a/test/vcpe/preload_templates/template.vcpe_gmuxgra_vfmodule.json b/test/vcpe/preload_templates/template.vcpe_gmuxgra_vfmodule.json new file mode 100644 index 000000000..b97ac941b --- /dev/null +++ b/test/vcpe/preload_templates/template.vcpe_gmuxgra_vfmodule.json @@ -0,0 +1,161 @@ +{ + "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": "vgmux-casa-base-ubuntu-16-04" + }, + { + "name": "vcpe_flavor_name", + "value": "m1.medium" + }, + { + "name": "public_net_id", + "value": "${public_net_id}" + }, + { + "name": "bng_gmux_private_net_id", + "value": "${bng_mux_net}" + }, + { + "name": "bng_gmux_private_subnet_id", + "value": "${bng_mux_subnet}" + }, + { + "name": "mux_gw_private_net_id", + "value": "${mux_gw_net}" + }, + { + "name": "mux_gw_private_subnet_id", + "value": "${mux_gw_subnet}" + }, + { + "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": "mux_gw_private_net_cidr", + "value": "10.5.0.0/24" + }, + { + "name": "bng_gmux_private_net_cidr", + "value": "10.1.0.0/24" + }, + { + "name": "vgmux_private_ip_0", + "value": "10.1.0.21" + }, + { + "name": "vgmux_private_ip_1", + "value": "10.0.101.21" + }, + { + "name": "vgmux_private_ip_2", + "value": "10.5.0.21" + }, + { + "name": "vgmux_name_0", + "value": "zdcpe1cpe01mux01_${suffix}" + }, + { + "name": "vnf_id", + "value": "vCPE_Infrastructure_Metro_vGMUX_demo_app" + }, + { + "name": "vf_module_id", + "value": "vCPE_Intrastructure_Metro_vGMUX" + }, + { + "name": "dcae_collector_ip", + "value": "10.0.4.102" + }, + { + "name": "dcae_collector_port", + "value": "8080" + }, + { + "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": "vgmux_key" + }, + { + "name": "pub_key", + "value": "${pub_key}" + }, + { + "name": "cloud_env", + "value": "openstack" + }, + { + "name": "vpp_source_repo_url", + "value": "https://gerrit.fd.io/r/vpp" + }, + { + "name": "vpp_source_repo_branch", + "value": "stable/1704" + }, + { + "name": "vpp_patch_url", + "value": "https://git.onap.org/demo/plain/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Vpp-Add-VES-agent-for-vG-MUX.patch" + }, + { + "name": "hc2vpp_patch_url", + "value": "https://git.onap.org/demo/plain/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/Hc2vpp-Add-VES-agent-for-vG-MUX.patch" + }, + { + "name": "libevel_patch_url", + "value": "https://git.onap.org/demo/plain/vnfs/vCPE/vpp-ves-agent-for-vgmux/src/patches/vCPE-vG-MUX-libevel-fixup.patch" + } + ] }, + "vf-module-assignments": {}, + "vf-module-topology-identifier": { + "vf-module-name": "${vnf_name}" + } + }, + "vnf-resource-assignments": {}, + "vnf-topology-identifier-structure": { + "nf-type": "${vnf_type}", + "vnf-id": "${vnf_name}" + } + } + } +} diff --git a/test/vcpe/preload_templates/template.vcpe_infragra_vfmodule.json b/test/vcpe/preload_templates/template.vcpe_infragra_vfmodule.json new file mode 100644 index 000000000..0b076b448 --- /dev/null +++ b/test/vcpe/preload_templates/template.vcpe_infragra_vfmodule.json @@ -0,0 +1,182 @@ +{ + "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": "ubuntu-16-04-cloud-amd64" + }, + { + "name": "vcpe_flavor_name", + "value": "m1.medium" + }, + { + "name": "public_net_id", + "value": "${public_net_id}" + }, + { + "name": "cpe_signal_net_id", + "value": "${cpe_signal_net}" + }, + { + "name": "cpe_signal_subnet_id", + "value": "${cpe_signal_subnet}" + }, + { + "name": "cpe_public_net_id", + "value": "${cpe_public_net}" + }, + { + "name": "cpe_public_subnet_id", + "value": "${cpe_public_subnet}" + }, + { + "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": "cpe_signal_net_cidr", + "value": "10.4.0.0/24" + }, + { + "name": "cpe_public_net_cidr", + "value": "10.2.0.0/24" + }, + { + "name": "vdhcp_private_ip_0", + "value": "10.4.0.1" + }, + { + "name": "vdhcp_private_ip_1", + "value": "10.0.101.1" + }, + { + "name": "vaaa_private_ip_0", + "value": "10.4.0.2" + }, + { + "name": "vaaa_private_ip_1", + "value": "10.0.101.2" + }, + { + "name": "vdns_private_ip_0", + "value": "10.2.0.1" + }, + { + "name": "vdns_private_ip_1", + "value": "10.0.101.3" + }, + { + "name": "vweb_private_ip_0", + "value": "10.2.0.10" + }, + { + "name": "vweb_private_ip_1", + "value": "10.0.101.40" + }, + { + "name": "mr_ip_addr", + "value": "${mr_ip_addr}" + }, + { + "name": "mr_ip_port", + "value": "${mr_ip_port}" + }, + { + "name": "vaaa_name_0", + "value": "zdcpe1cpe01aaa01_${suffix}" + }, + { + "name": "vdns_name_0", + "value": "zdcpe1cpe01dns01_${suffix}" + }, + { + "name": "vdhcp_name_0", + "value": "zdcpe1cpe01dhcp01_${suffix}" + }, + { + "name": "vweb_name_0", + "value": "zdcpe1cpe01web01_${suffix}" + }, + { + "name": "vnf_id", + "value": "vCPE_Infrastructure_demo_app_${suffix}" + }, + { + "name": "vf_module_id", + "value": "vCPE_Intrastructure_${suffix}" + }, + { + "name": "dcae_collector_ip", + "value": "10.0.4.102" + }, + { + "name": "dcae_collector_port", + "value": "8080" + }, + { + "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.3.0" + }, + { + "name": "install_script_version", + "value": "1.3.0" + }, + { + "name": "key_name", + "value": "vaaa_key" + }, + { + "name": "pub_key", + "value": "${pub_key}" + }, + { + "name": "cloud_env", + "value": "openstack" + } + + ] }, + "vf-module-assignments": {}, + "vf-module-topology-identifier": { + "vf-module-name": "${vnf_name}" + } + }, + "vnf-resource-assignments": {}, + "vnf-topology-identifier-structure": { + "nf-type": "${vnf_type}", + "vnf-id": "${vnf_name}" + } + } + } +} |