[libvirt] Network XML Description

Arslan Waqar animecrazy71 at gmail.com
Mon Dec 17 17:26:52 UTC 2012


On Mon, Dec 17, 2012 at 9:52 PM, Laine Stump <laine at 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 at redhat.com
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121217/8ec89b5a/attachment-0001.htm>


More information about the libvir-list mailing list