diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-05-27 13:58:23 +0200 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-05-27 15:27:34 +0000 |
commit | 5cbb3f1640bc490f52a16da31ef378bfab4af644 (patch) | |
tree | 4d7dc2fdec86ec8c91db68b1f07046e825441cf4 /resources/libraries/python/honeycomb/HcAPIKwInterfaces.py | |
parent | 1fea09e6c0634ea7f02f9b94883a8261ff3769b1 (diff) |
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 <mcmarada@cisco.com>
Diffstat (limited to 'resources/libraries/python/honeycomb/HcAPIKwInterfaces.py')
-rw-r--r-- | resources/libraries/python/honeycomb/HcAPIKwInterfaces.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 [] |