The case in bgpvpn.robot test failed: Verify ODL supports VPN creation via neutron bgpvpn create command
Change-Id: Ib786f1e276c12c5df394d4e7bf04b20273acf0f1
Signed-off-by: Ning Zhang <zhangninglc@inspur.com>
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
+ ${output} = OpenStack CLI 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}
Configure_IP_On_Sub_Interface
*** Settings ***
Documentation Test suite to validate bgpvpn configuration commands in an openstack integrated environment.
-Suite Setup Suite Setup
+Suite Setup OpenStackOperations.OpenStack 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