summaryrefslogtreecommitdiffstats
path: root/nova/endpoint
diff options
context:
space:
mode:
authorMichael Gundlach <michael.gundlach@rackspace.com>2010-08-30 19:10:17 -0400
committerMichael Gundlach <michael.gundlach@rackspace.com>2010-08-30 19:10:17 -0400
commit4bca41506c90e779a8d4a5defdca3add79073185 (patch)
treefc3c9dfb5c1f621c6a6f93966f3b20b51f35a860 /nova/endpoint
parentbe2b529a987627bf454f7343df74d4e8ae670761 (diff)
Move APIRequestContext into its own file
Diffstat (limited to 'nova/endpoint')
-rwxr-xr-xnova/endpoint/api.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/nova/endpoint/api.py b/nova/endpoint/api.py
index 5a4e496a0..311fb1880 100755
--- a/nova/endpoint/api.py
+++ b/nova/endpoint/api.py
@@ -22,7 +22,6 @@ Most calls are proxied into the responsible controller.
"""
import multiprocessing
-import random
import re
import urllib
@@ -38,17 +37,6 @@ FLAGS = flags.FLAGS
flags.DEFINE_integer('cc_port', 8773, 'cloud controller port')
-class APIRequestContext(object):
- def __init__(self, handler, user, project):
- self.handler = handler
- self.user = user
- self.project = project
- self.request_id = ''.join(
- [random.choice('ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890-')
- for x in xrange(20)]
- )
-
-
class RootRequestHandler(tornado.web.RequestHandler):
def get(self):
# available api versions