Previous topic

The nova.virt.xenapi.volume_utils Module

Next topic

The nova.volume.api Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.vnc.xvp_proxy Module

Eventlet WSGI Services to proxy VNC for XCP protocol.

class SafeHttpProtocol(request, client_address, server)

Bases: eventlet.wsgi.HttpProtocol

HttpProtocol wrapper to suppress IOErrors.

The proxy code above always shuts down client connections, so we catch the IOError that raises when the SocketServer tries to flush the connection.

finish()
class XCPVNCProxy

Bases: object

Class to use the xvp auth protocol to proxy instance vnc consoles.

handshake(req, connect_info, sockets)

Execute hypervisor-specific vnc auth handshaking (if needed).

one_way_proxy(source, dest)

Proxy tcp connection from source to dest.

proxy_connection(req, connect_info, start_response)

Spawn bi-directional vnc proxy.

get_wsgi_server()