ironic.drivers.modules.graphical_console module

class ironic.drivers.modules.graphical_console.GraphicalConsole(*args, **kwargs)[source]

Bases: ConsoleInterface

get_app_info(task)[source]

Information required by the app to connect to the console

Returns:

dict containing app-specific values

abstract get_app_name()[source]

Get the name of the app passed to the console container.

A single console container image is expected to support all known graphical consoles and each implementation is referred to as an app. Each graphical console driver will specify what app to load in the container.

Returns:

String representing the app name to load in the console container

get_console(task)[source]

Get the type and connection information about the console.

start_console(task)[source]

Start a remote console for the task’s node.

This method should not raise an exception if console already started.

Parameters:

task – A TaskManager instance containing the node to act on.

stop_console(task)[source]

Stop the remote console session for the task’s node.

Parameters:

task – A TaskManager instance containing the node to act on.