From 87d0f819d32175fdfeedc9e35db1481ed93bf65b Mon Sep 17 00:00:00 2001 From: Salvatore Orlando Date: Sun, 5 May 2013 17:40:38 +0200 Subject: [PATCH] Duplicate line in Brocade plugin Bug 1176570 Change-Id: Ic79913ae313d299f274db6f0d3f6d0eb21c9f4ce binding:vif_type was being set twice --- quantum/plugins/brocade/QuantumPlugin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/quantum/plugins/brocade/QuantumPlugin.py b/quantum/plugins/brocade/QuantumPlugin.py index f24aa622a..037dd7a07 100644 --- a/quantum/plugins/brocade/QuantumPlugin.py +++ b/quantum/plugins/brocade/QuantumPlugin.py @@ -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}