This Page

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

The nova.console.fake Module

Fake ConsoleProxy driver for tests.

class nova.console.fake.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