nl-linux 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/devlink.rb +727 -200
- data/generated/nl/linux/dpll.rb +79 -12
- data/generated/nl/linux/drm_ras.rb +222 -0
- data/generated/nl/linux/ethtool.rb +47 -8
- data/generated/nl/linux/handshake.rb +1 -1
- data/generated/nl/linux/net_shaper.rb +1 -1
- data/generated/nl/linux/netdev.rb +141 -6
- data/generated/nl/linux/nfsd.rb +566 -8
- data/generated/nl/linux/nftables.rb +1705 -139
- data/generated/nl/linux/ovpn.rb +27 -12
- data/generated/nl/linux/ovs_datapath.rb +4 -4
- data/generated/nl/linux/ovs_packet.rb +166 -0
- data/generated/nl/linux/ovs_vport.rb +4 -4
- data/generated/nl/linux/psp.rb +196 -6
- data/generated/nl/linux/rt_link.rb +84 -78
- data/generated/nl/linux/sunrpc_cache.rb +293 -0
- data/generated/nl/linux/tc.rb +7 -2
- data/generated/nl/linux.rb +3 -0
- data/lib/nl/linux/version.rb +1 -1
- data/linux/devlink.yaml +92 -2
- data/linux/dpll.yaml +94 -5
- data/linux/drm_ras.yaml +126 -0
- data/linux/ethtool.yaml +21 -4
- data/linux/handshake.yaml +9 -0
- data/linux/mptcp_pm.yaml +1 -0
- data/linux/net_shaper.yaml +13 -6
- data/linux/netdev.yaml +61 -2
- data/linux/nfsd.yaml +303 -2
- data/linux/nftables.yaml +640 -49
- data/linux/ovpn.yaml +26 -1
- data/linux/ovs_packet.yaml +130 -0
- data/linux/psp.yaml +80 -3
- data/linux/rt-link.yaml +70 -24
- data/linux/sunrpc_cache.yaml +149 -0
- data/linux/tc.yaml +3 -0
- metadata +12 -6
data/linux/nfsd.yaml
CHANGED
|
@@ -6,7 +6,51 @@ uapi-header: linux/nfsd_netlink.h
|
|
|
6
6
|
|
|
7
7
|
doc: NFSD configuration over generic netlink.
|
|
8
8
|
|
|
9
|
+
definitions:
|
|
10
|
+
-
|
|
11
|
+
type: flags
|
|
12
|
+
name: cache-type
|
|
13
|
+
entries: [svc_export, expkey]
|
|
14
|
+
-
|
|
15
|
+
type: flags
|
|
16
|
+
name: export-flags
|
|
17
|
+
doc: These flags are ordered to match the NFSEXP_* flags in include/linux/nfsd/export.h
|
|
18
|
+
entries:
|
|
19
|
+
- readonly
|
|
20
|
+
- insecure-port
|
|
21
|
+
- rootsquash
|
|
22
|
+
- allsquash
|
|
23
|
+
- async
|
|
24
|
+
- gathered-writes
|
|
25
|
+
- noreaddirplus
|
|
26
|
+
- security-label
|
|
27
|
+
- sign-fh
|
|
28
|
+
- nohide
|
|
29
|
+
- nosubtreecheck
|
|
30
|
+
- noauthnlm
|
|
31
|
+
- msnfs
|
|
32
|
+
- fsid
|
|
33
|
+
- crossmount
|
|
34
|
+
- noacl
|
|
35
|
+
- v4root
|
|
36
|
+
- pnfs
|
|
37
|
+
-
|
|
38
|
+
type: flags
|
|
39
|
+
name: xprtsec-mode
|
|
40
|
+
doc: These flags are ordered to match the NFSEXP_XPRTSEC_* flags in include/linux/nfsd/export.h
|
|
41
|
+
entries:
|
|
42
|
+
- none
|
|
43
|
+
- tls
|
|
44
|
+
- mtls
|
|
45
|
+
|
|
9
46
|
attribute-sets:
|
|
47
|
+
-
|
|
48
|
+
name: cache-notify
|
|
49
|
+
attributes:
|
|
50
|
+
-
|
|
51
|
+
name: cache-type
|
|
52
|
+
type: u32
|
|
53
|
+
enum: cache-type
|
|
10
54
|
-
|
|
11
55
|
name: rpc-status
|
|
12
56
|
attributes:
|
|
@@ -78,6 +122,14 @@ attribute-sets:
|
|
|
78
122
|
-
|
|
79
123
|
name: scope
|
|
80
124
|
type: string
|
|
125
|
+
-
|
|
126
|
+
name: min-threads
|
|
127
|
+
type: u32
|
|
128
|
+
-
|
|
129
|
+
name: fh-key
|
|
130
|
+
type: binary
|
|
131
|
+
checks:
|
|
132
|
+
exact-len: 16
|
|
81
133
|
-
|
|
82
134
|
name: version
|
|
83
135
|
attributes:
|
|
@@ -124,6 +176,160 @@ attribute-sets:
|
|
|
124
176
|
-
|
|
125
177
|
name: npools
|
|
126
178
|
type: u32
|
|
179
|
+
-
|
|
180
|
+
name: fslocation
|
|
181
|
+
attributes:
|
|
182
|
+
-
|
|
183
|
+
name: host
|
|
184
|
+
type: string
|
|
185
|
+
-
|
|
186
|
+
name: path
|
|
187
|
+
type: string
|
|
188
|
+
-
|
|
189
|
+
name: fslocations
|
|
190
|
+
attributes:
|
|
191
|
+
-
|
|
192
|
+
name: location
|
|
193
|
+
type: nest
|
|
194
|
+
nested-attributes: fslocation
|
|
195
|
+
multi-attr: true
|
|
196
|
+
-
|
|
197
|
+
name: auth-flavor
|
|
198
|
+
attributes:
|
|
199
|
+
-
|
|
200
|
+
name: pseudoflavor
|
|
201
|
+
type: u32
|
|
202
|
+
-
|
|
203
|
+
name: flags
|
|
204
|
+
type: u32
|
|
205
|
+
enum: export-flags
|
|
206
|
+
enum-as-flags: true
|
|
207
|
+
-
|
|
208
|
+
name: svc-export
|
|
209
|
+
attributes:
|
|
210
|
+
-
|
|
211
|
+
name: seqno
|
|
212
|
+
type: u64
|
|
213
|
+
-
|
|
214
|
+
name: client
|
|
215
|
+
type: string
|
|
216
|
+
-
|
|
217
|
+
name: path
|
|
218
|
+
type: string
|
|
219
|
+
-
|
|
220
|
+
name: negative
|
|
221
|
+
type: flag
|
|
222
|
+
-
|
|
223
|
+
name: expiry
|
|
224
|
+
type: u64
|
|
225
|
+
-
|
|
226
|
+
name: anon-uid
|
|
227
|
+
type: u32
|
|
228
|
+
-
|
|
229
|
+
name: anon-gid
|
|
230
|
+
type: u32
|
|
231
|
+
-
|
|
232
|
+
name: fslocations
|
|
233
|
+
type: nest
|
|
234
|
+
nested-attributes: fslocations
|
|
235
|
+
-
|
|
236
|
+
name: uuid
|
|
237
|
+
type: binary
|
|
238
|
+
-
|
|
239
|
+
name: secinfo
|
|
240
|
+
type: nest
|
|
241
|
+
nested-attributes: auth-flavor
|
|
242
|
+
multi-attr: true
|
|
243
|
+
-
|
|
244
|
+
name: xprtsec
|
|
245
|
+
type: u32
|
|
246
|
+
enum: xprtsec-mode
|
|
247
|
+
multi-attr: true
|
|
248
|
+
-
|
|
249
|
+
name: flags
|
|
250
|
+
type: u32
|
|
251
|
+
enum: export-flags
|
|
252
|
+
enum-as-flags: true
|
|
253
|
+
-
|
|
254
|
+
name: fsid
|
|
255
|
+
type: s32
|
|
256
|
+
-
|
|
257
|
+
name: svc-export-reqs
|
|
258
|
+
attributes:
|
|
259
|
+
-
|
|
260
|
+
name: requests
|
|
261
|
+
type: nest
|
|
262
|
+
nested-attributes: svc-export
|
|
263
|
+
multi-attr: true
|
|
264
|
+
-
|
|
265
|
+
name: expkey
|
|
266
|
+
attributes:
|
|
267
|
+
-
|
|
268
|
+
name: seqno
|
|
269
|
+
type: u64
|
|
270
|
+
-
|
|
271
|
+
name: client
|
|
272
|
+
type: string
|
|
273
|
+
-
|
|
274
|
+
name: fsidtype
|
|
275
|
+
type: u8
|
|
276
|
+
-
|
|
277
|
+
name: fsid
|
|
278
|
+
type: binary
|
|
279
|
+
-
|
|
280
|
+
name: negative
|
|
281
|
+
type: flag
|
|
282
|
+
-
|
|
283
|
+
name: expiry
|
|
284
|
+
type: u64
|
|
285
|
+
-
|
|
286
|
+
name: path
|
|
287
|
+
type: string
|
|
288
|
+
-
|
|
289
|
+
name: expkey-reqs
|
|
290
|
+
attributes:
|
|
291
|
+
-
|
|
292
|
+
name: requests
|
|
293
|
+
type: nest
|
|
294
|
+
nested-attributes: expkey
|
|
295
|
+
multi-attr: true
|
|
296
|
+
-
|
|
297
|
+
name: cache-flush
|
|
298
|
+
attributes:
|
|
299
|
+
-
|
|
300
|
+
name: mask
|
|
301
|
+
type: u32
|
|
302
|
+
enum: cache-type
|
|
303
|
+
enum-as-flags: true
|
|
304
|
+
-
|
|
305
|
+
name: unlock-ip
|
|
306
|
+
attributes:
|
|
307
|
+
-
|
|
308
|
+
name: address
|
|
309
|
+
type: binary
|
|
310
|
+
doc: struct sockaddr_in or struct sockaddr_in6.
|
|
311
|
+
checks:
|
|
312
|
+
min-len: 16
|
|
313
|
+
-
|
|
314
|
+
name: unlock-filesystem
|
|
315
|
+
attributes:
|
|
316
|
+
-
|
|
317
|
+
name: path
|
|
318
|
+
type: string
|
|
319
|
+
doc: Filesystem path whose state should be released.
|
|
320
|
+
-
|
|
321
|
+
name: unlock-export
|
|
322
|
+
attributes:
|
|
323
|
+
-
|
|
324
|
+
name: path
|
|
325
|
+
type: string
|
|
326
|
+
doc: >-
|
|
327
|
+
Export path whose NFSv4 state should be revoked.
|
|
328
|
+
All state (opens, locks, delegations, layouts) acquired
|
|
329
|
+
through any export of this path is revoked, regardless
|
|
330
|
+
of which client holds the state. Intended for use after
|
|
331
|
+
all clients have been unexported from a given path,
|
|
332
|
+
enabling the underlying filesystem to be unmounted.
|
|
127
333
|
|
|
128
334
|
operations:
|
|
129
335
|
list:
|
|
@@ -149,7 +355,7 @@ operations:
|
|
|
149
355
|
- compound-ops
|
|
150
356
|
-
|
|
151
357
|
name: threads-set
|
|
152
|
-
doc: set the number of running threads
|
|
358
|
+
doc: set the maximum number of running threads
|
|
153
359
|
attribute-set: server
|
|
154
360
|
flags: [admin-perm]
|
|
155
361
|
do:
|
|
@@ -159,9 +365,11 @@ operations:
|
|
|
159
365
|
- gracetime
|
|
160
366
|
- leasetime
|
|
161
367
|
- scope
|
|
368
|
+
- min-threads
|
|
369
|
+
- fh-key
|
|
162
370
|
-
|
|
163
371
|
name: threads-get
|
|
164
|
-
doc: get the number of running threads
|
|
372
|
+
doc: get the maximum number of running threads
|
|
165
373
|
attribute-set: server
|
|
166
374
|
do:
|
|
167
375
|
reply:
|
|
@@ -170,6 +378,7 @@ operations:
|
|
|
170
378
|
- gracetime
|
|
171
379
|
- leasetime
|
|
172
380
|
- scope
|
|
381
|
+
- min-threads
|
|
173
382
|
-
|
|
174
383
|
name: version-set
|
|
175
384
|
doc: set nfs enabled versions
|
|
@@ -222,3 +431,95 @@ operations:
|
|
|
222
431
|
attributes:
|
|
223
432
|
- mode
|
|
224
433
|
- npools
|
|
434
|
+
-
|
|
435
|
+
name: cache-notify
|
|
436
|
+
doc: Notification that there are cache requests that need servicing
|
|
437
|
+
attribute-set: cache-notify
|
|
438
|
+
mcgrp: exportd
|
|
439
|
+
event:
|
|
440
|
+
attributes:
|
|
441
|
+
- cache-type
|
|
442
|
+
-
|
|
443
|
+
name: svc-export-get-reqs
|
|
444
|
+
doc: Dump all pending svc_export requests
|
|
445
|
+
attribute-set: svc-export-reqs
|
|
446
|
+
flags: [admin-perm]
|
|
447
|
+
dump:
|
|
448
|
+
reply:
|
|
449
|
+
attributes:
|
|
450
|
+
- requests
|
|
451
|
+
-
|
|
452
|
+
name: svc-export-set-reqs
|
|
453
|
+
doc: Respond to one or more svc_export requests
|
|
454
|
+
attribute-set: svc-export-reqs
|
|
455
|
+
flags: [admin-perm]
|
|
456
|
+
do:
|
|
457
|
+
request:
|
|
458
|
+
attributes:
|
|
459
|
+
- requests
|
|
460
|
+
-
|
|
461
|
+
name: expkey-get-reqs
|
|
462
|
+
doc: Dump all pending expkey requests
|
|
463
|
+
attribute-set: expkey-reqs
|
|
464
|
+
flags: [admin-perm]
|
|
465
|
+
dump:
|
|
466
|
+
reply:
|
|
467
|
+
attributes:
|
|
468
|
+
- requests
|
|
469
|
+
-
|
|
470
|
+
name: expkey-set-reqs
|
|
471
|
+
doc: Respond to one or more expkey requests
|
|
472
|
+
attribute-set: expkey-reqs
|
|
473
|
+
flags: [admin-perm]
|
|
474
|
+
do:
|
|
475
|
+
request:
|
|
476
|
+
attributes:
|
|
477
|
+
- requests
|
|
478
|
+
-
|
|
479
|
+
name: cache-flush
|
|
480
|
+
doc: Flush nfsd caches (svc_export and/or expkey)
|
|
481
|
+
attribute-set: cache-flush
|
|
482
|
+
flags: [admin-perm]
|
|
483
|
+
do:
|
|
484
|
+
request:
|
|
485
|
+
attributes:
|
|
486
|
+
- mask
|
|
487
|
+
-
|
|
488
|
+
name: unlock-ip
|
|
489
|
+
doc: release NLM locks held by an IP address
|
|
490
|
+
attribute-set: unlock-ip
|
|
491
|
+
flags: [admin-perm]
|
|
492
|
+
do:
|
|
493
|
+
request:
|
|
494
|
+
attributes:
|
|
495
|
+
- address
|
|
496
|
+
-
|
|
497
|
+
name: unlock-filesystem
|
|
498
|
+
doc: revoke NFS state under a filesystem path
|
|
499
|
+
attribute-set: unlock-filesystem
|
|
500
|
+
flags: [admin-perm]
|
|
501
|
+
do:
|
|
502
|
+
request:
|
|
503
|
+
attributes:
|
|
504
|
+
- path
|
|
505
|
+
-
|
|
506
|
+
name: unlock-export
|
|
507
|
+
doc: >-
|
|
508
|
+
Revoke NFSv4 state acquired through exports of a given path.
|
|
509
|
+
Unlike unlock-filesystem, which operates at superblock granularity,
|
|
510
|
+
this command targets only state associated with a specific export
|
|
511
|
+
path. Userspace (exportfs -u) sends this after removing the last
|
|
512
|
+
client for a path so the underlying filesystem can be unmounted.
|
|
513
|
+
attribute-set: unlock-export
|
|
514
|
+
flags: [admin-perm]
|
|
515
|
+
do:
|
|
516
|
+
request:
|
|
517
|
+
attributes:
|
|
518
|
+
- path
|
|
519
|
+
|
|
520
|
+
mcast-groups:
|
|
521
|
+
list:
|
|
522
|
+
-
|
|
523
|
+
name: none
|
|
524
|
+
-
|
|
525
|
+
name: exportd
|