From 46eb7f964e5e48500fb0dc8407b9789db3f3e6aa Mon Sep 17 00:00:00 2001 From: Mike Kolesnik Date: Tue, 18 Jul 2017 11:47:04 +0300 Subject: [PATCH] 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 --- networking_odl/ml2/mech_driver.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/networking_odl/ml2/mech_driver.py b/networking_odl/ml2/mech_driver.py index 3317226d7..829713a19 100644 --- a/networking_odl/ml2/mech_driver.py +++ b/networking_odl/ml2/mech_driver.py @@ -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):