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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -21,7 +21,7 @@ definitions:
type: enum
enum-name: 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
type: struct

View file

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

View file

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