summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-19 15:43:50 +0000
committerGerrit Code Review <review@openstack.org>2017-06-19 15:43:50 +0000
commit391df315fd12a4d039ede86bbd9081aeb5534da4 (patch)
treedbc793e02868bd967190c8bef2c165b634c6f848
parent52c06cf58c92556aa0c3824674e79958f8c38516 (diff)
parentecea69026a37a3ad02e86305fb7cef4d2ef9aa6d (diff)
Merge "Fix l2gw exception handling" into stable/ocata
-rw-r--r--vmware_nsx/services/l2gateway/nsx_v3/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmware_nsx/services/l2gateway/nsx_v3/driver.py b/vmware_nsx/services/l2gateway/nsx_v3/driver.py
index 7c73d61..ae05035 100644
--- a/vmware_nsx/services/l2gateway/nsx_v3/driver.py
+++ b/vmware_nsx/services/l2gateway/nsx_v3/driver.py
@@ -144,7 +144,7 @@ class NsxV3Driver(l2gateway_db.L2GatewayMixin):
144 try: 144 try:
145 self._core_plugin.nsxlib.bridge_cluster.get_id_by_name_or_id( 145 self._core_plugin.nsxlib.bridge_cluster.get_id_by_name_or_id(
146 devices[0]['device_name']) 146 devices[0]['device_name'])
147 except nsxlib_exc.ResourceNotFound: 147 except nsxlib_exc.ManagerError:
148 msg = _("Could not find Bridge Cluster for L2 gateway device " 148 msg = _("Could not find Bridge Cluster for L2 gateway device "
149 "%s on NSX backend") % devices[0]['device_name'] 149 "%s on NSX backend") % devices[0]['device_name']
150 LOG.error(msg) 150 LOG.error(msg)