linux/tools/net/ynl
Jakub Kicinski 7582113c69 tools: ynl: add more info to KeyErrors on missing attrs
When developing specs its useful to know which attr space
YNL was trying to find an attribute in on key error.

Instead of printing:
 KeyError: 0
add info about the space:
 Exception: Space 'vport' has no attribute with value '0'

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20230814205627.2914583-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-08-15 19:18:34 -07:00
..
generated netlink: specs: devlink: extend health reporter dump attributes by port index 2023-08-14 11:47:25 -07:00
lib tools: ynl: add more info to KeyErrors on missing attrs 2023-08-15 19:18:34 -07:00
samples ynl: print xdp-zc-max-segs in the sample 2023-07-28 09:33:12 -07:00
cli.py ynl: re-license uniformly under GPL-2.0 OR BSD-3-Clause 2023-03-07 13:44:30 -08:00
ethtool.py tools: ynl: Rename ethtool to ethtool.py 2023-04-13 22:18:29 -07:00
Makefile ynl: regenerate all headers 2023-07-28 09:33:12 -07:00
Makefile.deps tools: ynl: improve the direct-include header guard logic 2023-06-22 19:47:02 -07:00
requirements.txt tools: ynl: add the Python requirements.txt file 2023-03-24 19:11:02 -07:00
ynl-gen-c.py tools: ynl-gen: add missing empty line between policies 2023-08-09 13:13:20 -07:00
ynl-regen.sh ynl: regenerate all headers 2023-07-28 09:33:12 -07:00