]> git.ipfire.org Git - thirdparty/linux.git/commit
tools: ynl: default to --process-unknown in installed mode
authorJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 17:51:15 +0000 (10:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Jul 2025 22:00:37 +0000 (23:00 +0100)
commitb06c4311711c57c5e558bd29824b08f0a6e2a155
tree348477706504344cce645de71f1e8472e8e6f173
parent9eb73f92a0b003f2fb9091085c51a4a4554c887d
tools: ynl: default to --process-unknown in installed mode

We default to raising an exception when unknown attrs are found
to make sure those are noticed during development.
When YNL CLI is "installed" and used by sysadmins erroring out
is not going to be helpful. It's far more likely the user space
is older than the kernel in that case, than that some attr is
misdefined or missing.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/net/ynl/pyynl/cli.py