summaryrefslogtreecommitdiffstats
path: root/bin/nova-direct-api
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2011-06-28 17:05:41 -0500
committerJosh Kearney <josh@jk0.org>2011-06-28 17:05:41 -0500
commitd59e576dfeccdbd7ee82ea2803b57e24dcba2c22 (patch)
treeea8c17a46c7fe9f354e48aa6b9aa754586d13875 /bin/nova-direct-api
parentd0ff8a737111e9155fd59816afa5c4fc2b34bb4c (diff)
parent9ae4fbdef0a5f4c925c7e3d546edea06e608e39b (diff)
downloadnova-d59e576dfeccdbd7ee82ea2803b57e24dcba2c22.tar.gz
nova-d59e576dfeccdbd7ee82ea2803b57e24dcba2c22.tar.xz
nova-d59e576dfeccdbd7ee82ea2803b57e24dcba2c22.zip
Merged trunk
Diffstat (limited to 'bin/nova-direct-api')
-rwxr-xr-xbin/nova-direct-api7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/nova-direct-api b/bin/nova-direct-api
index 83ec72722..c6cf9b2ff 100755
--- a/bin/nova-direct-api
+++ b/bin/nova-direct-api
@@ -93,6 +93,9 @@ if __name__ == '__main__':
with_req = direct.PostParamsMiddleware(with_json)
with_auth = direct.DelegatedAuthMiddleware(with_req)
- server = wsgi.Server()
- server.start(with_auth, FLAGS.direct_port, host=FLAGS.direct_host)
+ server = wsgi.Server("Direct API",
+ with_auth,
+ host=FLAGS.direct_host,
+ port=FLAGS.direct_port)
+ server.start()
server.wait()