Red Hat Bugzilla – Bug 1532140
[RFE] Add NIC Mapping Reporting Feature
Last modified: 2018-05-31 09:08:51 EDT
+++ This bug was initially created as a clone of Bug #1532102 +++
Description of problem:
os-net-config reports NIC mapping, but only if you run in debug mode. Furthermore, the mapping output is not easily parsed for use in scripts. This is causing serious issues when troubleshooting or writing validations.
os-net-config should contain an option for returning the exact mapping, and it should return an easily consumable JSON or dict. For example, -i or --interfaces could return a mapping of the numeric NICs to real NIC name. This will make it possible to determine whether a mapping file is working correctly, or whether the desired mapped NICs are down (in which case they will not be mapped correctly).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
--- Additional comment from zenghui.shi on 2018-01-07 20:24:21 EST ---
upstream bug: https://bugs.launchpad.net/os-net-config/+bug/1713137
--- Additional comment from zenghui.shi on 2018-01-08 01:34:16 EST ---
targeting this for 10.z as this is a request to backport NIC mapping to 10.z.
this bz is to backport nic mapping to 11.z
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
*** Bug 1268421 has been marked as a duplicate of this bug. ***