ironic.console.securityproxy.base module

class ironic.console.securityproxy.base.SecurityProxy[source]

Bases: object

A console security Proxy Helper

Console security proxy helpers should subclass this class and implement a generic connect for the particular protocol being used.

Security drivers can then subclass the protocol-specific helper class.

abstract connect(tenant_sock, host_sock)[source]

Initiate the console connection

This method performs the protocol specific negotiation, and returns the socket-like object to use to communicate with the host securely.

Parameters:
  • tenant_sock – socket connected to the remote tenant user

  • host_sock – socket connected to the host node

Returns:

a new host_sock for the node