[Documentation] Set quota for the created instances using the specific project id.
${output} = OpenStack CLI openstack quota set --instances ${num_instances} ${project_id}
[Return] ${output}
+
+Create Bgpvpn
+ [Arguments] ${vpnname} ${additional_args}=${EMPTY}
+ [Documentation] Create Bgpvpn with neutron request.
+ ${output} = OpenStack CLI openstack bgpvpn create --name ${vpnname} ${additional_args}
+
+Get BgpVpn Id
+ [Arguments] ${vpnName}
+ [Documentation] Retrieve the bgpvpn id for the given bgpvpn name
+ ${output} = OpenStack CLI OperatingSystem.Run And Return Rc And Output openstack bgpvpn show ${vpnName} | grep " ID" | awk '{print $4}'
+ ${splitted_output}= String.Split String ${output} ${EMPTY}
+ ${vpn_id}= Collections.Get from List ${splitted_output} 0
+ [Return] ${vpn_id}
--- /dev/null
+*** Settings ***
+Documentation Test suite to validate bgpvpn configuration commands in an openstack integrated environment.
+Suite Setup Suite Setup
+Suite Teardown OpenStackOperations.OpenStack Suite Teardown
+Test Setup SetupUtils.Setup_Test_With_Logging_And_Without_Fast_Failing
+Test Teardown OpenStackOperations.Get Test Teardown Debugs
+Library OperatingSystem
+Library RequestsLibrary
+Resource ../../../libraries/BgpOperations.robot
+Resource ../../../libraries/DevstackUtils.robot
+Resource ../../../libraries/OpenStackOperations.robot
+Resource ../../../libraries/OVSDB.robot
+Resource ../../../libraries/SetupUtils.robot
+Resource ../../../libraries/Tcpdump.robot
+Resource ../../../libraries/Utils.robot
+Resource ../../../libraries/VpnOperations.robot
+Resource ../../../variables/Variables.robot
+Resource ../../../variables/netvirt/Variables.robot
+
+*** Variables ***
+
+*** Test Cases ***
+Verify ODL supports VPN creation via neutron bgpvpn create command
+ [Documentation] Verify ODL supports VPN creation via neutron bgpvpn create command
+ OpenStackOperations.Create Bgpvpn BgpVpn1 --route-distinguisher 100:10
+ ${vpnid} = OpenStackOperations.Get Bgpvpn Id BgpVpn1
integration/test/csit/suites/netvirt/host_route/host_route_handling.robot
integration/test/csit/suites/netvirt/snatdnat/snat_dnat.robot
integration/test/csit/suites/netvirt/bgpmultipath/l3vpn_bgp_multipath.robot
+integration/test/csit/suites/netvirt/multibgpvpn/bgpvpn.robot
integration/test/csit/suites/netvirt/multibgpvpn/multi_vpn_bgp.robot
integration/test/csit/suites/netvirt/subnet_routing/subnet_routing_and_multicast.robot
integration/test/csit/suites/netvirt/ofpunt_path/openflow_punt_path_protection.robot