Ejemplo n.º 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())
Ejemplo n.º 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())