diff options
| author | Eric Day <eday@oddments.org> | 2010-08-30 06:23:17 +0000 |
|---|---|---|
| committer | Tarmac <> | 2010-08-30 06:23:17 +0000 |
| commit | 5f14a7955b9ef90afed91bda0343130d83e15a73 (patch) | |
| tree | 9b23311ba976cf05e8fcef635bf0872ed4ce92d1 /bin/nova-api | |
| parent | 75eaa1b8f871753b9bd61c2ccd93efd813d651f9 (diff) | |
| parent | 47e98cdae2a6233cb475c34207758a29c0ef7a4c (diff) | |
| download | nova-5f14a7955b9ef90afed91bda0343130d83e15a73.tar.gz nova-5f14a7955b9ef90afed91bda0343130d83e15a73.tar.xz nova-5f14a7955b9ef90afed91bda0343130d83e15a73.zip | |
Dead code removal.
Diffstat (limited to 'bin/nova-api')
| -rwxr-xr-x | bin/nova-api | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bin/nova-api b/bin/nova-api index 13baf22a7..a3ad5a0e1 100755 --- a/bin/nova-api +++ b/bin/nova-api @@ -26,7 +26,6 @@ from tornado import httpserver from tornado import ioloop from nova import flags -from nova import rpc from nova import server from nova import utils from nova.endpoint import admin @@ -43,14 +42,7 @@ def main(_argv): 'Admin': admin.AdminController()} _app = api.APIServerApplication(controllers) - conn = rpc.Connection.instance() - consumer = rpc.AdapterConsumer(connection=conn, - topic=FLAGS.cloud_topic, - proxy=controllers['Cloud']) - io_inst = ioloop.IOLoop.instance() - _injected = consumer.attach_to_tornado(io_inst) - http_server = httpserver.HTTPServer(_app) http_server.listen(FLAGS.cc_port) logging.debug('Started HTTP server on %s', FLAGS.cc_port) |
