~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to nova/consoleauth/rpcapi.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 14:04:11 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20120816140411-0mr4n241wmk30t9l
Tags: upstream-2012.2~f3
ImportĀ upstreamĀ versionĀ 2012.2~f3

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        1.0 - Initial version.
34
34
    '''
35
35
 
36
 
    RPC_API_VERSION = '1.0'
 
36
    BASE_RPC_API_VERSION = '1.0'
37
37
 
38
38
    def __init__(self):
39
 
        super(ConsoleAuthAPI, self).__init__(topic=FLAGS.consoleauth_topic,
40
 
                                      default_version=self.RPC_API_VERSION)
 
39
        super(ConsoleAuthAPI, self).__init__(
 
40
                topic=FLAGS.consoleauth_topic,
 
41
                default_version=self.BASE_RPC_API_VERSION)
41
42
 
42
43
    def authorize_console(self, ctxt, token, console_type, host, port,
43
44
                          internal_access_path):