summaryrefslogtreecommitdiff
path: root/nova/consoleauth/manager.py
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-05-04 22:56:11 -0400
committerRussell Bryant <rbryant@redhat.com>2012-05-17 12:16:14 -0400
commit9ec9fdce626d5e2937c6e0664621ad590f958e13 (patch)
tree9535f82cee55119518d2a00262c641331581369a /nova/consoleauth/manager.py
parent1b6aa2d1af3d65f381aa9c57cc80531704c0ca8a (diff)
downloadnova-9ec9fdce626d5e2937c6e0664621ad590f958e13.tar.gz
Add version to consoleauth rpc API.
Part of blueprint versioned-rpc-apis. Change-Id: I9682bdbd06d744141b94385992b37cd2e55b8f5e
Diffstat (limited to 'nova/consoleauth/manager.py')
-rw-r--r--nova/consoleauth/manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/consoleauth/manager.py b/nova/consoleauth/manager.py
index 27e3cb74d0..a5c133e7af 100644
--- a/nova/consoleauth/manager.py
+++ b/nova/consoleauth/manager.py
@@ -45,6 +45,8 @@ FLAGS.register_opts(consoleauth_opts)
class ConsoleAuthManager(manager.Manager):
"""Manages token based authentication."""
+ RPC_API_VERSION = '1.0'
+
def __init__(self, scheduler_driver=None, *args, **kwargs):
super(ConsoleAuthManager, self).__init__(*args, **kwargs)
self.tokens = {}