[virt-manager PATCH 0/3] Create pool: show only available types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this series adds a minimal StoragePoolCapabilities handling using the
virConnect.getStoragePoolCapabilities libvirt API; this is used to
filter the available pool types in the "Create pool" dialog, so it does
not offer anymore pool types that cannot be created (as unsupported by
the libvirt connection).

Pino Toscano (3):
  support: check for virConnect.getStoragePoolCapabilities
  virtinst: add a basic StoragePoolCapabilities
  createpool: show only available pool types

 tests/data/capabilities/poolcaps-fs.xml | 207 ++++++++++++++++++++++++
 tests/test_capabilities.py              |  25 +++
 virtManager/createpool.py               |   7 +-
 virtinst/__init__.py                    |   1 +
 virtinst/storagepoolcapabilities.py     |  61 +++++++
 virtinst/support.py                     |   2 +
 6 files changed, 302 insertions(+), 1 deletion(-)
 create mode 100644 tests/data/capabilities/poolcaps-fs.xml
 create mode 100644 virtinst/storagepoolcapabilities.py

-- 
2.28.0




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux