Change supported vif type in Linux Bridge.

With [1], the vif_type for a Linux Bridge port is set
to 'tap', replacing 'bridge'. This definition needs to be
changed in the list of supported vif types in the pluging
driver.

[1] https://review.openstack.org/#/c/447150/

Change-Id: I715565627b2446533298b5905edbaa256bd84c92
Closes-Bug: #1694190
This commit is contained in:
Rodolfo Alonso Hernandez 2017-05-29 08:54:35 +01:00 committed by Ihar Hrachyshka
parent 6cfe39708f
commit 9fbd9eb3b7
1 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,8 @@ class LinuxBridgeDriver(base.DriverBase):
def create():
return LinuxBridgeDriver(
name='linuxbridge',
vif_types=[portbindings.VIF_TYPE_BRIDGE],
vif_types=[portbindings.VIF_TYPE_BRIDGE,
portbindings.VIF_TYPE_TAP],
vnic_types=[portbindings.VNIC_NORMAL],
supported_rules=SUPPORTED_RULES,
requires_rpc_notifications=True)