HC Test: Fix proxyARP test teardown 72/6072/2
authorselias <samelias@cisco.com>
Thu, 6 Apr 2017 14:14:39 +0000 (16:14 +0200)
committerTibor Frank <tifrank@cisco.com>
Mon, 10 Apr 2017 10:59:30 +0000 (10:59 +0000)
 - interface assignment is removed automatically with proxyARP settings

Change-Id: Id0c7e8fd9cbb263e547ac5e2534f3e650115cb81
Signed-off-by: selias <samelias@cisco.com>
resources/libraries/python/honeycomb/proxyARP.py
tests/func/honeycomb/mgmt-cfg-proxyarp-apihc-func.robot

index 90d15b1..c9d9040 100644 (file)
@@ -134,7 +134,7 @@ class ProxyARPKeywords(object):
         if status_code not in (HTTPCodes.OK, HTTPCodes.ACCEPTED):
             raise HoneycombError(
                 "Interface proxyARP configuration on node {0} was not"
-                " successful.".format(node))
+                " successful.".format(node["host"]))
 
     @staticmethod
     def get_proxyarp_interface_assignment(node, interface):
index d850cc9..2847515 100644 (file)
@@ -61,8 +61,6 @@
 | | ... | IP is in the configured range.
 | | [Teardown] | Run Keywords
 | | ... | Honeycomb removes proxyARP configuration | ${node}
-| | ... | AND | Honeycomb disables proxyARP on interface
-| | ... | ${node} | ${interface}
 | | ... | AND | Honeycomb sets interface state
 | | ... | ${dut_node} | ${dut_to_tg_if1} | down
 | | ... | AND | Honeycomb removes interface ipv4 addresses