X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fcsit%2Fsuites%2Fopenflowplugin%2FFlows_OF13%2F307__eth_ip_qos_port_tcpport.robot;fp=test%2Fcsit%2Fsuites%2Fopenflowplugin%2FFlows_OF13%2F307__eth_ip_qos_port_tcpport.robot;h=a91c7c42e5c3f15d69ce8a72dee3aa7f0f484f7c;hb=222697d2890cf6fe26f30bbbee88cbca10d6534c;hp=00b972d8b86090987bab8bbbfd21f923f48ced55;hpb=02f304585d3b2c2d69680402c8befc4bb2092904;p=integration%2Ftest.git diff --git a/test/csit/suites/openflowplugin/Flows_OF13/307__eth_ip_qos_port_tcpport.robot b/test/csit/suites/openflowplugin/Flows_OF13/307__eth_ip_qos_port_tcpport.robot index 00b972d8b8..a91c7c42e5 100644 --- a/test/csit/suites/openflowplugin/Flows_OF13/307__eth_ip_qos_port_tcpport.robot +++ b/test/csit/suites/openflowplugin/Flows_OF13/307__eth_ip_qos_port_tcpport.robot @@ -5,7 +5,7 @@ Suite Teardown Delete All Sessions Library SSHLibrary Library Collections Library OperatingSystem -Library ../../../libraries/RequestsLibrary.py +Library RequestsLibrary Library ../../../libraries/Common.py Variables ../../../variables/Variables.py @@ -23,13 +23,13 @@ Add a flow - Output to physical port# [Tags] Push ${body} OperatingSystem.Get File ${FILE} Set Suite Variable ${body} - ${resp} Putxml session ${REST_CON}/node/openflow:1/table/${TABLE}/flow/${FLOW} data=${body} + ${resp} RequestsLibrary.Put session ${REST_CON}/node/openflow:1/table/${TABLE}/flow/${FLOW} headers=${HEADERS_XML} data=${body} Should Be Equal As Strings ${resp.status_code} 200 Verify after adding flow config - Output to physical port# [Documentation] Verify the flow [Tags] Get - ${resp} get session ${REST_CON}/node/openflow:1/table/${TABLE}/flow/${FLOW} headers=${ACCEPT_XML} + ${resp} RequestsLibrary.Get session ${REST_CON}/node/openflow:1/table/${TABLE}/flow/${FLOW} headers=${ACCEPT_XML} Should Be Equal As Strings ${resp.status_code} 200 compare xml ${body} ${resp.content} @@ -52,7 +52,7 @@ Remove a flow - Output to physical port# Verify after deleting flow config - Output to physical port# [Documentation] Verify the flow [Tags] Get - ${resp} Get session ${REST_CON}/node/openflow:1/table/${TABLE} + ${resp} RequestsLibrary.Get session ${REST_CON}/node/openflow:1/table/${TABLE} Should Not Contain ${resp.content} ${FLOW} Verify flows after deleting flow config on OVS