From: Ivan Hrasko Date: Thu, 18 Oct 2018 08:35:04 +0000 (+0200) Subject: SXP: Log routing X-Git-Tag: pre-potassium~512 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=2bc18833b22ddf14851fdf0aa4cb1e7b8a036ef1;p=integration%2Ftest.git SXP: Log routing Change-Id: I38c9db3c91a3cf0f636474a18b1a62f96b8c35cb Signed-off-by: Ivan Hrasko --- diff --git a/csit/libraries/SxpClusterLib.robot b/csit/libraries/SxpClusterLib.robot index 6380407293..f1e65c2080 100644 --- a/csit/libraries/SxpClusterLib.robot +++ b/csit/libraries/SxpClusterLib.robot @@ -124,7 +124,7 @@ Map Followers To Mac Addresses Find Mac Address Of Ip Address [Arguments] ${ip} [Documentation] Finds out MAC-ADDRESS of specified IP by pinging it from TOOLS_SYSTEM machine - ${mac_address} = Utils.Run Command On Remote System ${TOOLS_SYSTEM_IP} ping -c 1 -W 1 ${ip} >/dev/null && arp -n | grep ${ip} | awk '{print $3}' ${TOOLS_SYSTEM_USER} ${TOOLS_SYSTEM_PASSWORD} + ${mac_address} = Utils.Run Command On Remote System And Log ${TOOLS_SYSTEM_IP} ping -c 100 -W 10 ${ip} >/dev/null && arp -n | grep ${ip} | awk '{print $3}' ${TOOLS_SYSTEM_USER} ${TOOLS_SYSTEM_PASSWORD} [Return] ${mac_address} Ip Addres Should Not Be Routed To Follower diff --git a/csit/libraries/SxpLib.robot b/csit/libraries/SxpLib.robot index be7b43ba74..da4e5d4bb1 100644 --- a/csit/libraries/SxpLib.robot +++ b/csit/libraries/SxpLib.robot @@ -338,6 +338,7 @@ Put Routing Configuration To Controller [Arguments] ${data} ${session} [Documentation] Put Routing configuration to Config DS ${resp} = RequestsLibrary.Put Request ${session} /restconf/config/sxp-cluster-route:sxp-cluster-route/ data=${data} headers=${HEADERS_XML} + BuiltIn.Log ${resp} BuiltIn.Should Match "${resp.status_code}" "20?" Clean Routing Configuration To Controller