mbox series

[net-next,v1,0/3] netlink: add display-hint to ynl

Message ID 20230623201928.14275-1-donald.hunter@gmail.com (mailing list archive)
Headers show
Series netlink: add display-hint to ynl | expand

Message

Donald Hunter June 23, 2023, 8:19 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 24, 2023, 10:50 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 23 Jun 2023 21:19:25 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v1,1/3] netlink: specs: add display-hint to schema definitions
    https://git.kernel.org/netdev/net-next/c/737eab775d36
  - [net-next,v1,2/3] tools: ynl: add display-hint support to ynl
    https://git.kernel.org/netdev/net-next/c/d8eea68d913c
  - [net-next,v1,3/3] netlink: specs: add display hints to ovs_flow
    https://git.kernel.org/netdev/net-next/c/334f39ce17ef

You are awesome, thank you!