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
|
@@ -102,6 +102,10 @@ module Nl
|
|
|
102
102
|
# @private
|
|
103
103
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
104
104
|
|
|
105
|
+
# @private
|
|
106
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
107
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
108
|
+
|
|
105
109
|
# Decodes the struct.
|
|
106
110
|
# @rbs decoder: ::Nl::Decoder
|
|
107
111
|
# @rbs return: instance
|
|
@@ -136,6 +140,10 @@ module Nl
|
|
|
136
140
|
# @private
|
|
137
141
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
138
142
|
|
|
143
|
+
# @private
|
|
144
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
145
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
146
|
+
|
|
139
147
|
# Decodes the struct.
|
|
140
148
|
# @rbs decoder: ::Nl::Decoder
|
|
141
149
|
# @rbs return: instance
|
|
@@ -168,6 +176,10 @@ module Nl
|
|
|
168
176
|
# @private
|
|
169
177
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
170
178
|
|
|
179
|
+
# @private
|
|
180
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
181
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
182
|
+
|
|
171
183
|
# Decodes the struct.
|
|
172
184
|
# @rbs decoder: ::Nl::Decoder
|
|
173
185
|
# @rbs return: instance
|
|
@@ -196,6 +208,10 @@ module Nl
|
|
|
196
208
|
# @private
|
|
197
209
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
198
210
|
|
|
211
|
+
# @private
|
|
212
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
213
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
214
|
+
|
|
199
215
|
# Decodes the struct.
|
|
200
216
|
# @rbs decoder: ::Nl::Decoder
|
|
201
217
|
# @rbs return: instance
|
|
@@ -244,6 +260,10 @@ module Nl
|
|
|
244
260
|
# @private
|
|
245
261
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
246
262
|
|
|
263
|
+
# @private
|
|
264
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
265
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
266
|
+
|
|
247
267
|
# Decodes the struct.
|
|
248
268
|
# @rbs decoder: ::Nl::Decoder
|
|
249
269
|
# @rbs return: instance
|
|
@@ -296,6 +316,10 @@ module Nl
|
|
|
296
316
|
# @private
|
|
297
317
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
298
318
|
|
|
319
|
+
# @private
|
|
320
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
321
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
322
|
+
|
|
299
323
|
# Decodes the struct.
|
|
300
324
|
# @rbs decoder: ::Nl::Decoder
|
|
301
325
|
# @rbs return: instance
|
|
@@ -324,6 +348,10 @@ module Nl
|
|
|
324
348
|
# @private
|
|
325
349
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
326
350
|
|
|
351
|
+
# @private
|
|
352
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
353
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
354
|
+
|
|
327
355
|
# Decodes the struct.
|
|
328
356
|
# @rbs decoder: ::Nl::Decoder
|
|
329
357
|
# @rbs return: instance
|
|
@@ -356,6 +384,10 @@ module Nl
|
|
|
356
384
|
# @private
|
|
357
385
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
358
386
|
|
|
387
|
+
# @private
|
|
388
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
389
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
390
|
+
|
|
359
391
|
# Decodes the struct.
|
|
360
392
|
# @rbs decoder: ::Nl::Decoder
|
|
361
393
|
# @rbs return: instance
|
|
@@ -388,6 +420,10 @@ module Nl
|
|
|
388
420
|
# @private
|
|
389
421
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
390
422
|
|
|
423
|
+
# @private
|
|
424
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
425
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
426
|
+
|
|
391
427
|
# Decodes the struct.
|
|
392
428
|
# @rbs decoder: ::Nl::Decoder
|
|
393
429
|
# @rbs return: instance
|
|
@@ -420,6 +456,10 @@ module Nl
|
|
|
420
456
|
# @private
|
|
421
457
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
422
458
|
|
|
459
|
+
# @private
|
|
460
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
461
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
462
|
+
|
|
423
463
|
# Decodes the struct.
|
|
424
464
|
# @rbs decoder: ::Nl::Decoder
|
|
425
465
|
# @rbs return: instance
|
|
@@ -452,6 +492,10 @@ module Nl
|
|
|
452
492
|
# @private
|
|
453
493
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
454
494
|
|
|
495
|
+
# @private
|
|
496
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
497
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
498
|
+
|
|
455
499
|
# Decodes the struct.
|
|
456
500
|
# @rbs decoder: ::Nl::Decoder
|
|
457
501
|
# @rbs return: instance
|
|
@@ -496,6 +540,10 @@ module Nl
|
|
|
496
540
|
# @private
|
|
497
541
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
498
542
|
|
|
543
|
+
# @private
|
|
544
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
545
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
546
|
+
|
|
499
547
|
# Decodes the struct.
|
|
500
548
|
# @rbs decoder: ::Nl::Decoder
|
|
501
549
|
# @rbs return: instance
|
|
@@ -532,6 +580,10 @@ module Nl
|
|
|
532
580
|
# @private
|
|
533
581
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
534
582
|
|
|
583
|
+
# @private
|
|
584
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
585
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
586
|
+
|
|
535
587
|
# Decodes the struct.
|
|
536
588
|
# @rbs decoder: ::Nl::Decoder
|
|
537
589
|
# @rbs return: instance
|
|
@@ -576,6 +628,10 @@ module Nl
|
|
|
576
628
|
# @private
|
|
577
629
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
578
630
|
|
|
631
|
+
# @private
|
|
632
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
633
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
634
|
+
|
|
579
635
|
# Decodes the struct.
|
|
580
636
|
# @rbs decoder: ::Nl::Decoder
|
|
581
637
|
# @rbs return: instance
|
|
@@ -610,6 +666,10 @@ module Nl
|
|
|
610
666
|
# @private
|
|
611
667
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
612
668
|
|
|
669
|
+
# @private
|
|
670
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
671
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
672
|
+
|
|
613
673
|
# Decodes the struct.
|
|
614
674
|
# @rbs decoder: ::Nl::Decoder
|
|
615
675
|
# @rbs return: instance
|
|
@@ -644,6 +704,10 @@ module Nl
|
|
|
644
704
|
# @private
|
|
645
705
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
646
706
|
|
|
707
|
+
# @private
|
|
708
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
709
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
710
|
+
|
|
647
711
|
# Decodes the struct.
|
|
648
712
|
# @rbs decoder: ::Nl::Decoder
|
|
649
713
|
# @rbs return: instance
|
|
@@ -680,6 +744,10 @@ module Nl
|
|
|
680
744
|
# @private
|
|
681
745
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
682
746
|
|
|
747
|
+
# @private
|
|
748
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
749
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
750
|
+
|
|
683
751
|
# Decodes the struct.
|
|
684
752
|
# @rbs decoder: ::Nl::Decoder
|
|
685
753
|
# @rbs return: instance
|
|
@@ -721,6 +789,10 @@ module Nl
|
|
|
721
789
|
# @private
|
|
722
790
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
723
791
|
|
|
792
|
+
# @private
|
|
793
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
794
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
795
|
+
|
|
724
796
|
# Decodes the struct.
|
|
725
797
|
# @rbs decoder: ::Nl::Decoder
|
|
726
798
|
# @rbs return: instance
|
|
@@ -739,2470 +811,851 @@ module Nl
|
|
|
739
811
|
|
|
740
812
|
module AttributeSets
|
|
741
813
|
class FlowAttrs < ::Nl::AttributeSet
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
#
|
|
754
|
-
|
|
755
|
-
|
|
814
|
+
module Definitions
|
|
815
|
+
# Nested attributes specifying the flow key. Always present in
|
|
816
|
+
# notifications. Required for all requests (except dumps).
|
|
817
|
+
# @rbs return: AttributeSets::KeyAttrs
|
|
818
|
+
# @return [AttributeSets::KeyAttrs]
|
|
819
|
+
def key: () -> AttributeSets::KeyAttrs
|
|
820
|
+
|
|
821
|
+
# Nested attributes specifying the actions to take for packets that
|
|
822
|
+
# match the key. Always present in notifications. Required for
|
|
823
|
+
# OVS_FLOW_CMD_NEW requests, optional for OVS_FLOW_CMD_SET requests. An
|
|
824
|
+
# OVS_FLOW_CMD_SET without OVS_FLOW_ATTR_ACTIONS will not modify the
|
|
825
|
+
# actions. To clear the actions, an OVS_FLOW_ATTR_ACTIONS without any
|
|
826
|
+
# nested attributes must be given.
|
|
827
|
+
# @rbs return: AttributeSets::ActionAttrs
|
|
828
|
+
# @return [AttributeSets::ActionAttrs]
|
|
829
|
+
def actions: () -> AttributeSets::ActionAttrs
|
|
830
|
+
|
|
831
|
+
# Statistics for this flow. Present in notifications if the stats would
|
|
832
|
+
# be nonzero. Ignored in requests.
|
|
833
|
+
# @rbs return: Structs::OvsFlowStats
|
|
834
|
+
# @return [Structs::OvsFlowStats]
|
|
835
|
+
def stats: () -> Structs::OvsFlowStats
|
|
836
|
+
|
|
837
|
+
# An 8-bit value giving the ORed value of all of the TCP flags seen on
|
|
838
|
+
# packets in this flow. Only present in notifications for TCP flows, and
|
|
839
|
+
# only if it would be nonzero. Ignored in requests.
|
|
840
|
+
# @rbs return: ::Integer
|
|
841
|
+
# @return [Integer]
|
|
842
|
+
def tcp_flags: () -> ::Integer
|
|
843
|
+
|
|
844
|
+
# A 64-bit integer giving the time, in milliseconds on the system
|
|
845
|
+
# monotonic clock, at which a packet was last processed for this
|
|
846
|
+
# flow. Only present in notifications if a packet has been processed for
|
|
847
|
+
# this flow. Ignored in requests.
|
|
848
|
+
# @rbs return: ::Integer
|
|
849
|
+
# @return [Integer]
|
|
850
|
+
def used: () -> ::Integer
|
|
851
|
+
|
|
852
|
+
# If present in a OVS_FLOW_CMD_SET request, clears the last-used time,
|
|
853
|
+
# accumulated TCP flags, and statistics for this flow. Otherwise
|
|
854
|
+
# ignored in requests. Never present in notifications.
|
|
855
|
+
# @rbs return: ::Integer
|
|
856
|
+
# @return [Integer]
|
|
857
|
+
def clear: () -> ::Integer
|
|
858
|
+
|
|
859
|
+
# Nested attributes specifying the mask bits for wildcarded flow
|
|
860
|
+
# match. Mask bit value '1' specifies exact match with corresponding
|
|
861
|
+
# flow key bit, while mask bit value '0' specifies a wildcarded
|
|
862
|
+
# match. Omitting attribute is treated as wildcarding all corresponding
|
|
863
|
+
# fields. Optional for all requests. If not present, all flow key bits
|
|
864
|
+
# are exact match bits.
|
|
865
|
+
# @rbs return: AttributeSets::KeyAttrs
|
|
866
|
+
# @return [AttributeSets::KeyAttrs]
|
|
867
|
+
def mask: () -> AttributeSets::KeyAttrs
|
|
868
|
+
|
|
869
|
+
# Flow operation is a feature probe, error logging should be suppressed.
|
|
870
|
+
# @rbs return: ::String
|
|
871
|
+
# @return [String]
|
|
872
|
+
def probe: () -> ::String
|
|
873
|
+
|
|
874
|
+
# A value between 1-16 octets specifying a unique identifier for the
|
|
875
|
+
# flow. Causes the flow to be indexed by this value rather than the
|
|
876
|
+
# value of the OVS_FLOW_ATTR_KEY attribute. Optional for all
|
|
877
|
+
# requests. Present in notifications if the flow was created with this
|
|
878
|
+
# attribute.
|
|
879
|
+
# @rbs return: ::String
|
|
880
|
+
# @return [String]
|
|
881
|
+
def ufid: () -> ::String
|
|
882
|
+
|
|
883
|
+
# A 32-bit value of ORed flags that provide alternative semantics for
|
|
884
|
+
# flow installation and retrieval. Optional for all requests.
|
|
885
|
+
#
|
|
886
|
+
#
|
|
887
|
+
# Known flags are defined in {Flags::OvsUfidFlags}.
|
|
888
|
+
# @rbs return: ::Integer
|
|
889
|
+
# @return [Integer]
|
|
890
|
+
def ufid_flags: () -> ::Integer
|
|
891
|
+
|
|
892
|
+
# @rbs return: ::String
|
|
893
|
+
# @return [String]
|
|
894
|
+
def pad: () -> ::String
|
|
895
|
+
end
|
|
896
|
+
|
|
897
|
+
include Definitions
|
|
898
|
+
|
|
899
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
900
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
901
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
902
|
+
end
|
|
756
903
|
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
904
|
+
class KeyAttrs < ::Nl::AttributeSet
|
|
905
|
+
module Definitions
|
|
906
|
+
# @rbs return: AttributeSets::KeyAttrs
|
|
907
|
+
# @return [AttributeSets::KeyAttrs]
|
|
908
|
+
def encap: () -> AttributeSets::KeyAttrs
|
|
909
|
+
|
|
910
|
+
# @rbs return: ::Integer
|
|
911
|
+
# @return [Integer]
|
|
912
|
+
def priority: () -> ::Integer
|
|
913
|
+
|
|
914
|
+
# @rbs return: ::Integer
|
|
915
|
+
# @return [Integer]
|
|
916
|
+
def in_port: () -> ::Integer
|
|
917
|
+
|
|
918
|
+
# struct ovs_key_ethernet
|
|
919
|
+
# @rbs return: Structs::OvsKeyEthernet
|
|
920
|
+
# @return [Structs::OvsKeyEthernet]
|
|
921
|
+
def ethernet: () -> Structs::OvsKeyEthernet
|
|
922
|
+
|
|
923
|
+
# @rbs return: ::Integer
|
|
924
|
+
# @return [Integer]
|
|
925
|
+
def vlan: () -> ::Integer
|
|
926
|
+
|
|
927
|
+
# @rbs return: ::Integer
|
|
928
|
+
# @return [Integer]
|
|
929
|
+
def ethertype: () -> ::Integer
|
|
930
|
+
|
|
931
|
+
# @rbs return: Structs::OvsKeyIpv4
|
|
932
|
+
# @return [Structs::OvsKeyIpv4]
|
|
933
|
+
def ipv4: () -> Structs::OvsKeyIpv4
|
|
934
|
+
|
|
935
|
+
# struct ovs_key_ipv6
|
|
936
|
+
# @rbs return: Structs::OvsKeyIpv6
|
|
937
|
+
# @return [Structs::OvsKeyIpv6]
|
|
938
|
+
def ipv6: () -> Structs::OvsKeyIpv6
|
|
939
|
+
|
|
940
|
+
# @rbs return: Structs::OvsKeyTcp
|
|
941
|
+
# @return [Structs::OvsKeyTcp]
|
|
942
|
+
def tcp: () -> Structs::OvsKeyTcp
|
|
943
|
+
|
|
944
|
+
# @rbs return: Structs::OvsKeyUdp
|
|
945
|
+
# @return [Structs::OvsKeyUdp]
|
|
946
|
+
def udp: () -> Structs::OvsKeyUdp
|
|
947
|
+
|
|
948
|
+
# @rbs return: Structs::OvsKeyIcmp
|
|
949
|
+
# @return [Structs::OvsKeyIcmp]
|
|
950
|
+
def icmp: () -> Structs::OvsKeyIcmp
|
|
951
|
+
|
|
952
|
+
# @rbs return: Structs::OvsKeyIcmp
|
|
953
|
+
# @return [Structs::OvsKeyIcmp]
|
|
954
|
+
def icmpv6: () -> Structs::OvsKeyIcmp
|
|
955
|
+
|
|
956
|
+
# struct ovs_key_arp
|
|
957
|
+
# @rbs return: Structs::OvsKeyArp
|
|
958
|
+
# @return [Structs::OvsKeyArp]
|
|
959
|
+
def arp: () -> Structs::OvsKeyArp
|
|
960
|
+
|
|
961
|
+
# struct ovs_key_nd
|
|
962
|
+
# @rbs return: Structs::OvsKeyNd
|
|
963
|
+
# @return [Structs::OvsKeyNd]
|
|
964
|
+
def nd: () -> Structs::OvsKeyNd
|
|
965
|
+
|
|
966
|
+
# @rbs return: ::Integer
|
|
967
|
+
# @return [Integer]
|
|
968
|
+
def skb_mark: () -> ::Integer
|
|
969
|
+
|
|
970
|
+
# @rbs return: AttributeSets::TunnelKeyAttrs
|
|
971
|
+
# @return [AttributeSets::TunnelKeyAttrs]
|
|
972
|
+
def tunnel: () -> AttributeSets::TunnelKeyAttrs
|
|
973
|
+
|
|
974
|
+
# @rbs return: Structs::OvsKeySctp
|
|
975
|
+
# @return [Structs::OvsKeySctp]
|
|
976
|
+
def sctp: () -> Structs::OvsKeySctp
|
|
977
|
+
|
|
978
|
+
# @rbs return: ::Integer
|
|
979
|
+
# @return [Integer]
|
|
980
|
+
def tcp_flags: () -> ::Integer
|
|
981
|
+
|
|
982
|
+
# Value 0 indicates the hash is not computed by the datapath.
|
|
983
|
+
# @rbs return: ::Integer
|
|
984
|
+
# @return [Integer]
|
|
985
|
+
def dp_hash: () -> ::Integer
|
|
986
|
+
|
|
987
|
+
# @rbs return: ::Integer
|
|
988
|
+
# @return [Integer]
|
|
989
|
+
def recirc_id: () -> ::Integer
|
|
990
|
+
|
|
991
|
+
# @rbs return: Structs::OvsKeyMpls
|
|
992
|
+
# @return [Structs::OvsKeyMpls]
|
|
993
|
+
def mpls: () -> Structs::OvsKeyMpls
|
|
994
|
+
|
|
995
|
+
# Known flags are defined in {Flags::CtStateFlags}.
|
|
996
|
+
# @rbs return: ::Integer
|
|
997
|
+
# @return [Integer]
|
|
998
|
+
def ct_state: () -> ::Integer
|
|
999
|
+
|
|
1000
|
+
# connection tracking zone
|
|
1001
|
+
# @rbs return: ::Integer
|
|
1002
|
+
# @return [Integer]
|
|
1003
|
+
def ct_zone: () -> ::Integer
|
|
1004
|
+
|
|
1005
|
+
# connection tracking mark
|
|
1006
|
+
# @rbs return: ::Integer
|
|
1007
|
+
# @return [Integer]
|
|
1008
|
+
def ct_mark: () -> ::Integer
|
|
1009
|
+
|
|
1010
|
+
# 16-octet connection tracking label
|
|
1011
|
+
# @rbs return: ::String
|
|
1012
|
+
# @return [String]
|
|
1013
|
+
def ct_labels: () -> ::String
|
|
1014
|
+
|
|
1015
|
+
# @rbs return: Structs::OvsKeyCtTupleIpv4
|
|
1016
|
+
# @return [Structs::OvsKeyCtTupleIpv4]
|
|
1017
|
+
def ct_orig_tuple_ipv4: () -> Structs::OvsKeyCtTupleIpv4
|
|
1018
|
+
|
|
1019
|
+
# struct ovs_key_ct_tuple_ipv6
|
|
1020
|
+
# @rbs return: ::String
|
|
1021
|
+
# @return [String]
|
|
1022
|
+
def ct_orig_tuple_ipv6: () -> ::String
|
|
1023
|
+
|
|
1024
|
+
# @rbs return: AttributeSets::OvsNshKeyAttrs
|
|
1025
|
+
# @return [AttributeSets::OvsNshKeyAttrs]
|
|
1026
|
+
def nsh: () -> AttributeSets::OvsNshKeyAttrs
|
|
1027
|
+
|
|
1028
|
+
# Should not be sent to the kernel
|
|
1029
|
+
# @rbs return: ::Integer
|
|
1030
|
+
# @return [Integer]
|
|
1031
|
+
def packet_type: () -> ::Integer
|
|
1032
|
+
|
|
1033
|
+
# Should not be sent to the kernel
|
|
1034
|
+
# @rbs return: ::String
|
|
1035
|
+
# @return [String]
|
|
1036
|
+
def nd_extensions: () -> ::String
|
|
1037
|
+
|
|
1038
|
+
# struct ip_tunnel_info
|
|
1039
|
+
# @rbs return: ::String
|
|
1040
|
+
# @return [String]
|
|
1041
|
+
def tunnel_info: () -> ::String
|
|
1042
|
+
|
|
1043
|
+
# struct ovs_key_ipv6_exthdr
|
|
1044
|
+
# @rbs return: Structs::OvsKeyIpv6Exthdrs
|
|
1045
|
+
# @return [Structs::OvsKeyIpv6Exthdrs]
|
|
1046
|
+
def ipv6_exthdrs: () -> Structs::OvsKeyIpv6Exthdrs
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1049
|
+
include Definitions
|
|
1050
|
+
|
|
1051
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1052
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1053
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1054
|
+
end
|
|
765
1055
|
|
|
766
|
-
|
|
1056
|
+
class ActionAttrs < ::Nl::AttributeSet
|
|
1057
|
+
module Definitions
|
|
1058
|
+
# ovs port number in datapath
|
|
1059
|
+
# @rbs return: ::Integer
|
|
1060
|
+
# @return [Integer]
|
|
1061
|
+
def output: () -> ::Integer
|
|
1062
|
+
|
|
1063
|
+
# @rbs return: AttributeSets::UserspaceAttrs
|
|
1064
|
+
# @return [AttributeSets::UserspaceAttrs]
|
|
1065
|
+
def userspace: () -> AttributeSets::UserspaceAttrs
|
|
1066
|
+
|
|
1067
|
+
# Replaces the contents of an existing header. The single nested
|
|
1068
|
+
# attribute specifies a header to modify and its value.
|
|
1069
|
+
# @rbs return: AttributeSets::KeyAttrs
|
|
1070
|
+
# @return [AttributeSets::KeyAttrs]
|
|
1071
|
+
def set: () -> AttributeSets::KeyAttrs
|
|
1072
|
+
|
|
1073
|
+
# Push a new outermost 802.1Q or 802.1ad header onto the packet.
|
|
1074
|
+
# @rbs return: Structs::OvsActionPushVlan
|
|
1075
|
+
# @return [Structs::OvsActionPushVlan]
|
|
1076
|
+
def push_vlan: () -> Structs::OvsActionPushVlan
|
|
1077
|
+
|
|
1078
|
+
# Pop the outermost 802.1Q or 802.1ad header from the packet.
|
|
1079
|
+
# @rbs return: ::Integer
|
|
1080
|
+
# @return [Integer]
|
|
1081
|
+
def pop_vlan: () -> ::Integer
|
|
1082
|
+
|
|
1083
|
+
# Probabilistically executes actions, as specified in the nested
|
|
1084
|
+
# attributes.
|
|
1085
|
+
# @rbs return: AttributeSets::SampleAttrs
|
|
1086
|
+
# @return [AttributeSets::SampleAttrs]
|
|
1087
|
+
def sample: () -> AttributeSets::SampleAttrs
|
|
1088
|
+
|
|
1089
|
+
# recirc id
|
|
1090
|
+
# @rbs return: ::Integer
|
|
1091
|
+
# @return [Integer]
|
|
1092
|
+
def recirc: () -> ::Integer
|
|
1093
|
+
|
|
1094
|
+
# @rbs return: Structs::OvsActionHash
|
|
1095
|
+
# @return [Structs::OvsActionHash]
|
|
1096
|
+
def hash: () -> Structs::OvsActionHash
|
|
1097
|
+
|
|
1098
|
+
# Push a new MPLS label stack entry onto the top of the packets MPLS
|
|
1099
|
+
# label stack. Set the ethertype of the encapsulating frame to either
|
|
1100
|
+
# ETH_P_MPLS_UC or ETH_P_MPLS_MC to indicate the new packet contents.
|
|
1101
|
+
# @rbs return: Structs::OvsActionPushMpls
|
|
1102
|
+
# @return [Structs::OvsActionPushMpls]
|
|
1103
|
+
def push_mpls: () -> Structs::OvsActionPushMpls
|
|
1104
|
+
|
|
1105
|
+
# ethertype
|
|
1106
|
+
# @rbs return: ::Integer
|
|
1107
|
+
# @return [Integer]
|
|
1108
|
+
def pop_mpls: () -> ::Integer
|
|
1109
|
+
|
|
1110
|
+
# Replaces the contents of an existing header. A nested attribute
|
|
1111
|
+
# specifies a header to modify, its value, and a mask. For every bit set
|
|
1112
|
+
# in the mask, the corresponding bit value is copied from the value to
|
|
1113
|
+
# the packet header field, rest of the bits are left unchanged. The
|
|
1114
|
+
# non-masked value bits must be passed in as zeroes. Masking is not
|
|
1115
|
+
# supported for the OVS_KEY_ATTR_TUNNEL attribute.
|
|
1116
|
+
# @rbs return: AttributeSets::KeyAttrs
|
|
1117
|
+
# @return [AttributeSets::KeyAttrs]
|
|
1118
|
+
def set_masked: () -> AttributeSets::KeyAttrs
|
|
1119
|
+
|
|
1120
|
+
# Track the connection. Populate the conntrack-related entries
|
|
1121
|
+
# in the flow key.
|
|
1122
|
+
# @rbs return: AttributeSets::CtAttrs
|
|
1123
|
+
# @return [AttributeSets::CtAttrs]
|
|
1124
|
+
def ct: () -> AttributeSets::CtAttrs
|
|
1125
|
+
|
|
1126
|
+
# struct ovs_action_trunc is a u32 max length
|
|
1127
|
+
# @rbs return: ::Integer
|
|
1128
|
+
# @return [Integer]
|
|
1129
|
+
def trunc: () -> ::Integer
|
|
1130
|
+
|
|
1131
|
+
# struct ovs_action_push_eth
|
|
1132
|
+
# @rbs return: ::String
|
|
1133
|
+
# @return [String]
|
|
1134
|
+
def push_eth: () -> ::String
|
|
1135
|
+
|
|
1136
|
+
# @rbs return: ::Integer
|
|
1137
|
+
# @return [Integer]
|
|
1138
|
+
def pop_eth: () -> ::Integer
|
|
1139
|
+
|
|
1140
|
+
# @rbs return: ::Integer
|
|
1141
|
+
# @return [Integer]
|
|
1142
|
+
def ct_clear: () -> ::Integer
|
|
1143
|
+
|
|
1144
|
+
# Push NSH header to the packet.
|
|
1145
|
+
# @rbs return: AttributeSets::OvsNshKeyAttrs
|
|
1146
|
+
# @return [AttributeSets::OvsNshKeyAttrs]
|
|
1147
|
+
def push_nsh: () -> AttributeSets::OvsNshKeyAttrs
|
|
1148
|
+
|
|
1149
|
+
# Pop the outermost NSH header off the packet.
|
|
1150
|
+
# @rbs return: ::Integer
|
|
1151
|
+
# @return [Integer]
|
|
1152
|
+
def pop_nsh: () -> ::Integer
|
|
1153
|
+
|
|
1154
|
+
# Run packet through a meter, which may drop the packet, or modify the
|
|
1155
|
+
# packet (e.g., change the DSCP field)
|
|
1156
|
+
# @rbs return: ::Integer
|
|
1157
|
+
# @return [Integer]
|
|
1158
|
+
def meter: () -> ::Integer
|
|
1159
|
+
|
|
1160
|
+
# Make a copy of the packet and execute a list of actions without
|
|
1161
|
+
# affecting the original packet and key.
|
|
1162
|
+
# @rbs return: AttributeSets::ActionAttrs
|
|
1163
|
+
# @return [AttributeSets::ActionAttrs]
|
|
1164
|
+
def clone: () -> AttributeSets::ActionAttrs
|
|
1165
|
+
|
|
1166
|
+
# Check the packet length and execute a set of actions if greater than
|
|
1167
|
+
# the specified packet length, else execute another set of actions.
|
|
1168
|
+
# @rbs return: AttributeSets::CheckPktLenAttrs
|
|
1169
|
+
# @return [AttributeSets::CheckPktLenAttrs]
|
|
1170
|
+
def check_pkt_len: () -> AttributeSets::CheckPktLenAttrs
|
|
1171
|
+
|
|
1172
|
+
# Push a new MPLS label stack entry at the start of the packet or at the
|
|
1173
|
+
# start of the l3 header depending on the value of l3 tunnel flag in the
|
|
1174
|
+
# tun_flags field of this OVS_ACTION_ATTR_ADD_MPLS argument.
|
|
1175
|
+
# @rbs return: Structs::OvsActionAddMpls
|
|
1176
|
+
# @return [Structs::OvsActionAddMpls]
|
|
1177
|
+
def add_mpls: () -> Structs::OvsActionAddMpls
|
|
1178
|
+
|
|
1179
|
+
# @rbs return: AttributeSets::DecTtlAttrs
|
|
1180
|
+
# @return [AttributeSets::DecTtlAttrs]
|
|
1181
|
+
def dec_ttl: () -> AttributeSets::DecTtlAttrs
|
|
1182
|
+
|
|
1183
|
+
# Sends a packet sample to psample for external observation.
|
|
1184
|
+
# @rbs return: AttributeSets::PsampleAttrs
|
|
1185
|
+
# @return [AttributeSets::PsampleAttrs]
|
|
1186
|
+
def psample: () -> AttributeSets::PsampleAttrs
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1189
|
+
include Definitions
|
|
1190
|
+
|
|
1191
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1192
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1193
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1194
|
+
end
|
|
767
1195
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
1196
|
+
class TunnelKeyAttrs < ::Nl::AttributeSet
|
|
1197
|
+
module Definitions
|
|
1198
|
+
# @rbs return: ::Integer
|
|
1199
|
+
# @return [Integer]
|
|
1200
|
+
def id: () -> ::Integer
|
|
771
1201
|
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
TYPE: ::Integer
|
|
1202
|
+
# @rbs return: ::Integer
|
|
1203
|
+
# @return [Integer]
|
|
1204
|
+
def ipv4_src: () -> ::Integer
|
|
776
1205
|
|
|
777
|
-
|
|
1206
|
+
# @rbs return: ::Integer
|
|
1207
|
+
# @return [Integer]
|
|
1208
|
+
def ipv4_dst: () -> ::Integer
|
|
778
1209
|
|
|
779
|
-
# @
|
|
780
|
-
|
|
1210
|
+
# @rbs return: ::Integer
|
|
1211
|
+
# @return [Integer]
|
|
1212
|
+
def tos: () -> ::Integer
|
|
781
1213
|
|
|
782
|
-
# @
|
|
783
|
-
|
|
784
|
-
|
|
1214
|
+
# @rbs return: ::Integer
|
|
1215
|
+
# @return [Integer]
|
|
1216
|
+
def ttl: () -> ::Integer
|
|
785
1217
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
class TcpFlags < Attribute
|
|
790
|
-
TYPE: ::Integer
|
|
1218
|
+
# @rbs return: ::Integer
|
|
1219
|
+
# @return [Integer]
|
|
1220
|
+
def dont_fragment: () -> ::Integer
|
|
791
1221
|
|
|
792
|
-
|
|
1222
|
+
# @rbs return: ::Integer
|
|
1223
|
+
# @return [Integer]
|
|
1224
|
+
def csum: () -> ::Integer
|
|
793
1225
|
|
|
794
|
-
# @
|
|
795
|
-
|
|
1226
|
+
# @rbs return: ::Integer
|
|
1227
|
+
# @return [Integer]
|
|
1228
|
+
def oam: () -> ::Integer
|
|
796
1229
|
|
|
797
|
-
# @
|
|
798
|
-
|
|
799
|
-
|
|
1230
|
+
# @rbs return: ::Array[::Integer]
|
|
1231
|
+
# @return [Array<Integer>]
|
|
1232
|
+
def geneve_opts: () -> ::Array[::Integer]
|
|
800
1233
|
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
# this flow. Ignored in requests.
|
|
805
|
-
class Used < Attribute
|
|
806
|
-
TYPE: ::Integer
|
|
1234
|
+
# @rbs return: ::Integer
|
|
1235
|
+
# @return [Integer]
|
|
1236
|
+
def tp_src: () -> ::Integer
|
|
807
1237
|
|
|
808
|
-
|
|
1238
|
+
# @rbs return: ::Integer
|
|
1239
|
+
# @return [Integer]
|
|
1240
|
+
def tp_dst: () -> ::Integer
|
|
809
1241
|
|
|
810
|
-
# @
|
|
811
|
-
|
|
1242
|
+
# @rbs return: AttributeSets::VxlanExtAttrs
|
|
1243
|
+
# @return [AttributeSets::VxlanExtAttrs]
|
|
1244
|
+
def vxlan_opts: () -> AttributeSets::VxlanExtAttrs
|
|
812
1245
|
|
|
813
|
-
#
|
|
814
|
-
|
|
815
|
-
|
|
1246
|
+
# struct in6_addr source IPv6 address
|
|
1247
|
+
# @rbs return: ::String
|
|
1248
|
+
# @return [String]
|
|
1249
|
+
def ipv6_src: () -> ::String
|
|
816
1250
|
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
TYPE: ::Integer
|
|
1251
|
+
# struct in6_addr destination IPv6 address
|
|
1252
|
+
# @rbs return: ::String
|
|
1253
|
+
# @return [String]
|
|
1254
|
+
def ipv6_dst: () -> ::String
|
|
822
1255
|
|
|
823
|
-
|
|
1256
|
+
# @rbs return: ::String
|
|
1257
|
+
# @return [String]
|
|
1258
|
+
def pad: () -> ::String
|
|
824
1259
|
|
|
825
|
-
#
|
|
826
|
-
|
|
1260
|
+
# struct erspan_metadata
|
|
1261
|
+
# @rbs return: ::String
|
|
1262
|
+
# @return [String]
|
|
1263
|
+
def erspan_opts: () -> ::String
|
|
827
1264
|
|
|
828
|
-
# @
|
|
829
|
-
|
|
1265
|
+
# @rbs return: ::Integer
|
|
1266
|
+
# @return [Integer]
|
|
1267
|
+
def ipv4_info_bridge: () -> ::Integer
|
|
830
1268
|
end
|
|
831
1269
|
|
|
832
|
-
|
|
833
|
-
# match. Mask bit value '1' specifies exact match with corresponding
|
|
834
|
-
# flow key bit, while mask bit value '0' specifies a wildcarded
|
|
835
|
-
# match. Omitting attribute is treated as wildcarding all corresponding
|
|
836
|
-
# fields. Optional for all requests. If not present, all flow key bits
|
|
837
|
-
# are exact match bits.
|
|
838
|
-
class Mask < Attribute
|
|
839
|
-
TYPE: ::Integer
|
|
840
|
-
|
|
841
|
-
NAME: ::Symbol
|
|
842
|
-
|
|
843
|
-
# @private
|
|
844
|
-
ORDER: ::Integer
|
|
845
|
-
end
|
|
1270
|
+
include Definitions
|
|
846
1271
|
|
|
847
|
-
#
|
|
848
|
-
|
|
849
|
-
|
|
1272
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1273
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1274
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1275
|
+
end
|
|
850
1276
|
|
|
851
|
-
|
|
1277
|
+
class CheckPktLenAttrs < ::Nl::AttributeSet
|
|
1278
|
+
module Definitions
|
|
1279
|
+
# @rbs return: ::Integer
|
|
1280
|
+
# @return [Integer]
|
|
1281
|
+
def pkt_len: () -> ::Integer
|
|
852
1282
|
|
|
853
|
-
# @
|
|
854
|
-
|
|
1283
|
+
# @rbs return: AttributeSets::ActionAttrs
|
|
1284
|
+
# @return [AttributeSets::ActionAttrs]
|
|
1285
|
+
def actions_if_greater: () -> AttributeSets::ActionAttrs
|
|
855
1286
|
|
|
856
|
-
# @
|
|
857
|
-
|
|
1287
|
+
# @rbs return: AttributeSets::ActionAttrs
|
|
1288
|
+
# @return [AttributeSets::ActionAttrs]
|
|
1289
|
+
def actions_if_less_equal: () -> AttributeSets::ActionAttrs
|
|
858
1290
|
end
|
|
859
1291
|
|
|
860
|
-
|
|
861
|
-
# flow. Causes the flow to be indexed by this value rather than the
|
|
862
|
-
# value of the OVS_FLOW_ATTR_KEY attribute. Optional for all
|
|
863
|
-
# requests. Present in notifications if the flow was created with this
|
|
864
|
-
# attribute.
|
|
865
|
-
class Ufid < Attribute
|
|
866
|
-
TYPE: ::Integer
|
|
1292
|
+
include Definitions
|
|
867
1293
|
|
|
868
|
-
|
|
1294
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1295
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1296
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1297
|
+
end
|
|
869
1298
|
|
|
870
|
-
|
|
871
|
-
|
|
1299
|
+
class SampleAttrs < ::Nl::AttributeSet
|
|
1300
|
+
module Definitions
|
|
1301
|
+
# @rbs return: ::Integer
|
|
1302
|
+
# @return [Integer]
|
|
1303
|
+
def probability: () -> ::Integer
|
|
872
1304
|
|
|
873
|
-
# @
|
|
874
|
-
|
|
1305
|
+
# @rbs return: AttributeSets::ActionAttrs
|
|
1306
|
+
# @return [AttributeSets::ActionAttrs]
|
|
1307
|
+
def actions: () -> AttributeSets::ActionAttrs
|
|
875
1308
|
end
|
|
876
1309
|
|
|
877
|
-
|
|
878
|
-
# flow installation and retrieval. Optional for all requests.
|
|
879
|
-
#
|
|
880
|
-
#
|
|
881
|
-
# Known flags are defined in {Flags::OvsUfidFlags}.
|
|
882
|
-
class UfidFlags < Attribute
|
|
883
|
-
TYPE: ::Integer
|
|
884
|
-
|
|
885
|
-
NAME: ::Symbol
|
|
1310
|
+
include Definitions
|
|
886
1311
|
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
DATATYPE: untyped
|
|
892
|
-
end
|
|
1312
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1313
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1314
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1315
|
+
end
|
|
893
1316
|
|
|
894
|
-
|
|
895
|
-
|
|
1317
|
+
class UserspaceAttrs < ::Nl::AttributeSet
|
|
1318
|
+
module Definitions
|
|
1319
|
+
# @rbs return: ::Integer
|
|
1320
|
+
# @return [Integer]
|
|
1321
|
+
def pid: () -> ::Integer
|
|
896
1322
|
|
|
897
|
-
|
|
1323
|
+
# @rbs return: ::String
|
|
1324
|
+
# @return [String]
|
|
1325
|
+
def userdata: () -> ::String
|
|
898
1326
|
|
|
899
|
-
# @
|
|
900
|
-
|
|
1327
|
+
# @rbs return: ::Integer
|
|
1328
|
+
# @return [Integer]
|
|
1329
|
+
def egress_tun_port: () -> ::Integer
|
|
901
1330
|
|
|
902
|
-
# @
|
|
903
|
-
|
|
1331
|
+
# @rbs return: ::Integer
|
|
1332
|
+
# @return [Integer]
|
|
1333
|
+
def actions: () -> ::Integer
|
|
904
1334
|
end
|
|
905
1335
|
|
|
906
|
-
|
|
907
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1336
|
+
include Definitions
|
|
908
1337
|
|
|
909
|
-
#
|
|
910
|
-
|
|
1338
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1339
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1340
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1341
|
+
end
|
|
911
1342
|
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
def key: () -> AttributeSets::KeyAttrs
|
|
1343
|
+
class OvsNshKeyAttrs < ::Nl::AttributeSet
|
|
1344
|
+
module Definitions
|
|
1345
|
+
# @rbs return: ::String
|
|
1346
|
+
# @return [String]
|
|
1347
|
+
def base: () -> ::String
|
|
918
1348
|
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
# OVS_FLOW_CMD_SET without OVS_FLOW_ATTR_ACTIONS will not modify the
|
|
923
|
-
# actions. To clear the actions, an OVS_FLOW_ATTR_ACTIONS without any
|
|
924
|
-
# nested attributes must be given.
|
|
925
|
-
# @rbs return: AttributeSets::ActionAttrs
|
|
926
|
-
# @return [AttributeSets::ActionAttrs]
|
|
927
|
-
# @see Actions
|
|
928
|
-
def actions: () -> AttributeSets::ActionAttrs
|
|
1349
|
+
# @rbs return: ::String
|
|
1350
|
+
# @return [String]
|
|
1351
|
+
def md1: () -> ::String
|
|
929
1352
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
# @see Stats
|
|
935
|
-
def stats: () -> Structs::OvsFlowStats
|
|
1353
|
+
# @rbs return: ::String
|
|
1354
|
+
# @return [String]
|
|
1355
|
+
def md2: () -> ::String
|
|
1356
|
+
end
|
|
936
1357
|
|
|
937
|
-
|
|
938
|
-
# packets in this flow. Only present in notifications for TCP flows, and
|
|
939
|
-
# only if it would be nonzero. Ignored in requests.
|
|
940
|
-
# @rbs return: ::Integer
|
|
941
|
-
# @return [Integer]
|
|
942
|
-
# @see TcpFlags
|
|
943
|
-
def tcp_flags: () -> ::Integer
|
|
1358
|
+
include Definitions
|
|
944
1359
|
|
|
945
|
-
#
|
|
946
|
-
#
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
# @rbs return: ::Integer
|
|
950
|
-
# @return [Integer]
|
|
951
|
-
# @see Used
|
|
952
|
-
def used: () -> ::Integer
|
|
1360
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1361
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1362
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1363
|
+
end
|
|
953
1364
|
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
# @see Clear
|
|
960
|
-
def clear: () -> ::Integer
|
|
1365
|
+
class CtAttrs < ::Nl::AttributeSet
|
|
1366
|
+
module Definitions
|
|
1367
|
+
# @rbs return: ::Integer
|
|
1368
|
+
# @return [Integer]
|
|
1369
|
+
def commit: () -> ::Integer
|
|
961
1370
|
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
# match. Omitting attribute is treated as wildcarding all corresponding
|
|
966
|
-
# fields. Optional for all requests. If not present, all flow key bits
|
|
967
|
-
# are exact match bits.
|
|
968
|
-
# @rbs return: AttributeSets::KeyAttrs
|
|
969
|
-
# @return [AttributeSets::KeyAttrs]
|
|
970
|
-
# @see Mask
|
|
971
|
-
def mask: () -> AttributeSets::KeyAttrs
|
|
1371
|
+
# @rbs return: ::Integer
|
|
1372
|
+
# @return [Integer]
|
|
1373
|
+
def zone: () -> ::Integer
|
|
972
1374
|
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
# @see Probe
|
|
977
|
-
def probe: () -> ::String
|
|
1375
|
+
# @rbs return: ::String
|
|
1376
|
+
# @return [String]
|
|
1377
|
+
def mark: () -> ::String
|
|
978
1378
|
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
# requests. Present in notifications if the flow was created with this
|
|
983
|
-
# attribute.
|
|
984
|
-
# @rbs return: ::String
|
|
985
|
-
# @return [String]
|
|
986
|
-
# @see Ufid
|
|
987
|
-
def ufid: () -> ::String
|
|
1379
|
+
# @rbs return: ::String
|
|
1380
|
+
# @return [String]
|
|
1381
|
+
def labels: () -> ::String
|
|
988
1382
|
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
#
|
|
993
|
-
# Known flags are defined in {Flags::OvsUfidFlags}.
|
|
994
|
-
# @rbs return: ::Integer
|
|
995
|
-
# @return [Integer]
|
|
996
|
-
# @see UfidFlags
|
|
997
|
-
def ufid_flags: () -> ::Integer
|
|
1383
|
+
# @rbs return: ::String
|
|
1384
|
+
# @return [String]
|
|
1385
|
+
def helper: () -> ::String
|
|
998
1386
|
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
def pad: () -> ::String
|
|
1387
|
+
# @rbs return: AttributeSets::NatAttrs
|
|
1388
|
+
# @return [AttributeSets::NatAttrs]
|
|
1389
|
+
def nat: () -> AttributeSets::NatAttrs
|
|
1003
1390
|
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
# @param [Symbol] name
|
|
1008
|
-
# @return [Attribute]
|
|
1009
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1391
|
+
# @rbs return: ::Integer
|
|
1392
|
+
# @return [Integer]
|
|
1393
|
+
def force_commit: () -> ::Integer
|
|
1010
1394
|
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
# @param [Integer] type
|
|
1015
|
-
# @return [Attribute]
|
|
1016
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1017
|
-
end
|
|
1395
|
+
# @rbs return: ::Integer
|
|
1396
|
+
# @return [Integer]
|
|
1397
|
+
def eventmask: () -> ::Integer
|
|
1018
1398
|
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1399
|
+
# @rbs return: ::String
|
|
1400
|
+
# @return [String]
|
|
1401
|
+
def timeout: () -> ::String
|
|
1022
1402
|
end
|
|
1023
1403
|
|
|
1024
|
-
|
|
1025
|
-
TYPE: ::Integer
|
|
1404
|
+
include Definitions
|
|
1026
1405
|
|
|
1027
|
-
|
|
1406
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1407
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1408
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1409
|
+
end
|
|
1028
1410
|
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1411
|
+
class NatAttrs < ::Nl::AttributeSet
|
|
1412
|
+
module Definitions
|
|
1413
|
+
# @rbs return: ::Integer
|
|
1414
|
+
# @return [Integer]
|
|
1415
|
+
def src: () -> ::Integer
|
|
1032
1416
|
|
|
1033
|
-
|
|
1034
|
-
|
|
1417
|
+
# @rbs return: ::Integer
|
|
1418
|
+
# @return [Integer]
|
|
1419
|
+
def dst: () -> ::Integer
|
|
1035
1420
|
|
|
1036
|
-
|
|
1421
|
+
# @rbs return: ::String
|
|
1422
|
+
# @return [String]
|
|
1423
|
+
def ip_min: () -> ::String
|
|
1037
1424
|
|
|
1038
|
-
# @
|
|
1039
|
-
|
|
1425
|
+
# @rbs return: ::String
|
|
1426
|
+
# @return [String]
|
|
1427
|
+
def ip_max: () -> ::String
|
|
1040
1428
|
|
|
1041
|
-
# @
|
|
1042
|
-
|
|
1043
|
-
|
|
1429
|
+
# @rbs return: ::Integer
|
|
1430
|
+
# @return [Integer]
|
|
1431
|
+
def proto_min: () -> ::Integer
|
|
1044
1432
|
|
|
1045
|
-
|
|
1046
|
-
|
|
1433
|
+
# @rbs return: ::Integer
|
|
1434
|
+
# @return [Integer]
|
|
1435
|
+
def proto_max: () -> ::Integer
|
|
1047
1436
|
|
|
1048
|
-
|
|
1437
|
+
# @rbs return: ::Integer
|
|
1438
|
+
# @return [Integer]
|
|
1439
|
+
def persistent: () -> ::Integer
|
|
1049
1440
|
|
|
1050
|
-
# @
|
|
1051
|
-
|
|
1441
|
+
# @rbs return: ::Integer
|
|
1442
|
+
# @return [Integer]
|
|
1443
|
+
def proto_hash: () -> ::Integer
|
|
1052
1444
|
|
|
1053
|
-
# @
|
|
1054
|
-
|
|
1445
|
+
# @rbs return: ::Integer
|
|
1446
|
+
# @return [Integer]
|
|
1447
|
+
def proto_random: () -> ::Integer
|
|
1055
1448
|
end
|
|
1056
1449
|
|
|
1057
|
-
|
|
1058
|
-
class Ethernet < Attribute
|
|
1059
|
-
TYPE: ::Integer
|
|
1450
|
+
include Definitions
|
|
1060
1451
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1452
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1453
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1454
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1455
|
+
end
|
|
1065
1456
|
|
|
1066
|
-
|
|
1067
|
-
|
|
1457
|
+
class DecTtlAttrs < ::Nl::AttributeSet
|
|
1458
|
+
module Definitions
|
|
1459
|
+
# @rbs return: AttributeSets::ActionAttrs
|
|
1460
|
+
# @return [AttributeSets::ActionAttrs]
|
|
1461
|
+
def action: () -> AttributeSets::ActionAttrs
|
|
1068
1462
|
end
|
|
1069
1463
|
|
|
1070
|
-
|
|
1071
|
-
TYPE: ::Integer
|
|
1072
|
-
|
|
1073
|
-
NAME: ::Symbol
|
|
1464
|
+
include Definitions
|
|
1074
1465
|
|
|
1075
|
-
|
|
1076
|
-
|
|
1466
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1467
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1468
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1469
|
+
end
|
|
1077
1470
|
|
|
1078
|
-
|
|
1079
|
-
|
|
1471
|
+
class VxlanExtAttrs < ::Nl::AttributeSet
|
|
1472
|
+
module Definitions
|
|
1473
|
+
# @rbs return: ::Integer
|
|
1474
|
+
# @return [Integer]
|
|
1475
|
+
def gbp: () -> ::Integer
|
|
1080
1476
|
end
|
|
1081
1477
|
|
|
1082
|
-
|
|
1083
|
-
TYPE: ::Integer
|
|
1478
|
+
include Definitions
|
|
1084
1479
|
|
|
1085
|
-
|
|
1480
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1481
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1482
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1483
|
+
end
|
|
1086
1484
|
|
|
1087
|
-
|
|
1088
|
-
|
|
1485
|
+
class PsampleAttrs < ::Nl::AttributeSet
|
|
1486
|
+
module Definitions
|
|
1487
|
+
# @rbs return: ::Integer
|
|
1488
|
+
# @return [Integer]
|
|
1489
|
+
def group: () -> ::Integer
|
|
1089
1490
|
|
|
1090
|
-
# @
|
|
1091
|
-
|
|
1491
|
+
# @rbs return: ::String
|
|
1492
|
+
# @return [String]
|
|
1493
|
+
def cookie: () -> ::String
|
|
1092
1494
|
end
|
|
1093
1495
|
|
|
1094
|
-
|
|
1095
|
-
TYPE: ::Integer
|
|
1496
|
+
include Definitions
|
|
1096
1497
|
|
|
1097
|
-
|
|
1498
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
1499
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1500
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1501
|
+
end
|
|
1502
|
+
end
|
|
1098
1503
|
|
|
1504
|
+
module AttributeSets
|
|
1505
|
+
class FlowAttrs
|
|
1506
|
+
module Definitions
|
|
1099
1507
|
# @private
|
|
1100
|
-
|
|
1508
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1101
1509
|
|
|
1102
1510
|
# @private
|
|
1103
|
-
|
|
1511
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1104
1512
|
end
|
|
1513
|
+
end
|
|
1105
1514
|
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
TYPE: ::Integer
|
|
1109
|
-
|
|
1110
|
-
NAME: ::Symbol
|
|
1111
|
-
|
|
1515
|
+
class KeyAttrs
|
|
1516
|
+
module Definitions
|
|
1112
1517
|
# @private
|
|
1113
|
-
|
|
1518
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1114
1519
|
|
|
1115
1520
|
# @private
|
|
1116
|
-
|
|
1521
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1117
1522
|
end
|
|
1523
|
+
end
|
|
1118
1524
|
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
NAME: ::Symbol
|
|
1123
|
-
|
|
1525
|
+
class ActionAttrs
|
|
1526
|
+
module Definitions
|
|
1124
1527
|
# @private
|
|
1125
|
-
|
|
1528
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1126
1529
|
|
|
1127
1530
|
# @private
|
|
1128
|
-
|
|
1531
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1129
1532
|
end
|
|
1533
|
+
end
|
|
1130
1534
|
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
NAME: ::Symbol
|
|
1135
|
-
|
|
1535
|
+
class TunnelKeyAttrs
|
|
1536
|
+
module Definitions
|
|
1136
1537
|
# @private
|
|
1137
|
-
|
|
1538
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1138
1539
|
|
|
1139
1540
|
# @private
|
|
1140
|
-
|
|
1541
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1141
1542
|
end
|
|
1543
|
+
end
|
|
1142
1544
|
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
NAME: ::Symbol
|
|
1147
|
-
|
|
1545
|
+
class CheckPktLenAttrs
|
|
1546
|
+
module Definitions
|
|
1148
1547
|
# @private
|
|
1149
|
-
|
|
1548
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1150
1549
|
|
|
1151
1550
|
# @private
|
|
1152
|
-
|
|
1551
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1153
1552
|
end
|
|
1553
|
+
end
|
|
1154
1554
|
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
NAME: ::Symbol
|
|
1159
|
-
|
|
1555
|
+
class SampleAttrs
|
|
1556
|
+
module Definitions
|
|
1160
1557
|
# @private
|
|
1161
|
-
|
|
1558
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1162
1559
|
|
|
1163
1560
|
# @private
|
|
1164
|
-
|
|
1561
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1165
1562
|
end
|
|
1563
|
+
end
|
|
1166
1564
|
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
TYPE: ::Integer
|
|
1170
|
-
|
|
1171
|
-
NAME: ::Symbol
|
|
1172
|
-
|
|
1565
|
+
class UserspaceAttrs
|
|
1566
|
+
module Definitions
|
|
1173
1567
|
# @private
|
|
1174
|
-
|
|
1568
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1175
1569
|
|
|
1176
1570
|
# @private
|
|
1177
|
-
|
|
1571
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1178
1572
|
end
|
|
1573
|
+
end
|
|
1179
1574
|
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
TYPE: ::Integer
|
|
1183
|
-
|
|
1184
|
-
NAME: ::Symbol
|
|
1185
|
-
|
|
1575
|
+
class OvsNshKeyAttrs
|
|
1576
|
+
module Definitions
|
|
1186
1577
|
# @private
|
|
1187
|
-
|
|
1578
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1188
1579
|
|
|
1189
1580
|
# @private
|
|
1190
|
-
|
|
1581
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1191
1582
|
end
|
|
1583
|
+
end
|
|
1192
1584
|
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
NAME: ::Symbol
|
|
1197
|
-
|
|
1198
|
-
# @private
|
|
1199
|
-
ORDER: ::Integer
|
|
1200
|
-
|
|
1585
|
+
class CtAttrs
|
|
1586
|
+
module Definitions
|
|
1201
1587
|
# @private
|
|
1202
|
-
|
|
1203
|
-
end
|
|
1204
|
-
|
|
1205
|
-
class Tunnel < Attribute
|
|
1206
|
-
TYPE: ::Integer
|
|
1207
|
-
|
|
1208
|
-
NAME: ::Symbol
|
|
1588
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1209
1589
|
|
|
1210
1590
|
# @private
|
|
1211
|
-
|
|
1591
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1212
1592
|
end
|
|
1593
|
+
end
|
|
1213
1594
|
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
NAME: ::Symbol
|
|
1218
|
-
|
|
1595
|
+
class NatAttrs
|
|
1596
|
+
module Definitions
|
|
1219
1597
|
# @private
|
|
1220
|
-
|
|
1598
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1221
1599
|
|
|
1222
1600
|
# @private
|
|
1223
|
-
|
|
1601
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1224
1602
|
end
|
|
1603
|
+
end
|
|
1225
1604
|
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
NAME: ::Symbol
|
|
1230
|
-
|
|
1605
|
+
class DecTtlAttrs
|
|
1606
|
+
module Definitions
|
|
1231
1607
|
# @private
|
|
1232
|
-
|
|
1608
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1233
1609
|
|
|
1234
1610
|
# @private
|
|
1235
|
-
|
|
1611
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1236
1612
|
end
|
|
1613
|
+
end
|
|
1237
1614
|
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
TYPE: ::Integer
|
|
1241
|
-
|
|
1242
|
-
NAME: ::Symbol
|
|
1243
|
-
|
|
1615
|
+
class VxlanExtAttrs
|
|
1616
|
+
module Definitions
|
|
1244
1617
|
# @private
|
|
1245
|
-
|
|
1618
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1246
1619
|
|
|
1247
1620
|
# @private
|
|
1248
|
-
|
|
1621
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1249
1622
|
end
|
|
1623
|
+
end
|
|
1250
1624
|
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
NAME: ::Symbol
|
|
1255
|
-
|
|
1625
|
+
class PsampleAttrs
|
|
1626
|
+
module Definitions
|
|
1256
1627
|
# @private
|
|
1257
|
-
|
|
1628
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
1258
1629
|
|
|
1259
1630
|
# @private
|
|
1260
|
-
|
|
1631
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
1261
1632
|
end
|
|
1633
|
+
end
|
|
1634
|
+
end
|
|
1262
1635
|
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1636
|
+
module Messages
|
|
1637
|
+
# Get / dump OVS flow configuration and state
|
|
1638
|
+
class DoGetRequest < ::Nl::Message
|
|
1639
|
+
TYPE: ::Integer
|
|
1267
1640
|
|
|
1268
|
-
|
|
1269
|
-
ORDER: ::Integer
|
|
1641
|
+
FIXED_HEADER: untyped
|
|
1270
1642
|
|
|
1271
|
-
|
|
1272
|
-
DATATYPE: untyped
|
|
1273
|
-
end
|
|
1643
|
+
ATTRIBUTE_SET: untyped
|
|
1274
1644
|
|
|
1275
|
-
|
|
1276
|
-
class CtState < Attribute
|
|
1277
|
-
TYPE: ::Integer
|
|
1645
|
+
ATTRIBUTES: untyped
|
|
1278
1646
|
|
|
1279
|
-
|
|
1647
|
+
include ATTRIBUTE_SET::Definitions
|
|
1280
1648
|
|
|
1281
|
-
|
|
1282
|
-
ORDER: ::Integer
|
|
1649
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
1283
1650
|
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
end
|
|
1651
|
+
# @private
|
|
1652
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1287
1653
|
|
|
1288
|
-
#
|
|
1289
|
-
|
|
1290
|
-
|
|
1654
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1655
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1656
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1291
1657
|
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
# @private
|
|
1295
|
-
ORDER: ::Integer
|
|
1296
|
-
|
|
1297
|
-
# @private
|
|
1298
|
-
DATATYPE: untyped
|
|
1299
|
-
end
|
|
1300
|
-
|
|
1301
|
-
# connection tracking mark
|
|
1302
|
-
class CtMark < Attribute
|
|
1303
|
-
TYPE: ::Integer
|
|
1304
|
-
|
|
1305
|
-
NAME: ::Symbol
|
|
1306
|
-
|
|
1307
|
-
# @private
|
|
1308
|
-
ORDER: ::Integer
|
|
1309
|
-
|
|
1310
|
-
# @private
|
|
1311
|
-
DATATYPE: untyped
|
|
1312
|
-
end
|
|
1313
|
-
|
|
1314
|
-
# 16-octet connection tracking label
|
|
1315
|
-
class CtLabels < Attribute
|
|
1316
|
-
TYPE: ::Integer
|
|
1317
|
-
|
|
1318
|
-
NAME: ::Symbol
|
|
1319
|
-
|
|
1320
|
-
# @private
|
|
1321
|
-
ORDER: ::Integer
|
|
1322
|
-
|
|
1323
|
-
# @private
|
|
1324
|
-
DATATYPE: untyped
|
|
1325
|
-
end
|
|
1326
|
-
|
|
1327
|
-
class CtOrigTupleIpv4 < Attribute
|
|
1328
|
-
TYPE: ::Integer
|
|
1329
|
-
|
|
1330
|
-
NAME: ::Symbol
|
|
1331
|
-
|
|
1332
|
-
# @private
|
|
1333
|
-
ORDER: ::Integer
|
|
1334
|
-
|
|
1335
|
-
# @private
|
|
1336
|
-
DATATYPE: untyped
|
|
1337
|
-
end
|
|
1338
|
-
|
|
1339
|
-
# struct ovs_key_ct_tuple_ipv6
|
|
1340
|
-
class CtOrigTupleIpv6 < Attribute
|
|
1341
|
-
TYPE: ::Integer
|
|
1342
|
-
|
|
1343
|
-
NAME: ::Symbol
|
|
1344
|
-
|
|
1345
|
-
# @private
|
|
1346
|
-
ORDER: ::Integer
|
|
1347
|
-
|
|
1348
|
-
# @private
|
|
1349
|
-
DATATYPE: untyped
|
|
1350
|
-
end
|
|
1351
|
-
|
|
1352
|
-
class Nsh < Attribute
|
|
1353
|
-
TYPE: ::Integer
|
|
1354
|
-
|
|
1355
|
-
NAME: ::Symbol
|
|
1356
|
-
|
|
1357
|
-
# @private
|
|
1358
|
-
ORDER: ::Integer
|
|
1359
|
-
end
|
|
1360
|
-
|
|
1361
|
-
# Should not be sent to the kernel
|
|
1362
|
-
class PacketType < Attribute
|
|
1363
|
-
TYPE: ::Integer
|
|
1364
|
-
|
|
1365
|
-
NAME: ::Symbol
|
|
1366
|
-
|
|
1367
|
-
# @private
|
|
1368
|
-
ORDER: ::Integer
|
|
1369
|
-
|
|
1370
|
-
# @private
|
|
1371
|
-
DATATYPE: untyped
|
|
1372
|
-
end
|
|
1373
|
-
|
|
1374
|
-
# Should not be sent to the kernel
|
|
1375
|
-
class NdExtensions < Attribute
|
|
1376
|
-
TYPE: ::Integer
|
|
1377
|
-
|
|
1378
|
-
NAME: ::Symbol
|
|
1379
|
-
|
|
1380
|
-
# @private
|
|
1381
|
-
ORDER: ::Integer
|
|
1382
|
-
|
|
1383
|
-
# @private
|
|
1384
|
-
DATATYPE: untyped
|
|
1385
|
-
end
|
|
1386
|
-
|
|
1387
|
-
# struct ip_tunnel_info
|
|
1388
|
-
class TunnelInfo < Attribute
|
|
1389
|
-
TYPE: ::Integer
|
|
1390
|
-
|
|
1391
|
-
NAME: ::Symbol
|
|
1392
|
-
|
|
1393
|
-
# @private
|
|
1394
|
-
ORDER: ::Integer
|
|
1395
|
-
|
|
1396
|
-
# @private
|
|
1397
|
-
DATATYPE: untyped
|
|
1398
|
-
end
|
|
1399
|
-
|
|
1400
|
-
# struct ovs_key_ipv6_exthdr
|
|
1401
|
-
class Ipv6Exthdrs < Attribute
|
|
1402
|
-
TYPE: ::Integer
|
|
1403
|
-
|
|
1404
|
-
NAME: ::Symbol
|
|
1405
|
-
|
|
1406
|
-
# @private
|
|
1407
|
-
ORDER: ::Integer
|
|
1408
|
-
|
|
1409
|
-
# @private
|
|
1410
|
-
DATATYPE: untyped
|
|
1411
|
-
end
|
|
1412
|
-
|
|
1413
|
-
# @private
|
|
1414
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1415
|
-
|
|
1416
|
-
# @private
|
|
1417
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1418
|
-
|
|
1419
|
-
# @rbs return: AttributeSets::KeyAttrs
|
|
1420
|
-
# @return [AttributeSets::KeyAttrs]
|
|
1421
|
-
# @see Encap
|
|
1422
|
-
def encap: () -> AttributeSets::KeyAttrs
|
|
1423
|
-
|
|
1424
|
-
# @rbs return: ::Integer
|
|
1425
|
-
# @return [Integer]
|
|
1426
|
-
# @see Priority
|
|
1427
|
-
def priority: () -> ::Integer
|
|
1428
|
-
|
|
1429
|
-
# @rbs return: ::Integer
|
|
1430
|
-
# @return [Integer]
|
|
1431
|
-
# @see InPort
|
|
1432
|
-
def in_port: () -> ::Integer
|
|
1433
|
-
|
|
1434
|
-
# struct ovs_key_ethernet
|
|
1435
|
-
# @rbs return: Structs::OvsKeyEthernet
|
|
1436
|
-
# @return [Structs::OvsKeyEthernet]
|
|
1437
|
-
# @see Ethernet
|
|
1438
|
-
def ethernet: () -> Structs::OvsKeyEthernet
|
|
1439
|
-
|
|
1440
|
-
# @rbs return: ::Integer
|
|
1441
|
-
# @return [Integer]
|
|
1442
|
-
# @see Vlan
|
|
1443
|
-
def vlan: () -> ::Integer
|
|
1444
|
-
|
|
1445
|
-
# @rbs return: ::Integer
|
|
1446
|
-
# @return [Integer]
|
|
1447
|
-
# @see Ethertype
|
|
1448
|
-
def ethertype: () -> ::Integer
|
|
1449
|
-
|
|
1450
|
-
# @rbs return: Structs::OvsKeyIpv4
|
|
1451
|
-
# @return [Structs::OvsKeyIpv4]
|
|
1452
|
-
# @see Ipv4
|
|
1453
|
-
def ipv4: () -> Structs::OvsKeyIpv4
|
|
1454
|
-
|
|
1455
|
-
# struct ovs_key_ipv6
|
|
1456
|
-
# @rbs return: Structs::OvsKeyIpv6
|
|
1457
|
-
# @return [Structs::OvsKeyIpv6]
|
|
1458
|
-
# @see Ipv6
|
|
1459
|
-
def ipv6: () -> Structs::OvsKeyIpv6
|
|
1460
|
-
|
|
1461
|
-
# @rbs return: Structs::OvsKeyTcp
|
|
1462
|
-
# @return [Structs::OvsKeyTcp]
|
|
1463
|
-
# @see Tcp
|
|
1464
|
-
def tcp: () -> Structs::OvsKeyTcp
|
|
1465
|
-
|
|
1466
|
-
# @rbs return: Structs::OvsKeyUdp
|
|
1467
|
-
# @return [Structs::OvsKeyUdp]
|
|
1468
|
-
# @see Udp
|
|
1469
|
-
def udp: () -> Structs::OvsKeyUdp
|
|
1470
|
-
|
|
1471
|
-
# @rbs return: Structs::OvsKeyIcmp
|
|
1472
|
-
# @return [Structs::OvsKeyIcmp]
|
|
1473
|
-
# @see Icmp
|
|
1474
|
-
def icmp: () -> Structs::OvsKeyIcmp
|
|
1475
|
-
|
|
1476
|
-
# @rbs return: Structs::OvsKeyIcmp
|
|
1477
|
-
# @return [Structs::OvsKeyIcmp]
|
|
1478
|
-
# @see Icmpv6
|
|
1479
|
-
def icmpv6: () -> Structs::OvsKeyIcmp
|
|
1480
|
-
|
|
1481
|
-
# struct ovs_key_arp
|
|
1482
|
-
# @rbs return: Structs::OvsKeyArp
|
|
1483
|
-
# @return [Structs::OvsKeyArp]
|
|
1484
|
-
# @see Arp
|
|
1485
|
-
def arp: () -> Structs::OvsKeyArp
|
|
1486
|
-
|
|
1487
|
-
# struct ovs_key_nd
|
|
1488
|
-
# @rbs return: Structs::OvsKeyNd
|
|
1489
|
-
# @return [Structs::OvsKeyNd]
|
|
1490
|
-
# @see Nd
|
|
1491
|
-
def nd: () -> Structs::OvsKeyNd
|
|
1492
|
-
|
|
1493
|
-
# @rbs return: ::Integer
|
|
1494
|
-
# @return [Integer]
|
|
1495
|
-
# @see SkbMark
|
|
1496
|
-
def skb_mark: () -> ::Integer
|
|
1497
|
-
|
|
1498
|
-
# @rbs return: AttributeSets::TunnelKeyAttrs
|
|
1499
|
-
# @return [AttributeSets::TunnelKeyAttrs]
|
|
1500
|
-
# @see Tunnel
|
|
1501
|
-
def tunnel: () -> AttributeSets::TunnelKeyAttrs
|
|
1502
|
-
|
|
1503
|
-
# @rbs return: Structs::OvsKeySctp
|
|
1504
|
-
# @return [Structs::OvsKeySctp]
|
|
1505
|
-
# @see Sctp
|
|
1506
|
-
def sctp: () -> Structs::OvsKeySctp
|
|
1507
|
-
|
|
1508
|
-
# @rbs return: ::Integer
|
|
1509
|
-
# @return [Integer]
|
|
1510
|
-
# @see TcpFlags
|
|
1511
|
-
def tcp_flags: () -> ::Integer
|
|
1512
|
-
|
|
1513
|
-
# Value 0 indicates the hash is not computed by the datapath.
|
|
1514
|
-
# @rbs return: ::Integer
|
|
1515
|
-
# @return [Integer]
|
|
1516
|
-
# @see DpHash
|
|
1517
|
-
def dp_hash: () -> ::Integer
|
|
1518
|
-
|
|
1519
|
-
# @rbs return: ::Integer
|
|
1520
|
-
# @return [Integer]
|
|
1521
|
-
# @see RecircId
|
|
1522
|
-
def recirc_id: () -> ::Integer
|
|
1523
|
-
|
|
1524
|
-
# @rbs return: Structs::OvsKeyMpls
|
|
1525
|
-
# @return [Structs::OvsKeyMpls]
|
|
1526
|
-
# @see Mpls
|
|
1527
|
-
def mpls: () -> Structs::OvsKeyMpls
|
|
1528
|
-
|
|
1529
|
-
# Known flags are defined in {Flags::CtStateFlags}.
|
|
1530
|
-
# @rbs return: ::Integer
|
|
1531
|
-
# @return [Integer]
|
|
1532
|
-
# @see CtState
|
|
1533
|
-
def ct_state: () -> ::Integer
|
|
1534
|
-
|
|
1535
|
-
# connection tracking zone
|
|
1536
|
-
# @rbs return: ::Integer
|
|
1537
|
-
# @return [Integer]
|
|
1538
|
-
# @see CtZone
|
|
1539
|
-
def ct_zone: () -> ::Integer
|
|
1540
|
-
|
|
1541
|
-
# connection tracking mark
|
|
1542
|
-
# @rbs return: ::Integer
|
|
1543
|
-
# @return [Integer]
|
|
1544
|
-
# @see CtMark
|
|
1545
|
-
def ct_mark: () -> ::Integer
|
|
1546
|
-
|
|
1547
|
-
# 16-octet connection tracking label
|
|
1548
|
-
# @rbs return: ::String
|
|
1549
|
-
# @return [String]
|
|
1550
|
-
# @see CtLabels
|
|
1551
|
-
def ct_labels: () -> ::String
|
|
1552
|
-
|
|
1553
|
-
# @rbs return: Structs::OvsKeyCtTupleIpv4
|
|
1554
|
-
# @return [Structs::OvsKeyCtTupleIpv4]
|
|
1555
|
-
# @see CtOrigTupleIpv4
|
|
1556
|
-
def ct_orig_tuple_ipv4: () -> Structs::OvsKeyCtTupleIpv4
|
|
1557
|
-
|
|
1558
|
-
# struct ovs_key_ct_tuple_ipv6
|
|
1559
|
-
# @rbs return: ::String
|
|
1560
|
-
# @return [String]
|
|
1561
|
-
# @see CtOrigTupleIpv6
|
|
1562
|
-
def ct_orig_tuple_ipv6: () -> ::String
|
|
1563
|
-
|
|
1564
|
-
# @rbs return: AttributeSets::OvsNshKeyAttrs
|
|
1565
|
-
# @return [AttributeSets::OvsNshKeyAttrs]
|
|
1566
|
-
# @see Nsh
|
|
1567
|
-
def nsh: () -> AttributeSets::OvsNshKeyAttrs
|
|
1568
|
-
|
|
1569
|
-
# Should not be sent to the kernel
|
|
1570
|
-
# @rbs return: ::Integer
|
|
1571
|
-
# @return [Integer]
|
|
1572
|
-
# @see PacketType
|
|
1573
|
-
def packet_type: () -> ::Integer
|
|
1574
|
-
|
|
1575
|
-
# Should not be sent to the kernel
|
|
1576
|
-
# @rbs return: ::String
|
|
1577
|
-
# @return [String]
|
|
1578
|
-
# @see NdExtensions
|
|
1579
|
-
def nd_extensions: () -> ::String
|
|
1580
|
-
|
|
1581
|
-
# struct ip_tunnel_info
|
|
1582
|
-
# @rbs return: ::String
|
|
1583
|
-
# @return [String]
|
|
1584
|
-
# @see TunnelInfo
|
|
1585
|
-
def tunnel_info: () -> ::String
|
|
1586
|
-
|
|
1587
|
-
# struct ovs_key_ipv6_exthdr
|
|
1588
|
-
# @rbs return: Structs::OvsKeyIpv6Exthdrs
|
|
1589
|
-
# @return [Structs::OvsKeyIpv6Exthdrs]
|
|
1590
|
-
# @see Ipv6Exthdrs
|
|
1591
|
-
def ipv6_exthdrs: () -> Structs::OvsKeyIpv6Exthdrs
|
|
1592
|
-
|
|
1593
|
-
# Looks up Attribute class by name.
|
|
1594
|
-
# @rbs name: Symbol
|
|
1595
|
-
# @rbs return: Attribute
|
|
1596
|
-
# @param [Symbol] name
|
|
1597
|
-
# @return [Attribute]
|
|
1598
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1599
|
-
|
|
1600
|
-
# Looks up Attribute class by type value.
|
|
1601
|
-
# @rbs type: Integer
|
|
1602
|
-
# @rbs return: Attribute
|
|
1603
|
-
# @param [Integer] type
|
|
1604
|
-
# @return [Attribute]
|
|
1605
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1606
|
-
end
|
|
1607
|
-
|
|
1608
|
-
class ActionAttrs < ::Nl::AttributeSet
|
|
1609
|
-
# Abstract class
|
|
1610
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1611
|
-
end
|
|
1612
|
-
|
|
1613
|
-
# ovs port number in datapath
|
|
1614
|
-
class Output < Attribute
|
|
1615
|
-
TYPE: ::Integer
|
|
1616
|
-
|
|
1617
|
-
NAME: ::Symbol
|
|
1618
|
-
|
|
1619
|
-
# @private
|
|
1620
|
-
ORDER: ::Integer
|
|
1621
|
-
|
|
1622
|
-
# @private
|
|
1623
|
-
DATATYPE: untyped
|
|
1624
|
-
end
|
|
1625
|
-
|
|
1626
|
-
class Userspace < Attribute
|
|
1627
|
-
TYPE: ::Integer
|
|
1628
|
-
|
|
1629
|
-
NAME: ::Symbol
|
|
1630
|
-
|
|
1631
|
-
# @private
|
|
1632
|
-
ORDER: ::Integer
|
|
1633
|
-
end
|
|
1634
|
-
|
|
1635
|
-
# Replaces the contents of an existing header. The single nested
|
|
1636
|
-
# attribute specifies a header to modify and its value.
|
|
1637
|
-
class Set < Attribute
|
|
1638
|
-
TYPE: ::Integer
|
|
1639
|
-
|
|
1640
|
-
NAME: ::Symbol
|
|
1641
|
-
|
|
1642
|
-
# @private
|
|
1643
|
-
ORDER: ::Integer
|
|
1644
|
-
end
|
|
1645
|
-
|
|
1646
|
-
# Push a new outermost 802.1Q or 802.1ad header onto the packet.
|
|
1647
|
-
class PushVlan < Attribute
|
|
1648
|
-
TYPE: ::Integer
|
|
1649
|
-
|
|
1650
|
-
NAME: ::Symbol
|
|
1651
|
-
|
|
1652
|
-
# @private
|
|
1653
|
-
ORDER: ::Integer
|
|
1654
|
-
|
|
1655
|
-
# @private
|
|
1656
|
-
DATATYPE: untyped
|
|
1657
|
-
end
|
|
1658
|
-
|
|
1659
|
-
# Pop the outermost 802.1Q or 802.1ad header from the packet.
|
|
1660
|
-
class PopVlan < Attribute
|
|
1661
|
-
TYPE: ::Integer
|
|
1662
|
-
|
|
1663
|
-
NAME: ::Symbol
|
|
1664
|
-
|
|
1665
|
-
# @private
|
|
1666
|
-
ORDER: ::Integer
|
|
1667
|
-
|
|
1668
|
-
# @private
|
|
1669
|
-
DATATYPE: untyped
|
|
1670
|
-
end
|
|
1671
|
-
|
|
1672
|
-
# Probabilistically executes actions, as specified in the nested
|
|
1673
|
-
# attributes.
|
|
1674
|
-
class Sample < Attribute
|
|
1675
|
-
TYPE: ::Integer
|
|
1676
|
-
|
|
1677
|
-
NAME: ::Symbol
|
|
1678
|
-
|
|
1679
|
-
# @private
|
|
1680
|
-
ORDER: ::Integer
|
|
1681
|
-
end
|
|
1682
|
-
|
|
1683
|
-
# recirc id
|
|
1684
|
-
class Recirc < Attribute
|
|
1685
|
-
TYPE: ::Integer
|
|
1686
|
-
|
|
1687
|
-
NAME: ::Symbol
|
|
1688
|
-
|
|
1689
|
-
# @private
|
|
1690
|
-
ORDER: ::Integer
|
|
1691
|
-
|
|
1692
|
-
# @private
|
|
1693
|
-
DATATYPE: untyped
|
|
1694
|
-
end
|
|
1695
|
-
|
|
1696
|
-
class Hash < Attribute
|
|
1697
|
-
TYPE: ::Integer
|
|
1698
|
-
|
|
1699
|
-
NAME: ::Symbol
|
|
1700
|
-
|
|
1701
|
-
# @private
|
|
1702
|
-
ORDER: ::Integer
|
|
1703
|
-
|
|
1704
|
-
# @private
|
|
1705
|
-
DATATYPE: untyped
|
|
1706
|
-
end
|
|
1707
|
-
|
|
1708
|
-
# Push a new MPLS label stack entry onto the top of the packets MPLS
|
|
1709
|
-
# label stack. Set the ethertype of the encapsulating frame to either
|
|
1710
|
-
# ETH_P_MPLS_UC or ETH_P_MPLS_MC to indicate the new packet contents.
|
|
1711
|
-
class PushMpls < Attribute
|
|
1712
|
-
TYPE: ::Integer
|
|
1713
|
-
|
|
1714
|
-
NAME: ::Symbol
|
|
1715
|
-
|
|
1716
|
-
# @private
|
|
1717
|
-
ORDER: ::Integer
|
|
1718
|
-
|
|
1719
|
-
# @private
|
|
1720
|
-
DATATYPE: untyped
|
|
1721
|
-
end
|
|
1722
|
-
|
|
1723
|
-
# ethertype
|
|
1724
|
-
class PopMpls < Attribute
|
|
1725
|
-
TYPE: ::Integer
|
|
1726
|
-
|
|
1727
|
-
NAME: ::Symbol
|
|
1728
|
-
|
|
1729
|
-
# @private
|
|
1730
|
-
ORDER: ::Integer
|
|
1731
|
-
|
|
1732
|
-
# @private
|
|
1733
|
-
DATATYPE: untyped
|
|
1734
|
-
end
|
|
1735
|
-
|
|
1736
|
-
# Replaces the contents of an existing header. A nested attribute
|
|
1737
|
-
# specifies a header to modify, its value, and a mask. For every bit set
|
|
1738
|
-
# in the mask, the corresponding bit value is copied from the value to
|
|
1739
|
-
# the packet header field, rest of the bits are left unchanged. The
|
|
1740
|
-
# non-masked value bits must be passed in as zeroes. Masking is not
|
|
1741
|
-
# supported for the OVS_KEY_ATTR_TUNNEL attribute.
|
|
1742
|
-
class SetMasked < Attribute
|
|
1743
|
-
TYPE: ::Integer
|
|
1744
|
-
|
|
1745
|
-
NAME: ::Symbol
|
|
1746
|
-
|
|
1747
|
-
# @private
|
|
1748
|
-
ORDER: ::Integer
|
|
1749
|
-
end
|
|
1750
|
-
|
|
1751
|
-
# Track the connection. Populate the conntrack-related entries
|
|
1752
|
-
# in the flow key.
|
|
1753
|
-
class Ct < Attribute
|
|
1754
|
-
TYPE: ::Integer
|
|
1755
|
-
|
|
1756
|
-
NAME: ::Symbol
|
|
1757
|
-
|
|
1758
|
-
# @private
|
|
1759
|
-
ORDER: ::Integer
|
|
1760
|
-
end
|
|
1761
|
-
|
|
1762
|
-
# struct ovs_action_trunc is a u32 max length
|
|
1763
|
-
class Trunc < Attribute
|
|
1764
|
-
TYPE: ::Integer
|
|
1765
|
-
|
|
1766
|
-
NAME: ::Symbol
|
|
1767
|
-
|
|
1768
|
-
# @private
|
|
1769
|
-
ORDER: ::Integer
|
|
1770
|
-
|
|
1771
|
-
# @private
|
|
1772
|
-
DATATYPE: untyped
|
|
1773
|
-
end
|
|
1774
|
-
|
|
1775
|
-
# struct ovs_action_push_eth
|
|
1776
|
-
class PushEth < Attribute
|
|
1777
|
-
TYPE: ::Integer
|
|
1778
|
-
|
|
1779
|
-
NAME: ::Symbol
|
|
1780
|
-
|
|
1781
|
-
# @private
|
|
1782
|
-
ORDER: ::Integer
|
|
1783
|
-
|
|
1784
|
-
# @private
|
|
1785
|
-
DATATYPE: untyped
|
|
1786
|
-
end
|
|
1787
|
-
|
|
1788
|
-
class PopEth < Attribute
|
|
1789
|
-
TYPE: ::Integer
|
|
1790
|
-
|
|
1791
|
-
NAME: ::Symbol
|
|
1792
|
-
|
|
1793
|
-
# @private
|
|
1794
|
-
ORDER: ::Integer
|
|
1795
|
-
|
|
1796
|
-
# @private
|
|
1797
|
-
DATATYPE: untyped
|
|
1798
|
-
end
|
|
1799
|
-
|
|
1800
|
-
class CtClear < Attribute
|
|
1801
|
-
TYPE: ::Integer
|
|
1802
|
-
|
|
1803
|
-
NAME: ::Symbol
|
|
1804
|
-
|
|
1805
|
-
# @private
|
|
1806
|
-
ORDER: ::Integer
|
|
1807
|
-
|
|
1808
|
-
# @private
|
|
1809
|
-
DATATYPE: untyped
|
|
1810
|
-
end
|
|
1811
|
-
|
|
1812
|
-
# Push NSH header to the packet.
|
|
1813
|
-
class PushNsh < Attribute
|
|
1814
|
-
TYPE: ::Integer
|
|
1815
|
-
|
|
1816
|
-
NAME: ::Symbol
|
|
1817
|
-
|
|
1818
|
-
# @private
|
|
1819
|
-
ORDER: ::Integer
|
|
1820
|
-
end
|
|
1821
|
-
|
|
1822
|
-
# Pop the outermost NSH header off the packet.
|
|
1823
|
-
class PopNsh < Attribute
|
|
1824
|
-
TYPE: ::Integer
|
|
1825
|
-
|
|
1826
|
-
NAME: ::Symbol
|
|
1827
|
-
|
|
1828
|
-
# @private
|
|
1829
|
-
ORDER: ::Integer
|
|
1830
|
-
|
|
1831
|
-
# @private
|
|
1832
|
-
DATATYPE: untyped
|
|
1833
|
-
end
|
|
1834
|
-
|
|
1835
|
-
# Run packet through a meter, which may drop the packet, or modify the
|
|
1836
|
-
# packet (e.g., change the DSCP field)
|
|
1837
|
-
class Meter < Attribute
|
|
1838
|
-
TYPE: ::Integer
|
|
1839
|
-
|
|
1840
|
-
NAME: ::Symbol
|
|
1841
|
-
|
|
1842
|
-
# @private
|
|
1843
|
-
ORDER: ::Integer
|
|
1844
|
-
|
|
1845
|
-
# @private
|
|
1846
|
-
DATATYPE: untyped
|
|
1847
|
-
end
|
|
1848
|
-
|
|
1849
|
-
# Make a copy of the packet and execute a list of actions without
|
|
1850
|
-
# affecting the original packet and key.
|
|
1851
|
-
class Clone < Attribute
|
|
1852
|
-
TYPE: ::Integer
|
|
1853
|
-
|
|
1854
|
-
NAME: ::Symbol
|
|
1855
|
-
|
|
1856
|
-
# @private
|
|
1857
|
-
ORDER: ::Integer
|
|
1858
|
-
end
|
|
1859
|
-
|
|
1860
|
-
# Check the packet length and execute a set of actions if greater than
|
|
1861
|
-
# the specified packet length, else execute another set of actions.
|
|
1862
|
-
class CheckPktLen < Attribute
|
|
1863
|
-
TYPE: ::Integer
|
|
1864
|
-
|
|
1865
|
-
NAME: ::Symbol
|
|
1866
|
-
|
|
1867
|
-
# @private
|
|
1868
|
-
ORDER: ::Integer
|
|
1869
|
-
end
|
|
1870
|
-
|
|
1871
|
-
# Push a new MPLS label stack entry at the start of the packet or at the
|
|
1872
|
-
# start of the l3 header depending on the value of l3 tunnel flag in the
|
|
1873
|
-
# tun_flags field of this OVS_ACTION_ATTR_ADD_MPLS argument.
|
|
1874
|
-
class AddMpls < Attribute
|
|
1875
|
-
TYPE: ::Integer
|
|
1876
|
-
|
|
1877
|
-
NAME: ::Symbol
|
|
1878
|
-
|
|
1879
|
-
# @private
|
|
1880
|
-
ORDER: ::Integer
|
|
1881
|
-
|
|
1882
|
-
# @private
|
|
1883
|
-
DATATYPE: untyped
|
|
1884
|
-
end
|
|
1885
|
-
|
|
1886
|
-
class DecTtl < Attribute
|
|
1887
|
-
TYPE: ::Integer
|
|
1888
|
-
|
|
1889
|
-
NAME: ::Symbol
|
|
1890
|
-
|
|
1891
|
-
# @private
|
|
1892
|
-
ORDER: ::Integer
|
|
1893
|
-
end
|
|
1894
|
-
|
|
1895
|
-
# Sends a packet sample to psample for external observation.
|
|
1896
|
-
class Psample < Attribute
|
|
1897
|
-
TYPE: ::Integer
|
|
1898
|
-
|
|
1899
|
-
NAME: ::Symbol
|
|
1900
|
-
|
|
1901
|
-
# @private
|
|
1902
|
-
ORDER: ::Integer
|
|
1903
|
-
end
|
|
1904
|
-
|
|
1905
|
-
# @private
|
|
1906
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1907
|
-
|
|
1908
|
-
# @private
|
|
1909
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1910
|
-
|
|
1911
|
-
# ovs port number in datapath
|
|
1912
|
-
# @rbs return: ::Integer
|
|
1913
|
-
# @return [Integer]
|
|
1914
|
-
# @see Output
|
|
1915
|
-
def output: () -> ::Integer
|
|
1916
|
-
|
|
1917
|
-
# @rbs return: AttributeSets::UserspaceAttrs
|
|
1918
|
-
# @return [AttributeSets::UserspaceAttrs]
|
|
1919
|
-
# @see Userspace
|
|
1920
|
-
def userspace: () -> AttributeSets::UserspaceAttrs
|
|
1921
|
-
|
|
1922
|
-
# Replaces the contents of an existing header. The single nested
|
|
1923
|
-
# attribute specifies a header to modify and its value.
|
|
1924
|
-
# @rbs return: AttributeSets::KeyAttrs
|
|
1925
|
-
# @return [AttributeSets::KeyAttrs]
|
|
1926
|
-
# @see Set
|
|
1927
|
-
def set: () -> AttributeSets::KeyAttrs
|
|
1928
|
-
|
|
1929
|
-
# Push a new outermost 802.1Q or 802.1ad header onto the packet.
|
|
1930
|
-
# @rbs return: Structs::OvsActionPushVlan
|
|
1931
|
-
# @return [Structs::OvsActionPushVlan]
|
|
1932
|
-
# @see PushVlan
|
|
1933
|
-
def push_vlan: () -> Structs::OvsActionPushVlan
|
|
1934
|
-
|
|
1935
|
-
# Pop the outermost 802.1Q or 802.1ad header from the packet.
|
|
1936
|
-
# @rbs return: ::Integer
|
|
1937
|
-
# @return [Integer]
|
|
1938
|
-
# @see PopVlan
|
|
1939
|
-
def pop_vlan: () -> ::Integer
|
|
1940
|
-
|
|
1941
|
-
# Probabilistically executes actions, as specified in the nested
|
|
1942
|
-
# attributes.
|
|
1943
|
-
# @rbs return: AttributeSets::SampleAttrs
|
|
1944
|
-
# @return [AttributeSets::SampleAttrs]
|
|
1945
|
-
# @see Sample
|
|
1946
|
-
def sample: () -> AttributeSets::SampleAttrs
|
|
1947
|
-
|
|
1948
|
-
# recirc id
|
|
1949
|
-
# @rbs return: ::Integer
|
|
1950
|
-
# @return [Integer]
|
|
1951
|
-
# @see Recirc
|
|
1952
|
-
def recirc: () -> ::Integer
|
|
1953
|
-
|
|
1954
|
-
# @rbs return: Structs::OvsActionHash
|
|
1955
|
-
# @return [Structs::OvsActionHash]
|
|
1956
|
-
# @see Hash
|
|
1957
|
-
def hash: () -> Structs::OvsActionHash
|
|
1958
|
-
|
|
1959
|
-
# Push a new MPLS label stack entry onto the top of the packets MPLS
|
|
1960
|
-
# label stack. Set the ethertype of the encapsulating frame to either
|
|
1961
|
-
# ETH_P_MPLS_UC or ETH_P_MPLS_MC to indicate the new packet contents.
|
|
1962
|
-
# @rbs return: Structs::OvsActionPushMpls
|
|
1963
|
-
# @return [Structs::OvsActionPushMpls]
|
|
1964
|
-
# @see PushMpls
|
|
1965
|
-
def push_mpls: () -> Structs::OvsActionPushMpls
|
|
1966
|
-
|
|
1967
|
-
# ethertype
|
|
1968
|
-
# @rbs return: ::Integer
|
|
1969
|
-
# @return [Integer]
|
|
1970
|
-
# @see PopMpls
|
|
1971
|
-
def pop_mpls: () -> ::Integer
|
|
1972
|
-
|
|
1973
|
-
# Replaces the contents of an existing header. A nested attribute
|
|
1974
|
-
# specifies a header to modify, its value, and a mask. For every bit set
|
|
1975
|
-
# in the mask, the corresponding bit value is copied from the value to
|
|
1976
|
-
# the packet header field, rest of the bits are left unchanged. The
|
|
1977
|
-
# non-masked value bits must be passed in as zeroes. Masking is not
|
|
1978
|
-
# supported for the OVS_KEY_ATTR_TUNNEL attribute.
|
|
1979
|
-
# @rbs return: AttributeSets::KeyAttrs
|
|
1980
|
-
# @return [AttributeSets::KeyAttrs]
|
|
1981
|
-
# @see SetMasked
|
|
1982
|
-
def set_masked: () -> AttributeSets::KeyAttrs
|
|
1983
|
-
|
|
1984
|
-
# Track the connection. Populate the conntrack-related entries
|
|
1985
|
-
# in the flow key.
|
|
1986
|
-
# @rbs return: AttributeSets::CtAttrs
|
|
1987
|
-
# @return [AttributeSets::CtAttrs]
|
|
1988
|
-
# @see Ct
|
|
1989
|
-
def ct: () -> AttributeSets::CtAttrs
|
|
1990
|
-
|
|
1991
|
-
# struct ovs_action_trunc is a u32 max length
|
|
1992
|
-
# @rbs return: ::Integer
|
|
1993
|
-
# @return [Integer]
|
|
1994
|
-
# @see Trunc
|
|
1995
|
-
def trunc: () -> ::Integer
|
|
1996
|
-
|
|
1997
|
-
# struct ovs_action_push_eth
|
|
1998
|
-
# @rbs return: ::String
|
|
1999
|
-
# @return [String]
|
|
2000
|
-
# @see PushEth
|
|
2001
|
-
def push_eth: () -> ::String
|
|
2002
|
-
|
|
2003
|
-
# @rbs return: ::Integer
|
|
2004
|
-
# @return [Integer]
|
|
2005
|
-
# @see PopEth
|
|
2006
|
-
def pop_eth: () -> ::Integer
|
|
2007
|
-
|
|
2008
|
-
# @rbs return: ::Integer
|
|
2009
|
-
# @return [Integer]
|
|
2010
|
-
# @see CtClear
|
|
2011
|
-
def ct_clear: () -> ::Integer
|
|
2012
|
-
|
|
2013
|
-
# Push NSH header to the packet.
|
|
2014
|
-
# @rbs return: AttributeSets::OvsNshKeyAttrs
|
|
2015
|
-
# @return [AttributeSets::OvsNshKeyAttrs]
|
|
2016
|
-
# @see PushNsh
|
|
2017
|
-
def push_nsh: () -> AttributeSets::OvsNshKeyAttrs
|
|
2018
|
-
|
|
2019
|
-
# Pop the outermost NSH header off the packet.
|
|
2020
|
-
# @rbs return: ::Integer
|
|
2021
|
-
# @return [Integer]
|
|
2022
|
-
# @see PopNsh
|
|
2023
|
-
def pop_nsh: () -> ::Integer
|
|
2024
|
-
|
|
2025
|
-
# Run packet through a meter, which may drop the packet, or modify the
|
|
2026
|
-
# packet (e.g., change the DSCP field)
|
|
2027
|
-
# @rbs return: ::Integer
|
|
2028
|
-
# @return [Integer]
|
|
2029
|
-
# @see Meter
|
|
2030
|
-
def meter: () -> ::Integer
|
|
2031
|
-
|
|
2032
|
-
# Make a copy of the packet and execute a list of actions without
|
|
2033
|
-
# affecting the original packet and key.
|
|
2034
|
-
# @rbs return: AttributeSets::ActionAttrs
|
|
2035
|
-
# @return [AttributeSets::ActionAttrs]
|
|
2036
|
-
# @see Clone
|
|
2037
|
-
def clone: () -> AttributeSets::ActionAttrs
|
|
2038
|
-
|
|
2039
|
-
# Check the packet length and execute a set of actions if greater than
|
|
2040
|
-
# the specified packet length, else execute another set of actions.
|
|
2041
|
-
# @rbs return: AttributeSets::CheckPktLenAttrs
|
|
2042
|
-
# @return [AttributeSets::CheckPktLenAttrs]
|
|
2043
|
-
# @see CheckPktLen
|
|
2044
|
-
def check_pkt_len: () -> AttributeSets::CheckPktLenAttrs
|
|
2045
|
-
|
|
2046
|
-
# Push a new MPLS label stack entry at the start of the packet or at the
|
|
2047
|
-
# start of the l3 header depending on the value of l3 tunnel flag in the
|
|
2048
|
-
# tun_flags field of this OVS_ACTION_ATTR_ADD_MPLS argument.
|
|
2049
|
-
# @rbs return: Structs::OvsActionAddMpls
|
|
2050
|
-
# @return [Structs::OvsActionAddMpls]
|
|
2051
|
-
# @see AddMpls
|
|
2052
|
-
def add_mpls: () -> Structs::OvsActionAddMpls
|
|
2053
|
-
|
|
2054
|
-
# @rbs return: AttributeSets::DecTtlAttrs
|
|
2055
|
-
# @return [AttributeSets::DecTtlAttrs]
|
|
2056
|
-
# @see DecTtl
|
|
2057
|
-
def dec_ttl: () -> AttributeSets::DecTtlAttrs
|
|
2058
|
-
|
|
2059
|
-
# Sends a packet sample to psample for external observation.
|
|
2060
|
-
# @rbs return: AttributeSets::PsampleAttrs
|
|
2061
|
-
# @return [AttributeSets::PsampleAttrs]
|
|
2062
|
-
# @see Psample
|
|
2063
|
-
def psample: () -> AttributeSets::PsampleAttrs
|
|
2064
|
-
|
|
2065
|
-
# Looks up Attribute class by name.
|
|
2066
|
-
# @rbs name: Symbol
|
|
2067
|
-
# @rbs return: Attribute
|
|
2068
|
-
# @param [Symbol] name
|
|
2069
|
-
# @return [Attribute]
|
|
2070
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2071
|
-
|
|
2072
|
-
# Looks up Attribute class by type value.
|
|
2073
|
-
# @rbs type: Integer
|
|
2074
|
-
# @rbs return: Attribute
|
|
2075
|
-
# @param [Integer] type
|
|
2076
|
-
# @return [Attribute]
|
|
2077
|
-
def self.by_type: (Integer type) -> Attribute
|
|
2078
|
-
end
|
|
2079
|
-
|
|
2080
|
-
class TunnelKeyAttrs < ::Nl::AttributeSet
|
|
2081
|
-
# Abstract class
|
|
2082
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
2083
|
-
end
|
|
2084
|
-
|
|
2085
|
-
class Id < Attribute
|
|
2086
|
-
TYPE: ::Integer
|
|
2087
|
-
|
|
2088
|
-
NAME: ::Symbol
|
|
2089
|
-
|
|
2090
|
-
# @private
|
|
2091
|
-
ORDER: ::Integer
|
|
2092
|
-
|
|
2093
|
-
# @private
|
|
2094
|
-
DATATYPE: untyped
|
|
2095
|
-
end
|
|
2096
|
-
|
|
2097
|
-
class Ipv4Src < Attribute
|
|
2098
|
-
TYPE: ::Integer
|
|
2099
|
-
|
|
2100
|
-
NAME: ::Symbol
|
|
2101
|
-
|
|
2102
|
-
# @private
|
|
2103
|
-
ORDER: ::Integer
|
|
2104
|
-
|
|
2105
|
-
# @private
|
|
2106
|
-
DATATYPE: untyped
|
|
2107
|
-
end
|
|
2108
|
-
|
|
2109
|
-
class Ipv4Dst < Attribute
|
|
2110
|
-
TYPE: ::Integer
|
|
2111
|
-
|
|
2112
|
-
NAME: ::Symbol
|
|
2113
|
-
|
|
2114
|
-
# @private
|
|
2115
|
-
ORDER: ::Integer
|
|
2116
|
-
|
|
2117
|
-
# @private
|
|
2118
|
-
DATATYPE: untyped
|
|
2119
|
-
end
|
|
2120
|
-
|
|
2121
|
-
class Tos < Attribute
|
|
2122
|
-
TYPE: ::Integer
|
|
2123
|
-
|
|
2124
|
-
NAME: ::Symbol
|
|
2125
|
-
|
|
2126
|
-
# @private
|
|
2127
|
-
ORDER: ::Integer
|
|
2128
|
-
|
|
2129
|
-
# @private
|
|
2130
|
-
DATATYPE: untyped
|
|
2131
|
-
end
|
|
2132
|
-
|
|
2133
|
-
class Ttl < Attribute
|
|
2134
|
-
TYPE: ::Integer
|
|
2135
|
-
|
|
2136
|
-
NAME: ::Symbol
|
|
2137
|
-
|
|
2138
|
-
# @private
|
|
2139
|
-
ORDER: ::Integer
|
|
2140
|
-
|
|
2141
|
-
# @private
|
|
2142
|
-
DATATYPE: untyped
|
|
2143
|
-
end
|
|
2144
|
-
|
|
2145
|
-
class DontFragment < Attribute
|
|
2146
|
-
TYPE: ::Integer
|
|
2147
|
-
|
|
2148
|
-
NAME: ::Symbol
|
|
2149
|
-
|
|
2150
|
-
# @private
|
|
2151
|
-
ORDER: ::Integer
|
|
2152
|
-
|
|
2153
|
-
# @private
|
|
2154
|
-
DATATYPE: untyped
|
|
2155
|
-
end
|
|
2156
|
-
|
|
2157
|
-
class Csum < Attribute
|
|
2158
|
-
TYPE: ::Integer
|
|
2159
|
-
|
|
2160
|
-
NAME: ::Symbol
|
|
2161
|
-
|
|
2162
|
-
# @private
|
|
2163
|
-
ORDER: ::Integer
|
|
2164
|
-
|
|
2165
|
-
# @private
|
|
2166
|
-
DATATYPE: untyped
|
|
2167
|
-
end
|
|
2168
|
-
|
|
2169
|
-
class Oam < Attribute
|
|
2170
|
-
TYPE: ::Integer
|
|
2171
|
-
|
|
2172
|
-
NAME: ::Symbol
|
|
2173
|
-
|
|
2174
|
-
# @private
|
|
2175
|
-
ORDER: ::Integer
|
|
2176
|
-
|
|
2177
|
-
# @private
|
|
2178
|
-
DATATYPE: untyped
|
|
2179
|
-
end
|
|
2180
|
-
|
|
2181
|
-
class GeneveOpts < Attribute
|
|
2182
|
-
TYPE: ::Integer
|
|
2183
|
-
|
|
2184
|
-
NAME: ::Symbol
|
|
2185
|
-
|
|
2186
|
-
# @private
|
|
2187
|
-
ORDER: ::Integer
|
|
2188
|
-
|
|
2189
|
-
# @private
|
|
2190
|
-
DATATYPE: untyped
|
|
2191
|
-
end
|
|
2192
|
-
|
|
2193
|
-
class TpSrc < Attribute
|
|
2194
|
-
TYPE: ::Integer
|
|
2195
|
-
|
|
2196
|
-
NAME: ::Symbol
|
|
2197
|
-
|
|
2198
|
-
# @private
|
|
2199
|
-
ORDER: ::Integer
|
|
2200
|
-
|
|
2201
|
-
# @private
|
|
2202
|
-
DATATYPE: untyped
|
|
2203
|
-
end
|
|
2204
|
-
|
|
2205
|
-
class TpDst < Attribute
|
|
2206
|
-
TYPE: ::Integer
|
|
2207
|
-
|
|
2208
|
-
NAME: ::Symbol
|
|
2209
|
-
|
|
2210
|
-
# @private
|
|
2211
|
-
ORDER: ::Integer
|
|
2212
|
-
|
|
2213
|
-
# @private
|
|
2214
|
-
DATATYPE: untyped
|
|
2215
|
-
end
|
|
2216
|
-
|
|
2217
|
-
class VxlanOpts < Attribute
|
|
2218
|
-
TYPE: ::Integer
|
|
2219
|
-
|
|
2220
|
-
NAME: ::Symbol
|
|
2221
|
-
|
|
2222
|
-
# @private
|
|
2223
|
-
ORDER: ::Integer
|
|
2224
|
-
end
|
|
2225
|
-
|
|
2226
|
-
# struct in6_addr source IPv6 address
|
|
2227
|
-
class Ipv6Src < Attribute
|
|
2228
|
-
TYPE: ::Integer
|
|
2229
|
-
|
|
2230
|
-
NAME: ::Symbol
|
|
2231
|
-
|
|
2232
|
-
# @private
|
|
2233
|
-
ORDER: ::Integer
|
|
2234
|
-
|
|
2235
|
-
# @private
|
|
2236
|
-
DATATYPE: untyped
|
|
2237
|
-
end
|
|
2238
|
-
|
|
2239
|
-
# struct in6_addr destination IPv6 address
|
|
2240
|
-
class Ipv6Dst < Attribute
|
|
2241
|
-
TYPE: ::Integer
|
|
2242
|
-
|
|
2243
|
-
NAME: ::Symbol
|
|
2244
|
-
|
|
2245
|
-
# @private
|
|
2246
|
-
ORDER: ::Integer
|
|
2247
|
-
|
|
2248
|
-
# @private
|
|
2249
|
-
DATATYPE: untyped
|
|
2250
|
-
end
|
|
2251
|
-
|
|
2252
|
-
class Pad < Attribute
|
|
2253
|
-
TYPE: ::Integer
|
|
2254
|
-
|
|
2255
|
-
NAME: ::Symbol
|
|
2256
|
-
|
|
2257
|
-
# @private
|
|
2258
|
-
ORDER: ::Integer
|
|
2259
|
-
|
|
2260
|
-
# @private
|
|
2261
|
-
DATATYPE: untyped
|
|
2262
|
-
end
|
|
2263
|
-
|
|
2264
|
-
# struct erspan_metadata
|
|
2265
|
-
class ErspanOpts < Attribute
|
|
2266
|
-
TYPE: ::Integer
|
|
2267
|
-
|
|
2268
|
-
NAME: ::Symbol
|
|
2269
|
-
|
|
2270
|
-
# @private
|
|
2271
|
-
ORDER: ::Integer
|
|
2272
|
-
|
|
2273
|
-
# @private
|
|
2274
|
-
DATATYPE: untyped
|
|
2275
|
-
end
|
|
2276
|
-
|
|
2277
|
-
class Ipv4InfoBridge < Attribute
|
|
2278
|
-
TYPE: ::Integer
|
|
2279
|
-
|
|
2280
|
-
NAME: ::Symbol
|
|
2281
|
-
|
|
2282
|
-
# @private
|
|
2283
|
-
ORDER: ::Integer
|
|
2284
|
-
|
|
2285
|
-
# @private
|
|
2286
|
-
DATATYPE: untyped
|
|
2287
|
-
end
|
|
2288
|
-
|
|
2289
|
-
# @private
|
|
2290
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
2291
|
-
|
|
2292
|
-
# @private
|
|
2293
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
2294
|
-
|
|
2295
|
-
# @rbs return: ::Integer
|
|
2296
|
-
# @return [Integer]
|
|
2297
|
-
# @see Id
|
|
2298
|
-
def id: () -> ::Integer
|
|
2299
|
-
|
|
2300
|
-
# @rbs return: ::Integer
|
|
2301
|
-
# @return [Integer]
|
|
2302
|
-
# @see Ipv4Src
|
|
2303
|
-
def ipv4_src: () -> ::Integer
|
|
2304
|
-
|
|
2305
|
-
# @rbs return: ::Integer
|
|
2306
|
-
# @return [Integer]
|
|
2307
|
-
# @see Ipv4Dst
|
|
2308
|
-
def ipv4_dst: () -> ::Integer
|
|
2309
|
-
|
|
2310
|
-
# @rbs return: ::Integer
|
|
2311
|
-
# @return [Integer]
|
|
2312
|
-
# @see Tos
|
|
2313
|
-
def tos: () -> ::Integer
|
|
2314
|
-
|
|
2315
|
-
# @rbs return: ::Integer
|
|
2316
|
-
# @return [Integer]
|
|
2317
|
-
# @see Ttl
|
|
2318
|
-
def ttl: () -> ::Integer
|
|
2319
|
-
|
|
2320
|
-
# @rbs return: ::Integer
|
|
2321
|
-
# @return [Integer]
|
|
2322
|
-
# @see DontFragment
|
|
2323
|
-
def dont_fragment: () -> ::Integer
|
|
2324
|
-
|
|
2325
|
-
# @rbs return: ::Integer
|
|
2326
|
-
# @return [Integer]
|
|
2327
|
-
# @see Csum
|
|
2328
|
-
def csum: () -> ::Integer
|
|
2329
|
-
|
|
2330
|
-
# @rbs return: ::Integer
|
|
2331
|
-
# @return [Integer]
|
|
2332
|
-
# @see Oam
|
|
2333
|
-
def oam: () -> ::Integer
|
|
2334
|
-
|
|
2335
|
-
# @rbs return: ::Array[::Integer]
|
|
2336
|
-
# @return [Array<Integer>]
|
|
2337
|
-
# @see GeneveOpts
|
|
2338
|
-
def geneve_opts: () -> ::Array[::Integer]
|
|
2339
|
-
|
|
2340
|
-
# @rbs return: ::Integer
|
|
2341
|
-
# @return [Integer]
|
|
2342
|
-
# @see TpSrc
|
|
2343
|
-
def tp_src: () -> ::Integer
|
|
2344
|
-
|
|
2345
|
-
# @rbs return: ::Integer
|
|
2346
|
-
# @return [Integer]
|
|
2347
|
-
# @see TpDst
|
|
2348
|
-
def tp_dst: () -> ::Integer
|
|
2349
|
-
|
|
2350
|
-
# @rbs return: AttributeSets::VxlanExtAttrs
|
|
2351
|
-
# @return [AttributeSets::VxlanExtAttrs]
|
|
2352
|
-
# @see VxlanOpts
|
|
2353
|
-
def vxlan_opts: () -> AttributeSets::VxlanExtAttrs
|
|
2354
|
-
|
|
2355
|
-
# struct in6_addr source IPv6 address
|
|
2356
|
-
# @rbs return: ::String
|
|
2357
|
-
# @return [String]
|
|
2358
|
-
# @see Ipv6Src
|
|
2359
|
-
def ipv6_src: () -> ::String
|
|
2360
|
-
|
|
2361
|
-
# struct in6_addr destination IPv6 address
|
|
2362
|
-
# @rbs return: ::String
|
|
2363
|
-
# @return [String]
|
|
2364
|
-
# @see Ipv6Dst
|
|
2365
|
-
def ipv6_dst: () -> ::String
|
|
2366
|
-
|
|
2367
|
-
# @rbs return: ::String
|
|
2368
|
-
# @return [String]
|
|
2369
|
-
# @see Pad
|
|
2370
|
-
def pad: () -> ::String
|
|
2371
|
-
|
|
2372
|
-
# struct erspan_metadata
|
|
2373
|
-
# @rbs return: ::String
|
|
2374
|
-
# @return [String]
|
|
2375
|
-
# @see ErspanOpts
|
|
2376
|
-
def erspan_opts: () -> ::String
|
|
2377
|
-
|
|
2378
|
-
# @rbs return: ::Integer
|
|
2379
|
-
# @return [Integer]
|
|
2380
|
-
# @see Ipv4InfoBridge
|
|
2381
|
-
def ipv4_info_bridge: () -> ::Integer
|
|
2382
|
-
|
|
2383
|
-
# Looks up Attribute class by name.
|
|
2384
|
-
# @rbs name: Symbol
|
|
2385
|
-
# @rbs return: Attribute
|
|
2386
|
-
# @param [Symbol] name
|
|
2387
|
-
# @return [Attribute]
|
|
2388
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2389
|
-
|
|
2390
|
-
# Looks up Attribute class by type value.
|
|
2391
|
-
# @rbs type: Integer
|
|
2392
|
-
# @rbs return: Attribute
|
|
2393
|
-
# @param [Integer] type
|
|
2394
|
-
# @return [Attribute]
|
|
2395
|
-
def self.by_type: (Integer type) -> Attribute
|
|
2396
|
-
end
|
|
2397
|
-
|
|
2398
|
-
class CheckPktLenAttrs < ::Nl::AttributeSet
|
|
2399
|
-
# Abstract class
|
|
2400
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
2401
|
-
end
|
|
2402
|
-
|
|
2403
|
-
class PktLen < Attribute
|
|
2404
|
-
TYPE: ::Integer
|
|
2405
|
-
|
|
2406
|
-
NAME: ::Symbol
|
|
2407
|
-
|
|
2408
|
-
# @private
|
|
2409
|
-
ORDER: ::Integer
|
|
2410
|
-
|
|
2411
|
-
# @private
|
|
2412
|
-
DATATYPE: untyped
|
|
2413
|
-
end
|
|
2414
|
-
|
|
2415
|
-
class ActionsIfGreater < Attribute
|
|
2416
|
-
TYPE: ::Integer
|
|
2417
|
-
|
|
2418
|
-
NAME: ::Symbol
|
|
2419
|
-
|
|
2420
|
-
# @private
|
|
2421
|
-
ORDER: ::Integer
|
|
2422
|
-
end
|
|
2423
|
-
|
|
2424
|
-
class ActionsIfLessEqual < Attribute
|
|
2425
|
-
TYPE: ::Integer
|
|
2426
|
-
|
|
2427
|
-
NAME: ::Symbol
|
|
2428
|
-
|
|
2429
|
-
# @private
|
|
2430
|
-
ORDER: ::Integer
|
|
2431
|
-
end
|
|
2432
|
-
|
|
2433
|
-
# @private
|
|
2434
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
2435
|
-
|
|
2436
|
-
# @private
|
|
2437
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
2438
|
-
|
|
2439
|
-
# @rbs return: ::Integer
|
|
2440
|
-
# @return [Integer]
|
|
2441
|
-
# @see PktLen
|
|
2442
|
-
def pkt_len: () -> ::Integer
|
|
2443
|
-
|
|
2444
|
-
# @rbs return: AttributeSets::ActionAttrs
|
|
2445
|
-
# @return [AttributeSets::ActionAttrs]
|
|
2446
|
-
# @see ActionsIfGreater
|
|
2447
|
-
def actions_if_greater: () -> AttributeSets::ActionAttrs
|
|
2448
|
-
|
|
2449
|
-
# @rbs return: AttributeSets::ActionAttrs
|
|
2450
|
-
# @return [AttributeSets::ActionAttrs]
|
|
2451
|
-
# @see ActionsIfLessEqual
|
|
2452
|
-
def actions_if_less_equal: () -> AttributeSets::ActionAttrs
|
|
2453
|
-
|
|
2454
|
-
# Looks up Attribute class by name.
|
|
2455
|
-
# @rbs name: Symbol
|
|
2456
|
-
# @rbs return: Attribute
|
|
2457
|
-
# @param [Symbol] name
|
|
2458
|
-
# @return [Attribute]
|
|
2459
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2460
|
-
|
|
2461
|
-
# Looks up Attribute class by type value.
|
|
2462
|
-
# @rbs type: Integer
|
|
2463
|
-
# @rbs return: Attribute
|
|
2464
|
-
# @param [Integer] type
|
|
2465
|
-
# @return [Attribute]
|
|
2466
|
-
def self.by_type: (Integer type) -> Attribute
|
|
2467
|
-
end
|
|
2468
|
-
|
|
2469
|
-
class SampleAttrs < ::Nl::AttributeSet
|
|
2470
|
-
# Abstract class
|
|
2471
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
2472
|
-
end
|
|
2473
|
-
|
|
2474
|
-
class Probability < Attribute
|
|
2475
|
-
TYPE: ::Integer
|
|
2476
|
-
|
|
2477
|
-
NAME: ::Symbol
|
|
2478
|
-
|
|
2479
|
-
# @private
|
|
2480
|
-
ORDER: ::Integer
|
|
2481
|
-
|
|
2482
|
-
# @private
|
|
2483
|
-
DATATYPE: untyped
|
|
2484
|
-
end
|
|
2485
|
-
|
|
2486
|
-
class Actions < Attribute
|
|
2487
|
-
TYPE: ::Integer
|
|
2488
|
-
|
|
2489
|
-
NAME: ::Symbol
|
|
2490
|
-
|
|
2491
|
-
# @private
|
|
2492
|
-
ORDER: ::Integer
|
|
2493
|
-
end
|
|
2494
|
-
|
|
2495
|
-
# @private
|
|
2496
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
2497
|
-
|
|
2498
|
-
# @private
|
|
2499
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
2500
|
-
|
|
2501
|
-
# @rbs return: ::Integer
|
|
2502
|
-
# @return [Integer]
|
|
2503
|
-
# @see Probability
|
|
2504
|
-
def probability: () -> ::Integer
|
|
2505
|
-
|
|
2506
|
-
# @rbs return: AttributeSets::ActionAttrs
|
|
2507
|
-
# @return [AttributeSets::ActionAttrs]
|
|
2508
|
-
# @see Actions
|
|
2509
|
-
def actions: () -> AttributeSets::ActionAttrs
|
|
2510
|
-
|
|
2511
|
-
# Looks up Attribute class by name.
|
|
2512
|
-
# @rbs name: Symbol
|
|
2513
|
-
# @rbs return: Attribute
|
|
2514
|
-
# @param [Symbol] name
|
|
2515
|
-
# @return [Attribute]
|
|
2516
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2517
|
-
|
|
2518
|
-
# Looks up Attribute class by type value.
|
|
2519
|
-
# @rbs type: Integer
|
|
2520
|
-
# @rbs return: Attribute
|
|
2521
|
-
# @param [Integer] type
|
|
2522
|
-
# @return [Attribute]
|
|
2523
|
-
def self.by_type: (Integer type) -> Attribute
|
|
2524
|
-
end
|
|
2525
|
-
|
|
2526
|
-
class UserspaceAttrs < ::Nl::AttributeSet
|
|
2527
|
-
# Abstract class
|
|
2528
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
2529
|
-
end
|
|
2530
|
-
|
|
2531
|
-
class Pid < Attribute
|
|
2532
|
-
TYPE: ::Integer
|
|
2533
|
-
|
|
2534
|
-
NAME: ::Symbol
|
|
2535
|
-
|
|
2536
|
-
# @private
|
|
2537
|
-
ORDER: ::Integer
|
|
2538
|
-
|
|
2539
|
-
# @private
|
|
2540
|
-
DATATYPE: untyped
|
|
2541
|
-
end
|
|
2542
|
-
|
|
2543
|
-
class Userdata < Attribute
|
|
2544
|
-
TYPE: ::Integer
|
|
2545
|
-
|
|
2546
|
-
NAME: ::Symbol
|
|
2547
|
-
|
|
2548
|
-
# @private
|
|
2549
|
-
ORDER: ::Integer
|
|
2550
|
-
|
|
2551
|
-
# @private
|
|
2552
|
-
DATATYPE: untyped
|
|
2553
|
-
end
|
|
2554
|
-
|
|
2555
|
-
class EgressTunPort < Attribute
|
|
2556
|
-
TYPE: ::Integer
|
|
2557
|
-
|
|
2558
|
-
NAME: ::Symbol
|
|
2559
|
-
|
|
2560
|
-
# @private
|
|
2561
|
-
ORDER: ::Integer
|
|
2562
|
-
|
|
2563
|
-
# @private
|
|
2564
|
-
DATATYPE: untyped
|
|
2565
|
-
end
|
|
2566
|
-
|
|
2567
|
-
class Actions < Attribute
|
|
2568
|
-
TYPE: ::Integer
|
|
2569
|
-
|
|
2570
|
-
NAME: ::Symbol
|
|
2571
|
-
|
|
2572
|
-
# @private
|
|
2573
|
-
ORDER: ::Integer
|
|
2574
|
-
|
|
2575
|
-
# @private
|
|
2576
|
-
DATATYPE: untyped
|
|
2577
|
-
end
|
|
2578
|
-
|
|
2579
|
-
# @private
|
|
2580
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
2581
|
-
|
|
2582
|
-
# @private
|
|
2583
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
2584
|
-
|
|
2585
|
-
# @rbs return: ::Integer
|
|
2586
|
-
# @return [Integer]
|
|
2587
|
-
# @see Pid
|
|
2588
|
-
def pid: () -> ::Integer
|
|
2589
|
-
|
|
2590
|
-
# @rbs return: ::String
|
|
2591
|
-
# @return [String]
|
|
2592
|
-
# @see Userdata
|
|
2593
|
-
def userdata: () -> ::String
|
|
2594
|
-
|
|
2595
|
-
# @rbs return: ::Integer
|
|
2596
|
-
# @return [Integer]
|
|
2597
|
-
# @see EgressTunPort
|
|
2598
|
-
def egress_tun_port: () -> ::Integer
|
|
2599
|
-
|
|
2600
|
-
# @rbs return: ::Integer
|
|
2601
|
-
# @return [Integer]
|
|
2602
|
-
# @see Actions
|
|
2603
|
-
def actions: () -> ::Integer
|
|
2604
|
-
|
|
2605
|
-
# Looks up Attribute class by name.
|
|
2606
|
-
# @rbs name: Symbol
|
|
2607
|
-
# @rbs return: Attribute
|
|
2608
|
-
# @param [Symbol] name
|
|
2609
|
-
# @return [Attribute]
|
|
2610
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2611
|
-
|
|
2612
|
-
# Looks up Attribute class by type value.
|
|
2613
|
-
# @rbs type: Integer
|
|
2614
|
-
# @rbs return: Attribute
|
|
2615
|
-
# @param [Integer] type
|
|
2616
|
-
# @return [Attribute]
|
|
2617
|
-
def self.by_type: (Integer type) -> Attribute
|
|
2618
|
-
end
|
|
2619
|
-
|
|
2620
|
-
class OvsNshKeyAttrs < ::Nl::AttributeSet
|
|
2621
|
-
# Abstract class
|
|
2622
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
2623
|
-
end
|
|
2624
|
-
|
|
2625
|
-
class Base < Attribute
|
|
2626
|
-
TYPE: ::Integer
|
|
2627
|
-
|
|
2628
|
-
NAME: ::Symbol
|
|
2629
|
-
|
|
2630
|
-
# @private
|
|
2631
|
-
ORDER: ::Integer
|
|
2632
|
-
|
|
2633
|
-
# @private
|
|
2634
|
-
DATATYPE: untyped
|
|
2635
|
-
end
|
|
2636
|
-
|
|
2637
|
-
class Md1 < Attribute
|
|
2638
|
-
TYPE: ::Integer
|
|
2639
|
-
|
|
2640
|
-
NAME: ::Symbol
|
|
2641
|
-
|
|
2642
|
-
# @private
|
|
2643
|
-
ORDER: ::Integer
|
|
2644
|
-
|
|
2645
|
-
# @private
|
|
2646
|
-
DATATYPE: untyped
|
|
2647
|
-
end
|
|
2648
|
-
|
|
2649
|
-
class Md2 < Attribute
|
|
2650
|
-
TYPE: ::Integer
|
|
2651
|
-
|
|
2652
|
-
NAME: ::Symbol
|
|
2653
|
-
|
|
2654
|
-
# @private
|
|
2655
|
-
ORDER: ::Integer
|
|
2656
|
-
|
|
2657
|
-
# @private
|
|
2658
|
-
DATATYPE: untyped
|
|
2659
|
-
end
|
|
2660
|
-
|
|
2661
|
-
# @private
|
|
2662
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
2663
|
-
|
|
2664
|
-
# @private
|
|
2665
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
2666
|
-
|
|
2667
|
-
# @rbs return: ::String
|
|
2668
|
-
# @return [String]
|
|
2669
|
-
# @see Base
|
|
2670
|
-
def base: () -> ::String
|
|
2671
|
-
|
|
2672
|
-
# @rbs return: ::String
|
|
2673
|
-
# @return [String]
|
|
2674
|
-
# @see Md1
|
|
2675
|
-
def md1: () -> ::String
|
|
2676
|
-
|
|
2677
|
-
# @rbs return: ::String
|
|
2678
|
-
# @return [String]
|
|
2679
|
-
# @see Md2
|
|
2680
|
-
def md2: () -> ::String
|
|
2681
|
-
|
|
2682
|
-
# Looks up Attribute class by name.
|
|
2683
|
-
# @rbs name: Symbol
|
|
2684
|
-
# @rbs return: Attribute
|
|
2685
|
-
# @param [Symbol] name
|
|
2686
|
-
# @return [Attribute]
|
|
2687
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2688
|
-
|
|
2689
|
-
# Looks up Attribute class by type value.
|
|
2690
|
-
# @rbs type: Integer
|
|
2691
|
-
# @rbs return: Attribute
|
|
2692
|
-
# @param [Integer] type
|
|
2693
|
-
# @return [Attribute]
|
|
2694
|
-
def self.by_type: (Integer type) -> Attribute
|
|
2695
|
-
end
|
|
2696
|
-
|
|
2697
|
-
class CtAttrs < ::Nl::AttributeSet
|
|
2698
|
-
# Abstract class
|
|
2699
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
2700
|
-
end
|
|
2701
|
-
|
|
2702
|
-
class Commit < Attribute
|
|
2703
|
-
TYPE: ::Integer
|
|
2704
|
-
|
|
2705
|
-
NAME: ::Symbol
|
|
2706
|
-
|
|
2707
|
-
# @private
|
|
2708
|
-
ORDER: ::Integer
|
|
2709
|
-
|
|
2710
|
-
# @private
|
|
2711
|
-
DATATYPE: untyped
|
|
2712
|
-
end
|
|
2713
|
-
|
|
2714
|
-
class Zone < Attribute
|
|
2715
|
-
TYPE: ::Integer
|
|
2716
|
-
|
|
2717
|
-
NAME: ::Symbol
|
|
2718
|
-
|
|
2719
|
-
# @private
|
|
2720
|
-
ORDER: ::Integer
|
|
2721
|
-
|
|
2722
|
-
# @private
|
|
2723
|
-
DATATYPE: untyped
|
|
2724
|
-
end
|
|
2725
|
-
|
|
2726
|
-
class Mark < Attribute
|
|
2727
|
-
TYPE: ::Integer
|
|
2728
|
-
|
|
2729
|
-
NAME: ::Symbol
|
|
2730
|
-
|
|
2731
|
-
# @private
|
|
2732
|
-
ORDER: ::Integer
|
|
2733
|
-
|
|
2734
|
-
# @private
|
|
2735
|
-
DATATYPE: untyped
|
|
2736
|
-
end
|
|
2737
|
-
|
|
2738
|
-
class Labels < Attribute
|
|
2739
|
-
TYPE: ::Integer
|
|
2740
|
-
|
|
2741
|
-
NAME: ::Symbol
|
|
2742
|
-
|
|
2743
|
-
# @private
|
|
2744
|
-
ORDER: ::Integer
|
|
2745
|
-
|
|
2746
|
-
# @private
|
|
2747
|
-
DATATYPE: untyped
|
|
2748
|
-
end
|
|
2749
|
-
|
|
2750
|
-
class Helper < Attribute
|
|
2751
|
-
TYPE: ::Integer
|
|
2752
|
-
|
|
2753
|
-
NAME: ::Symbol
|
|
2754
|
-
|
|
2755
|
-
# @private
|
|
2756
|
-
ORDER: ::Integer
|
|
2757
|
-
|
|
2758
|
-
# @private
|
|
2759
|
-
DATATYPE: untyped
|
|
2760
|
-
end
|
|
2761
|
-
|
|
2762
|
-
class Nat < Attribute
|
|
2763
|
-
TYPE: ::Integer
|
|
2764
|
-
|
|
2765
|
-
NAME: ::Symbol
|
|
2766
|
-
|
|
2767
|
-
# @private
|
|
2768
|
-
ORDER: ::Integer
|
|
2769
|
-
end
|
|
2770
|
-
|
|
2771
|
-
class ForceCommit < Attribute
|
|
2772
|
-
TYPE: ::Integer
|
|
2773
|
-
|
|
2774
|
-
NAME: ::Symbol
|
|
2775
|
-
|
|
2776
|
-
# @private
|
|
2777
|
-
ORDER: ::Integer
|
|
2778
|
-
|
|
2779
|
-
# @private
|
|
2780
|
-
DATATYPE: untyped
|
|
2781
|
-
end
|
|
2782
|
-
|
|
2783
|
-
class Eventmask < Attribute
|
|
2784
|
-
TYPE: ::Integer
|
|
2785
|
-
|
|
2786
|
-
NAME: ::Symbol
|
|
2787
|
-
|
|
2788
|
-
# @private
|
|
2789
|
-
ORDER: ::Integer
|
|
2790
|
-
|
|
2791
|
-
# @private
|
|
2792
|
-
DATATYPE: untyped
|
|
2793
|
-
end
|
|
2794
|
-
|
|
2795
|
-
class Timeout < Attribute
|
|
2796
|
-
TYPE: ::Integer
|
|
2797
|
-
|
|
2798
|
-
NAME: ::Symbol
|
|
2799
|
-
|
|
2800
|
-
# @private
|
|
2801
|
-
ORDER: ::Integer
|
|
2802
|
-
|
|
2803
|
-
# @private
|
|
2804
|
-
DATATYPE: untyped
|
|
2805
|
-
end
|
|
2806
|
-
|
|
2807
|
-
# @private
|
|
2808
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
2809
|
-
|
|
2810
|
-
# @private
|
|
2811
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
2812
|
-
|
|
2813
|
-
# @rbs return: ::Integer
|
|
2814
|
-
# @return [Integer]
|
|
2815
|
-
# @see Commit
|
|
2816
|
-
def commit: () -> ::Integer
|
|
2817
|
-
|
|
2818
|
-
# @rbs return: ::Integer
|
|
2819
|
-
# @return [Integer]
|
|
2820
|
-
# @see Zone
|
|
2821
|
-
def zone: () -> ::Integer
|
|
2822
|
-
|
|
2823
|
-
# @rbs return: ::String
|
|
2824
|
-
# @return [String]
|
|
2825
|
-
# @see Mark
|
|
2826
|
-
def mark: () -> ::String
|
|
2827
|
-
|
|
2828
|
-
# @rbs return: ::String
|
|
2829
|
-
# @return [String]
|
|
2830
|
-
# @see Labels
|
|
2831
|
-
def labels: () -> ::String
|
|
2832
|
-
|
|
2833
|
-
# @rbs return: ::String
|
|
2834
|
-
# @return [String]
|
|
2835
|
-
# @see Helper
|
|
2836
|
-
def helper: () -> ::String
|
|
2837
|
-
|
|
2838
|
-
# @rbs return: AttributeSets::NatAttrs
|
|
2839
|
-
# @return [AttributeSets::NatAttrs]
|
|
2840
|
-
# @see Nat
|
|
2841
|
-
def nat: () -> AttributeSets::NatAttrs
|
|
2842
|
-
|
|
2843
|
-
# @rbs return: ::Integer
|
|
2844
|
-
# @return [Integer]
|
|
2845
|
-
# @see ForceCommit
|
|
2846
|
-
def force_commit: () -> ::Integer
|
|
2847
|
-
|
|
2848
|
-
# @rbs return: ::Integer
|
|
2849
|
-
# @return [Integer]
|
|
2850
|
-
# @see Eventmask
|
|
2851
|
-
def eventmask: () -> ::Integer
|
|
2852
|
-
|
|
2853
|
-
# @rbs return: ::String
|
|
2854
|
-
# @return [String]
|
|
2855
|
-
# @see Timeout
|
|
2856
|
-
def timeout: () -> ::String
|
|
2857
|
-
|
|
2858
|
-
# Looks up Attribute class by name.
|
|
2859
|
-
# @rbs name: Symbol
|
|
2860
|
-
# @rbs return: Attribute
|
|
2861
|
-
# @param [Symbol] name
|
|
2862
|
-
# @return [Attribute]
|
|
2863
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2864
|
-
|
|
2865
|
-
# Looks up Attribute class by type value.
|
|
2866
|
-
# @rbs type: Integer
|
|
2867
|
-
# @rbs return: Attribute
|
|
2868
|
-
# @param [Integer] type
|
|
2869
|
-
# @return [Attribute]
|
|
2870
|
-
def self.by_type: (Integer type) -> Attribute
|
|
2871
|
-
end
|
|
2872
|
-
|
|
2873
|
-
class NatAttrs < ::Nl::AttributeSet
|
|
2874
|
-
# Abstract class
|
|
2875
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
2876
|
-
end
|
|
2877
|
-
|
|
2878
|
-
class Src < Attribute
|
|
2879
|
-
TYPE: ::Integer
|
|
2880
|
-
|
|
2881
|
-
NAME: ::Symbol
|
|
2882
|
-
|
|
2883
|
-
# @private
|
|
2884
|
-
ORDER: ::Integer
|
|
2885
|
-
|
|
2886
|
-
# @private
|
|
2887
|
-
DATATYPE: untyped
|
|
2888
|
-
end
|
|
2889
|
-
|
|
2890
|
-
class Dst < Attribute
|
|
2891
|
-
TYPE: ::Integer
|
|
2892
|
-
|
|
2893
|
-
NAME: ::Symbol
|
|
2894
|
-
|
|
2895
|
-
# @private
|
|
2896
|
-
ORDER: ::Integer
|
|
2897
|
-
|
|
2898
|
-
# @private
|
|
2899
|
-
DATATYPE: untyped
|
|
2900
|
-
end
|
|
2901
|
-
|
|
2902
|
-
class IpMin < Attribute
|
|
2903
|
-
TYPE: ::Integer
|
|
2904
|
-
|
|
2905
|
-
NAME: ::Symbol
|
|
2906
|
-
|
|
2907
|
-
# @private
|
|
2908
|
-
ORDER: ::Integer
|
|
2909
|
-
|
|
2910
|
-
# @private
|
|
2911
|
-
DATATYPE: untyped
|
|
2912
|
-
end
|
|
2913
|
-
|
|
2914
|
-
class IpMax < Attribute
|
|
2915
|
-
TYPE: ::Integer
|
|
2916
|
-
|
|
2917
|
-
NAME: ::Symbol
|
|
2918
|
-
|
|
2919
|
-
# @private
|
|
2920
|
-
ORDER: ::Integer
|
|
2921
|
-
|
|
2922
|
-
# @private
|
|
2923
|
-
DATATYPE: untyped
|
|
2924
|
-
end
|
|
2925
|
-
|
|
2926
|
-
class ProtoMin < Attribute
|
|
2927
|
-
TYPE: ::Integer
|
|
2928
|
-
|
|
2929
|
-
NAME: ::Symbol
|
|
2930
|
-
|
|
2931
|
-
# @private
|
|
2932
|
-
ORDER: ::Integer
|
|
2933
|
-
|
|
2934
|
-
# @private
|
|
2935
|
-
DATATYPE: untyped
|
|
2936
|
-
end
|
|
2937
|
-
|
|
2938
|
-
class ProtoMax < Attribute
|
|
2939
|
-
TYPE: ::Integer
|
|
2940
|
-
|
|
2941
|
-
NAME: ::Symbol
|
|
2942
|
-
|
|
2943
|
-
# @private
|
|
2944
|
-
ORDER: ::Integer
|
|
2945
|
-
|
|
2946
|
-
# @private
|
|
2947
|
-
DATATYPE: untyped
|
|
2948
|
-
end
|
|
2949
|
-
|
|
2950
|
-
class Persistent < Attribute
|
|
2951
|
-
TYPE: ::Integer
|
|
2952
|
-
|
|
2953
|
-
NAME: ::Symbol
|
|
2954
|
-
|
|
2955
|
-
# @private
|
|
2956
|
-
ORDER: ::Integer
|
|
2957
|
-
|
|
2958
|
-
# @private
|
|
2959
|
-
DATATYPE: untyped
|
|
2960
|
-
end
|
|
2961
|
-
|
|
2962
|
-
class ProtoHash < Attribute
|
|
2963
|
-
TYPE: ::Integer
|
|
2964
|
-
|
|
2965
|
-
NAME: ::Symbol
|
|
2966
|
-
|
|
2967
|
-
# @private
|
|
2968
|
-
ORDER: ::Integer
|
|
2969
|
-
|
|
2970
|
-
# @private
|
|
2971
|
-
DATATYPE: untyped
|
|
2972
|
-
end
|
|
2973
|
-
|
|
2974
|
-
class ProtoRandom < Attribute
|
|
2975
|
-
TYPE: ::Integer
|
|
2976
|
-
|
|
2977
|
-
NAME: ::Symbol
|
|
2978
|
-
|
|
2979
|
-
# @private
|
|
2980
|
-
ORDER: ::Integer
|
|
2981
|
-
|
|
2982
|
-
# @private
|
|
2983
|
-
DATATYPE: untyped
|
|
2984
|
-
end
|
|
2985
|
-
|
|
2986
|
-
# @private
|
|
2987
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
2988
|
-
|
|
2989
|
-
# @private
|
|
2990
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
2991
|
-
|
|
2992
|
-
# @rbs return: ::Integer
|
|
2993
|
-
# @return [Integer]
|
|
2994
|
-
# @see Src
|
|
2995
|
-
def src: () -> ::Integer
|
|
2996
|
-
|
|
2997
|
-
# @rbs return: ::Integer
|
|
2998
|
-
# @return [Integer]
|
|
2999
|
-
# @see Dst
|
|
3000
|
-
def dst: () -> ::Integer
|
|
3001
|
-
|
|
3002
|
-
# @rbs return: ::String
|
|
3003
|
-
# @return [String]
|
|
3004
|
-
# @see IpMin
|
|
3005
|
-
def ip_min: () -> ::String
|
|
3006
|
-
|
|
3007
|
-
# @rbs return: ::String
|
|
3008
|
-
# @return [String]
|
|
3009
|
-
# @see IpMax
|
|
3010
|
-
def ip_max: () -> ::String
|
|
3011
|
-
|
|
3012
|
-
# @rbs return: ::Integer
|
|
3013
|
-
# @return [Integer]
|
|
3014
|
-
# @see ProtoMin
|
|
3015
|
-
def proto_min: () -> ::Integer
|
|
3016
|
-
|
|
3017
|
-
# @rbs return: ::Integer
|
|
3018
|
-
# @return [Integer]
|
|
3019
|
-
# @see ProtoMax
|
|
3020
|
-
def proto_max: () -> ::Integer
|
|
3021
|
-
|
|
3022
|
-
# @rbs return: ::Integer
|
|
3023
|
-
# @return [Integer]
|
|
3024
|
-
# @see Persistent
|
|
3025
|
-
def persistent: () -> ::Integer
|
|
3026
|
-
|
|
3027
|
-
# @rbs return: ::Integer
|
|
3028
|
-
# @return [Integer]
|
|
3029
|
-
# @see ProtoHash
|
|
3030
|
-
def proto_hash: () -> ::Integer
|
|
3031
|
-
|
|
3032
|
-
# @rbs return: ::Integer
|
|
3033
|
-
# @return [Integer]
|
|
3034
|
-
# @see ProtoRandom
|
|
3035
|
-
def proto_random: () -> ::Integer
|
|
3036
|
-
|
|
3037
|
-
# Looks up Attribute class by name.
|
|
3038
|
-
# @rbs name: Symbol
|
|
3039
|
-
# @rbs return: Attribute
|
|
3040
|
-
# @param [Symbol] name
|
|
3041
|
-
# @return [Attribute]
|
|
3042
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
3043
|
-
|
|
3044
|
-
# Looks up Attribute class by type value.
|
|
3045
|
-
# @rbs type: Integer
|
|
3046
|
-
# @rbs return: Attribute
|
|
3047
|
-
# @param [Integer] type
|
|
3048
|
-
# @return [Attribute]
|
|
3049
|
-
def self.by_type: (Integer type) -> Attribute
|
|
3050
|
-
end
|
|
3051
|
-
|
|
3052
|
-
class DecTtlAttrs < ::Nl::AttributeSet
|
|
3053
|
-
# Abstract class
|
|
3054
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
3055
|
-
end
|
|
3056
|
-
|
|
3057
|
-
class Action < Attribute
|
|
3058
|
-
TYPE: ::Integer
|
|
3059
|
-
|
|
3060
|
-
NAME: ::Symbol
|
|
3061
|
-
|
|
3062
|
-
# @private
|
|
3063
|
-
ORDER: ::Integer
|
|
3064
|
-
end
|
|
3065
|
-
|
|
3066
|
-
# @private
|
|
3067
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
3068
|
-
|
|
3069
|
-
# @private
|
|
3070
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
3071
|
-
|
|
3072
|
-
# @rbs return: AttributeSets::ActionAttrs
|
|
3073
|
-
# @return [AttributeSets::ActionAttrs]
|
|
3074
|
-
# @see Action
|
|
3075
|
-
def action: () -> AttributeSets::ActionAttrs
|
|
3076
|
-
|
|
3077
|
-
# Looks up Attribute class by name.
|
|
3078
|
-
# @rbs name: Symbol
|
|
3079
|
-
# @rbs return: Attribute
|
|
3080
|
-
# @param [Symbol] name
|
|
3081
|
-
# @return [Attribute]
|
|
3082
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
3083
|
-
|
|
3084
|
-
# Looks up Attribute class by type value.
|
|
3085
|
-
# @rbs type: Integer
|
|
3086
|
-
# @rbs return: Attribute
|
|
3087
|
-
# @param [Integer] type
|
|
3088
|
-
# @return [Attribute]
|
|
3089
|
-
def self.by_type: (Integer type) -> Attribute
|
|
3090
|
-
end
|
|
3091
|
-
|
|
3092
|
-
class VxlanExtAttrs < ::Nl::AttributeSet
|
|
3093
|
-
# Abstract class
|
|
3094
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
3095
|
-
end
|
|
3096
|
-
|
|
3097
|
-
class Gbp < Attribute
|
|
3098
|
-
TYPE: ::Integer
|
|
3099
|
-
|
|
3100
|
-
NAME: ::Symbol
|
|
3101
|
-
|
|
3102
|
-
# @private
|
|
3103
|
-
ORDER: ::Integer
|
|
3104
|
-
|
|
3105
|
-
# @private
|
|
3106
|
-
DATATYPE: untyped
|
|
3107
|
-
end
|
|
3108
|
-
|
|
3109
|
-
# @private
|
|
3110
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
3111
|
-
|
|
3112
|
-
# @private
|
|
3113
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
3114
|
-
|
|
3115
|
-
# @rbs return: ::Integer
|
|
3116
|
-
# @return [Integer]
|
|
3117
|
-
# @see Gbp
|
|
3118
|
-
def gbp: () -> ::Integer
|
|
3119
|
-
|
|
3120
|
-
# Looks up Attribute class by name.
|
|
3121
|
-
# @rbs name: Symbol
|
|
3122
|
-
# @rbs return: Attribute
|
|
3123
|
-
# @param [Symbol] name
|
|
3124
|
-
# @return [Attribute]
|
|
3125
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
3126
|
-
|
|
3127
|
-
# Looks up Attribute class by type value.
|
|
3128
|
-
# @rbs type: Integer
|
|
3129
|
-
# @rbs return: Attribute
|
|
3130
|
-
# @param [Integer] type
|
|
3131
|
-
# @return [Attribute]
|
|
3132
|
-
def self.by_type: (Integer type) -> Attribute
|
|
3133
|
-
end
|
|
3134
|
-
|
|
3135
|
-
class PsampleAttrs < ::Nl::AttributeSet
|
|
3136
|
-
# Abstract class
|
|
3137
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
3138
|
-
end
|
|
3139
|
-
|
|
3140
|
-
class Group < Attribute
|
|
3141
|
-
TYPE: ::Integer
|
|
3142
|
-
|
|
3143
|
-
NAME: ::Symbol
|
|
3144
|
-
|
|
3145
|
-
# @private
|
|
3146
|
-
ORDER: ::Integer
|
|
3147
|
-
|
|
3148
|
-
# @private
|
|
3149
|
-
DATATYPE: untyped
|
|
3150
|
-
end
|
|
3151
|
-
|
|
3152
|
-
class Cookie < Attribute
|
|
3153
|
-
TYPE: ::Integer
|
|
3154
|
-
|
|
3155
|
-
NAME: ::Symbol
|
|
3156
|
-
|
|
3157
|
-
# @private
|
|
3158
|
-
ORDER: ::Integer
|
|
3159
|
-
|
|
3160
|
-
# @private
|
|
3161
|
-
DATATYPE: untyped
|
|
3162
|
-
end
|
|
3163
|
-
|
|
3164
|
-
# @private
|
|
3165
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
3166
|
-
|
|
3167
|
-
# @private
|
|
3168
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
3169
|
-
|
|
3170
|
-
# @rbs return: ::Integer
|
|
3171
|
-
# @return [Integer]
|
|
3172
|
-
# @see Group
|
|
3173
|
-
def group: () -> ::Integer
|
|
3174
|
-
|
|
3175
|
-
# @rbs return: ::String
|
|
3176
|
-
# @return [String]
|
|
3177
|
-
# @see Cookie
|
|
3178
|
-
def cookie: () -> ::String
|
|
3179
|
-
|
|
3180
|
-
# Looks up Attribute class by name.
|
|
3181
|
-
# @rbs name: Symbol
|
|
3182
|
-
# @rbs return: Attribute
|
|
3183
|
-
# @param [Symbol] name
|
|
3184
|
-
# @return [Attribute]
|
|
3185
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
3186
|
-
|
|
3187
|
-
# Looks up Attribute class by type value.
|
|
3188
|
-
# @rbs type: Integer
|
|
3189
|
-
# @rbs return: Attribute
|
|
3190
|
-
# @param [Integer] type
|
|
3191
|
-
# @return [Attribute]
|
|
3192
|
-
def self.by_type: (Integer type) -> Attribute
|
|
3193
|
-
end
|
|
3194
|
-
end
|
|
3195
|
-
|
|
3196
|
-
module Messages
|
|
3197
|
-
# Get / dump OVS flow configuration and state
|
|
3198
|
-
class DoGetRequest < ::Nl::Genl::Message
|
|
3199
|
-
TYPE: ::Integer
|
|
3200
|
-
|
|
3201
|
-
FIXED_HEADER: untyped
|
|
3202
|
-
|
|
3203
|
-
ATTRIBUTE_SET: untyped
|
|
3204
|
-
|
|
3205
|
-
ATTRIBUTES: untyped
|
|
1658
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
3206
1659
|
|
|
3207
1660
|
# ifindex of local port for datapath (0 to make a request not specific
|
|
3208
1661
|
# to a datapath).
|
|
@@ -3214,7 +1667,6 @@ module Nl
|
|
|
3214
1667
|
# notifications. Required for all requests (except dumps).
|
|
3215
1668
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3216
1669
|
# @return [AttributeSets::KeyAttrs]
|
|
3217
|
-
# @see AttributeSets::FlowAttrs::Key
|
|
3218
1670
|
def key: () -> AttributeSets::KeyAttrs
|
|
3219
1671
|
|
|
3220
1672
|
# A value between 1-16 octets specifying a unique identifier for the
|
|
@@ -3224,7 +1676,6 @@ module Nl
|
|
|
3224
1676
|
# attribute.
|
|
3225
1677
|
# @rbs return: ::String
|
|
3226
1678
|
# @return [String]
|
|
3227
|
-
# @see AttributeSets::FlowAttrs::Ufid
|
|
3228
1679
|
def ufid: () -> ::String
|
|
3229
1680
|
|
|
3230
1681
|
# A 32-bit value of ORed flags that provide alternative semantics for
|
|
@@ -3234,12 +1685,11 @@ module Nl
|
|
|
3234
1685
|
# Known flags are defined in {Flags::OvsUfidFlags}.
|
|
3235
1686
|
# @rbs return: ::Integer
|
|
3236
1687
|
# @return [Integer]
|
|
3237
|
-
# @see AttributeSets::FlowAttrs::UfidFlags
|
|
3238
1688
|
def ufid_flags: () -> ::Integer
|
|
3239
1689
|
end
|
|
3240
1690
|
|
|
3241
1691
|
# Get / dump OVS flow configuration and state
|
|
3242
|
-
class DoGetReply < ::Nl::
|
|
1692
|
+
class DoGetReply < ::Nl::Message
|
|
3243
1693
|
TYPE: ::Integer
|
|
3244
1694
|
|
|
3245
1695
|
FIXED_HEADER: untyped
|
|
@@ -3248,6 +1698,19 @@ module Nl
|
|
|
3248
1698
|
|
|
3249
1699
|
ATTRIBUTES: untyped
|
|
3250
1700
|
|
|
1701
|
+
include ATTRIBUTE_SET::Definitions
|
|
1702
|
+
|
|
1703
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
1704
|
+
|
|
1705
|
+
# @private
|
|
1706
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1707
|
+
|
|
1708
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1709
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1710
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1711
|
+
|
|
1712
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1713
|
+
|
|
3251
1714
|
# ifindex of local port for datapath (0 to make a request not specific
|
|
3252
1715
|
# to a datapath).
|
|
3253
1716
|
# @rbs return: ::Integer
|
|
@@ -3258,7 +1721,6 @@ module Nl
|
|
|
3258
1721
|
# notifications. Required for all requests (except dumps).
|
|
3259
1722
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3260
1723
|
# @return [AttributeSets::KeyAttrs]
|
|
3261
|
-
# @see AttributeSets::FlowAttrs::Key
|
|
3262
1724
|
def key: () -> AttributeSets::KeyAttrs
|
|
3263
1725
|
|
|
3264
1726
|
# Nested attributes specifying the actions to take for packets that
|
|
@@ -3269,14 +1731,12 @@ module Nl
|
|
|
3269
1731
|
# nested attributes must be given.
|
|
3270
1732
|
# @rbs return: AttributeSets::ActionAttrs
|
|
3271
1733
|
# @return [AttributeSets::ActionAttrs]
|
|
3272
|
-
# @see AttributeSets::FlowAttrs::Actions
|
|
3273
1734
|
def actions: () -> AttributeSets::ActionAttrs
|
|
3274
1735
|
|
|
3275
1736
|
# Statistics for this flow. Present in notifications if the stats would
|
|
3276
1737
|
# be nonzero. Ignored in requests.
|
|
3277
1738
|
# @rbs return: Structs::OvsFlowStats
|
|
3278
1739
|
# @return [Structs::OvsFlowStats]
|
|
3279
|
-
# @see AttributeSets::FlowAttrs::Stats
|
|
3280
1740
|
def stats: () -> Structs::OvsFlowStats
|
|
3281
1741
|
|
|
3282
1742
|
# Nested attributes specifying the mask bits for wildcarded flow
|
|
@@ -3287,7 +1747,6 @@ module Nl
|
|
|
3287
1747
|
# are exact match bits.
|
|
3288
1748
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3289
1749
|
# @return [AttributeSets::KeyAttrs]
|
|
3290
|
-
# @see AttributeSets::FlowAttrs::Mask
|
|
3291
1750
|
def mask: () -> AttributeSets::KeyAttrs
|
|
3292
1751
|
|
|
3293
1752
|
# A value between 1-16 octets specifying a unique identifier for the
|
|
@@ -3297,12 +1756,11 @@ module Nl
|
|
|
3297
1756
|
# attribute.
|
|
3298
1757
|
# @rbs return: ::String
|
|
3299
1758
|
# @return [String]
|
|
3300
|
-
# @see AttributeSets::FlowAttrs::Ufid
|
|
3301
1759
|
def ufid: () -> ::String
|
|
3302
1760
|
end
|
|
3303
1761
|
|
|
3304
1762
|
# Get / dump OVS flow configuration and state
|
|
3305
|
-
class DumpGetRequest < ::Nl::
|
|
1763
|
+
class DumpGetRequest < ::Nl::Message
|
|
3306
1764
|
TYPE: ::Integer
|
|
3307
1765
|
|
|
3308
1766
|
FIXED_HEADER: untyped
|
|
@@ -3311,6 +1769,19 @@ module Nl
|
|
|
3311
1769
|
|
|
3312
1770
|
ATTRIBUTES: untyped
|
|
3313
1771
|
|
|
1772
|
+
include ATTRIBUTE_SET::Definitions
|
|
1773
|
+
|
|
1774
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
1775
|
+
|
|
1776
|
+
# @private
|
|
1777
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1778
|
+
|
|
1779
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1780
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1781
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1782
|
+
|
|
1783
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1784
|
+
|
|
3314
1785
|
# ifindex of local port for datapath (0 to make a request not specific
|
|
3315
1786
|
# to a datapath).
|
|
3316
1787
|
# @rbs return: ::Integer
|
|
@@ -3321,7 +1792,6 @@ module Nl
|
|
|
3321
1792
|
# notifications. Required for all requests (except dumps).
|
|
3322
1793
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3323
1794
|
# @return [AttributeSets::KeyAttrs]
|
|
3324
|
-
# @see AttributeSets::FlowAttrs::Key
|
|
3325
1795
|
def key: () -> AttributeSets::KeyAttrs
|
|
3326
1796
|
|
|
3327
1797
|
# A value between 1-16 octets specifying a unique identifier for the
|
|
@@ -3331,7 +1801,6 @@ module Nl
|
|
|
3331
1801
|
# attribute.
|
|
3332
1802
|
# @rbs return: ::String
|
|
3333
1803
|
# @return [String]
|
|
3334
|
-
# @see AttributeSets::FlowAttrs::Ufid
|
|
3335
1804
|
def ufid: () -> ::String
|
|
3336
1805
|
|
|
3337
1806
|
# A 32-bit value of ORed flags that provide alternative semantics for
|
|
@@ -3341,12 +1810,11 @@ module Nl
|
|
|
3341
1810
|
# Known flags are defined in {Flags::OvsUfidFlags}.
|
|
3342
1811
|
# @rbs return: ::Integer
|
|
3343
1812
|
# @return [Integer]
|
|
3344
|
-
# @see AttributeSets::FlowAttrs::UfidFlags
|
|
3345
1813
|
def ufid_flags: () -> ::Integer
|
|
3346
1814
|
end
|
|
3347
1815
|
|
|
3348
1816
|
# Get / dump OVS flow configuration and state
|
|
3349
|
-
class DumpGetReply < ::Nl::
|
|
1817
|
+
class DumpGetReply < ::Nl::Message
|
|
3350
1818
|
TYPE: ::Integer
|
|
3351
1819
|
|
|
3352
1820
|
FIXED_HEADER: untyped
|
|
@@ -3355,6 +1823,19 @@ module Nl
|
|
|
3355
1823
|
|
|
3356
1824
|
ATTRIBUTES: untyped
|
|
3357
1825
|
|
|
1826
|
+
include ATTRIBUTE_SET::Definitions
|
|
1827
|
+
|
|
1828
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
1829
|
+
|
|
1830
|
+
# @private
|
|
1831
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1832
|
+
|
|
1833
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1834
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1835
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1836
|
+
|
|
1837
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1838
|
+
|
|
3358
1839
|
# ifindex of local port for datapath (0 to make a request not specific
|
|
3359
1840
|
# to a datapath).
|
|
3360
1841
|
# @rbs return: ::Integer
|
|
@@ -3365,7 +1846,6 @@ module Nl
|
|
|
3365
1846
|
# notifications. Required for all requests (except dumps).
|
|
3366
1847
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3367
1848
|
# @return [AttributeSets::KeyAttrs]
|
|
3368
|
-
# @see AttributeSets::FlowAttrs::Key
|
|
3369
1849
|
def key: () -> AttributeSets::KeyAttrs
|
|
3370
1850
|
|
|
3371
1851
|
# Nested attributes specifying the actions to take for packets that
|
|
@@ -3376,14 +1856,12 @@ module Nl
|
|
|
3376
1856
|
# nested attributes must be given.
|
|
3377
1857
|
# @rbs return: AttributeSets::ActionAttrs
|
|
3378
1858
|
# @return [AttributeSets::ActionAttrs]
|
|
3379
|
-
# @see AttributeSets::FlowAttrs::Actions
|
|
3380
1859
|
def actions: () -> AttributeSets::ActionAttrs
|
|
3381
1860
|
|
|
3382
1861
|
# Statistics for this flow. Present in notifications if the stats would
|
|
3383
1862
|
# be nonzero. Ignored in requests.
|
|
3384
1863
|
# @rbs return: Structs::OvsFlowStats
|
|
3385
1864
|
# @return [Structs::OvsFlowStats]
|
|
3386
|
-
# @see AttributeSets::FlowAttrs::Stats
|
|
3387
1865
|
def stats: () -> Structs::OvsFlowStats
|
|
3388
1866
|
|
|
3389
1867
|
# Nested attributes specifying the mask bits for wildcarded flow
|
|
@@ -3394,7 +1872,6 @@ module Nl
|
|
|
3394
1872
|
# are exact match bits.
|
|
3395
1873
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3396
1874
|
# @return [AttributeSets::KeyAttrs]
|
|
3397
|
-
# @see AttributeSets::FlowAttrs::Mask
|
|
3398
1875
|
def mask: () -> AttributeSets::KeyAttrs
|
|
3399
1876
|
|
|
3400
1877
|
# A value between 1-16 octets specifying a unique identifier for the
|
|
@@ -3404,12 +1881,11 @@ module Nl
|
|
|
3404
1881
|
# attribute.
|
|
3405
1882
|
# @rbs return: ::String
|
|
3406
1883
|
# @return [String]
|
|
3407
|
-
# @see AttributeSets::FlowAttrs::Ufid
|
|
3408
1884
|
def ufid: () -> ::String
|
|
3409
1885
|
end
|
|
3410
1886
|
|
|
3411
1887
|
# Create OVS flow configuration in a data path
|
|
3412
|
-
class DoNewRequest < ::Nl::
|
|
1888
|
+
class DoNewRequest < ::Nl::Message
|
|
3413
1889
|
TYPE: ::Integer
|
|
3414
1890
|
|
|
3415
1891
|
FIXED_HEADER: untyped
|
|
@@ -3418,6 +1894,19 @@ module Nl
|
|
|
3418
1894
|
|
|
3419
1895
|
ATTRIBUTES: untyped
|
|
3420
1896
|
|
|
1897
|
+
include ATTRIBUTE_SET::Definitions
|
|
1898
|
+
|
|
1899
|
+
def initialize: (untyped dp_ifindex, ?untyped attributes) -> untyped
|
|
1900
|
+
|
|
1901
|
+
# @private
|
|
1902
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1903
|
+
|
|
1904
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1905
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1906
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1907
|
+
|
|
1908
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1909
|
+
|
|
3421
1910
|
# ifindex of local port for datapath (0 to make a request not specific
|
|
3422
1911
|
# to a datapath).
|
|
3423
1912
|
# @rbs return: ::Integer
|
|
@@ -3428,7 +1917,6 @@ module Nl
|
|
|
3428
1917
|
# notifications. Required for all requests (except dumps).
|
|
3429
1918
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3430
1919
|
# @return [AttributeSets::KeyAttrs]
|
|
3431
|
-
# @see AttributeSets::FlowAttrs::Key
|
|
3432
1920
|
def key: () -> AttributeSets::KeyAttrs
|
|
3433
1921
|
|
|
3434
1922
|
# Nested attributes specifying the actions to take for packets that
|
|
@@ -3439,7 +1927,6 @@ module Nl
|
|
|
3439
1927
|
# nested attributes must be given.
|
|
3440
1928
|
# @rbs return: AttributeSets::ActionAttrs
|
|
3441
1929
|
# @return [AttributeSets::ActionAttrs]
|
|
3442
|
-
# @see AttributeSets::FlowAttrs::Actions
|
|
3443
1930
|
def actions: () -> AttributeSets::ActionAttrs
|
|
3444
1931
|
|
|
3445
1932
|
# Nested attributes specifying the mask bits for wildcarded flow
|
|
@@ -3450,7 +1937,6 @@ module Nl
|
|
|
3450
1937
|
# are exact match bits.
|
|
3451
1938
|
# @rbs return: AttributeSets::KeyAttrs
|
|
3452
1939
|
# @return [AttributeSets::KeyAttrs]
|
|
3453
|
-
# @see AttributeSets::FlowAttrs::Mask
|
|
3454
1940
|
def mask: () -> AttributeSets::KeyAttrs
|
|
3455
1941
|
|
|
3456
1942
|
# A value between 1-16 octets specifying a unique identifier for the
|
|
@@ -3460,7 +1946,6 @@ module Nl
|
|
|
3460
1946
|
# attribute.
|
|
3461
1947
|
# @rbs return: ::String
|
|
3462
1948
|
# @return [String]
|
|
3463
|
-
# @see AttributeSets::FlowAttrs::Ufid
|
|
3464
1949
|
def ufid: () -> ::String
|
|
3465
1950
|
end
|
|
3466
1951
|
end
|