Re: Network XML Description

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






On Mon, Dec 17, 2012 at 9:52 PM, Laine Stump <laine@xxxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

Isnt it similar as to when we want to retrieve the xml of domains on a local hypervisor... We query to list all functioning domains on a hypervisor. Then we take their id from the list and get the corresponding xml files to those ids...

is that right?

--
Regards,
Arslan Waqar.

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]