linux-stable/tools/net/ynl/lib
Jakub Kicinski c311aaa74c tools: ynl: fix enum-as-flags in the generic CLI
Lorenzo points out that the generic CLI is broken for the netdev
family. When I added the support for documentation of enums
(and sparse enums) the client script was not updated.
It expects the values in enum to be a list of names,
now it can also be a dict (YAML object).

Reported-by: Lorenzo Bianconi <lorenzo@kernel.org>
Fixes: e4b48ed460 ("tools: ynl: add a completely generic client")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-08 23:28:21 -08:00
..
.gitignore tools: net: add __pycache__ to gitignore 2023-02-24 11:55:47 -08:00
__init__.py tools: ynl: move the enum classes to shared code 2023-03-08 23:28:21 -08:00
nlspec.py tools: ynl: fix enum-as-flags in the generic CLI 2023-03-08 23:28:21 -08:00
ynl.py tools: ynl: fix enum-as-flags in the generic CLI 2023-03-08 23:28:21 -08:00