]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
ml2: Remove a redundant assignment in _bind_port_level
authorYAMAMOTO Takashi <yamamoto@midokura.com>
Fri, 14 Aug 2015 10:19:31 +0000 (19:19 +0900)
committerYAMAMOTO Takashi <yamamoto@midokura.com>
Fri, 14 Aug 2015 10:20:30 +0000 (19:20 +0900)
Don't mark binding FAILED here, as the caller does the same.

Change-Id: I95d9a64965d0ca9bf8a870f05c73fa11cf189f8f

neutron/plugins/ml2/managers.py

index 4f678b2265abd2356f0482c4b97f3a242b1ef450..d563e0cc06597eb9c81ca5ead7cae4dcc6c0dbba 100644 (file)
@@ -698,7 +698,6 @@ class MechanismManager(stevedore.named.NamedExtensionManager):
                 LOG.exception(_LE("Mechanism driver %s failed in "
                                   "bind_port"),
                               driver.name)
-        binding.vif_type = portbindings.VIF_TYPE_BINDING_FAILED
         LOG.error(_LE("Failed to bind port %(port)s on host %(host)s"),
                   {'port': context.current['id'],
                    'host': binding.host})