summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorDonald Hunter <donald.hunter@gmail.com>2025-11-27 12:34:59 +0000
committerJakub Kicinski <kuba@kernel.org>2025-11-28 19:53:19 -0800
commit362d051c90b6e27b01dceed8c47ddfc86e60db2c (patch)
tree8de3ac8361d3f04f7ba14ae36a171067b30532e2 /scripts/extract-fwblobs
parent2c80116b503296dd050c8b92bef34e300bc2b1d4 (diff)
tools: ynl: add schema checking
Add a --validate flag to pyynl for explicit schema check with error reporting and add a schema_check make target to check all YNL specs. make -C tools/net/ynl schema_check make: Entering directory '/home/donaldh/net-next/tools/net/ynl' ok 1 binder.yaml schema validation not ok 2 conntrack.yaml schema validation 'labels mask' does not match '^[0-9a-z-]+$' Failed validating 'pattern' in schema['properties']['attribute-sets']['items']['properties']['attributes']['items']['properties']['name']: {'type': 'string', 'pattern': '^[0-9a-z-]+$'} On instance['attribute-sets'][14]['attributes'][22]['name']: 'labels mask' ok 3 devlink.yaml schema validation [...] Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/20251127123502.89142-2-donald.hunter@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions