doc/netlink/specs: Add spec for nlctrl netlink family
authorDonald Hunter <donald.hunter@gmail.com>
Wed, 6 Mar 2024 23:10:46 +0000 (23:10 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Mar 2024 04:28:38 +0000 (20:28 -0800)
commit768e044a5fd4cb52e8677e8e18477fa46cfc5329
tree1a31d9998967ec09868b619a06e8568de9b834c4
parentbc52b39309c3c1ab226a4f5927a7380860c0336e
doc/netlink/specs: Add spec for nlctrl netlink family

Add a spec for the nlctrl family.

Example usage:

./tools/net/ynl/cli.py \
    --spec Documentation/netlink/specs/nlctrl.yaml \
    --do getfamily --json '{"family-name": "nlctrl"}'

./tools/net/ynl/cli.py \
    --spec Documentation/netlink/specs/nlctrl.yaml \
    --dump getpolicy --json '{"family-name": "nlctrl"}'

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240306231046.97158-7-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/nlctrl.yaml [new file with mode: 0644]