See details in OPNFLWPLUG-1074
Change-Id: Idf8ad74a232f42878f12c5f94466bc5660a29dd3
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
[Documentation] Check all switches and stats in operational inventory
: FOR ${switch} IN RANGE 1 ${switches+1}
\ ${resp} RequestsLibrary.Get Request session ${OPERATIONAL_NODES_API}/node/openflow:${switch}
+ \ Log ${resp.content}
\ Should Be Equal As Strings ${resp.status_code} 200
\ Should Contain ${resp.content} flow-capable-node-connector-statistics
\ Should Contain ${resp.content} flow-table-statistics
${status} ${result} Run Keyword And Ignore Error Utils.Verify Controller Has No Null Pointer Exceptions ${ODL_SYSTEM_IP}
Return From Keyword If '${status}' == 'FAIL' ${status} Controller has NPE ${topology_discover_time}
Log To Console Checking ${switches} switches
- ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 10s 2s FlowLib.Check Switches In Inventory
+ ${status} ${result} Run Keyword And Ignore Error Wait Until Keyword Succeeds 30s 2s FlowLib.Check Switches In Inventory
... ${switches}
Return From Keyword If '${status}' == 'FAIL' ${status} Fail checking switch ${topology_discover_time}
Log To Console Check number of links in inventory is ${links}