fixed tests, moved compute network config call, added notes, made inject option into a boolean
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
|
||||
from nova import flags
|
||||
from nova import twistd
|
||||
from nova import utils
|
||||
|
||||
from nova.network import service
|
||||
|
||||
@@ -34,8 +33,4 @@ if __name__ == '__main__':
|
||||
twistd.serve(__file__)
|
||||
|
||||
if __name__ == '__builtin__':
|
||||
t = FLAGS.network_type
|
||||
if t == 'flat':
|
||||
application = service.FlatNetworkService.create()
|
||||
elif t == 'vlan':
|
||||
application = service.VlanNetworkService.create()
|
||||
application = service.type_to_class(FLAGS.network_type).create()
|
||||
|
||||
Reference in New Issue
Block a user