Message ID | 20240222134351.224704-1-jiri@resnulli.us (mailing list archive) |
---|---|
Headers | show |
Series | tools: ynl: couple of cmdline enhancements | expand |
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Thu, 22 Feb 2024 14:43:48 +0100 you wrote: > From: Jiri Pirko <jiri@nvidia.com> > > This is part of the original "netlink: specs: devlink: add the rest of > missing attribute definitions" set which was rejected [1]. These three > patches enhances the cmdline user comfort, allowing to pass flag > attribute with bool values and enum names instead of scalars. > > [...] Here is the summary with links: - [net-next,v3,1/3] tools: ynl: allow user to specify flag attr with bool values https://git.kernel.org/netdev/net-next/c/ac95b1fca034 - [net-next,v3,2/3] tools: ynl: process all scalar types encoding in single elif statement https://git.kernel.org/netdev/net-next/c/ffe10a4546fe - [net-next,v3,3/3] tools: ynl: allow user to pass enum string instead of scalar value https://git.kernel.org/netdev/net-next/c/e8a6c515ff5f You are awesome, thank you!
From: Jiri Pirko <jiri@nvidia.com> This is part of the original "netlink: specs: devlink: add the rest of missing attribute definitions" set which was rejected [1]. These three patches enhances the cmdline user comfort, allowing to pass flag attribute with bool values and enum names instead of scalars. [1] https://lore.kernel.org/all/20240220181004.639af931@kernel.org/ --- v2->v3: - see changelog of individual patches (1,3) v1->v2: - only first 3 patches left, the rest it cut out - see changelog of individual patches Jiri Pirko (3): tools: ynl: allow user to specify flag attr with bool values tools: ynl: process all scalar types encoding in single elif statement tools: ynl: allow user to pass enum string instead of scalar value tools/net/ynl/lib/ynl.py | 43 +++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-)