SXP: Log routing 73/77073/3
authorIvan Hrasko <ihrasko@cisco.com>
Thu, 18 Oct 2018 08:35:04 +0000 (10:35 +0200)
committerIvan Hrasko <ihrasko@cisco.com>
Mon, 22 Oct 2018 12:04:38 +0000 (12:04 +0000)
Change-Id: I38c9db3c91a3cf0f636474a18b1a62f96b8c35cb
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
csit/libraries/SxpClusterLib.robot
csit/libraries/SxpLib.robot

index 6380407293a7486cda4c970ab1edd04d82c9e816..f1e65c20808fa28ea22b918878f0a8a4f6857f22 100644 (file)
@@ -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
index be7b43ba7424a9a29577cf5f65197a298572038e..da4e5d4bb1b4c3d1ca5e49f6e9e2ff2b4ac64945 100644 (file)
@@ -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