Revision bb54871d
b/snf-cyclades-app/synnefo/api/actions.py | ||
---|---|---|
248 | 248 |
if fwd['status'] != "OK": |
249 | 249 |
raise ServiceUnavailable('vncauthproxy returned error status') |
250 | 250 |
|
251 |
# Verify that the VNC server settings haven't changed |
|
252 |
if not settings.TEST: |
|
253 |
if console_data != backend.get_instance_console(vm): |
|
254 |
raise ServiceUnavailable('VNC Server settings changed.') |
|
255 |
|
|
251 | 256 |
console = { |
252 | 257 |
'type': 'vnc', |
253 | 258 |
'host': getfqdn(), |
Also available in: Unified diff