]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Duplicate line in Brocade plugin
authorSalvatore Orlando <salv.orlando@gmail.com>
Sun, 5 May 2013 15:40:38 +0000 (17:40 +0200)
committerSalvatore Orlando <salv.orlando@gmail.com>
Sun, 5 May 2013 15:45:21 +0000 (17:45 +0200)
Bug 1176570

Change-Id: Ic79913ae313d299f274db6f0d3f6d0eb21c9f4ce
binding:vif_type was being set twice

quantum/plugins/brocade/QuantumPlugin.py

index f24aa622a013193cf8fa9568b7a434dd9cfc953d..037dd7a073f9143167fd705a94ae6c15ca84e1f4 100644 (file)
@@ -439,7 +439,6 @@ class BrocadePluginV2(db_base_plugin_v2.QuantumDbPluginV2,
     def _extend_port_dict_binding(self, context, port):
         if self._check_view_auth(context, port, self.binding_view):
             port[portbindings.VIF_TYPE] = portbindings.VIF_TYPE_BRIDGE
-            port['binding:vif_type'] = portbindings.VIF_TYPE_BRIDGE
             port[portbindings.CAPABILITIES] = {
                 portbindings.CAP_PORT_FILTER:
                 'security-group' in self.supported_extension_aliases}