
22 Nov
2013
22 Nov
'13
7:08 a.m.
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.