Exemplo n.º 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)
Exemplo n.º 2
0
 def get_image(self, use_cow, image_type):
     return imagebackend.Backend(use_cow).image(self.INSTANCE, self.NAME,
                                                image_type)