Skip to content

tools: ynl: couple of cmdline enhancements

Jiri Pirko netdev 3 versions – 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 · linked by author and title

  1. v3 Latest3 patches 2 repliesApplied 3/3
  2. v23 patches 7 repliesSuperseded
  3. v113 patches 18 repliesSuperseded

Changes in v3 from the cover letter

- see changelog of individual patches (1,3)

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3tools: ynl: allow user to specify flag attr with bool valuestools/net/ynl/lib/ynl.py+3 -01 replyApplied
2/3tools: ynl: process all scalar types encoding in single elif statementtools/net/ynl/lib/ynl.py+7 -70 repliesApplied
3/3tools: ynl: allow user to pass enum string instead of scalar valuetools/net/ynl/lib/ynl.py+24 -21 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDonald HunterJacob Keller
1/3R-b
2/3R-b R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [patch net-next v3 0/3] tools: ynl: couple of cmdline enhancements

From: Jiri Pirko <[email protected]>

This is part of the original "netlink: specs: devlink: add the rest of missing attribute definitions" set which was rejected [1]. These three patches enhances the cmdline user comfort, allowing to pass flag attribute with bool values and enum names instead of scalars.

[1] https://lore.kernel.org/all/[email protected]/

---
v2->v3:
- see changelog of individual patches (1,3)
v1->v2:
- only first 3 patches left, the rest it cut out
- see changelog of individual patches

Jiri Pirko (3):
tools: ynl: allow user to specify flag attr with bool values
tools: ynl: process all scalar types encoding in single elif statement
tools: ynl: allow user to pass enum string instead of scalar value

 tools/net/ynl/lib/ynl.py | 43 +++++++++++++++++++++++++++++++---------
 1 file changed, 34 insertions(+), 9 deletions(-)
Signature · 1 line
2.43.2