summaryrefslogtreecommitdiffstats
path: root/nova/adminclient.py
diff options
context:
space:
mode:
authorSandy Walsh <sandy.walsh@rackspace.com>2010-12-20 20:26:59 +0000
committerTarmac <>2010-12-20 20:26:59 +0000
commit85b07de25094b35928f2b67d1be11748e2af6713 (patch)
tree5bfcfc627e4ec9fa000a271008469bc69bf2ec4c /nova/adminclient.py
parent800ecbd713c55d7410d6eb860a439cb87468e7ad (diff)
parent8ddae1280da59a0e86e1daf1c8de97248ef6cb13 (diff)
downloadnova-85b07de25094b35928f2b67d1be11748e2af6713.tar.gz
nova-85b07de25094b35928f2b67d1be11748e2af6713.tar.xz
nova-85b07de25094b35928f2b67d1be11748e2af6713.zip
Adds support for Pause and Unpause of xenserver instances.
Pause freezes the vm, keeping resources in-memory. I used this version of python cloudservers to test with: https://github.com/SandyWalsh/python-cloudservers url's are http://a.b.c.d/v1.0/servers/#######/pause and http://a.b.c.d/v1.0/servers/#######/unpause Note: no support for libvirt.
Diffstat (limited to 'nova/adminclient.py')
-rw-r--r--nova/adminclient.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/adminclient.py b/nova/adminclient.py
index 5a62cce7d..6ae9f0c0f 100644
--- a/nova/adminclient.py
+++ b/nova/adminclient.py
@@ -194,6 +194,7 @@ class HostInfo(object):
class NovaAdminClient(object):
+
def __init__(
self,
clc_url=DEFAULT_CLC_URL,