terraform-provider-libvirt/libvirt/helper/test
Boris b56a61c776
feat: lvm storage pool impl (#1088)
* feat: lvm storage pool impl

This feature also adds support for target and source blocks in pool. Deprecating the old top-level path, and opening the door for supporting more pool backends, following libvirt description closer.

- refactor the lvm pool implementation
- add proper source and target so we can add more pool implementations later
- handle deprecation of top level path properly
- less checks, lets libvirt handle it
- add acceptance tests
- refactor the test helper block device creation out of domain
- add docs
- skip the tests if the host does not support logical pools
- skip early if acceptance tests are disabled
* fix: dir path is actually on target, not source
* add name attribute to pool source
* cleanup support for existing vg
* move code to configure provider to common function

---------

Co-authored-by: dpap <daniel.pap@qualysoft.com>
Co-authored-by: Duncan Mac-Vicar P. <duncan@mac-vicar.eu>
Co-authored-by: Boris Momčilović <boris.momcilovic@sb22.com>
2024-10-03 00:53:51 +02:00
..
temp_loop_dev.go feat: lvm storage pool impl (#1088) 2024-10-03 00:53:51 +02:00