Add missing parameter for switch_backend.initialize

neutron_notifier should be passed to switch_backend.

Change-Id: I65ea27cfa5347ead20a4dd50b6f9656c9329fc87
Close-Bug: #1791672
This commit is contained in:
Hong Hui Xiao 2018-09-10 13:20:26 +00:00
parent 4aff206e55
commit ad2d48fa52
1 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,8 @@ class DfLocalController(object):
action = update.action
if action == ctrl_const.CONTROLLER_REINITIALIZE:
self.db_store.clear()
self.switch_backend.initialize(self.db_change_callback)
self.switch_backend.initialize(self.db_change_callback,
self.neutron_notifier)
self.sync()
elif action == ctrl_const.CONTROLLER_SYNC:
self.sync()