netlink: specs: clean up spaces in brackets

Clean up all space inside brackets errors reported by yamllint in
the netlink specs:

    error    too many spaces inside brackets  (brackets)

Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> # mptcp_pm.yaml
Link: https://patch.msgid.link/20250610125944.85265-3-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Donald Hunter 2025-06-10 13:59:39 +01:00 committed by Jakub Kicinski
parent ce6bd277e1
commit 880d43ca9a
15 changed files with 167 additions and 167 deletions

View file

@ -1257,7 +1257,7 @@ operations:
name: get name: get
doc: Get devlink instances. doc: Get devlink instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1280,7 +1280,7 @@ operations:
name: port-get name: port-get
doc: Get devlink port instances. doc: Get devlink port instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1304,8 +1304,8 @@ operations:
name: port-set name: port-set
doc: Set devlink port instances. doc: Set devlink port instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1321,8 +1321,8 @@ operations:
name: port-new name: port-new
doc: Create devlink port instances. doc: Create devlink port instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1343,8 +1343,8 @@ operations:
name: port-del name: port-del
doc: Delete devlink port instances. doc: Delete devlink port instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1355,8 +1355,8 @@ operations:
name: port-split name: port-split
doc: Split devlink port instances. doc: Split devlink port instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1371,8 +1371,8 @@ operations:
name: port-unsplit name: port-unsplit
doc: Unplit devlink port instances. doc: Unplit devlink port instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1383,7 +1383,7 @@ operations:
name: sb-get name: sb-get
doc: Get shared buffer instances. doc: Get shared buffer instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1405,7 +1405,7 @@ operations:
name: sb-pool-get name: sb-pool-get
doc: Get shared buffer pool instances. doc: Get shared buffer pool instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1428,8 +1428,8 @@ operations:
name: sb-pool-set name: sb-pool-set
doc: Set shared buffer pool instances. doc: Set shared buffer pool instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1446,7 +1446,7 @@ operations:
name: sb-port-pool-get name: sb-port-pool-get
doc: Get shared buffer port-pool combinations and threshold. doc: Get shared buffer port-pool combinations and threshold.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1470,8 +1470,8 @@ operations:
name: sb-port-pool-set name: sb-port-pool-set
doc: Set shared buffer port-pool combinations and threshold. doc: Set shared buffer port-pool combinations and threshold.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1488,7 +1488,7 @@ operations:
name: sb-tc-pool-bind-get name: sb-tc-pool-bind-get
doc: Get shared buffer port-TC to pool bindings and threshold. doc: Get shared buffer port-TC to pool bindings and threshold.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1513,8 +1513,8 @@ operations:
name: sb-tc-pool-bind-set name: sb-tc-pool-bind-set
doc: Set shared buffer port-TC to pool bindings and threshold. doc: Set shared buffer port-TC to pool bindings and threshold.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1533,8 +1533,8 @@ operations:
name: sb-occ-snapshot name: sb-occ-snapshot
doc: Take occupancy snapshot of shared buffer. doc: Take occupancy snapshot of shared buffer.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1549,8 +1549,8 @@ operations:
name: sb-occ-max-clear name: sb-occ-max-clear
doc: Clear occupancy watermarks of shared buffer. doc: Clear occupancy watermarks of shared buffer.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1564,8 +1564,8 @@ operations:
name: eswitch-get name: eswitch-get
doc: Get eswitch attributes. doc: Get eswitch attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1584,8 +1584,8 @@ operations:
name: eswitch-set name: eswitch-set
doc: Set eswitch attributes. doc: Set eswitch attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1596,7 +1596,7 @@ operations:
name: dpipe-table-get name: dpipe-table-get
doc: Get dpipe table attributes. doc: Get dpipe table attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1616,7 +1616,7 @@ operations:
name: dpipe-entries-get name: dpipe-entries-get
doc: Get dpipe entries attributes. doc: Get dpipe entries attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1635,7 +1635,7 @@ operations:
name: dpipe-headers-get name: dpipe-headers-get
doc: Get dpipe headers attributes. doc: Get dpipe headers attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1653,8 +1653,8 @@ operations:
name: dpipe-table-counters-set name: dpipe-table-counters-set
doc: Set dpipe counter attributes. doc: Set dpipe counter attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1669,8 +1669,8 @@ operations:
name: resource-set name: resource-set
doc: Set resource attributes. doc: Set resource attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1685,7 +1685,7 @@ operations:
name: resource-dump name: resource-dump
doc: Get resource attributes. doc: Get resource attributes.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1704,8 +1704,8 @@ operations:
name: reload name: reload
doc: Reload devlink. doc: Reload devlink.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-dev-lock pre: devlink-nl-pre-doit-dev-lock
post: devlink-nl-post-doit-dev-lock post: devlink-nl-post-doit-dev-lock
@ -1728,7 +1728,7 @@ operations:
name: param-get name: param-get
doc: Get param instances. doc: Get param instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1748,8 +1748,8 @@ operations:
name: param-set name: param-set
doc: Set param instances. doc: Set param instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1766,7 +1766,7 @@ operations:
name: region-get name: region-get
doc: Get region instances. doc: Get region instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1789,8 +1789,8 @@ operations:
name: region-new name: region-new
doc: Create region snapshot. doc: Create region snapshot.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1810,8 +1810,8 @@ operations:
name: region-del name: region-del
doc: Delete region snapshot. doc: Delete region snapshot.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1822,8 +1822,8 @@ operations:
name: region-read name: region-read
doc: Read region data. doc: Read region data.
attribute-set: devlink attribute-set: devlink
dont-validate: [ dump-strict ] dont-validate: [dump-strict]
flags: [ admin-perm ] flags: [admin-perm]
dump: dump:
request: request:
attributes: attributes:
@ -1847,7 +1847,7 @@ operations:
name: port-param-get name: port-param-get
doc: Get port param instances. doc: Get port param instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict, dump-strict ] dont-validate: [strict, dump-strict]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1863,8 +1863,8 @@ operations:
name: port-param-set name: port-param-set
doc: Set port param instances. doc: Set port param instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port pre: devlink-nl-pre-doit-port
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1875,7 +1875,7 @@ operations:
name: info-get name: info-get
doc: Get device information, like driver name, hardware and firmware versions etc. doc: Get device information, like driver name, hardware and firmware versions etc.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1900,7 +1900,7 @@ operations:
name: health-reporter-get name: health-reporter-get
doc: Get health reporter instances. doc: Get health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1921,8 +1921,8 @@ operations:
name: health-reporter-set name: health-reporter-set
doc: Set health reporter instances. doc: Set health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1940,8 +1940,8 @@ operations:
name: health-reporter-recover name: health-reporter-recover
doc: Recover health reporter instances. doc: Recover health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1952,8 +1952,8 @@ operations:
name: health-reporter-diagnose name: health-reporter-diagnose
doc: Diagnose health reporter instances. doc: Diagnose health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1964,8 +1964,8 @@ operations:
name: health-reporter-dump-get name: health-reporter-dump-get
doc: Dump health reporter instances. doc: Dump health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ dump-strict ] dont-validate: [dump-strict]
flags: [ admin-perm ] flags: [admin-perm]
dump: dump:
request: request:
attributes: *health-reporter-id-attrs attributes: *health-reporter-id-attrs
@ -1978,8 +1978,8 @@ operations:
name: health-reporter-dump-clear name: health-reporter-dump-clear
doc: Clear dump of health reporter instances. doc: Clear dump of health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -1990,8 +1990,8 @@ operations:
name: flash-update name: flash-update
doc: Flash update devlink instances. doc: Flash update devlink instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2007,7 +2007,7 @@ operations:
name: trap-get name: trap-get
doc: Get trap instances. doc: Get trap instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2029,8 +2029,8 @@ operations:
name: trap-set name: trap-set
doc: Set trap instances. doc: Set trap instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2045,7 +2045,7 @@ operations:
name: trap-group-get name: trap-group-get
doc: Get trap group instances. doc: Get trap group instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2067,8 +2067,8 @@ operations:
name: trap-group-set name: trap-group-set
doc: Set trap group instances. doc: Set trap group instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2084,7 +2084,7 @@ operations:
name: trap-policer-get name: trap-policer-get
doc: Get trap policer instances. doc: Get trap policer instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2106,8 +2106,8 @@ operations:
name: trap-policer-set name: trap-policer-set
doc: Get trap policer instances. doc: Get trap policer instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2123,8 +2123,8 @@ operations:
name: health-reporter-test name: health-reporter-test
doc: Test health reporter instances. doc: Test health reporter instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit-port-optional pre: devlink-nl-pre-doit-port-optional
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2136,7 +2136,7 @@ operations:
name: rate-get name: rate-get
doc: Get rate instances. doc: Get rate instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2159,8 +2159,8 @@ operations:
name: rate-set name: rate-set
doc: Set rate instances. doc: Set rate instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2179,8 +2179,8 @@ operations:
name: rate-new name: rate-new
doc: Create rate instances. doc: Create rate instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2199,8 +2199,8 @@ operations:
name: rate-del name: rate-del
doc: Delete rate instances. doc: Delete rate instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2214,7 +2214,7 @@ operations:
name: linecard-get name: linecard-get
doc: Get line card instances. doc: Get line card instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2236,8 +2236,8 @@ operations:
name: linecard-set name: linecard-set
doc: Set line card instances. doc: Set line card instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2252,7 +2252,7 @@ operations:
name: selftests-get name: selftests-get
doc: Get device selftest instances. doc: Get device selftest instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit
@ -2269,8 +2269,8 @@ operations:
name: selftests-run name: selftests-run
doc: Run device selftest instances. doc: Run device selftest instances.
attribute-set: devlink attribute-set: devlink
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: devlink-nl-pre-doit pre: devlink-nl-pre-doit
post: devlink-nl-post-doit post: devlink-nl-post-doit

View file

@ -445,7 +445,7 @@ operations:
doc: | doc: |
Get id of dpll device that matches given attributes Get id of dpll device that matches given attributes
attribute-set: dpll attribute-set: dpll
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: dpll-lock-doit pre: dpll-lock-doit
@ -464,7 +464,7 @@ operations:
doc: | doc: |
Get list of DPLL devices (dump) or attributes of a single dpll device Get list of DPLL devices (dump) or attributes of a single dpll device
attribute-set: dpll attribute-set: dpll
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: dpll-pre-doit pre: dpll-pre-doit
@ -491,7 +491,7 @@ operations:
name: device-set name: device-set
doc: Set attributes for a DPLL device doc: Set attributes for a DPLL device
attribute-set: dpll attribute-set: dpll
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: dpll-pre-doit pre: dpll-pre-doit
@ -519,7 +519,7 @@ operations:
doc: | doc: |
Get id of a pin that matches given attributes Get id of a pin that matches given attributes
attribute-set: pin attribute-set: pin
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: dpll-lock-doit pre: dpll-lock-doit
@ -547,7 +547,7 @@ operations:
a given dpll device a given dpll device
- do request with target dpll and target pin - single pin attributes - do request with target dpll and target pin - single pin attributes
attribute-set: pin attribute-set: pin
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: dpll-pin-pre-doit pre: dpll-pin-pre-doit
@ -585,7 +585,7 @@ operations:
name: pin-set name: pin-set
doc: Set attributes of a target pin doc: Set attributes of a target pin
attribute-set: pin attribute-set: pin
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: dpll-pin-pre-doit pre: dpll-pin-pre-doit

View file

@ -12,7 +12,7 @@ definitions:
name: udp-tunnel-type name: udp-tunnel-type
enum-name: enum-name:
type: enum type: enum
entries: [ vxlan, geneve, vxlan-gpe ] entries: [vxlan, geneve, vxlan-gpe]
enum-cnt-name: __ethtool-udp-tunnel-type-cnt enum-cnt-name: __ethtool-udp-tunnel-type-cnt
render-max: true render-max: true
- -
@ -93,11 +93,11 @@ definitions:
header: linux/ethtool.h header: linux/ethtool.h
type: enum type: enum
name-prefix: phy-upstream name-prefix: phy-upstream
entries: [ mac, phy ] entries: [mac, phy]
- -
name: tcp-data-split name: tcp-data-split
type: enum type: enum
entries: [ unknown, disabled, enabled ] entries: [unknown, disabled, enabled]
- -
name: hwtstamp-source name: hwtstamp-source
doc: Source of the hardware timestamp doc: Source of the hardware timestamp
@ -1224,7 +1224,7 @@ attribute-sets:
- -
name: stat name: stat
type: u64 type: u64
type-value: [ id ] type-value: [id]
- -
name: hist-rx name: hist-rx
type: nest type: nest

View file

@ -18,7 +18,7 @@ definitions:
name: encap_type name: encap_type
name-prefix: fou-encap- name-prefix: fou-encap-
enum-name: enum-name:
entries: [ unspec, direct, gue ] entries: [unspec, direct, gue]
attribute-sets: attribute-sets:
- -
@ -81,8 +81,8 @@ operations:
doc: Add port. doc: Add port.
attribute-set: fou attribute-set: fou
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: &all_attrs request: &all_attrs
@ -103,8 +103,8 @@ operations:
doc: Delete port. doc: Delete port.
attribute-set: fou attribute-set: fou
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: &select_attrs request: &select_attrs
@ -122,7 +122,7 @@ operations:
name: get name: get
doc: Get tunnel info. doc: Get tunnel info.
attribute-set: fou attribute-set: fou
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
do: do:
request: *select_attrs request: *select_attrs

View file

@ -16,17 +16,17 @@ definitions:
type: enum type: enum
name: handler-class name: handler-class
value-start: 0 value-start: 0
entries: [ none, tlshd, max ] entries: [none, tlshd, max]
- -
type: enum type: enum
name: msg-type name: msg-type
value-start: 0 value-start: 0
entries: [ unspec, clienthello, serverhello ] entries: [unspec, clienthello, serverhello]
- -
type: enum type: enum
name: auth name: auth
value-start: 0 value-start: 0
entries: [ unspec, unauth, psk, x509 ] entries: [unspec, unauth, psk, x509]
attribute-sets: attribute-sets:
- -
@ -95,7 +95,7 @@ operations:
name: accept name: accept
doc: Handler retrieves next queued handshake request doc: Handler retrieves next queued handshake request
attribute-set: accept attribute-set: accept
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:

View file

@ -26,7 +26,7 @@ operations:
name: server-set name: server-set
doc: set the lockd server parameters doc: set the lockd server parameters
attribute-set: server attribute-set: server
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:

View file

@ -277,8 +277,8 @@ operations:
name: add-addr name: add-addr
doc: Add endpoint doc: Add endpoint
attribute-set: endpoint attribute-set: endpoint
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: &add-addr-attrs do: &add-addr-attrs
request: request:
attributes: attributes:
@ -287,14 +287,14 @@ operations:
name: del-addr name: del-addr
doc: Delete endpoint doc: Delete endpoint
attribute-set: endpoint attribute-set: endpoint
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: *add-addr-attrs do: *add-addr-attrs
- -
name: get-addr name: get-addr
doc: Get endpoint information doc: Get endpoint information
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
do: &get-addr-attrs do: &get-addr-attrs
request: request:
attributes: attributes:
@ -311,15 +311,15 @@ operations:
name: flush-addrs name: flush-addrs
doc: Flush addresses doc: Flush addresses
attribute-set: endpoint attribute-set: endpoint
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: *add-addr-attrs do: *add-addr-attrs
- -
name: set-limits name: set-limits
doc: Set protocol limits doc: Set protocol limits
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: &mptcp-limits do: &mptcp-limits
request: request:
attributes: attributes:
@ -329,7 +329,7 @@ operations:
name: get-limits name: get-limits
doc: Get protocol limits doc: Get protocol limits
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
do: &mptcp-get-limits do: &mptcp-get-limits
request: request:
attributes: attributes:
@ -343,8 +343,8 @@ operations:
name: set-flags name: set-flags
doc: Change endpoint flags doc: Change endpoint flags
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: &mptcp-set-flags do: &mptcp-set-flags
request: request:
attributes: attributes:
@ -355,8 +355,8 @@ operations:
name: announce name: announce
doc: Announce new address doc: Announce new address
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: &announce-add do: &announce-add
request: request:
attributes: attributes:
@ -366,8 +366,8 @@ operations:
name: remove name: remove
doc: Announce removal doc: Announce removal
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: do:
request: request:
attributes: attributes:
@ -377,8 +377,8 @@ operations:
name: subflow-create name: subflow-create
doc: Create subflow doc: Create subflow
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: &sf-create do: &sf-create
request: request:
attributes: attributes:
@ -389,6 +389,6 @@ operations:
name: subflow-destroy name: subflow-destroy
doc: Destroy subflow doc: Destroy subflow
attribute-set: attr attribute-set: attr
dont-validate: [ strict ] dont-validate: [strict]
flags: [ uns-admin-perm ] flags: [uns-admin-perm]
do: *sf-create do: *sf-create

View file

@ -244,7 +244,7 @@ operations:
The set operation can't be used to create a @node scope shaper, The set operation can't be used to create a @node scope shaper,
use the @group operation instead. use the @group operation instead.
attribute-set: net-shaper attribute-set: net-shaper
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: net-shaper-nl-pre-doit pre: net-shaper-nl-pre-doit
@ -275,7 +275,7 @@ operations:
node with infinite bandwidth. The queue's implicit node node with infinite bandwidth. The queue's implicit node
feeds an implicit RR node at the root of the hierarchy. feeds an implicit RR node at the root of the hierarchy.
attribute-set: net-shaper attribute-set: net-shaper
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: net-shaper-nl-pre-doit pre: net-shaper-nl-pre-doit
@ -306,7 +306,7 @@ operations:
full identifier, comprising @binding and @handle, is provided full identifier, comprising @binding and @handle, is provided
as the reply. as the reply.
attribute-set: net-shaper attribute-set: net-shaper
flags: [ admin-perm ] flags: [admin-perm]
do: do:
pre: net-shaper-nl-pre-doit pre: net-shaper-nl-pre-doit

View file

@ -77,11 +77,11 @@ definitions:
- -
name: queue-type name: queue-type
type: enum type: enum
entries: [ rx, tx ] entries: [rx, tx]
- -
name: qstats-scope name: qstats-scope
type: flags type: flags
entries: [ queue ] entries: [queue]
attribute-sets: attribute-sets:
- -
@ -721,7 +721,7 @@ operations:
name: bind-rx name: bind-rx
doc: Bind dmabuf to netdev doc: Bind dmabuf to netdev
attribute-set: dmabuf attribute-set: dmabuf
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:
@ -735,7 +735,7 @@ operations:
name: napi-set name: napi-set
doc: Set configurable NAPI instance settings. doc: Set configurable NAPI instance settings.
attribute-set: napi attribute-set: napi
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:
@ -757,7 +757,7 @@ operations:
- id - id
kernel-family: kernel-family:
headers: [ "net/netdev_netlink.h"] headers: ["net/netdev_netlink.h"]
sock-priv: struct netdev_nl_sock sock-priv: struct netdev_nl_sock
mcast-groups: mcast-groups:

View file

@ -151,7 +151,7 @@ operations:
name: threads-set name: threads-set
doc: set the number of running threads doc: set the number of running threads
attribute-set: server attribute-set: server
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:
@ -174,7 +174,7 @@ operations:
name: version-set name: version-set
doc: set nfs enabled versions doc: set nfs enabled versions
attribute-set: server-proto attribute-set: server-proto
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:
@ -191,7 +191,7 @@ operations:
name: listener-set name: listener-set
doc: set nfs running sockets doc: set nfs running sockets
attribute-set: server-sock attribute-set: server-sock
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:
@ -208,7 +208,7 @@ operations:
name: pool-mode-set name: pool-mode-set
doc: set the current server pool-mode doc: set the current server pool-mode
attribute-set: pool-mode attribute-set: pool-mode
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
attributes: attributes:

View file

@ -76,12 +76,12 @@ attribute-sets:
- -
name: policy name: policy
type: nest-type-value type: nest-type-value
type-value: [ policy-id, attr-id ] type-value: [policy-id, attr-id]
nested-attributes: policy-attrs nested-attributes: policy-attrs
- -
name: op-policy name: op-policy
type: nest-type-value type: nest-type-value
type-value: [ op-id ] type-value: [op-id]
nested-attributes: op-policy-attrs nested-attributes: op-policy-attrs
- -
name: op name: op

View file

@ -19,7 +19,7 @@ definitions:
- -
type: enum type: enum
name: cipher-alg name: cipher-alg
entries: [ none, aes-gcm, chacha20-poly1305 ] entries: [none, aes-gcm, chacha20-poly1305]
- -
type: enum type: enum
name: del-peer-reason name: del-peer-reason
@ -32,7 +32,7 @@ definitions:
- -
type: enum type: enum
name: key-slot name: key-slot
entries: [ primary, secondary ] entries: [primary, secondary]
attribute-sets: attribute-sets:
- -
@ -241,7 +241,7 @@ operations:
- -
name: peer-new name: peer-new
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: Add a remote peer doc: Add a remote peer
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit
@ -253,7 +253,7 @@ operations:
- -
name: peer-set name: peer-set
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: modify a remote peer doc: modify a remote peer
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit
@ -265,7 +265,7 @@ operations:
- -
name: peer-get name: peer-get
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: Retrieve data about existing remote peers (or a specific one) doc: Retrieve data about existing remote peers (or a specific one)
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit
@ -287,7 +287,7 @@ operations:
- -
name: peer-del name: peer-del
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: Delete existing remote peer doc: Delete existing remote peer
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit
@ -305,7 +305,7 @@ operations:
- -
name: key-new name: key-new
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: Add a cipher key for a specific peer doc: Add a cipher key for a specific peer
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit
@ -317,7 +317,7 @@ operations:
- -
name: key-get name: key-get
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: Retrieve non-sensitive data about peer key and cipher doc: Retrieve non-sensitive data about peer key and cipher
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit
@ -332,7 +332,7 @@ operations:
- -
name: key-swap name: key-swap
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: Swap primary and secondary session keys for a specific peer doc: Swap primary and secondary session keys for a specific peer
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit
@ -351,7 +351,7 @@ operations:
- -
name: key-del name: key-del
attribute-set: ovpn attribute-set: ovpn
flags: [ admin-perm ] flags: [admin-perm]
doc: Delete cipher key for a specific peer doc: Delete cipher key for a specific peer
do: do:
pre: ovpn-nl-pre-doit pre: ovpn-nl-pre-doit

View file

@ -21,7 +21,7 @@ definitions:
type: enum type: enum
enum-name: ovs-vport-type enum-name: ovs-vport-type
name-prefix: ovs-vport-type- name-prefix: ovs-vport-type-
entries: [ unspec, netdev, internal, gre, vxlan, geneve ] entries: [unspec, netdev, internal, gre, vxlan, geneve]
- -
name: ovs-vport-stats name: ovs-vport-stats
type: struct type: struct

View file

@ -133,7 +133,7 @@ operations:
doc: Retrieve metrics. doc: Retrieve metrics.
attribute-set: tcp-metrics attribute-set: tcp-metrics
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
do: do:
request: &sel_attrs request: &sel_attrs
@ -162,8 +162,8 @@ operations:
doc: Delete metrics. doc: Delete metrics.
attribute-set: tcp-metrics attribute-set: tcp-metrics
dont-validate: [ strict, dump ] dont-validate: [strict, dump]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: *sel_attrs request: *sel_attrs

View file

@ -152,7 +152,7 @@ operations:
doc: No operation doc: No operation
value: 0 value: 0
attribute-set: team attribute-set: team
dont-validate: [ strict ] dont-validate: [strict]
do: do:
# Actually it only reply the team netlink family # Actually it only reply the team netlink family
@ -164,8 +164,8 @@ operations:
name: options-set name: options-set
doc: Set team options doc: Set team options
attribute-set: team attribute-set: team
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: &option_attrs request: &option_attrs
@ -178,8 +178,8 @@ operations:
name: options-get name: options-get
doc: Get team options info doc: Get team options info
attribute-set: team attribute-set: team
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request:
@ -191,8 +191,8 @@ operations:
name: port-list-get name: port-list-get
doc: Get team ports info doc: Get team ports info
attribute-set: team attribute-set: team
dont-validate: [ strict ] dont-validate: [strict]
flags: [ admin-perm ] flags: [admin-perm]
do: do:
request: request: