From 32b2cd066ec64a6579147624440e31e3f7165e5d Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sat, 20 Aug 2022 22:39:18 +0200 Subject: [PATCH] Switch PrefixCounting to RFC8040 Use RESTS_API's nonconfig endpoing and update topology selector. This should fix first order of 404s reported in bgpcep CSIT in Chlorine and is safe as far as back as Phosphorus. Signed-off-by: Robert Varga Change-Id: Iebda1e88e11880b6229cc9c5e86c00ecf7257ba9 --- csit/libraries/PrefixCounting.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csit/libraries/PrefixCounting.robot b/csit/libraries/PrefixCounting.robot index 2806ce9ecc..3e0fc146b4 100644 --- a/csit/libraries/PrefixCounting.robot +++ b/csit/libraries/PrefixCounting.robot @@ -20,7 +20,7 @@ Resource ${CURDIR}/WaitUtils.robot Resource ${CURDIR}/ScalarClosures.robot *** Variables *** -${PC_NW_TOPOLOGY} ${OPERATIONAL_API}/network-topology:network-topology/topology +${PC_NW_TOPOLOGY} ${REST_API}/network-topology:network-topology/topology *** Keywords *** PC_Setup @@ -32,7 +32,7 @@ Get_Ipv4_Topology [Documentation] GET the ${topology} data, check status is 200, return the topology data. ... ... Contrary to Utils.Get_Data_From_URI, this does not Log the (potentially huge) content. - ${response} = RequestsLibrary.Get_Request ${session} ${PC_NW_TOPOLOGY}/${topology} + ${response} = RequestsLibrary.Get_Request ${session} ${PC_NW_TOPOLOGY}=${topology}?content=nonconfig Run_Keyword_If ${response.status_code} != 200 Fail Get on ${topology} returned status code ${response.status_code} with message: ${response.text} [Return] ${response.text} -- 2.36.6