From 8d010cacb520786fa12794801bc31eddd23b2af7 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Thu, 22 Dec 2011 21:39:21 +0000 Subject: Implements blueprint vnc-console-cleanup * Creates a unified way to access vnc consoles for xenserver and libvirt * Now supports both java and websocket clients * Removes nova-vncproxy - a replacement version of this (nova-novncproxy) can be found as described in vncconsole.rst * Adds nova-xvpvncproxy, which supports a java vnc client * Adds api extension to access java and novnc access_urls * Fixes proxy server to close/shutdown sockets more cleanly * Address style feedback * Use new-style extension format * Fix setup.py * utils.gen_uuid must be wrapped like str(utils.gen_uuid()) or it can't be serialized Change-Id: I5e42e2f160e8e3476269bd64b0e8aa77e66c918c --- nova/exception.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nova/exception.py') diff --git a/nova/exception.py b/nova/exception.py index 23bcf46f4..777d64515 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -679,6 +679,10 @@ class ConsoleNotFoundInPoolForInstance(ConsoleNotFound): "in pool %(pool_id)s could not be found.") +class ConsoleTypeInvalid(Invalid): + message = _("Invalid console type %(console_type)s ") + + class NoInstanceTypesFound(NotFound): message = _("Zero instance types found.") -- cgit