nl-linux 0.4.1 → 0.5.0
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 +7 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/binder.rb +103 -187
- data/generated/nl/linux/conntrack.rb +1053 -1649
- data/generated/nl/linux/dev_energymodel.rb +303 -265
- data/generated/nl/linux/devlink.rb +4904 -5576
- data/generated/nl/linux/dpll.rb +1097 -1467
- data/generated/nl/linux/drm_ras.rb +235 -195
- data/generated/nl/linux/ethtool.rb +6652 -7415
- data/generated/nl/linux/fou.rb +234 -255
- data/generated/nl/linux/handshake.rb +208 -280
- data/generated/nl/linux/lockd.rb +99 -73
- data/generated/nl/linux/mptcp_pm.rb +589 -687
- data/generated/nl/linux/net_shaper.rb +520 -615
- data/generated/nl/linux/netdev.rb +1640 -1987
- data/generated/nl/linux/nfsd.rb +1341 -1215
- data/generated/nl/linux/nftables.rb +5143 -4870
- data/generated/nl/linux/nl80211.rb +2542 -6316
- data/generated/nl/linux/nlctrl.rb +338 -483
- data/generated/nl/linux/ovpn.rb +1006 -1522
- data/generated/nl/linux/ovs_datapath.rb +291 -186
- data/generated/nl/linux/ovs_flow.rb +1393 -2065
- data/generated/nl/linux/ovs_packet.rb +186 -223
- data/generated/nl/linux/ovs_vport.rb +328 -285
- data/generated/nl/linux/psp.rb +812 -717
- data/generated/nl/linux/rt_addr.rb +513 -243
- data/generated/nl/linux/rt_link.rb +4504 -7238
- data/generated/nl/linux/rt_neigh.rb +935 -847
- data/generated/nl/linux/rt_route.rb +1198 -871
- data/generated/nl/linux/rt_rule.rb +680 -659
- data/generated/nl/linux/sunrpc_cache.rb +323 -321
- data/generated/nl/linux/tc.rb +9058 -10454
- data/generated/nl/linux/tcp_metrics.rb +258 -367
- data/generated/nl/linux/team.rb +327 -345
- data/generated/nl/linux/wireguard.rb +270 -434
- data/lib/nl/linux/nlctrl_resolver.rb +1 -1
- data/lib/nl/linux/version.rb +1 -1
- data/linux/conntrack.yaml +18 -3
- data/linux/devlink.yaml +26 -4
- data/linux/dpll.yaml +19 -0
- data/linux/netdev.yaml +21 -0
- data/linux/nfsd.yaml +111 -0
- data/linux/nl80211.yaml +2 -2
- data/linux/rt-addr.yaml +4 -0
- data/linux/rt-link.yaml +7 -0
- data/linux/rt-neigh.yaml +3 -0
- data/linux/rt-route.yaml +83 -2
- data/sig/generated/nl/linux/binder.rbs +77 -220
- data/sig/generated/nl/linux/conntrack.rbs +770 -1954
- data/sig/generated/nl/linux/dev_energymodel.rbs +207 -291
- data/sig/generated/nl/linux/devlink.rbs +3318 -6068
- data/sig/generated/nl/linux/dpll.rbs +791 -1589
- data/sig/generated/nl/linux/drm_ras.rbs +160 -208
- data/sig/generated/nl/linux/ethtool.rbs +4205 -7581
- data/sig/generated/nl/linux/fou.rbs +139 -254
- data/sig/generated/nl/linux/handshake.rbs +144 -319
- data/sig/generated/nl/linux/lockd.rbs +64 -74
- data/sig/generated/nl/linux/mptcp_pm.rbs +426 -835
- data/sig/generated/nl/linux/net_shaper.rbs +351 -644
- data/sig/generated/nl/linux/netdev.rbs +1151 -2146
- data/sig/generated/nl/linux/nfsd.rbs +1047 -1409
- data/sig/generated/nl/linux/nftables.rbs +2907 -5030
- data/sig/generated/nl/linux/nl80211.rbs +1807 -7964
- data/sig/generated/nl/linux/nlctrl.rbs +220 -544
- data/sig/generated/nl/linux/ovpn.rbs +835 -1859
- data/sig/generated/nl/linux/ovs_datapath.rbs +141 -181
- data/sig/generated/nl/linux/ovs_flow.rbs +817 -2332
- data/sig/generated/nl/linux/ovs_packet.rbs +110 -237
- data/sig/generated/nl/linux/ovs_vport.rbs +174 -294
- data/sig/generated/nl/linux/psp.rbs +550 -741
- data/sig/generated/nl/linux/rt_addr.rbs +188 -226
- data/sig/generated/nl/linux/rt_link.rbs +2687 -8370
- data/sig/generated/nl/linux/rt_neigh.rbs +471 -1005
- data/sig/generated/nl/linux/rt_route.rbs +632 -862
- data/sig/generated/nl/linux/rt_rule.rbs +217 -639
- data/sig/generated/nl/linux/sunrpc_cache.rbs +233 -369
- data/sig/generated/nl/linux/tc.rbs +6199 -13391
- data/sig/generated/nl/linux/tcp_metrics.rbs +179 -421
- data/sig/generated/nl/linux/team.rbs +232 -391
- data/sig/generated/nl/linux/wireguard.rbs +197 -502
- metadata +6 -6
|
@@ -56,6 +56,10 @@ module Nl
|
|
|
56
56
|
# @private
|
|
57
57
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
58
58
|
|
|
59
|
+
# @private
|
|
60
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
61
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
62
|
+
|
|
59
63
|
# Decodes the struct.
|
|
60
64
|
# @rbs decoder: ::Nl::Decoder
|
|
61
65
|
# @rbs return: instance
|
|
@@ -112,6 +116,10 @@ module Nl
|
|
|
112
116
|
# @private
|
|
113
117
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
114
118
|
|
|
119
|
+
# @private
|
|
120
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
121
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
122
|
+
|
|
115
123
|
# Decodes the struct.
|
|
116
124
|
# @rbs decoder: ::Nl::Decoder
|
|
117
125
|
# @rbs return: instance
|
|
@@ -130,304 +138,124 @@ module Nl
|
|
|
130
138
|
|
|
131
139
|
module AttributeSets
|
|
132
140
|
class VportOptions < ::Nl::AttributeSet
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
# @private
|
|
143
|
-
ORDER: ::Integer
|
|
144
|
-
|
|
145
|
-
# @private
|
|
146
|
-
DATATYPE: untyped
|
|
141
|
+
module Definitions
|
|
142
|
+
# @rbs return: ::Integer
|
|
143
|
+
# @return [Integer]
|
|
144
|
+
def dst_port: () -> ::Integer
|
|
145
|
+
|
|
146
|
+
# @rbs return: ::Integer
|
|
147
|
+
# @return [Integer]
|
|
148
|
+
def extension: () -> ::Integer
|
|
147
149
|
end
|
|
148
150
|
|
|
149
|
-
|
|
150
|
-
TYPE: ::Integer
|
|
151
|
-
|
|
152
|
-
NAME: ::Symbol
|
|
151
|
+
include Definitions
|
|
153
152
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
# @private
|
|
158
|
-
DATATYPE: untyped
|
|
159
|
-
end
|
|
160
|
-
|
|
161
|
-
# @private
|
|
162
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
163
|
-
|
|
164
|
-
# @private
|
|
165
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
166
|
-
|
|
167
|
-
# @rbs return: ::Integer
|
|
168
|
-
# @return [Integer]
|
|
169
|
-
# @see DstPort
|
|
170
|
-
def dst_port: () -> ::Integer
|
|
171
|
-
|
|
172
|
-
# @rbs return: ::Integer
|
|
173
|
-
# @return [Integer]
|
|
174
|
-
# @see Extension
|
|
175
|
-
def extension: () -> ::Integer
|
|
176
|
-
|
|
177
|
-
# Looks up Attribute class by name.
|
|
178
|
-
# @rbs name: Symbol
|
|
179
|
-
# @rbs return: Attribute
|
|
180
|
-
# @param [Symbol] name
|
|
181
|
-
# @return [Attribute]
|
|
182
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
183
|
-
|
|
184
|
-
# Looks up Attribute class by type value.
|
|
185
|
-
# @rbs type: Integer
|
|
186
|
-
# @rbs return: Attribute
|
|
187
|
-
# @param [Integer] type
|
|
188
|
-
# @return [Attribute]
|
|
189
|
-
def self.by_type: (Integer type) -> Attribute
|
|
153
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
154
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
155
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
190
156
|
end
|
|
191
157
|
|
|
192
158
|
class UpcallStats < ::Nl::AttributeSet
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
# @private
|
|
203
|
-
ORDER: ::Integer
|
|
204
|
-
|
|
205
|
-
# @private
|
|
206
|
-
DATATYPE: untyped
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
class Fail < Attribute
|
|
210
|
-
TYPE: ::Integer
|
|
211
|
-
|
|
212
|
-
NAME: ::Symbol
|
|
213
|
-
|
|
214
|
-
# @private
|
|
215
|
-
ORDER: ::Integer
|
|
216
|
-
|
|
217
|
-
# @private
|
|
218
|
-
DATATYPE: untyped
|
|
159
|
+
module Definitions
|
|
160
|
+
# @rbs return: ::Integer
|
|
161
|
+
# @return [Integer]
|
|
162
|
+
def success: () -> ::Integer
|
|
163
|
+
|
|
164
|
+
# @rbs return: ::Integer
|
|
165
|
+
# @return [Integer]
|
|
166
|
+
def fail: () -> ::Integer
|
|
219
167
|
end
|
|
220
168
|
|
|
221
|
-
|
|
222
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
223
|
-
|
|
224
|
-
# @private
|
|
225
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
226
|
-
|
|
227
|
-
# @rbs return: ::Integer
|
|
228
|
-
# @return [Integer]
|
|
229
|
-
# @see Success
|
|
230
|
-
def success: () -> ::Integer
|
|
169
|
+
include Definitions
|
|
231
170
|
|
|
232
|
-
#
|
|
233
|
-
# @
|
|
234
|
-
|
|
235
|
-
def fail: () -> ::Integer
|
|
236
|
-
|
|
237
|
-
# Looks up Attribute class by name.
|
|
238
|
-
# @rbs name: Symbol
|
|
239
|
-
# @rbs return: Attribute
|
|
240
|
-
# @param [Symbol] name
|
|
241
|
-
# @return [Attribute]
|
|
242
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
243
|
-
|
|
244
|
-
# Looks up Attribute class by type value.
|
|
245
|
-
# @rbs type: Integer
|
|
246
|
-
# @rbs return: Attribute
|
|
247
|
-
# @param [Integer] type
|
|
248
|
-
# @return [Attribute]
|
|
249
|
-
def self.by_type: (Integer type) -> Attribute
|
|
171
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
172
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
173
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
250
174
|
end
|
|
251
175
|
|
|
252
176
|
class Vport < ::Nl::AttributeSet
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
177
|
+
module Definitions
|
|
178
|
+
# @rbs return: ::Integer
|
|
179
|
+
# @return [Integer]
|
|
180
|
+
def port_no: () -> ::Integer
|
|
181
|
+
|
|
182
|
+
# Known enum values are defined in {Enums::VportType}.
|
|
183
|
+
# @rbs return: ::Integer
|
|
184
|
+
# @return [Integer]
|
|
185
|
+
def type: () -> ::Integer
|
|
186
|
+
|
|
187
|
+
# @rbs return: ::String
|
|
188
|
+
# @return [String]
|
|
189
|
+
def name: () -> ::String
|
|
190
|
+
|
|
191
|
+
# @rbs return: AttributeSets::VportOptions
|
|
192
|
+
# @return [AttributeSets::VportOptions]
|
|
193
|
+
def options: () -> AttributeSets::VportOptions
|
|
194
|
+
|
|
195
|
+
# @rbs return: ::Array[::Integer]
|
|
196
|
+
# @return [Array<Integer>]
|
|
197
|
+
def upcall_pid: () -> ::Array[::Integer]
|
|
198
|
+
|
|
199
|
+
# @rbs return: Structs::OvsVportStats
|
|
200
|
+
# @return [Structs::OvsVportStats]
|
|
201
|
+
def stats: () -> Structs::OvsVportStats
|
|
202
|
+
|
|
203
|
+
# @rbs return: ::Integer
|
|
204
|
+
# @return [Integer]
|
|
205
|
+
def ifindex: () -> ::Integer
|
|
206
|
+
|
|
207
|
+
# @rbs return: ::Integer
|
|
208
|
+
# @return [Integer]
|
|
209
|
+
def netnsid: () -> ::Integer
|
|
210
|
+
|
|
211
|
+
# @rbs return: AttributeSets::UpcallStats
|
|
212
|
+
# @return [AttributeSets::UpcallStats]
|
|
213
|
+
def upcall_stats: () -> AttributeSets::UpcallStats
|
|
267
214
|
end
|
|
268
215
|
|
|
269
|
-
|
|
270
|
-
class Type < Attribute
|
|
271
|
-
TYPE: ::Integer
|
|
272
|
-
|
|
273
|
-
NAME: ::Symbol
|
|
216
|
+
include Definitions
|
|
274
217
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
end
|
|
281
|
-
|
|
282
|
-
class Name < Attribute
|
|
283
|
-
TYPE: ::Integer
|
|
284
|
-
|
|
285
|
-
NAME: ::Symbol
|
|
286
|
-
|
|
287
|
-
# @private
|
|
288
|
-
ORDER: ::Integer
|
|
289
|
-
|
|
290
|
-
# @private
|
|
291
|
-
DATATYPE: untyped
|
|
292
|
-
end
|
|
293
|
-
|
|
294
|
-
class Options < Attribute
|
|
295
|
-
TYPE: ::Integer
|
|
296
|
-
|
|
297
|
-
NAME: ::Symbol
|
|
298
|
-
|
|
299
|
-
# @private
|
|
300
|
-
ORDER: ::Integer
|
|
301
|
-
end
|
|
302
|
-
|
|
303
|
-
class UpcallPid < Attribute
|
|
304
|
-
TYPE: ::Integer
|
|
305
|
-
|
|
306
|
-
NAME: ::Symbol
|
|
307
|
-
|
|
308
|
-
# @private
|
|
309
|
-
ORDER: ::Integer
|
|
310
|
-
|
|
311
|
-
# @private
|
|
312
|
-
DATATYPE: untyped
|
|
313
|
-
end
|
|
314
|
-
|
|
315
|
-
class Stats < Attribute
|
|
316
|
-
TYPE: ::Integer
|
|
317
|
-
|
|
318
|
-
NAME: ::Symbol
|
|
218
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
219
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
220
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
221
|
+
end
|
|
222
|
+
end
|
|
319
223
|
|
|
224
|
+
module AttributeSets
|
|
225
|
+
class VportOptions
|
|
226
|
+
module Definitions
|
|
320
227
|
# @private
|
|
321
|
-
|
|
228
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
322
229
|
|
|
323
230
|
# @private
|
|
324
|
-
|
|
231
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
325
232
|
end
|
|
233
|
+
end
|
|
326
234
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
NAME: ::Symbol
|
|
331
|
-
|
|
235
|
+
class UpcallStats
|
|
236
|
+
module Definitions
|
|
332
237
|
# @private
|
|
333
|
-
|
|
238
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
334
239
|
|
|
335
240
|
# @private
|
|
336
|
-
|
|
241
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
337
242
|
end
|
|
243
|
+
end
|
|
338
244
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
NAME: ::Symbol
|
|
343
|
-
|
|
344
|
-
# @private
|
|
345
|
-
ORDER: ::Integer
|
|
346
|
-
|
|
245
|
+
class Vport
|
|
246
|
+
module Definitions
|
|
347
247
|
# @private
|
|
348
|
-
|
|
349
|
-
end
|
|
350
|
-
|
|
351
|
-
class UpcallStats < Attribute
|
|
352
|
-
TYPE: ::Integer
|
|
353
|
-
|
|
354
|
-
NAME: ::Symbol
|
|
248
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
355
249
|
|
|
356
250
|
# @private
|
|
357
|
-
|
|
251
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
358
252
|
end
|
|
359
|
-
|
|
360
|
-
# @private
|
|
361
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
362
|
-
|
|
363
|
-
# @private
|
|
364
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
365
|
-
|
|
366
|
-
# @rbs return: ::Integer
|
|
367
|
-
# @return [Integer]
|
|
368
|
-
# @see PortNo
|
|
369
|
-
def port_no: () -> ::Integer
|
|
370
|
-
|
|
371
|
-
# Known enum values are defined in {Enums::VportType}.
|
|
372
|
-
# @rbs return: ::Integer
|
|
373
|
-
# @return [Integer]
|
|
374
|
-
# @see Type
|
|
375
|
-
def type: () -> ::Integer
|
|
376
|
-
|
|
377
|
-
# @rbs return: ::String
|
|
378
|
-
# @return [String]
|
|
379
|
-
# @see Name
|
|
380
|
-
def name: () -> ::String
|
|
381
|
-
|
|
382
|
-
# @rbs return: AttributeSets::VportOptions
|
|
383
|
-
# @return [AttributeSets::VportOptions]
|
|
384
|
-
# @see Options
|
|
385
|
-
def options: () -> AttributeSets::VportOptions
|
|
386
|
-
|
|
387
|
-
# @rbs return: ::Array[::Integer]
|
|
388
|
-
# @return [Array<Integer>]
|
|
389
|
-
# @see UpcallPid
|
|
390
|
-
def upcall_pid: () -> ::Array[::Integer]
|
|
391
|
-
|
|
392
|
-
# @rbs return: Structs::OvsVportStats
|
|
393
|
-
# @return [Structs::OvsVportStats]
|
|
394
|
-
# @see Stats
|
|
395
|
-
def stats: () -> Structs::OvsVportStats
|
|
396
|
-
|
|
397
|
-
# @rbs return: ::Integer
|
|
398
|
-
# @return [Integer]
|
|
399
|
-
# @see Ifindex
|
|
400
|
-
def ifindex: () -> ::Integer
|
|
401
|
-
|
|
402
|
-
# @rbs return: ::Integer
|
|
403
|
-
# @return [Integer]
|
|
404
|
-
# @see Netnsid
|
|
405
|
-
def netnsid: () -> ::Integer
|
|
406
|
-
|
|
407
|
-
# @rbs return: AttributeSets::UpcallStats
|
|
408
|
-
# @return [AttributeSets::UpcallStats]
|
|
409
|
-
# @see UpcallStats
|
|
410
|
-
def upcall_stats: () -> AttributeSets::UpcallStats
|
|
411
|
-
|
|
412
|
-
# Looks up Attribute class by name.
|
|
413
|
-
# @rbs name: Symbol
|
|
414
|
-
# @rbs return: Attribute
|
|
415
|
-
# @param [Symbol] name
|
|
416
|
-
# @return [Attribute]
|
|
417
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
418
|
-
|
|
419
|
-
# Looks up Attribute class by type value.
|
|
420
|
-
# @rbs type: Integer
|
|
421
|
-
# @rbs return: Attribute
|
|
422
|
-
# @param [Integer] type
|
|
423
|
-
# @return [Attribute]
|
|
424
|
-
def self.by_type: (Integer type) -> Attribute
|
|
425
253
|
end
|
|
426
254
|
end
|
|
427
255
|
|
|
428
256
|
module Messages
|
|
429
257
|
# Create a new OVS vport
|
|
430
|
-
class DoNewRequest < ::Nl::
|
|
258
|
+
class DoNewRequest < ::Nl::Message
|
|
431
259
|
TYPE: ::Integer
|
|
432
260
|
|
|
433
261
|
FIXED_HEADER: untyped
|
|
@@ -436,6 +264,19 @@ module Nl
|
|
|
436
264
|
|
|
437
265
|
ATTRIBUTES: untyped
|
|
438
266
|
|
|
267
|
+
include ATTRIBUTE_SET::Definitions
|
|
268
|
+
|
|
269
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
270
|
+
|
|
271
|
+
# @private
|
|
272
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
273
|
+
|
|
274
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
275
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
276
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
277
|
+
|
|
278
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
279
|
+
|
|
439
280
|
# @rbs return: ::Integer
|
|
440
281
|
# @return [Integer]
|
|
441
282
|
def dp_ifindex: () -> ::Integer
|
|
@@ -443,32 +284,27 @@ module Nl
|
|
|
443
284
|
# Known enum values are defined in {Enums::VportType}.
|
|
444
285
|
# @rbs return: ::Integer
|
|
445
286
|
# @return [Integer]
|
|
446
|
-
# @see AttributeSets::Vport::Type
|
|
447
287
|
def type: () -> ::Integer
|
|
448
288
|
|
|
449
289
|
# @rbs return: ::String
|
|
450
290
|
# @return [String]
|
|
451
|
-
# @see AttributeSets::Vport::Name
|
|
452
291
|
def name: () -> ::String
|
|
453
292
|
|
|
454
293
|
# @rbs return: AttributeSets::VportOptions
|
|
455
294
|
# @return [AttributeSets::VportOptions]
|
|
456
|
-
# @see AttributeSets::Vport::Options
|
|
457
295
|
def options: () -> AttributeSets::VportOptions
|
|
458
296
|
|
|
459
297
|
# @rbs return: ::Array[::Integer]
|
|
460
298
|
# @return [Array<Integer>]
|
|
461
|
-
# @see AttributeSets::Vport::UpcallPid
|
|
462
299
|
def upcall_pid: () -> ::Array[::Integer]
|
|
463
300
|
|
|
464
301
|
# @rbs return: ::Integer
|
|
465
302
|
# @return [Integer]
|
|
466
|
-
# @see AttributeSets::Vport::Ifindex
|
|
467
303
|
def ifindex: () -> ::Integer
|
|
468
304
|
end
|
|
469
305
|
|
|
470
306
|
# Delete existing OVS vport from a data path
|
|
471
|
-
class DoDelRequest < ::Nl::
|
|
307
|
+
class DoDelRequest < ::Nl::Message
|
|
472
308
|
TYPE: ::Integer
|
|
473
309
|
|
|
474
310
|
FIXED_HEADER: untyped
|
|
@@ -477,29 +313,39 @@ module Nl
|
|
|
477
313
|
|
|
478
314
|
ATTRIBUTES: untyped
|
|
479
315
|
|
|
316
|
+
include ATTRIBUTE_SET::Definitions
|
|
317
|
+
|
|
318
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
319
|
+
|
|
320
|
+
# @private
|
|
321
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
322
|
+
|
|
323
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
324
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
325
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
326
|
+
|
|
327
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
328
|
+
|
|
480
329
|
# @rbs return: ::Integer
|
|
481
330
|
# @return [Integer]
|
|
482
331
|
def dp_ifindex: () -> ::Integer
|
|
483
332
|
|
|
484
333
|
# @rbs return: ::Integer
|
|
485
334
|
# @return [Integer]
|
|
486
|
-
# @see AttributeSets::Vport::PortNo
|
|
487
335
|
def port_no: () -> ::Integer
|
|
488
336
|
|
|
489
337
|
# Known enum values are defined in {Enums::VportType}.
|
|
490
338
|
# @rbs return: ::Integer
|
|
491
339
|
# @return [Integer]
|
|
492
|
-
# @see AttributeSets::Vport::Type
|
|
493
340
|
def type: () -> ::Integer
|
|
494
341
|
|
|
495
342
|
# @rbs return: ::String
|
|
496
343
|
# @return [String]
|
|
497
|
-
# @see AttributeSets::Vport::Name
|
|
498
344
|
def name: () -> ::String
|
|
499
345
|
end
|
|
500
346
|
|
|
501
347
|
# Get / dump OVS vport configuration and state
|
|
502
|
-
class DoGetRequest < ::Nl::
|
|
348
|
+
class DoGetRequest < ::Nl::Message
|
|
503
349
|
TYPE: ::Integer
|
|
504
350
|
|
|
505
351
|
FIXED_HEADER: untyped
|
|
@@ -508,18 +354,30 @@ module Nl
|
|
|
508
354
|
|
|
509
355
|
ATTRIBUTES: untyped
|
|
510
356
|
|
|
357
|
+
include ATTRIBUTE_SET::Definitions
|
|
358
|
+
|
|
359
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
360
|
+
|
|
361
|
+
# @private
|
|
362
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
363
|
+
|
|
364
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
365
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
366
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
367
|
+
|
|
368
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
369
|
+
|
|
511
370
|
# @rbs return: ::Integer
|
|
512
371
|
# @return [Integer]
|
|
513
372
|
def dp_ifindex: () -> ::Integer
|
|
514
373
|
|
|
515
374
|
# @rbs return: ::String
|
|
516
375
|
# @return [String]
|
|
517
|
-
# @see AttributeSets::Vport::Name
|
|
518
376
|
def name: () -> ::String
|
|
519
377
|
end
|
|
520
378
|
|
|
521
379
|
# Get / dump OVS vport configuration and state
|
|
522
|
-
class DoGetReply < ::Nl::
|
|
380
|
+
class DoGetReply < ::Nl::Message
|
|
523
381
|
TYPE: ::Integer
|
|
524
382
|
|
|
525
383
|
FIXED_HEADER: untyped
|
|
@@ -528,54 +386,59 @@ module Nl
|
|
|
528
386
|
|
|
529
387
|
ATTRIBUTES: untyped
|
|
530
388
|
|
|
389
|
+
include ATTRIBUTE_SET::Definitions
|
|
390
|
+
|
|
391
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
392
|
+
|
|
393
|
+
# @private
|
|
394
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
395
|
+
|
|
396
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
397
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
398
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
399
|
+
|
|
400
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
401
|
+
|
|
531
402
|
# @rbs return: ::Integer
|
|
532
403
|
# @return [Integer]
|
|
533
404
|
def dp_ifindex: () -> ::Integer
|
|
534
405
|
|
|
535
406
|
# @rbs return: ::Integer
|
|
536
407
|
# @return [Integer]
|
|
537
|
-
# @see AttributeSets::Vport::PortNo
|
|
538
408
|
def port_no: () -> ::Integer
|
|
539
409
|
|
|
540
410
|
# Known enum values are defined in {Enums::VportType}.
|
|
541
411
|
# @rbs return: ::Integer
|
|
542
412
|
# @return [Integer]
|
|
543
|
-
# @see AttributeSets::Vport::Type
|
|
544
413
|
def type: () -> ::Integer
|
|
545
414
|
|
|
546
415
|
# @rbs return: ::String
|
|
547
416
|
# @return [String]
|
|
548
|
-
# @see AttributeSets::Vport::Name
|
|
549
417
|
def name: () -> ::String
|
|
550
418
|
|
|
551
419
|
# @rbs return: ::Array[::Integer]
|
|
552
420
|
# @return [Array<Integer>]
|
|
553
|
-
# @see AttributeSets::Vport::UpcallPid
|
|
554
421
|
def upcall_pid: () -> ::Array[::Integer]
|
|
555
422
|
|
|
556
423
|
# @rbs return: Structs::OvsVportStats
|
|
557
424
|
# @return [Structs::OvsVportStats]
|
|
558
|
-
# @see AttributeSets::Vport::Stats
|
|
559
425
|
def stats: () -> Structs::OvsVportStats
|
|
560
426
|
|
|
561
427
|
# @rbs return: ::Integer
|
|
562
428
|
# @return [Integer]
|
|
563
|
-
# @see AttributeSets::Vport::Ifindex
|
|
564
429
|
def ifindex: () -> ::Integer
|
|
565
430
|
|
|
566
431
|
# @rbs return: ::Integer
|
|
567
432
|
# @return [Integer]
|
|
568
|
-
# @see AttributeSets::Vport::Netnsid
|
|
569
433
|
def netnsid: () -> ::Integer
|
|
570
434
|
|
|
571
435
|
# @rbs return: AttributeSets::UpcallStats
|
|
572
436
|
# @return [AttributeSets::UpcallStats]
|
|
573
|
-
# @see AttributeSets::Vport::UpcallStats
|
|
574
437
|
def upcall_stats: () -> AttributeSets::UpcallStats
|
|
575
438
|
end
|
|
576
439
|
|
|
577
440
|
# Get / dump OVS vport configuration and state
|
|
578
|
-
class DumpGetRequest < ::Nl::
|
|
441
|
+
class DumpGetRequest < ::Nl::Message
|
|
579
442
|
TYPE: ::Integer
|
|
580
443
|
|
|
581
444
|
FIXED_HEADER: untyped
|
|
@@ -584,18 +447,30 @@ module Nl
|
|
|
584
447
|
|
|
585
448
|
ATTRIBUTES: untyped
|
|
586
449
|
|
|
450
|
+
include ATTRIBUTE_SET::Definitions
|
|
451
|
+
|
|
452
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
453
|
+
|
|
454
|
+
# @private
|
|
455
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
456
|
+
|
|
457
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
458
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
459
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
460
|
+
|
|
461
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
462
|
+
|
|
587
463
|
# @rbs return: ::Integer
|
|
588
464
|
# @return [Integer]
|
|
589
465
|
def dp_ifindex: () -> ::Integer
|
|
590
466
|
|
|
591
467
|
# @rbs return: ::String
|
|
592
468
|
# @return [String]
|
|
593
|
-
# @see AttributeSets::Vport::Name
|
|
594
469
|
def name: () -> ::String
|
|
595
470
|
end
|
|
596
471
|
|
|
597
472
|
# Get / dump OVS vport configuration and state
|
|
598
|
-
class DumpGetReply < ::Nl::
|
|
473
|
+
class DumpGetReply < ::Nl::Message
|
|
599
474
|
TYPE: ::Integer
|
|
600
475
|
|
|
601
476
|
FIXED_HEADER: untyped
|
|
@@ -604,49 +479,54 @@ module Nl
|
|
|
604
479
|
|
|
605
480
|
ATTRIBUTES: untyped
|
|
606
481
|
|
|
482
|
+
include ATTRIBUTE_SET::Definitions
|
|
483
|
+
|
|
484
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
485
|
+
|
|
486
|
+
# @private
|
|
487
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
488
|
+
|
|
489
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
490
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
491
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
492
|
+
|
|
493
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
494
|
+
|
|
607
495
|
# @rbs return: ::Integer
|
|
608
496
|
# @return [Integer]
|
|
609
497
|
def dp_ifindex: () -> ::Integer
|
|
610
498
|
|
|
611
499
|
# @rbs return: ::Integer
|
|
612
500
|
# @return [Integer]
|
|
613
|
-
# @see AttributeSets::Vport::PortNo
|
|
614
501
|
def port_no: () -> ::Integer
|
|
615
502
|
|
|
616
503
|
# Known enum values are defined in {Enums::VportType}.
|
|
617
504
|
# @rbs return: ::Integer
|
|
618
505
|
# @return [Integer]
|
|
619
|
-
# @see AttributeSets::Vport::Type
|
|
620
506
|
def type: () -> ::Integer
|
|
621
507
|
|
|
622
508
|
# @rbs return: ::String
|
|
623
509
|
# @return [String]
|
|
624
|
-
# @see AttributeSets::Vport::Name
|
|
625
510
|
def name: () -> ::String
|
|
626
511
|
|
|
627
512
|
# @rbs return: ::Array[::Integer]
|
|
628
513
|
# @return [Array<Integer>]
|
|
629
|
-
# @see AttributeSets::Vport::UpcallPid
|
|
630
514
|
def upcall_pid: () -> ::Array[::Integer]
|
|
631
515
|
|
|
632
516
|
# @rbs return: Structs::OvsVportStats
|
|
633
517
|
# @return [Structs::OvsVportStats]
|
|
634
|
-
# @see AttributeSets::Vport::Stats
|
|
635
518
|
def stats: () -> Structs::OvsVportStats
|
|
636
519
|
|
|
637
520
|
# @rbs return: ::Integer
|
|
638
521
|
# @return [Integer]
|
|
639
|
-
# @see AttributeSets::Vport::Ifindex
|
|
640
522
|
def ifindex: () -> ::Integer
|
|
641
523
|
|
|
642
524
|
# @rbs return: ::Integer
|
|
643
525
|
# @return [Integer]
|
|
644
|
-
# @see AttributeSets::Vport::Netnsid
|
|
645
526
|
def netnsid: () -> ::Integer
|
|
646
527
|
|
|
647
528
|
# @rbs return: AttributeSets::UpcallStats
|
|
648
529
|
# @return [AttributeSets::UpcallStats]
|
|
649
|
-
# @see AttributeSets::Vport::UpcallStats
|
|
650
530
|
def upcall_stats: () -> AttributeSets::UpcallStats
|
|
651
531
|
end
|
|
652
532
|
end
|