X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=test%2Fcsit%2Fsuites%2Fopenflowplugin%2FFlows_OF13%2F312__eth_arp_transport.robot;fp=test%2Fcsit%2Fsuites%2Fopenflowplugin%2FFlows_OF13%2F312__eth_arp_transport.robot;h=0000000000000000000000000000000000000000;hb=59e81c38620fa1b61e15771191e35771450b9499;hp=f0fc4fd9c648599b149fcc0f29fc6b3fe9e1a1f1;hpb=072f6e3a8d1bdf8f4c663843589c22d93ba07791;p=integration%2Ftest.git diff --git a/test/csit/suites/openflowplugin/Flows_OF13/312__eth_arp_transport.robot b/test/csit/suites/openflowplugin/Flows_OF13/312__eth_arp_transport.robot deleted file mode 100644 index f0fc4fd9c6..0000000000 --- a/test/csit/suites/openflowplugin/Flows_OF13/312__eth_arp_transport.robot +++ /dev/null @@ -1,66 +0,0 @@ -*** Settings *** -Documentation Test suite for Ethernet,QoS, ARP and Action drop -Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} -Suite Teardown Delete All Sessions -Library SSHLibrary -Library Collections -Library OperatingSystem -Library RequestsLibrary -Library ../../../libraries/Common.py -Variables ../../../variables/Variables.py - -*** Variables *** -${REST_CON} /restconf/config/opendaylight-inventory:nodes -${FILE} ${CURDIR}/../../../variables/xmls/f13.xml -${FLOW} 136 -${TABLE} 2 -@{FLOWELMENTS} dl_dst=ff:ff:ff:ff:ff:ff table=2 dl_src=00:00:00:01:23:ae drop arp arp_op=1 arp_spa=192.168.4.1 -... arp_tpa=10.21.22.23 - -*** Test Cases *** -Add a flow - Output to physical port# - [Documentation] Push a flow through REST-API - [Tags] Push - ${body} OperatingSystem.Get File ${FILE} - Set Suite Variable ${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} 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} - -Verify flows after adding flow config on OVS - [Documentation] Checking Flows on switch - [Tags] Switch - sleep 1 - write dpctl dump-flows -O OpenFlow13 - ${body} OperatingSystem.Get File ${FILE} - ${switchoutput} Read Until > - : FOR ${flowElement} IN @{FLOWELMENTS} - \ should Contain ${switchoutput} ${flowElement} - -Remove a flow - Output to physical port# - [Documentation] Remove a flow - [Tags] remove - ${resp} RequestsLibrary.Delete session ${REST_CON}/node/openflow:1/table/${TABLE}/flow/${FLOW} - Should Be Equal As Strings ${resp.status_code} 200 - -Verify after deleting flow config - Output to physical port# - [Documentation] Verify the flow - [Tags] Get - ${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 - [Documentation] Checking Flows on switch - [Tags] Switch - Sleep 1 - write dpctl dump-flows -O OpenFlow13 - ${body} OperatingSystem.Get File ${FILE} - ${switchoutput} Read Until > - : FOR ${flowElement} IN @{FLOWELMENTS} - \ should Not Contain ${switchoutput} ${flowElement}