Class: Nl::Linux::OvsDatapath
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::OvsDatapath
- Defined in:
- nl-linux/generated/nl/linux/ovs_datapath.rb
Overview
OVS datapath configuration over generic netlink.
Defined Under Namespace
Modules: AttributeSets, Flags, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"ovs_datapath"- VERSION =
2
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_del(**args) ⇒ void
Delete existing OVS data path.
-
#do_get(**args) ⇒ Messages::DoGetReply
Get / dump OVS data path configuration and state.
-
#do_new(**args) ⇒ void
Create new OVS data path.
-
#dump_get(**args, &block) ⇒ Object
Get / dump OVS data path 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) ⇒ OvsDatapath .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_datapath.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.
522 523 524 525 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 522 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_del(**args) ⇒ void
This method returns an undefined value.
Delete existing OVS data path
467 468 469 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 467 def do_del(**args) (:"do", Messages::DoDelRequest, nil, args) end |
#do_get(**args) ⇒ Messages::DoGetReply
Get / dump OVS data path configuration and state
425 426 427 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 425 def do_get(**args) (:"do", Messages::DoGetRequest, Messages::DoGetReply, args) end |
#do_new(**args) ⇒ void
This method returns an undefined value.
Create new OVS data path
457 458 459 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 457 def do_new(**args) (:"do", Messages::DoNewRequest, nil, args) end |
#dump_get(**args) ⇒ Array<Messages::DumpGetReply> #dump_get(**args) {|reply| ... } ⇒ void
Get / dump OVS data path configuration and state
445 446 447 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 445 def dump_get(**args, &block) (:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args, &block) end |
#subscribe(*groups) ⇒ self
529 530 531 532 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 529 def subscribe(*groups) = super # @rbs (*(:ovs_datapath) groups) -> self # @param [Array<:ovs_datapath>] groups # @return [self] |
#unsubscribe(*groups) ⇒ self
533 |
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 533 def unsubscribe(*groups) = super |