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.

Previous topic

The nova.console.api Module

Next topic

The nova.console.manager Module

This Page