ironic.drivers.modules.redfish.graphical_console module

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

Bases: GraphicalConsole

get_app_info(task)[source]

Information required by the app to connect to the console

For redfish based consoles the app info will be the parsed driver info.

Returns:

dict containing parsed driver info

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_properties()[source]

Return the properties of the interface.

Returns:

dictionary of <property name>:<property description> entries.

validate(task)[source]

Validates the driver information needed by the redfish driver.

Parameters:

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

Raises:

InvalidParameterValue on malformed parameter(s)

Raises:

MissingParameterValue on missing parameter(s)