[libvirt-users] Query:: Reg: Libvirt Networking

Laine Stump laine at laine.org
Fri Nov 22 12:08:42 UTC 2013


On 11/22/2013 01:24 PM, Nehal J Wani wrote:
>> (iii) If the answer for (ii) is false, how can I obtain the interface name
>> for a given bridge name in libvirt?
>>
>>
>> What do you mean by "the interface name for a given bridge name"? A bridge
>> *is* a type of network device, i.e. an interface from the host's point of
>> view.
>>
> Apologies for the typo error. I was actually asking:
> How can I obtain the network name for a given bridge name in libvirt?
>

Also answered in IRC, but repeated for archival purposes:

The only way to get this via libvirt APIs is to examine each network and
check the name of the bridge. There is no ready-made API to provide this
information.




More information about the libvirt-users mailing list