Test Case Reorganization Part 2
[integration/test.git] / test / csit / suites / base / 020__AD_SAL_Apps / 020__static_route.txt
similarity index 74%
rename from test/csit/suites/base/035__forwarding_manager.txt
rename to test/csit/suites/base/020__AD_SAL_Apps/020__static_route.txt
index 68cd4440933e7799c7febfa7198c4e2e1feab48c..8c21cf1f9d62be6b0bf716764a555c4f0603503b 100644 (file)
@@ -1,12 +1,12 @@
 *** Settings ***
-Documentation     Test suite for the forwarding manager module.
+Documentation     Test suite for Static Route
 Suite Setup       Create Session   session   http://${CONTROLLER}:8080   auth=${AUTH}   headers=${HEADERS}
 Suite Teardown    Delete All Sessions
 Library           SSHLibrary
 Library           Collections
-Library           ../../libraries/RequestsLibrary.py
-Library           ../../libraries/Common.py
-Variables         ../../variables/Variables.py
+Library           ../../../libraries/RequestsLibrary.py
+Library           ../../../libraries/Common.py
+Variables         ../../../variables/Variables.py
 
 *** Variables ***
 ${name}           test_route1
@@ -27,7 +27,15 @@ Add a static route
     ${result}    To JSON    ${resp.content}
     ${content}    Get From Dictionary    ${result}    ${key}
     List Should Contain Value    ${content}    ${body}
-    Sleep    5
+    Sleep    10
+#     This works locally but NOT in OpenDaylight
+#Check flow in flow stats
+#    [Documentation]    Show flow stats and validate result
+#    [Tags]    get
+#    ${resp}    Get    session    ${REST_CONTEXT_ST}/${CONTAINER}/flow
+#    Should Be Equal As Strings    ${resp.status_code}    200 
+#    Log    ${resp.content}
+#    Should Contain X Times    ${resp.content}    10.0.0.2     3
 Remove a static route
     [Documentation]    Remove a static route, list to validate the result.
     [Tags]    remove