[libvirt] Network XML Description

Laine Stump laine at laine.org
Mon Dec 17 16:52:02 UTC 2012


On 12/17/2012 05:09 AM, Fawad Khaliq wrote:
> Hi all,
>
> The XML description of a network does not contain information of the
> Domains (VMs) plugged into a network. For example, there is a network
> named 'default' and there are two domains named: domainA and domainB.
> The Network XML description of 'default' network cannot tell what
> domains are plugged into it (in this scenario: domainA and domainB).
> What reasons could be behind this Network XML format convention?

While not as simple to retrieve as it would be if a copy of that
information were saved in each network's status, it is available by
listing all networks, then retrieving the XML for each domain and
looking at all the <interface> elements for each.






More information about the libvir-list mailing list