ironic.common.vnc module¶
Functions for VNC graphical console drivers and novncproxy
- ironic.common.vnc.get_console(node)[source]¶
Get the type and connection information about the console
- Parameters:
node – the node object
- Returns:
A dict containing keys ‘type’, ‘url’
- ironic.common.vnc.novnc_authorize(node)[source]¶
Create and save a console token
A random token is created and is stored in the node ``driver_internal_info` along with creation time.
This is called by graphical console drivers when
start_console
is called.- Parameters:
node – the node object
- Returns:
an authorized token
- ironic.common.vnc.novnc_unauthorize(node)[source]¶
Clear any existing console token
- Parameters:
node – the node object