Bug 1296997 - allow for 'ip link show type bridge'
Summary: allow for 'ip link show type bridge'
Keywords:
Status: CLOSED DUPLICATE of bug 1297000
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute
Version: 7.3
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Phil Sutter
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-08 16:36 UTC by Phil Sutter
Modified: 2016-01-25 21:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-25 21:42:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Phil Sutter 2016-01-08 16:36:54 UTC
Listing interfaces by type (or other selectors maybe?) is a nice to have feature. Sadly, RHEL7 seems not to support it yet:

# ip link show type bridge
Error: either "dev" is duplicate, or "bridge" is a garbage.

Comment 1 Phil Sutter 2016-01-12 17:40:03 UTC
To enable this feature, the following upstream commit should be backported:

commit 712249d8fac88bcf3a9fd0b1de2263074075873b
Author: Vadim Kochan <vadim4j>
Date:   Wed Dec 10 10:11:29 2014 +0200

    ip link: Show devices by type
    
    Added new option 'type' to 'ip link show'
    command which allows to filter devices by type:
    
        ip link show type bridge
        ip link show type vlan
    
    Signed-off-by: Vadim Kochan <vadim4j>

Maybe a good opportunity to check if there are other simple enhancements missing which make life easier.

Comment 3 Phil Sutter 2016-01-25 21:42:13 UTC
This is a duplicate of bug 1297000, just specific to link type bridge, which it should not be as upstream did not fix the issue for that type separately.

*** This bug has been marked as a duplicate of bug 1297000 ***


Note You need to log in before you can comment on or make changes to this bug.