Beispiel #1
0
 def snapshot(self, path, name, image_type=''):
     #NOTE(bfilippov): this is done in favor for
     # snapshot tests in test_libvirt.LibvirtConnTestCase
     return imagebackend.Backend(True).snapshot(path, name, image_type)
Beispiel #2
0
 def get_image(self, use_cow, image_type):
     return imagebackend.Backend(use_cow).image(self.INSTANCE, self.NAME,
                                                image_type)