diff options
Diffstat (limited to 'nova/manager.py')
-rw-r--r-- | nova/manager.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nova/manager.py b/nova/manager.py index 9c00401b96..df03305367 100644 --- a/nova/manager.py +++ b/nova/manager.py @@ -103,12 +103,15 @@ class Manager(PeriodicTasks, metaclass=ManagerMeta): """Tasks to be run at a periodic interval.""" return self.run_periodic_tasks(context, raise_on_error=raise_on_error) - def init_host(self): + def init_host(self, service_ref): """Hook to do additional manager initialization when one requests the service be started. This is called before any service record - is created. + is created, but if one already exists for this service, it is + provided. Child classes should override this method. + + :param service_ref: An objects.Service if one exists, else None. """ pass |