Class: Nl::Linux::Team
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::Team
- Defined in:
- nl-linux/generated/nl/linux/team.rb
Overview
Network team device driver.
Defined Under Namespace
Modules: AttributeSets, Constants, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"team"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_noop(**args) ⇒ Messages::DoNoopReply
No operation.
-
#do_options_get(**args) ⇒ Messages::DoOptionsGetReply
Get team options info.
-
#do_options_set(**args) ⇒ Messages::DoOptionsSetReply
Set team options.
-
#do_port_list_get(**args) ⇒ Messages::DoPortListGetReply
Get team ports info.
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Team .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/team.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.
600 601 602 603 |
# File 'nl-linux/generated/nl/linux/team.rb', line 600 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_noop(**args) ⇒ Messages::DoNoopReply
No operation
511 512 513 |
# File 'nl-linux/generated/nl/linux/team.rb', line 511 def do_noop(**args) (:"do", Messages::DoNoopRequest, Messages::DoNoopReply, args) end |
#do_options_get(**args) ⇒ Messages::DoOptionsGetReply
Get team options info
Requires CAP_NET_ADMIN in the initial user namespace.
534 535 536 |
# File 'nl-linux/generated/nl/linux/team.rb', line 534 def (**args) (:"do", Messages::DoOptionsGetRequest, Messages::DoOptionsGetReply, args) end |
#do_options_set(**args) ⇒ Messages::DoOptionsSetReply
Set team options
Requires CAP_NET_ADMIN in the initial user namespace.
523 524 525 |
# File 'nl-linux/generated/nl/linux/team.rb', line 523 def (**args) (:"do", Messages::DoOptionsSetRequest, Messages::DoOptionsSetReply, args) end |
#do_port_list_get(**args) ⇒ Messages::DoPortListGetReply
Get team ports info
Requires CAP_NET_ADMIN in the initial user namespace.
545 546 547 |
# File 'nl-linux/generated/nl/linux/team.rb', line 545 def do_port_list_get(**args) (:"do", Messages::DoPortListGetRequest, Messages::DoPortListGetReply, args) end |