Skip to content

tools: ynl: add schema checking

Donald Hunter netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesApplied 4/4

Patches in v1 All 4 applied

#Subject and filesSizeRepliesApplied
1/4tools: ynl: add schema checkingtools/net/ynl/Makefile tools/net/ynl/pyynl/cli.py+35 -60 repliesApplied
2/4tools: ynl: add a lint makefile targettools/net/ynl/Makefile+3 -10 repliesApplied
3/4ynl: fix a yamllint warning in ethtool specDocumentation/netlink/specs/ethtool.yaml+1 -10 repliesApplied
4/4ynl: fix schema check errorsDocumentation/netlink/specs/conntrack.yaml Documentation/netlink/specs/nftables.yaml+2 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next v1 0/4] tools: ynl: add schema checking

Add schema checking and yaml linting for the YNL specs.

Patch 1 adds a schema_check make target using a pyynl --validate option Patch 2 adds a lint make target using yamllint
Patches 3,4 fix issues reported by make -C tools/net/ynl lint schema_check

Donald Hunter (4):
tools: ynl: add schema checking
tools: ynl: add a lint makefile target
ynl: fix a yamllint warning in ethtool spec
ynl: fix schema check errors

 Documentation/netlink/specs/conntrack.yaml |  2 +-
 Documentation/netlink/specs/ethtool.yaml   |  2 +-
 Documentation/netlink/specs/nftables.yaml  |  2 +-
 tools/net/ynl/Makefile                     | 22 +++++++++++++++++++++-
 tools/net/ynl/pyynl/cli.py                 | 21 ++++++++++++++++-----
 5 files changed, 40 insertions(+), 9 deletions(-)
Signature · 1 line
2.51.1