Address outstanding TODO for callback event
Change 2c8debdc57
, so this can
be taken care of.
Change-Id: Ic1555ebb435543565613e1d0f8c25bc9dc48dd67
This commit is contained in:
parent
fb88d07bd1
commit
48f6c9caa4
|
@ -37,8 +37,7 @@ class TrunkPlugin(service_base.ServicePluginBase,
|
|||
|
||||
def __init__(self):
|
||||
self._segmentation_types = {}
|
||||
#TODO(tidwellr) notify using events.AFTER_INIT once available
|
||||
registry.notify(constants.TRUNK_PLUGIN, events.AFTER_CREATE, self)
|
||||
registry.notify(constants.TRUNK_PLUGIN, events.AFTER_INIT, self)
|
||||
LOG.debug('Trunk plugin loaded')
|
||||
|
||||
def add_segmentation_type(self, segmentation_type, id_validator):
|
||||
|
|
|
@ -23,9 +23,8 @@ LOG = logging.getLogger(__name__)
|
|||
|
||||
|
||||
def register():
|
||||
#TODO(tidwellr) register for AFTER_INIT once available
|
||||
registry.subscribe(handler, trunk_consts.TRUNK_PLUGIN,
|
||||
events.AFTER_CREATE)
|
||||
events.AFTER_INIT)
|
||||
LOG.debug('Registering for trunk support')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue