Thank you Laine. That makes good sense for not including it in the XML. 

On Mon, Dec 17, 2012 at 9:52 PM, Laine Stump <laine@laine.org> wrote:
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.



--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list