Get BGP Configuration On ODL
[Documentation] Get bgp configuration
[Arguments] ${odl_session}
- ${resp} = RequestsLibrary.GET On Session alias=${odl_session} url=${CONFIG_API}/ebgp:bgp/
+ ${resp} = RequestsLibrary.GET On Session ${odl_session} url=${CONFIG_API}/ebgp:bgp/
Log ${resp.text}
RETURN ${resp.text}
[Documentation] Delete BGP
[Arguments] ${odl_session}
${resp} = RequestsLibrary.DELETE On Session
- ... alias=${odl_session}
+ ... ${odl_session}
... url=${CONFIG_API}/ebgp:bgp/
... expected_status=200
Log ${resp.text}
[Documentation] Check the example-bgp-rib content for string
[Arguments] ${session} ${substr} ${error_message}=${JSONKEYSTR} not found, but expected.
${response} = RequestsLibrary.GET On Session
- ... alias=${session}
+ ... ${session}
... url=${REST_API}/${BGP_RIB_URI}?content=nonconfig
BuiltIn.Log ${response.status_code}
BuiltIn.Log ${response.text}
[Documentation] Check the example-bgp-rib does not contain the string
[Arguments] ${session} ${substr} ${error_message}=${JSONKEYSTR} found, but not expected.
${response} = RequestsLibrary.GET On Session
- ... alias=${session}
+ ... ${session}
... url=${REST_API}/${BGP_RIB_URI}?content=nonconfig
BuiltIn.Log ${response.status_code}
BuiltIn.Log ${response.text}
[Documentation] Check the example-ipv4-topology content for string
[Arguments] ${session} ${string_to_check}=${EMPTY}
${response} = RequestsLibrary.GET On Session
- ... alias=${session}
+ ... ${session}
... url=${REST_API}/${BGP_TOPOLOGY_URI}?content=nonconfig
BuiltIn.Log ${response.status_code}
BuiltIn.Log ${response.text}
[Documentation] Check the example-ipv4-topology does not contain the string
[Arguments] ${session} ${string_to_check}
${response} = RequestsLibrary.GET On Session
- ... alias=${session}
+ ... ${session}
... url=${REST_API}/${BGP_TOPOLOGY_URI}?content=nonconfig
BuiltIn.Log ${response.status_code}
BuiltIn.Log ${response.text}