The nova.consoleauth.rpcapi Module

Client side of the consoleauth RPC API.

class ConsoleAuthAPI

Bases: object

Client side of the consoleauth rpc API.

API version history:

  • 1.0 - Initial version.

  • 1.1 - Added get_backdoor_port()

  • 1.2 - Added instance_uuid to authorize_console, and

    delete_tokens_for_instance

... Grizzly and Havana support message version 1.2. So, any changes to existing methods in 2.x after that point should be done such that they can handle the version_cap being set to 1.2.

  • 2.0 - Major API rev for Icehouse

... Icehouse and Juno support message version 2.0. So, any changes to existing methods in 2.x after that point should be done such that they can handle the version_cap being set to 2.0.

  • 2.1 - Added access_url to authorize_console

... Kilo support message version 2.1. So, any changes to existing methods in 2.x after that point should be done such that they can handle the version_cap being set to 2.1.

VERSION_ALIASES = {'juno': '2.0', 'kilo': '2.1', 'havana': '1.2', 'grizzly': '1.2', 'icehouse': '2.0'}
authorize_console(ctxt, token, console_type, host, port, internal_access_path, instance_uuid, access_url)
check_token(ctxt, token)
delete_tokens_for_instance(ctxt, instance_uuid)

Previous topic

The nova.consoleauth.manager Module

Next topic

The nova.context Module

Project Source

This Page