*** 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
${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