Plus changed expected response from 404 to 204.
Current response from ODL is 404 but it is because
network,subnet,port are not deleted in ODL.
It is ODL bug and response should be 204.
JIRA: FUNCTEST-5
Change-Id: I1a6ed78355b697b455d089e51007900c5ba721a6
Signed-off-by: Peter Bandzi <pbandzi@cisco.com>
Library SSHLibrary
Library Collections
Library OperatingSystem
-Library ../integration/test/csit/libraries/RequestsLibrary.py
-Library ../integration/test/csit/libraries/Common.py
-Variables ../integration/test/csit/variables/Variables.py
+Library ../../../libraries/RequestsLibrary.py
+Library ../../../libraries/Common.py
+Variables ../../../variables/Variables.py
*** Variables ***
${ODLREST} /controller/nb/v2/neutron/ports
Set Suite Variable ${ODLResult}
Log ${ODLResult}
${resp} get ODLSession ${ODLREST}/${PORTID}
- Should be Equal As Strings ${resp.status_code} 404
+ Should be Equal As Strings ${resp.status_code} 204
Library SSHLibrary
Library Collections
Library OperatingSystem
-Library ../integration/test/csit/libraries/RequestsLibrary.py
-Library ../integration/test/csit/libraries/Common.py
-Variables ../integration/test/csit/variables/Variables.py
+Library ../../../libraries/RequestsLibrary.py
+Library ../../../libraries/Common.py
+Variables ../../../variables/Variables.py
*** Variables ***
${ODLREST} /controller/nb/v2/neutron/subnets
Set Suite Variable ${ODLResult}
Log ${ODLResult}
${resp} get ODLSession ${ODLREST}/${SUBNETID}
- Should be Equal As Strings ${resp.status_code} 404
+ Should be Equal As Strings ${resp.status_code} 204
Library SSHLibrary
Library Collections
Library OperatingSystem
-Library ../integration/test/csit/libraries/RequestsLibrary.py
-Library ../integration/test/csit/libraries/Common.py
-Variables ../integration/test/csit/variables/Variables.py
+Library ../../../libraries/RequestsLibrary.py
+Library ../../../libraries/Common.py
+Variables ../../../variables/Variables.py
*** Variables ***
${ODLREST} /controller/nb/v2/neutron/networks
Set Suite Variable ${ODLResult}
Log ${ODLResult}
${resp} get ODLSession ${ODLREST}/${NetID}
- Should be Equal As Strings ${resp.status_code} 404
+ Should be Equal As Strings ${resp.status_code} 204