diff options
| author | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-11-22 12:57:03 +0000 |
|---|---|---|
| committer | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-11-22 12:57:03 +0000 |
| commit | 9ca0b3435d93a87407ca42a853562cd06aaa896e (patch) | |
| tree | aafee13239e02ca1a9b689437c4c331fb4d80ad2 | |
| parent | 4730b2037d4b53cd79c7d46965c5cafa1912c812 (diff) | |
added placeholders
| -rw-r--r-- | nova/virt/xenapi.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/virt/xenapi.py b/nova/virt/xenapi.py index 0f563aa41..4ed5d047f 100644 --- a/nova/virt/xenapi.py +++ b/nova/virt/xenapi.py @@ -296,6 +296,14 @@ class XenAPIConnection(object): yield self._wait_for_task(task) except Exception, exc: logging.warn(exc) + + @defer.inlineCallbacks + def attach_volume(self, instance_name, device_path, mountpoint): + return True + + @defer.inlineCallbacks + def detach_volume(self, instance_name, mountpoint): + return True def get_info(self, instance_id): vm = self._lookup_blocking(instance_id) |
