Class: Nl::Linux::OvsFlow
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::OvsFlow
- Defined in:
- nl-linux/generated/nl/linux/ovs_flow.rb
Overview
OVS flow configuration over generic netlink.
Defined Under Namespace
Modules: AttributeSets, Enums, Flags, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"ovs_flow"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_get(**args) ⇒ Messages::DoGetReply
Get / dump OVS flow configuration and state.
-
#do_new(**args) ⇒ void
Create OVS flow configuration in a data path.
-
#dump_get(**args, &block) ⇒ Object
Get / dump OVS flow configuration and state.
- #subscribe(*groups) ⇒ self
- #unsubscribe(*groups) ⇒ self
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ OvsFlow .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 26 def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) super end |
Instance Method Details
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
2942 2943 2944 2945 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2942 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_get(**args) ⇒ Messages::DoGetReply
Get / dump OVS flow configuration and state
2783 2784 2785 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2783 def do_get(**args) (:"do", Messages::DoGetRequest, Messages::DoGetReply, args) end |
#do_new(**args) ⇒ void
This method returns an undefined value.
Create OVS flow configuration in a data path
2856 2857 2858 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2856 def do_new(**args) (:"do", Messages::DoNewRequest, nil, args) end |
#dump_get(**args) ⇒ Array<Messages::DumpGetReply> #dump_get(**args) {|reply| ... } ⇒ void
Get / dump OVS flow configuration and state
2827 2828 2829 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2827 def dump_get(**args, &block) (:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args, &block) end |
#subscribe(*groups) ⇒ self
2949 2950 2951 2952 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2949 def subscribe(*groups) = super # @rbs (*(:ovs_flow) groups) -> self # @param [Array<:ovs_flow>] groups # @return [self] |
#unsubscribe(*groups) ⇒ self
2953 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2953 def unsubscribe(*groups) = super |