updated models a bit and removed service classes
This commit is contained in:
@@ -21,12 +21,12 @@
|
||||
Twistd daemon for the nova compute nodes.
|
||||
"""
|
||||
|
||||
from nova import service
|
||||
from nova import twistd
|
||||
from nova.compute import service
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
twistd.serve(__file__)
|
||||
|
||||
if __name__ == '__builtin__':
|
||||
application = service.ComputeService.create() # pylint: disable=C0103
|
||||
application = service.Service.create() # pylint: disable=C0103
|
||||
|
||||
@@ -21,16 +21,12 @@
|
||||
Twistd daemon for the nova network nodes.
|
||||
"""
|
||||
|
||||
from nova import flags
|
||||
from nova import service
|
||||
from nova import twistd
|
||||
|
||||
from nova.network import service
|
||||
|
||||
FLAGS = flags.FLAGS
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
twistd.serve(__file__)
|
||||
|
||||
if __name__ == '__builtin__':
|
||||
application = service.NetworkService.create() # pylint: disable-msg=C0103
|
||||
application = service.Service.create() # pylint: disable-msg=C0103
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
Twistd daemon for the nova volume nodes.
|
||||
"""
|
||||
|
||||
from nova import service
|
||||
from nova import twistd
|
||||
from nova.volume import service
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
twistd.serve(__file__)
|
||||
|
||||
if __name__ == '__builtin__':
|
||||
application = service.VolumeService.create() # pylint: disable-msg=C0103
|
||||
application = service.Service.create() # pylint: disable-msg=C0103
|
||||
|
||||
Reference in New Issue
Block a user