diff options
| author | Trey Morris <trey.morris@rackspace.com> | 2010-12-10 17:55:21 +0000 |
|---|---|---|
| committer | Trey Morris <trey.morris@rackspace.com> | 2010-12-10 17:55:21 +0000 |
| commit | f7862f6d212d52e09d2a3a076762c936618cf061 (patch) | |
| tree | e44bfddf90da4c6dfd268f3489ac065f502ad0cd | |
| parent | 1e410a0c4528a2a70e56bd243d995aede9b95854 (diff) | |
added pause and unpause to fake connection
| -rw-r--r-- | nova/virt/fake.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nova/virt/fake.py b/nova/virt/fake.py index f855523d3..4526f0042 100644 --- a/nova/virt/fake.py +++ b/nova/virt/fake.py @@ -133,6 +133,18 @@ class FakeConnection(object): """ return defer.succeed(None) + def pause(self, instance): + """ + Pause the specified instance. + """ + return defer.succeed(None) + + def unpause(self, instance): + """ + Unpause the specified instance. + """ + return defer.succeed(None) + def destroy(self, instance): """ Destroy (shutdown and delete) the specified instance. |
