Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
kdump.2364
kdump-net-0012-bridge-from-wicked.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-net-0012-bridge-from-wicked.patch of Package kdump.2364
From: Petr Tesarik <ptesarik@suse.com> Date: Fri, 2 Sep 2016 10:45:37 +0200 Subject: Prefer wicked for bridge configuration References: bsc#980328 Patch-mainline: v0.8.16 Git-commit: 8f6fa1ab6992929165c370ed6e35501b307853e7 Use the wicked configuration, if available. Signed-off-by: Petr Tesarik <ptesarik@suse.com> --- init/setup-kdump.functions | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) --- a/init/setup-kdump.functions +++ b/init/setup-kdump.functions @@ -258,8 +258,20 @@ function kdump_bridge_config() # { local bridge="$1" local if slaves + local curslaves - for if in $(kdump_list_slaves "$bridge") + # use wicked to read VLAN configuration, if possible + if [ -n "$(type -P wicked)" ] + then + curslaves=$( kdump_wicked_conf "$bridge" "%{bridge/ports/port/device}" ) + fi + # fall back to current configuration + if [ -z "$curslaves" ] + then + curslaves=$( kdump_list_slaves "$bridge" ) + fi + + for if in $curslaves do kdump_ifname_config "$if" || continue slaves="$slaves $iface"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor