Modify command in OVSDB library. 49/75349/2
authormpany <madhusmita.p@altencalsoftlabs.com>
Tue, 21 Aug 2018 09:35:54 +0000 (15:05 +0530)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 21 Aug 2018 17:44:06 +0000 (17:44 +0000)
Change-Id: I8363175bce1efe1bfa917f7fd4f0571d7c286a20
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
csit/libraries/OVSDB.robot

index d9efabdb110d77ccd4d64970d2c6fd4329d600af..60bbfce40653e3d12bb78caa1add557943e25c92 100644 (file)
@@ -440,7 +440,7 @@ Get Tunnel Id And Packet Count
 Verify Dump Flows For Specific Table
     [Arguments]    ${compute_ip}    ${table_num}    ${flag}    ${additional_args}=${EMPTY}    @{matching_paras}
     [Documentation]    To Verify flows are present for the corresponding table Number
-    ${flow_output} =    Utils.Run Command On Remote System    ${compute_ip}    ${DUMP_FLOWS}|grep table=${table_num} ${additional_args}
+    ${flow_output} =    Utils.Run Command On Remote System    ${compute_ip}    sudo ovs-ofctl -O OpenFlow13 dump-flows ${INTEGRATION_BRIDGE}|grep table=${table_num} ${additional_args}
     Log    ${flow_output}
     : FOR    ${matching_str}    IN    @{matching_paras}
     \    BuiltIn.Run Keyword If    ${flag}==True    BuiltIn.Should Contain    ${flow_output}    ${matching_str}