aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-04-06 16:14:39 +0200
committerTibor Frank <tifrank@cisco.com>2017-04-10 10:59:30 +0000
commit2baef5a200d45f95eed2b9b6c2add7d3cfd0ad98 (patch)
tree12893f3ec4242b8699c87905274c9e4f0d51e020
parent8c1946ac3476f248417b51bf9b5a59659c6f7c51 (diff)
HC Test: Fix proxyARP test teardown
- interface assignment is removed automatically with proxyARP settings Change-Id: Id0c7e8fd9cbb263e547ac5e2534f3e650115cb81 Signed-off-by: selias <samelias@cisco.com>
-rw-r--r--resources/libraries/python/honeycomb/proxyARP.py2
-rw-r--r--tests/func/honeycomb/mgmt-cfg-proxyarp-apihc-func.robot2
2 files changed, 1 insertions, 3 deletions
diff --git a/resources/libraries/python/honeycomb/proxyARP.py b/resources/libraries/python/honeycomb/proxyARP.py
index 90d15b1288..c9d9040943 100644
--- a/resources/libraries/python/honeycomb/proxyARP.py
+++ b/resources/libraries/python/honeycomb/proxyARP.py
@@ -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):
diff --git a/tests/func/honeycomb/mgmt-cfg-proxyarp-apihc-func.robot b/tests/func/honeycomb/mgmt-cfg-proxyarp-apihc-func.robot
index d850cc94ce..2847515c57 100644
--- a/tests/func/honeycomb/mgmt-cfg-proxyarp-apihc-func.robot
+++ b/tests/func/honeycomb/mgmt-cfg-proxyarp-apihc-func.robot
@@ -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