mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
tools: ynl: add a completely generic client
Add a CLI sample which can take in arbitrary request in JSON format, convert it to Netlink and do the inverse for output. It's meant as a development tool primarily and perhaps for selftests which need to tickle netlink in a special way. Acked-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
1d562c32e4
commit
e4b48ed460
2 changed files with 581 additions and 0 deletions
47
tools/net/ynl/samples/cli.py
Executable file
47
tools/net/ynl/samples/cli.py
Executable file
Loading…
Add table
Add a link
Reference in a new issue