Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-427: Honeycomb ietf-ACL tests - L2
[csit.git]
/
resources
/
libraries
/
python
/
honeycomb
/
HcAPIKwBridgeDomain.py
diff --git
a/resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
b/resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
index
e3fd6fb
..
f156f09
100644
(file)
--- a/
resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
+++ b/
resources/libraries/python/honeycomb/HcAPIKwBridgeDomain.py
@@
-254,7
+254,7
@@
class BridgeDomainKeywords(object):
bridge_domain)
@staticmethod
bridge_domain)
@staticmethod
- def remove_all_b
d
s(node):
+ def remove_all_b
ridge_domain
s(node):
"""Remove all bridge domains.
:param node: Honeycomb node.
"""Remove all bridge domains.
:param node: Honeycomb node.
@@
-266,8
+266,10
@@
class BridgeDomainKeywords(object):
"""
data = {"bridge-domains": {"bridge-domain": []}}
"""
data = {"bridge-domains": {"bridge-domain": []}}
+
status_code, resp = HcUtil.\
put_honeycomb_data(node, "config_bridge_domain", data)
status_code, resp = HcUtil.\
put_honeycomb_data(node, "config_bridge_domain", data)
+
if status_code != HTTPCodes.OK:
raise HoneycombError("Not possible to remove all bridge domains. "
"Status code: {0}.".format(status_code))
if status_code != HTTPCodes.OK:
raise HoneycombError("Not possible to remove all bridge domains. "
"Status code: {0}.".format(status_code))