X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=blobdiff_plain;f=csit%2Fsuites%2Fopenflowplugin%2FMD_SAL_NSF_OF10%2F040_restconf_frm.robot;fp=csit%2Fsuites%2Fopenflowplugin%2FMD_SAL_NSF_OF10%2F040_restconf_frm.robot;h=dfbab85e3c582908a6b48c3e6fc45ac90a7d9294;hp=9e735dde9fc50512d8f91544c739e1cafe7aaf6f;hb=4122a5096fc35c216fa6192d54da4a1d938f0128;hpb=1df85cc733881a9c386f46302a902bcfe05595fe diff --git a/csit/suites/openflowplugin/MD_SAL_NSF_OF10/040_restconf_frm.robot b/csit/suites/openflowplugin/MD_SAL_NSF_OF10/040_restconf_frm.robot index 9e735dde9f..dfbab85e3c 100644 --- a/csit/suites/openflowplugin/MD_SAL_NSF_OF10/040_restconf_frm.robot +++ b/csit/suites/openflowplugin/MD_SAL_NSF_OF10/040_restconf_frm.robot @@ -20,19 +20,18 @@ ${BODY2} *** Test Cases *** Add a flow - Output to physical port# [Documentation] Push a flow through REST-API - ${resp} RequestsLibrary.Put Request + ${resp} RequestsLibrary.PUT On Session ... session - ... ${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0/flow=152 + ... url=${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0/flow=152 ... headers=${HEADERS_XML} ... data=${BODY2} - BuiltIn.Should_Match "${resp.status_code}" "20?" Verify after adding flow config - Output to physical port# [Documentation] Verify the flow - ${resp} RequestsLibrary.Get Request + ${resp} RequestsLibrary.GET On Session ... session - ... ${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0?content=config - Should Be Equal As Strings ${resp.status_code} 200 + ... url=${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0?content=config + ... expected_status=200 Should Contain ${resp.text} 152 Verify after adding flow operational - Output to physical port# @@ -47,17 +46,17 @@ Verify after adding flow operational - Output to physical port# Remove a flow - Output to physical port# [Documentation] Remove a flow - ${resp} RequestsLibrary.Delete Request + ${resp} RequestsLibrary.DELETE On Session ... session - ... ${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0/flow=152 - Should Be Equal As Strings ${resp.status_code} 204 + ... url=${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0/flow=152 + ... expected_status=204 Verify after deleting flow config - Output to physical port# [Documentation] Verify the flow - ${resp} RequestsLibrary.Get Request + ${resp} RequestsLibrary.GET On Session ... session - ... ${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0?content=config - Should Be Equal As Strings ${resp.status_code} 200 + ... url=${RFC8040_NODES_API}/node=openflow%3A1/flow-node-inventory:table=0?content=config + ... expected_status=200 Should Not Contain ${resp.text} 152 # Standing bug #368 - This has been fixed