diff options
| author | Eric Day <eday@oddments.org> | 2010-08-18 19:43:18 +0000 |
|---|---|---|
| committer | Tarmac <> | 2010-08-18 19:43:18 +0000 |
| commit | 2af3bad97be40c135fb73f2e595e7fda86f17900 (patch) | |
| tree | f435c2a589c723936fb96a2e57595f55e9ffee04 /bin | |
| parent | 663667cdcf1bd16be33dc9b993123b7fc566caed (diff) | |
| parent | 4e5e72da2e3242026d757c8d5143e16f9d00cb6a (diff) | |
| download | nova-2af3bad97be40c135fb73f2e595e7fda86f17900.tar.gz nova-2af3bad97be40c135fb73f2e595e7fda86f17900.tar.xz nova-2af3bad97be40c135fb73f2e595e7fda86f17900.zip | |
First in a series of patches to port the API from Tornado to WSGI. Also includes a few small style fixes in the new API code.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/nova-api-new (renamed from bin/nova-rsapi) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/nova-rsapi b/bin/nova-api-new index e2722422e..fda42339c 100755 --- a/bin/nova-rsapi +++ b/bin/nova-api-new @@ -18,17 +18,17 @@ # See the License for the specific language governing permissions and # limitations under the License. """ - Daemon for the Rackspace API endpoint. +Nova API daemon. """ +from nova import api from nova import flags from nova import utils from nova import wsgi -from nova.endpoint import newapi FLAGS = flags.FLAGS -flags.DEFINE_integer('cc_port', 8773, 'cloud controller port') +flags.DEFINE_integer('api_port', 8773, 'API port') if __name__ == '__main__': utils.default_flagfile() - wsgi.run_server(newapi.APIVersionRouter(), FLAGS.cc_port) + wsgi.run_server(api.API(), FLAGS.api_port) |
