Subject: [PATCH net 0/2] tools: ynl: fix enum-as-flags in the generic CLI

From: Jakub Kicinski <[email-masked]>
Date: Tue, 7 Mar 2023 16:39:21 -0800

The CLI needs to use proper classes when looking at Enum definitions
rather than interpreting the YAML spec ad-hoc, because we have more
than on format of the definition supported.

Jakub Kicinski (2):
  tools: ynl: move the enum classes to shared code
  tools: ynl: fix enum-as-flags in the generic CLI

 tools/net/ynl/lib/__init__.py |   7 ++-
 tools/net/ynl/lib/nlspec.py   |  99 +++++++++++++++++++++++++++++++
 tools/net/ynl/lib/ynl.py      |   9 +--
 tools/net/ynl/ynl-gen-c.py    | 107 +++++++---------------------------
 4 files changed, 126 insertions(+), 96 deletions(-)

-- 
2.39.2