diff options
author | Sridhar Rao <sridhar.rao@spirent.com> | 2018-04-26 03:37:44 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-04-26 03:37:44 +0000 |
commit | 446e4c14c7f91b797a338db94b9bcb32b1c7d229 (patch) | |
tree | 12af38ae71bc4f1855fbc61dd98faa18aa3e04f3 /src | |
parent | 7440717327dabe7ae37f99cb060bce43a7878096 (diff) | |
parent | 217fa855dcfdc2fc74d556a5620ce6aeb66af007 (diff) |
Merge "vswitches/ovs: delete bridges on stop"
Diffstat (limited to 'src')
-rw-r--r-- | src/ovs/ofctl.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ovs/ofctl.py b/src/ovs/ofctl.py index b023e080..21da850a 100644 --- a/src/ovs/ofctl.py +++ b/src/ovs/ofctl.py @@ -156,21 +156,6 @@ class OFBridge(OFBase): self._ports = {} self._cache_file = None - # context manager - - def __enter__(self): - """Create datapath - - :returns: self - """ - return self - - def __exit__(self, type_, value, traceback): - """Remove datapath. - """ - if not traceback: - self.destroy() - # helpers def run_ofctl(self, args, check_error=False, timeout=None): |