Load port status update worker in V1 driver
Port status update worker wasn't loaded, causing VM launch to fail when using pseudo agent binding which is the default. Change-Id: I39c971899e6133f31b05adebcd30398f8d93b11f
This commit is contained in:
parent
a4c9ca2b1c
commit
46eb7f964e
|
@ -43,6 +43,7 @@ from networking_odl.common import filters
|
|||
from networking_odl.common import odl_features
|
||||
from networking_odl.common import utils as odl_utils
|
||||
from networking_odl.ml2 import port_binding
|
||||
from networking_odl.ml2 import port_status_update
|
||||
from networking_odl.trunk import trunk_driver_v1 as trunk_driver
|
||||
|
||||
|
||||
|
@ -463,6 +464,9 @@ class OpenDaylightMechanismDriver(api.MechanismDriver):
|
|||
self.trunk_driver = trunk_driver.OpenDaylightTrunkDriverV1.create()
|
||||
odl_features.init()
|
||||
|
||||
def get_workers(self):
|
||||
return [port_status_update.OdlPortStatusUpdate()]
|
||||
|
||||
# Postcommit hooks are used to trigger synchronization.
|
||||
|
||||
def create_network_postcommit(self, context):
|
||||
|
|
Loading…
Reference in New Issue