Skip to content

netlink: add display-hint to ynl

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 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3netlink: specs: add display-hint to schema definitionsDocumentation/netlink/genetlink-c.yaml Documentation/netlink/genetlink-legacy.yaml Documentation/netlink/genetlink.yaml+22 -10 repliesApplied
2/3tools: ynl: add display-hint support to ynltools/net/ynl/lib/nlspec.py tools/net/ynl/lib/ynl.py+39 -50 repliesApplied
3/3netlink: specs: add display hints to ovs_flowDocumentation/netlink/specs/ovs_flow.yaml+107 -00 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/3] netlink: add display-hint to ynl

Add a display-hint property to the netlink schema, to be used by generic netlink clients as hints about how to display attribute values.

A display-hint on an attribute definition is intended for letting a client such as ynl know that, for example, a u32 should be rendered as an ipv4 address. The display-hint enumeration includes a small number of networking domain-specific value types.

Donald Hunter (3):
netlink: specs: add display-hint to schema definitions
tools: ynl: add display-hint support to ynl
netlink: specs: add display hints to ovs_flow

 Documentation/netlink/genetlink-c.yaml      |   6 ++
 Documentation/netlink/genetlink-legacy.yaml |  11 +-
 Documentation/netlink/genetlink.yaml        |   6 ++
 Documentation/netlink/specs/ovs_flow.yaml   | 107 ++++++++++++++++++++
 tools/net/ynl/lib/nlspec.py                 |  10 ++
 tools/net/ynl/lib/ynl.py                    |  34 ++++++-
 6 files changed, 168 insertions(+), 6 deletions(-)
Signature · 1 line
2.39.0