Migrate 020_bgp_functional_multipath.robot 19/111119/5
authorSangwook Ha <sangwook.ha@verizon.com>
Wed, 27 Mar 2024 20:57:22 +0000 (13:57 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Thu, 28 Mar 2024 00:04:19 +0000 (17:04 -0700)
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>
csit/suites/bgpcep/bgpfunct/020_bgp_functional_multipath.robot

index 2135dbabdf917d4a784c3f3d7d96c79f43f9b9b7..5fc04cb164c73433db39b27a44bfddbbcc597bb3 100644 (file)
@@ -196,9 +196,9 @@ Store_Rib_Configuration
     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