]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: new function virNetDevOpenvswitchInterfaceGetMaster()
authorLaine Stump <laine@laine.org>
Sun, 1 Jul 2018 23:24:19 +0000 (19:24 -0400)
committerLaine Stump <laine@laine.org>
Mon, 2 Jul 2018 22:06:53 +0000 (18:06 -0400)
commit032548c42af49d83b760a8b4c5a29dd78149ab7b
treed57b8af57dd6ecfc54fc5ef8a2a2e313f2612f9b
parentfbe4a458b60464123967cd625bba2785ed476d65
util: new function virNetDevOpenvswitchInterfaceGetMaster()

This function retrieves the name of the OVS bridge that the given
netdev is attached to. This separate function is necessary because OVS
set the IFLA_MASTER attribute to "ovs-system" for all netdevs that are
attached to an OVS bridge, so the standard method of retrieving the
master can't be used.

Signed-off-by: Laine Stump <laine@laine.org>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt_private.syms
src/util/virnetdevopenvswitch.c
src/util/virnetdevopenvswitch.h