[libvirt] Idea for a "net-info" command in virsh

Zdenek Styblik stybla at turnovfree.net
Thu Nov 4 13:59:56 UTC 2010


On 11/04/2010 02:06 PM, Justin Clift wrote:
> Hey Osier,
> 
> I'm thinking there would be good value for people, if we add a
> "net-info" command to virsh, as it seems to be missing.
> 
> Something that displays the details for a virtual network, like this:
> 
>   Name: default
>   UUID: aaaaa-bbbbb-ccccc-ddddd
>   State: started
>   Name on host: virbr0
>   Persistent: yes
>   Autostarted: yes
> 
>   Guest interfaces attached
>   =========================
> 
>   Domain              Interface UUID
>   ******              *******************
>   guest1              efef-fgfg-efef-fgfg
>                       abab-cdcd-abab-cdcd
>   guest2              zzyy-aabb-zzyy-aabb
> 
> It's just a rough concept idea, but thought it worth asking if it's your
> kind of thing.
> 
> What do you think? :)
> 
> Regards and best wishes,
> 
> Justin Clift
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list

Hey,

that's hard to say, because except guest-iface, you can get all that
info out of net-list, net-dumpxml and so on.
But yes, this is going to be quicker than the way I've just mentioned :)

Regards,
Zdenek

-- 
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: stybla at turnovfree.net
jabber: stybla at jabber.turnovfree.net




More information about the libvir-list mailing list