Merge "Duplicate line in Brocade plugin"

This commit is contained in:
Jenkins 2013-05-06 16:03:13 +00:00 committed by Gerrit Code Review
commit 9ad0ba1ae3

View File

@ -438,7 +438,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}