From 68509426aae69ea3f7335a958f31b8286e9774fd Mon Sep 17 00:00:00 2001 From: selias Date: Tue, 14 Mar 2017 17:47:07 +0100 Subject: [PATCH] HC Test: update URL paths - needed due to model split https://gerrit.fd.io/r/5706 Change-Id: I6179eae7c5cb5d13fbec6510821556c1ed424c3a Signed-off-by: selias --- resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py | 2 +- resources/templates/honeycomb/config_bridge_domain.url | 2 +- resources/templates/honeycomb/oper_bridge_domains.url | 2 +- resources/templates/honeycomb/oper_vpp_version.url | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py b/resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py index 29a3a0e6ad..3c629c96e4 100644 --- a/resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py +++ b/resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py @@ -186,7 +186,7 @@ class BridgeDomainKeywords(object): "Not possible to get operational information about the " "bridge domains. Status code: {0}.".format(status_code)) try: - return resp["bridge-domains"]["bridge-domain"] + return resp["bridge-domains-state"]["bridge-domain"] except (KeyError, TypeError): return [] diff --git a/resources/templates/honeycomb/config_bridge_domain.url b/resources/templates/honeycomb/config_bridge_domain.url index 8e37a503b0..cd8b14498e 100644 --- a/resources/templates/honeycomb/config_bridge_domain.url +++ b/resources/templates/honeycomb/config_bridge_domain.url @@ -1 +1 @@ -/restconf/config{odl_url_part}/v3po:vpp/bridge-domains \ No newline at end of file +/restconf/config{odl_url_part}/v3po:bridge-domains \ No newline at end of file diff --git a/resources/templates/honeycomb/oper_bridge_domains.url b/resources/templates/honeycomb/oper_bridge_domains.url index f0fedb4039..d26d4a658c 100644 --- a/resources/templates/honeycomb/oper_bridge_domains.url +++ b/resources/templates/honeycomb/oper_bridge_domains.url @@ -1 +1 @@ -/restconf/operational{odl_url_part}/v3po:vpp-state/bridge-domains \ No newline at end of file +/restconf/operational{odl_url_part}/v3po:bridge-domains-state \ No newline at end of file diff --git a/resources/templates/honeycomb/oper_vpp_version.url b/resources/templates/honeycomb/oper_vpp_version.url index fbb8820975..9ae73913f3 100644 --- a/resources/templates/honeycomb/oper_vpp_version.url +++ b/resources/templates/honeycomb/oper_vpp_version.url @@ -1 +1 @@ -/restconf/operational{odl_url_part}/v3po:vpp-state/version \ No newline at end of file +/restconf/operational{odl_url_part}/vpp-management:vpp-state/version \ No newline at end of file -- 2.16.6