Make vlmc snapshot return snapshot name on success
authorFilippos Giannakos <philipgian@grnet.gr>
Thu, 7 Feb 2013 15:06:06 +0000 (17:06 +0200)
committerFilippos Giannakos <philipgian@grnet.gr>
Fri, 8 Feb 2013 13:33:08 +0000 (15:33 +0200)
xseg/tools/archipelago/archipelago/vlmc.py

index 089fb12..6f4c4a5 100755 (executable)
@@ -130,6 +130,7 @@ def snapshot(name, **kwargs):
     if not ret:
         raise Error("vlmc snapshot failed")
     sys.stdout.write("Snapshot name: %s\n" % reply)
+    return reply
 
 
 def list_volumes(**kwargs):