tools: ynl-gen: sanitize notification tracking
authorJakub Kicinski <kuba@kernel.org>
Thu, 8 Jun 2023 21:11:57 +0000 (14:11 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Jun 2023 21:40:31 +0000 (14:40 -0700)
commitced1568862bdb985eb4e5ca854cc7734a4ad3543
treea66eb3a447b1db6c6c60f3b72b7e52fc949525d6
parentd0915d64c3a636f73065dbb7e5aab78eb7e75f0d
tools: ynl-gen: sanitize notification tracking

Don't modify the raw dicts (as loaded from YAML) to pretend
that the notify attributes also exist on the ops. This makes
the code easier to follow.

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