Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Add virt facts module for networks #56327
A facts module for libvirt virtual networks. Facts are (mostly) generated from the XML configuration of the network, the XML document is loaded through a Config object to allow selected elements to be returned keeping the JSON output clean.
As facts are parsed from the XML config the keys returned can differ slightly depending on the resource configuration. However a key for each main config "item" is always present to provide a stable set of return values.
Related to #27905 about issues with the existing virt modules.
For reference #56085 has this network facts module along with the others for domains and pools. As per the guidelines they are being split into separate pull requests.
Example output from a simple virtual network.
As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add