tools/hotplug/Linux: add remove_from_bridge()
authorPaul Durrant <pdurrant@amazon.com>
Tue, 11 Aug 2020 08:01:57 +0000 (09:01 +0100)
committerWei Liu <wl@xen.org>
Thu, 27 Aug 2020 10:04:10 +0000 (10:04 +0000)
commitbb13d936d2500f303c8fbf9420da9ed340818294
treee2eaf8b91cb284c830dff6377b60653af98ce561
parent70fea87a3a595632cd0a17a8388a43b95cbe7af7
tools/hotplug/Linux: add remove_from_bridge()

This patch adds a remove_from_bridge() function into xen-network-common.sh
to partner with the existing add_to_bridge() function. The vif-bridge
script is then modified to use it.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
Acked-by: Wei Liu <wl@xen.org>
tools/hotplug/Linux/vif-bridge
tools/hotplug/Linux/xen-network-common.sh