tools: ynl: rename ops_list -> msg_list
authorJakub Kicinski <kuba@kernel.org>
Thu, 26 Jan 2023 00:02:34 +0000 (16:02 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 27 Jan 2023 00:32:41 +0000 (16:32 -0800)
commitb49c34e217c629a9d282e84889dbe0128917b8c1
treebf0f74c141463fb2304f1ca3902ec0982dd2c5e4
parent66fa34b9c2a51baa2b8b6e529eddfe80c298f21a
tools: ynl: rename ops_list -> msg_list

ops_list contains all the operations, but the main iteration use
case is to walk only ops which define attrs. Rename ops_list to
msg_list, because now it looks like the contents are the same,
just the format is different. While at it convert from tuple
to just keys, none of the users care about the name of the op.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/ynl-gen-c.py