Bug 1398833

Summary: Backport devlink JSON support
Product: [Fedora] Fedora Reporter: Ido Schimmel <idosch>
Component: iprouteAssignee: Phil Sutter <psutter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: psimerda, psutter, rvokal, twoerner
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: iproute-4.6.0-5.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-04 02:26:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
devlink JSON patches none

Description Ido Schimmel 2016-11-26 14:26:00 UTC
Created attachment 1224589 [details]
devlink JSON patches

Description of problem:
In upstream versions of iproute it's possible to get JSON output of devlink commands. This is useful for automation script of network configuration, as JSON output is much easier to parse than normal text.

Fix this by backporting the relevant patches to the f25 branch of iproute (attached).


Steps to Reproduce:
1. devlink -j port show

Actual results:
devlink: invalid option -- 'j'

Expected results:
{{"port":{}}}

Comment 1 Fedora Update System 2016-11-30 10:55:28 UTC
iproute-4.6.0-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f217d4cb6a

Comment 2 Fedora Update System 2016-12-03 04:33:27 UTC
iproute-4.6.0-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f217d4cb6a

Comment 3 Fedora Update System 2016-12-04 02:26:13 UTC
iproute-4.6.0-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.