Class: Nl::Linux::OvsVport
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::OvsVport
- Defined in:
- nl-linux/generated/nl/linux/ovs_vport.rb
Overview
OVS vport configuration over generic netlink.
Defined Under Namespace
Modules: AttributeSets, Enums, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"ovs_vport"- 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 vport from a data path.
-
#do_get(**args) ⇒ Messages::DoGetReply
Get / dump OVS vport configuration and state.
-
#do_new(**args) ⇒ void
Create a new OVS vport.
-
#dump_get(**args, &block) ⇒ Object
Get / dump OVS vport 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) ⇒ OvsVport .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_vport.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.
629 630 631 632 |
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 629 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 vport from a data path
540 541 542 |
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 540 def do_del(**args) (:"do", Messages::DoDelRequest, nil, args) end |
#do_get(**args) ⇒ Messages::DoGetReply
Get / dump OVS vport configuration and state
550 551 552 |
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 550 def do_get(**args) (:"do", Messages::DoGetRequest, Messages::DoGetReply, args) end |
#do_new(**args) ⇒ void
This method returns an undefined value.
Create a new OVS vport
528 529 530 |
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 528 def do_new(**args) (:"do", Messages::DoNewRequest, nil, args) end |
#dump_get(**args) ⇒ Array<Messages::DumpGetReply> #dump_get(**args) {|reply| ... } ⇒ void
Get / dump OVS vport configuration and state
570 571 572 |
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 570 def dump_get(**args, &block) (:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args, &block) end |
#subscribe(*groups) ⇒ self
636 637 638 639 |
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 636 def subscribe(*groups) = super # @rbs (*(:ovs_vport) groups) -> self # @param [Array<:ovs_vport>] groups # @return [self] |
#unsubscribe(*groups) ⇒ self
640 |
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 640 def unsubscribe(*groups) = super |