ironic.console.rfb.auth module

class ironic.console.rfb.auth.AuthType(value)[source]

Bases: IntEnum

An enumeration.

ARD = 30
INVALID = 0
MSLOGON = 4294967290
NONE = 1
RA2 = 5
RA2NE = 6
SASL = 20
TIGHT = 16
TLS = 18
ULTRA = 17
VENCRYPT = 19
VNC = 2
class ironic.console.rfb.auth.RFBAuthScheme[source]

Bases: object

abstract security_handshake(host_sock)[source]

Perform security-type-specific functionality.

This method is expected to return the socket-like object used to communicate with the server securely.

Should raise ironic.common.exception.RFBAuthHandshakeFailed if an error occurs

Parameters:

host_sock – socket connected to the host instance

abstract security_type()[source]

Return the security type supported by this scheme

Returns the nova.console.rfb.auth.AuthType.XX constant representing the scheme implemented.