The 'Get Request' RequestsLibrary keyword has been deprecated.
Migrate it to 'GET On Session' and fix the URL to use the RFC8040 path.
Change-Id: I122004fea42f15436084f00ed7b3b84ab8c1f748
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
BuiltIn.Set_Suite_Variable ${rib_old}
Log_Loc_Rib_Operational
BuiltIn.Set_Suite_Variable ${rib_old}
Log_Loc_Rib_Operational
- ${rsp} RequestsLibrary.Get Request
- ... ${CONFIG_SESSION}
- ... /restconf/operational/bgp-rib:bgp-rib/rib/example-bgp-rib/loc-rib/
+ ${rsp} RequestsLibrary.GET On Session
+ ... alias=${CONFIG_SESSION}
+ ... url=/rests/data/bgp-rib:bgp-rib/rib=example-bgp-rib/loc-rib?content=nonconfig
BuiltIn.Log ${rsp.content}
Configure_App_Peer_With_Routes
BuiltIn.Log ${rsp.content}
Configure_App_Peer_With_Routes