summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorAnthony Young <sleepsonthefloor@gmail.com>2011-12-22 21:39:21 +0000
committerAnthony Young <sleepsonthefloor@gmail.com>2012-01-17 14:18:31 -0800
commit8d010cacb520786fa12794801bc31eddd23b2af7 (patch)
tree51609a7c80b6a62128a9819fadb0064209e17a81 /nova/exception.py
parent5987ed97ffb90e52acb7a7d9e0a915d072aadaed (diff)
downloadnova-8d010cacb520786fa12794801bc31eddd23b2af7.tar.gz
nova-8d010cacb520786fa12794801bc31eddd23b2af7.tar.xz
nova-8d010cacb520786fa12794801bc31eddd23b2af7.zip
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
Diffstat (limited to 'nova/exception.py')
-rw-r--r--nova/exception.py4
1 files changed, 4 insertions, 0 deletions
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.")