2 Documentation Test suite to test various rcp calls
5 Library RequestsLibrary
7 Resource ../../../libraries/Utils.robot
8 Resource ../../../libraries/FlowLib.robot
9 Variables ../../../variables/ofplugin/RpcVariables.py
11 Suite Setup Initialization Phase
12 Suite Teardown Final Phase
16 ${send_update_table_url} /rests/operations/sal-table:update-table
17 ${start} sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,1 --switch user
22 [Documentation] Test to send table update request
23 ${resp}= RequestsLibrary.POST On Session
25 ... url=${send_update_table_url}
26 ... data=${RPC_SEND_UPDATE_TABLE_DATA}
27 ... headers=${HEADERS_XML}
28 ... expected_status=200
34 [Documentation] Starts mininet and verify if topology is in operational ds
36 Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
37 Wait Until Keyword Succeeds 90s 1s FlowLib.Check Switches In Topology 1
40 [Documentation] Stops mininet