nl-linux 0.4.2 → 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 +5 -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
|
|
@@ -96,6 +100,10 @@ module Nl
|
|
|
96
100
|
# @private
|
|
97
101
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
98
102
|
|
|
103
|
+
# @private
|
|
104
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
105
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
106
|
+
|
|
99
107
|
# Decodes the struct.
|
|
100
108
|
# @rbs decoder: ::Nl::Decoder
|
|
101
109
|
# @rbs return: instance
|
|
@@ -140,6 +148,10 @@ module Nl
|
|
|
140
148
|
# @private
|
|
141
149
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
142
150
|
|
|
151
|
+
# @private
|
|
152
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
153
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
154
|
+
|
|
143
155
|
# Decodes the struct.
|
|
144
156
|
# @rbs decoder: ::Nl::Decoder
|
|
145
157
|
# @rbs return: instance
|
|
@@ -158,175 +170,65 @@ module Nl
|
|
|
158
170
|
|
|
159
171
|
module AttributeSets
|
|
160
172
|
class Datapath < ::Nl::AttributeSet
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
# @private
|
|
196
|
-
ORDER: ::Integer
|
|
197
|
-
|
|
198
|
-
# @private
|
|
199
|
-
DATATYPE: untyped
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
class MegaflowStats < Attribute
|
|
203
|
-
TYPE: ::Integer
|
|
204
|
-
|
|
205
|
-
NAME: ::Symbol
|
|
206
|
-
|
|
207
|
-
# @private
|
|
208
|
-
ORDER: ::Integer
|
|
209
|
-
|
|
210
|
-
# @private
|
|
211
|
-
DATATYPE: untyped
|
|
173
|
+
module Definitions
|
|
174
|
+
# @rbs return: ::String
|
|
175
|
+
# @return [String]
|
|
176
|
+
def name: () -> ::String
|
|
177
|
+
|
|
178
|
+
# upcall pid
|
|
179
|
+
# @rbs return: ::Integer
|
|
180
|
+
# @return [Integer]
|
|
181
|
+
def upcall_pid: () -> ::Integer
|
|
182
|
+
|
|
183
|
+
# @rbs return: Structs::OvsDpStats
|
|
184
|
+
# @return [Structs::OvsDpStats]
|
|
185
|
+
def stats: () -> Structs::OvsDpStats
|
|
186
|
+
|
|
187
|
+
# @rbs return: Structs::OvsDpMegaflowStats
|
|
188
|
+
# @return [Structs::OvsDpMegaflowStats]
|
|
189
|
+
def megaflow_stats: () -> Structs::OvsDpMegaflowStats
|
|
190
|
+
|
|
191
|
+
# Known flags are defined in {Flags::UserFeatures}.
|
|
192
|
+
# @rbs return: ::Integer
|
|
193
|
+
# @return [Integer]
|
|
194
|
+
def user_features: () -> ::Integer
|
|
195
|
+
|
|
196
|
+
# @rbs return: ::Integer
|
|
197
|
+
# @return [Integer]
|
|
198
|
+
def masks_cache_size: () -> ::Integer
|
|
199
|
+
|
|
200
|
+
# @rbs return: ::Array[::Integer]
|
|
201
|
+
# @return [Array<Integer>]
|
|
202
|
+
def per_cpu_pids: () -> ::Array[::Integer]
|
|
203
|
+
|
|
204
|
+
# @rbs return: ::Integer
|
|
205
|
+
# @return [Integer]
|
|
206
|
+
def ifindex: () -> ::Integer
|
|
212
207
|
end
|
|
213
208
|
|
|
214
|
-
|
|
215
|
-
class UserFeatures < Attribute
|
|
216
|
-
TYPE: ::Integer
|
|
217
|
-
|
|
218
|
-
NAME: ::Symbol
|
|
219
|
-
|
|
220
|
-
# @private
|
|
221
|
-
ORDER: ::Integer
|
|
222
|
-
|
|
223
|
-
# @private
|
|
224
|
-
DATATYPE: untyped
|
|
225
|
-
end
|
|
226
|
-
|
|
227
|
-
class MasksCacheSize < Attribute
|
|
228
|
-
TYPE: ::Integer
|
|
229
|
-
|
|
230
|
-
NAME: ::Symbol
|
|
231
|
-
|
|
232
|
-
# @private
|
|
233
|
-
ORDER: ::Integer
|
|
234
|
-
|
|
235
|
-
# @private
|
|
236
|
-
DATATYPE: untyped
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
class PerCpuPids < Attribute
|
|
240
|
-
TYPE: ::Integer
|
|
241
|
-
|
|
242
|
-
NAME: ::Symbol
|
|
243
|
-
|
|
244
|
-
# @private
|
|
245
|
-
ORDER: ::Integer
|
|
209
|
+
include Definitions
|
|
246
210
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
TYPE: ::Integer
|
|
253
|
-
|
|
254
|
-
NAME: ::Symbol
|
|
211
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
212
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
213
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
214
|
+
end
|
|
215
|
+
end
|
|
255
216
|
|
|
217
|
+
module AttributeSets
|
|
218
|
+
class Datapath
|
|
219
|
+
module Definitions
|
|
256
220
|
# @private
|
|
257
|
-
|
|
221
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
258
222
|
|
|
259
223
|
# @private
|
|
260
|
-
|
|
224
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
261
225
|
end
|
|
262
|
-
|
|
263
|
-
# @private
|
|
264
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
265
|
-
|
|
266
|
-
# @private
|
|
267
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
268
|
-
|
|
269
|
-
# @rbs return: ::String
|
|
270
|
-
# @return [String]
|
|
271
|
-
# @see Name
|
|
272
|
-
def name: () -> ::String
|
|
273
|
-
|
|
274
|
-
# upcall pid
|
|
275
|
-
# @rbs return: ::Integer
|
|
276
|
-
# @return [Integer]
|
|
277
|
-
# @see UpcallPid
|
|
278
|
-
def upcall_pid: () -> ::Integer
|
|
279
|
-
|
|
280
|
-
# @rbs return: Structs::OvsDpStats
|
|
281
|
-
# @return [Structs::OvsDpStats]
|
|
282
|
-
# @see Stats
|
|
283
|
-
def stats: () -> Structs::OvsDpStats
|
|
284
|
-
|
|
285
|
-
# @rbs return: Structs::OvsDpMegaflowStats
|
|
286
|
-
# @return [Structs::OvsDpMegaflowStats]
|
|
287
|
-
# @see MegaflowStats
|
|
288
|
-
def megaflow_stats: () -> Structs::OvsDpMegaflowStats
|
|
289
|
-
|
|
290
|
-
# Known flags are defined in {Flags::UserFeatures}.
|
|
291
|
-
# @rbs return: ::Integer
|
|
292
|
-
# @return [Integer]
|
|
293
|
-
# @see UserFeatures
|
|
294
|
-
def user_features: () -> ::Integer
|
|
295
|
-
|
|
296
|
-
# @rbs return: ::Integer
|
|
297
|
-
# @return [Integer]
|
|
298
|
-
# @see MasksCacheSize
|
|
299
|
-
def masks_cache_size: () -> ::Integer
|
|
300
|
-
|
|
301
|
-
# @rbs return: ::Array[::Integer]
|
|
302
|
-
# @return [Array<Integer>]
|
|
303
|
-
# @see PerCpuPids
|
|
304
|
-
def per_cpu_pids: () -> ::Array[::Integer]
|
|
305
|
-
|
|
306
|
-
# @rbs return: ::Integer
|
|
307
|
-
# @return [Integer]
|
|
308
|
-
# @see Ifindex
|
|
309
|
-
def ifindex: () -> ::Integer
|
|
310
|
-
|
|
311
|
-
# Looks up Attribute class by name.
|
|
312
|
-
# @rbs name: Symbol
|
|
313
|
-
# @rbs return: Attribute
|
|
314
|
-
# @param [Symbol] name
|
|
315
|
-
# @return [Attribute]
|
|
316
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
317
|
-
|
|
318
|
-
# Looks up Attribute class by type value.
|
|
319
|
-
# @rbs type: Integer
|
|
320
|
-
# @rbs return: Attribute
|
|
321
|
-
# @param [Integer] type
|
|
322
|
-
# @return [Attribute]
|
|
323
|
-
def self.by_type: (Integer type) -> Attribute
|
|
324
226
|
end
|
|
325
227
|
end
|
|
326
228
|
|
|
327
229
|
module Messages
|
|
328
230
|
# Get / dump OVS data path configuration and state
|
|
329
|
-
class DoGetRequest < ::Nl::
|
|
231
|
+
class DoGetRequest < ::Nl::Message
|
|
330
232
|
TYPE: ::Integer
|
|
331
233
|
|
|
332
234
|
FIXED_HEADER: untyped
|
|
@@ -335,18 +237,30 @@ module Nl
|
|
|
335
237
|
|
|
336
238
|
ATTRIBUTES: untyped
|
|
337
239
|
|
|
240
|
+
include ATTRIBUTE_SET::Definitions
|
|
241
|
+
|
|
242
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
243
|
+
|
|
244
|
+
# @private
|
|
245
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
246
|
+
|
|
247
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
248
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
249
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
250
|
+
|
|
251
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
252
|
+
|
|
338
253
|
# @rbs return: ::Integer
|
|
339
254
|
# @return [Integer]
|
|
340
255
|
def dp_ifindex: () -> ::Integer
|
|
341
256
|
|
|
342
257
|
# @rbs return: ::String
|
|
343
258
|
# @return [String]
|
|
344
|
-
# @see AttributeSets::Datapath::Name
|
|
345
259
|
def name: () -> ::String
|
|
346
260
|
end
|
|
347
261
|
|
|
348
262
|
# Get / dump OVS data path configuration and state
|
|
349
|
-
class DoGetReply < ::Nl::
|
|
263
|
+
class DoGetReply < ::Nl::Message
|
|
350
264
|
TYPE: ::Integer
|
|
351
265
|
|
|
352
266
|
FIXED_HEADER: untyped
|
|
@@ -355,50 +269,56 @@ module Nl
|
|
|
355
269
|
|
|
356
270
|
ATTRIBUTES: untyped
|
|
357
271
|
|
|
272
|
+
include ATTRIBUTE_SET::Definitions
|
|
273
|
+
|
|
274
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
275
|
+
|
|
276
|
+
# @private
|
|
277
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
278
|
+
|
|
279
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
280
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
281
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
282
|
+
|
|
283
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
284
|
+
|
|
358
285
|
# @rbs return: ::Integer
|
|
359
286
|
# @return [Integer]
|
|
360
287
|
def dp_ifindex: () -> ::Integer
|
|
361
288
|
|
|
362
289
|
# @rbs return: ::String
|
|
363
290
|
# @return [String]
|
|
364
|
-
# @see AttributeSets::Datapath::Name
|
|
365
291
|
def name: () -> ::String
|
|
366
292
|
|
|
367
293
|
# upcall pid
|
|
368
294
|
# @rbs return: ::Integer
|
|
369
295
|
# @return [Integer]
|
|
370
|
-
# @see AttributeSets::Datapath::UpcallPid
|
|
371
296
|
def upcall_pid: () -> ::Integer
|
|
372
297
|
|
|
373
298
|
# @rbs return: Structs::OvsDpStats
|
|
374
299
|
# @return [Structs::OvsDpStats]
|
|
375
|
-
# @see AttributeSets::Datapath::Stats
|
|
376
300
|
def stats: () -> Structs::OvsDpStats
|
|
377
301
|
|
|
378
302
|
# @rbs return: Structs::OvsDpMegaflowStats
|
|
379
303
|
# @return [Structs::OvsDpMegaflowStats]
|
|
380
|
-
# @see AttributeSets::Datapath::MegaflowStats
|
|
381
304
|
def megaflow_stats: () -> Structs::OvsDpMegaflowStats
|
|
382
305
|
|
|
383
306
|
# Known flags are defined in {Flags::UserFeatures}.
|
|
384
307
|
# @rbs return: ::Integer
|
|
385
308
|
# @return [Integer]
|
|
386
|
-
# @see AttributeSets::Datapath::UserFeatures
|
|
387
309
|
def user_features: () -> ::Integer
|
|
388
310
|
|
|
389
311
|
# @rbs return: ::Integer
|
|
390
312
|
# @return [Integer]
|
|
391
|
-
# @see AttributeSets::Datapath::MasksCacheSize
|
|
392
313
|
def masks_cache_size: () -> ::Integer
|
|
393
314
|
|
|
394
315
|
# @rbs return: ::Array[::Integer]
|
|
395
316
|
# @return [Array<Integer>]
|
|
396
|
-
# @see AttributeSets::Datapath::PerCpuPids
|
|
397
317
|
def per_cpu_pids: () -> ::Array[::Integer]
|
|
398
318
|
end
|
|
399
319
|
|
|
400
320
|
# Get / dump OVS data path configuration and state
|
|
401
|
-
class DumpGetRequest < ::Nl::
|
|
321
|
+
class DumpGetRequest < ::Nl::Message
|
|
402
322
|
TYPE: ::Integer
|
|
403
323
|
|
|
404
324
|
FIXED_HEADER: untyped
|
|
@@ -407,18 +327,30 @@ module Nl
|
|
|
407
327
|
|
|
408
328
|
ATTRIBUTES: untyped
|
|
409
329
|
|
|
330
|
+
include ATTRIBUTE_SET::Definitions
|
|
331
|
+
|
|
332
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
333
|
+
|
|
334
|
+
# @private
|
|
335
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
336
|
+
|
|
337
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
338
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
339
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
340
|
+
|
|
341
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
342
|
+
|
|
410
343
|
# @rbs return: ::Integer
|
|
411
344
|
# @return [Integer]
|
|
412
345
|
def dp_ifindex: () -> ::Integer
|
|
413
346
|
|
|
414
347
|
# @rbs return: ::String
|
|
415
348
|
# @return [String]
|
|
416
|
-
# @see AttributeSets::Datapath::Name
|
|
417
349
|
def name: () -> ::String
|
|
418
350
|
end
|
|
419
351
|
|
|
420
352
|
# Get / dump OVS data path configuration and state
|
|
421
|
-
class DumpGetReply < ::Nl::
|
|
353
|
+
class DumpGetReply < ::Nl::Message
|
|
422
354
|
TYPE: ::Integer
|
|
423
355
|
|
|
424
356
|
FIXED_HEADER: untyped
|
|
@@ -427,50 +359,56 @@ module Nl
|
|
|
427
359
|
|
|
428
360
|
ATTRIBUTES: untyped
|
|
429
361
|
|
|
362
|
+
include ATTRIBUTE_SET::Definitions
|
|
363
|
+
|
|
364
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
365
|
+
|
|
366
|
+
# @private
|
|
367
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
368
|
+
|
|
369
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
370
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
371
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
372
|
+
|
|
373
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
374
|
+
|
|
430
375
|
# @rbs return: ::Integer
|
|
431
376
|
# @return [Integer]
|
|
432
377
|
def dp_ifindex: () -> ::Integer
|
|
433
378
|
|
|
434
379
|
# @rbs return: ::String
|
|
435
380
|
# @return [String]
|
|
436
|
-
# @see AttributeSets::Datapath::Name
|
|
437
381
|
def name: () -> ::String
|
|
438
382
|
|
|
439
383
|
# upcall pid
|
|
440
384
|
# @rbs return: ::Integer
|
|
441
385
|
# @return [Integer]
|
|
442
|
-
# @see AttributeSets::Datapath::UpcallPid
|
|
443
386
|
def upcall_pid: () -> ::Integer
|
|
444
387
|
|
|
445
388
|
# @rbs return: Structs::OvsDpStats
|
|
446
389
|
# @return [Structs::OvsDpStats]
|
|
447
|
-
# @see AttributeSets::Datapath::Stats
|
|
448
390
|
def stats: () -> Structs::OvsDpStats
|
|
449
391
|
|
|
450
392
|
# @rbs return: Structs::OvsDpMegaflowStats
|
|
451
393
|
# @return [Structs::OvsDpMegaflowStats]
|
|
452
|
-
# @see AttributeSets::Datapath::MegaflowStats
|
|
453
394
|
def megaflow_stats: () -> Structs::OvsDpMegaflowStats
|
|
454
395
|
|
|
455
396
|
# Known flags are defined in {Flags::UserFeatures}.
|
|
456
397
|
# @rbs return: ::Integer
|
|
457
398
|
# @return [Integer]
|
|
458
|
-
# @see AttributeSets::Datapath::UserFeatures
|
|
459
399
|
def user_features: () -> ::Integer
|
|
460
400
|
|
|
461
401
|
# @rbs return: ::Integer
|
|
462
402
|
# @return [Integer]
|
|
463
|
-
# @see AttributeSets::Datapath::MasksCacheSize
|
|
464
403
|
def masks_cache_size: () -> ::Integer
|
|
465
404
|
|
|
466
405
|
# @rbs return: ::Array[::Integer]
|
|
467
406
|
# @return [Array<Integer>]
|
|
468
|
-
# @see AttributeSets::Datapath::PerCpuPids
|
|
469
407
|
def per_cpu_pids: () -> ::Array[::Integer]
|
|
470
408
|
end
|
|
471
409
|
|
|
472
410
|
# Create new OVS data path
|
|
473
|
-
class DoNewRequest < ::Nl::
|
|
411
|
+
class DoNewRequest < ::Nl::Message
|
|
474
412
|
TYPE: ::Integer
|
|
475
413
|
|
|
476
414
|
FIXED_HEADER: untyped
|
|
@@ -479,30 +417,40 @@ module Nl
|
|
|
479
417
|
|
|
480
418
|
ATTRIBUTES: untyped
|
|
481
419
|
|
|
420
|
+
include ATTRIBUTE_SET::Definitions
|
|
421
|
+
|
|
422
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
423
|
+
|
|
424
|
+
# @private
|
|
425
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
426
|
+
|
|
427
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
428
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
429
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
430
|
+
|
|
431
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
432
|
+
|
|
482
433
|
# @rbs return: ::Integer
|
|
483
434
|
# @return [Integer]
|
|
484
435
|
def dp_ifindex: () -> ::Integer
|
|
485
436
|
|
|
486
437
|
# @rbs return: ::String
|
|
487
438
|
# @return [String]
|
|
488
|
-
# @see AttributeSets::Datapath::Name
|
|
489
439
|
def name: () -> ::String
|
|
490
440
|
|
|
491
441
|
# upcall pid
|
|
492
442
|
# @rbs return: ::Integer
|
|
493
443
|
# @return [Integer]
|
|
494
|
-
# @see AttributeSets::Datapath::UpcallPid
|
|
495
444
|
def upcall_pid: () -> ::Integer
|
|
496
445
|
|
|
497
446
|
# Known flags are defined in {Flags::UserFeatures}.
|
|
498
447
|
# @rbs return: ::Integer
|
|
499
448
|
# @return [Integer]
|
|
500
|
-
# @see AttributeSets::Datapath::UserFeatures
|
|
501
449
|
def user_features: () -> ::Integer
|
|
502
450
|
end
|
|
503
451
|
|
|
504
452
|
# Delete existing OVS data path
|
|
505
|
-
class DoDelRequest < ::Nl::
|
|
453
|
+
class DoDelRequest < ::Nl::Message
|
|
506
454
|
TYPE: ::Integer
|
|
507
455
|
|
|
508
456
|
FIXED_HEADER: untyped
|
|
@@ -511,13 +459,25 @@ module Nl
|
|
|
511
459
|
|
|
512
460
|
ATTRIBUTES: untyped
|
|
513
461
|
|
|
462
|
+
include ATTRIBUTE_SET::Definitions
|
|
463
|
+
|
|
464
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
465
|
+
|
|
466
|
+
# @private
|
|
467
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
468
|
+
|
|
469
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
470
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
471
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
472
|
+
|
|
473
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
474
|
+
|
|
514
475
|
# @rbs return: ::Integer
|
|
515
476
|
# @return [Integer]
|
|
516
477
|
def dp_ifindex: () -> ::Integer
|
|
517
478
|
|
|
518
479
|
# @rbs return: ::String
|
|
519
480
|
# @return [String]
|
|
520
|
-
# @see AttributeSets::Datapath::Name
|
|
521
481
|
def name: () -> ::String
|
|
522
482
|
end
|
|
523
483
|
end
|