From: selias Date: Thu, 6 Apr 2017 14:14:39 +0000 (+0200) Subject: HC Test: Fix proxyARP test teardown X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=2baef5a200d45f95eed2b9b6c2add7d3cfd0ad98;hp=8c1946ac3476f248417b51bf9b5a59659c6f7c51 HC Test: Fix proxyARP test teardown - interface assignment is removed automatically with proxyARP settings Change-Id: Id0c7e8fd9cbb263e547ac5e2534f3e650115cb81 Signed-off-by: selias --- 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