*** Settings ***
Documentation Test suite for Statistics Manager
-Suite Setup Create Session session http://${CONTROLLER}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library RequestsLibrary
${REST_CONTEXT} /controller/nb/v2/statistics
*** Test Cases ***
-
get port stats
[Documentation] Show port stats and validate result
- [Tags] adsal
+ [Tags] adsal
Wait Until Keyword Succeeds 10s 2s Check For Elements At URI ${REST_CONTEXT}/${CONTAINER}/port ${macaddr_list}
Wait Until Keyword Succeeds 60s 2s Check That Port Count Is Ok ${node1} 4
Wait Until Keyword Succeeds 60s 1s Check That Port Count Is Ok ${node2} 5
get flow stats
[Documentation] Show flow stats and validate result
- [Tags] adsal
+ [Tags] adsal
Wait Until Keyword Succeeds 10s 2s Check For Elements At URI ${REST_CONTEXT}/${CONTAINER}/flow ${macaddr_list}
get table stats
[Documentation] Show flow stats and validate result
- [Tags] adsal
+ [Tags] adsal
Wait Until Keyword Succeeds 10s 2s Check For Elements At URI ${REST_CONTEXT}/${CONTAINER}/table ${macaddr_list}