Example #1
0
 def vm_swap(vm):
     # we don't support the notion of swap disks for libvirt/KVM for now
     if conn.getType() == 'OpenVZ':
         return openvz.get_swap(vm.name())
Example #2
0
 def vm_swap(vm):
     # we don't support the notion of swap disks for libvirt/KVM for now
     if conn.getType() == "OpenVZ":
         return openvz.get_swap(vm.name())