コード例 #1
0
ファイル: __init__.py プロジェクト: Cloudxtreme/opennode-tui
 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())
コード例 #2
0
ファイル: __init__.py プロジェクト: carriercomm/opennode-tui
 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())