Previous topic

The nova.consoleauth.manager Module

Next topic

The nova.console.manager Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.console.fake Module

Fake ConsoleProxy driver for tests.

class FakeConsoleProxy

Bases: object

Fake ConsoleProxy driver.

console_type
fix_console_password(password)

Trim password to length, and any other massaging.

fix_pool_password(password)

Trim password to length, and any other massaging.

generate_password(length=8)

Returns random console password.

get_port(context)

Get available port for consoles that need one.

init_host()

Start up any config’ed consoles on start.

setup_console(context, console)

Sets up actual proxies.

teardown_console(context, console)

Tears down actual proxies.