AddNeighbor To BGP Configuration On ODL
[Arguments] &{Kwargs}
[Documentation] Associate the created L3VPN to a network-id received as dictionary argument
- TemplatedRequests.Post_As_Json_Templated folder=${VAR_BASE_BGP}/addNeighbor_bgp mapping=${Kwargs} session=session
+ CompareStream.Run_Keyword_If_Less_Than_Magnesium TemplatedRequests.Post_As_Json_Templated folder=${VAR_BASE_BGP}/addNeighbor_bgp mapping=${Kwargs} session=session
+ CompareStream.Run_Keyword_If_At_Least_Magnesium TemplatedRequests.Post_As_Json_Templated folder=${VAR_BASE_BGP}/addNeighborsContainer_bgp mapping=${Kwargs} session=session
Get BGP Configuration On ODL
[Arguments] ${odl_session}
[Documentation] Get bgp configuration
${resp} = RequestsLibrary.Get Request ${odl_session} ${CONFIG_API}/ebgp:bgp/
- Log ${resp.content}
- [Return] ${resp.content}
+ Log ${resp.text}
+ [Return] ${resp.text}
Delete BGP Configuration On ODL
[Arguments] ${odl_session}
[Documentation] Delete BGP
${resp} = RequestsLibrary.Delete Request ${odl_session} ${CONFIG_API}/ebgp:bgp/
- Log ${resp.content}
+ Log ${resp.text}
Should Be Equal As Strings ${resp.status_code} 200
- [Return] ${resp.content}
+ [Return] ${resp.text}
Create External Tunnel Endpoint Configuration
[Arguments] &{Kwargs}
[Arguments] ${ip}
[Documentation] Get bgp configuration
${resp} = RequestsLibrary.Get Request session ${CONFIG_API}/itm:dc-gateway-ip-list/dc-gateway-ip/${ip}/
- Log ${resp.content}
- [Return] ${resp.content}
+ Log ${resp.text}
+ [Return] ${resp.text}
Teardown_Everything
[Documentation] Create and Log the diff between expected and actual responses, make sure Python tool was killed.