renamed xxxnode to xxservice
This commit is contained in:
		@@ -22,11 +22,11 @@
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from nova import twistd
 | 
			
		||||
from nova.compute import computenode
 | 
			
		||||
from nova.compute import computeservice
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    twistd.serve(__file__)
 | 
			
		||||
 | 
			
		||||
if __name__ == '__builtin__':
 | 
			
		||||
    application = computenode.ComputeNode.create()
 | 
			
		||||
    application = computeservice.ComputeService.create()
 | 
			
		||||
 
 | 
			
		||||
@@ -22,11 +22,11 @@
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from nova import twistd
 | 
			
		||||
from nova.network import networknode
 | 
			
		||||
from nova.network import networkservice
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    twistd.serve(__file__)
 | 
			
		||||
 | 
			
		||||
if __name__ == '__builtin__':
 | 
			
		||||
    application = networknode.NetworkNode.create()
 | 
			
		||||
    application = networkservice.NetworkService.create()
 | 
			
		||||
 
 | 
			
		||||
@@ -22,11 +22,11 @@
 | 
			
		||||
"""
 | 
			
		||||
 | 
			
		||||
from nova import twistd
 | 
			
		||||
from nova.volume import volumenode
 | 
			
		||||
from nova.volume import volumeservice
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    twistd.serve(__file__)
 | 
			
		||||
 | 
			
		||||
if __name__ == '__builtin__':
 | 
			
		||||
    application = volumenode.VolumeNode.create()
 | 
			
		||||
    application = volumeservice.VolumeService.create()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user