[virt-manager PATCH 0/3] Create pool: show only available types
Pino Toscano
ptoscano at redhat.com
Tue Nov 24 14:21:09 UTC 2020
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
More information about the virt-tools-list
mailing list