Should Be Equal ${expected} ${presence_flow} msg=${msgf}
Flow Presence Config Flow
- ${headers}= Create Dictionary Accept application/xml
+ ${headers}= Create Dictionary Accept=application/xml
${resp}= RequestsLibrary.Get session /restconf/config/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id}/flow/${flow_id} headers=${headers}
Log ${resp}
Log ${resp.content}
Should Be Equal ${expected} ${presence_table} msg=${msgf}
Flow Presence Operational Table
- ${headers}= Create Dictionary Accept application/xml
+ ${headers}= Create Dictionary Accept=application/xml
${resp}= RequestsLibrary.Get session /restconf/operational/opendaylight-inventory:nodes/node/openflow:${switch_idx}/table/${table_id} headers=${headers}
Log ${resp}
Log ${resp.content}
Initialization Phase
[Documentation] Initiate tcp connection with controller
- Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
+ Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
Teardown Phase
[Documentation] Closes tcp connection with controller and removes flows