From 26449d31590c28b730b1371b6afe2936d9c7722f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 23 Feb 2020 09:18:16 +0100 Subject: [PATCH] ++snapshot ideas --- .../uncloud/uncloud_api/management/commands/snapshot.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nicohack202002/uncloud/uncloud_api/management/commands/snapshot.py b/nicohack202002/uncloud/uncloud_api/management/commands/snapshot.py index 41d0e38..1a021aa 100644 --- a/nicohack202002/uncloud/uncloud_api/management/commands/snapshot.py +++ b/nicohack202002/uncloud/uncloud_api/management/commands/snapshot.py @@ -16,6 +16,13 @@ class Command(BaseCommand): print("Snapshotting") #getattr(self, options['command'])(**options) + + def get_disks_of_vm(self, vmuuid): + """ Returns the disks used by a VM in the format + ( ceph_name, size ) + """ + pass + @classmethod def monitor(cls, **_): while True: