]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
NSX: remove last of unneed quantum references
authorAaron Rosen <aaronorosen@gmail.com>
Thu, 13 Mar 2014 20:18:42 +0000 (13:18 -0700)
committerGerrit Code Review <review@openstack.org>
Fri, 14 Mar 2014 15:42:47 +0000 (15:42 +0000)
Bye bye quantum!

Change-Id: Idabb3c28abfafedb1740d55aead1745725f6ca63

neutron/plugins/vmware/plugins/base.py

index e378d21c76d3c594ceba94b2bf33f158b323b723..d504876ff46404475e8a3a7b8003b47a79e9ef9e 100644 (file)
@@ -422,7 +422,7 @@ class NsxPluginV2(addr_pair_db.AllowedAddressPairsMixin,
             nsx_db.delete_neutron_nsx_port_mapping(context.session,
                                                    port_id)
             msg = (_("An exception occurred while creating the "
-                     "quantum port %s on the NSX plaform") % port_id)
+                     "neutron port %s on the NSX plaform") % port_id)
             LOG.exception(msg)
 
     def _nsx_create_port(self, context, port_data):
@@ -1176,14 +1176,14 @@ class NsxPluginV2(addr_pair_db.AllowedAddressPairsMixin,
         except n_exc.NotFound:
             LOG.warning(_("Logical switch for network %s was not "
                           "found in NSX."), port_data['network_id'])
-            # Put port in error on quantum DB
+            # Put port in error on neutron DB
             with context.session.begin(subtransactions=True):
                 port = self._get_port(context, neutron_port_id)
                 port_data['status'] = constants.PORT_STATUS_ERROR
                 port['status'] = port_data['status']
                 context.session.add(port)
         except Exception:
-            # Port must be removed from Quantum DB
+            # Port must be removed from neutron DB
             with excutils.save_and_reraise_exception():
                 LOG.error(_("Unable to create port or set port "
                             "attachment in NSX."))