ODL Bgpvpn function test failed 47/86247/1
authorNing Zhang <zhangninglc@inspur.com>
Fri, 6 Dec 2019 02:54:00 +0000 (10:54 +0800)
committerNing Zhang <zhangninglc@inspur.com>
Fri, 6 Dec 2019 02:54:15 +0000 (10:54 +0800)
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>
csit/libraries/OpenStackOperations.robot
csit/suites/netvirt/bgpvpn/bgpvpn.robot

index 57d148af6066e89db3d550cfa25ef240ccc007f3..ea9483181708cd5197bda9d9014e9277559ff877 100644 (file)
@@ -1347,9 +1347,9 @@ Create Bgpvpn
 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
index e20df1a928a6fc74fc3509b6e222c265e19c1d26..671f4aaa5ff7236cd73a02ec964358cf9bbcb42a 100644 (file)
@@ -1,6 +1,6 @@
 *** 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