HC Test: update URL paths 84/5784/5
authorselias <samelias@cisco.com>
Tue, 14 Mar 2017 16:47:07 +0000 (17:47 +0100)
committerTibor Frank <tifrank@cisco.com>
Wed, 22 Mar 2017 11:59:34 +0000 (11:59 +0000)
 - needed due to model split https://gerrit.fd.io/r/5706

Change-Id: I6179eae7c5cb5d13fbec6510821556c1ed424c3a
Signed-off-by: selias <samelias@cisco.com>
resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
resources/templates/honeycomb/config_bridge_domain.url
resources/templates/honeycomb/oper_bridge_domains.url
resources/templates/honeycomb/oper_vpp_version.url

index 29a3a0e..3c629c9 100644 (file)
@@ -186,7 +186,7 @@ class BridgeDomainKeywords(object):
                 "Not possible to get operational information about the "
                 "bridge domains. Status code: {0}.".format(status_code))
         try:
                 "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 []
 
         except (KeyError, TypeError):
             return []
index 8e37a50..cd8b144 100644 (file)
@@ -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
index f0fedb4..d26d4a6 100644 (file)
@@ -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
index fbb8820..9ae7391 100644 (file)
@@ -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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.