Fixing mininet reads so that we always clear mininet
[integration/test.git] / test / csit / suites / base-of13 / 050__AD_SAL_Apps / 020__static_route.txt
index e25b469cbc5a39dcaff2c5a35f21b33baa5517d5..b72a07a633637ea6559fe649b9bb6d571b30b9a0 100644 (file)
@@ -1,6 +1,6 @@
 *** Settings ***
-Documentation     Test suite for Static Route 
-Suite Setup       Create Session   session   http://${CONTROLLER}:8080   auth=${AUTH}   headers=${HEADERS}
+Documentation     Test suite for Static Route
+Suite Setup       Create Session   session   http://${CONTROLLER}:${RESTPORT}   auth=${AUTH}   headers=${HEADERS}
 Suite Teardown    Delete All Sessions
 Library           SSHLibrary
 Library           Collections
@@ -12,7 +12,7 @@ Variables         ../../../variables/Variables.py
 ${name}           test_route1
 ${key}            staticRoute
 ${REST_CONTEXT}    /controller/nb/v2/staticroute
-${REST_CONTEXT_ST}   /controller/nb/v2/statistics
+${REST_CONTEXT_HT}   /controller/nb/v2/hosttracker
 
 *** Test Cases ***
 Add a static route
@@ -27,7 +27,7 @@ Add a static route
     ${result}    To JSON    ${resp.content}
     ${content}    Get From Dictionary    ${result}    ${key}
     List Should Contain Value    ${content}    ${body}
-    Sleep      30
+    Sleep    30
 #     This works locally but NOT in OpenDaylight
 #Check flow in flow stats
 #    [Documentation]    Show flow stats and validate result
@@ -48,3 +48,4 @@ Remove a static route
     ${result}    To JSON    ${resp.content}
     ${content}    Get From Dictionary    ${result}    ${key}
     List Should Not Contain Value    ${content}    ${body}
+