From 5cbb3f1640bc490f52a16da31ef378bfab4af644 Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Mon, 27 May 2019 13:58:23 +0200 Subject: HC2VPP-411: migrate interfaces-state to interfaces - new ietf-interfaces makes interfaces-state obsolete - updates honeycomb tests to latest ietf-interfaces model Change-Id: I5502a5ab23661429caca9498407d7121d423a1a3 Signed-off-by: Michal Cmarada --- resources/libraries/python/honeycomb/HcAPIKwInterfaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/libraries/python') diff --git a/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py b/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py index e9ef13352b..662fedca10 100644 --- a/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py +++ b/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py @@ -160,7 +160,7 @@ class InterfaceKeywords(object): "Not possible to get operational information about the " "interfaces. Status code: {0}.".format(status_code)) try: - return resp["interfaces-state"]["interface"] + return resp["interfaces"]["interface"] except (KeyError, TypeError): return [] -- cgit 1.2.3-korg