Class: Nl::Linux::Team::AsyncOperations

Inherits:
Object
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/team.rb

Instance Method Summary collapse

Instance Method Details

#do_noop(**args) ⇒ Nl::Async::Future<Messages::DoNoopReply>

No operation

Parameters:

  • args (Hash)

Returns:

See Also:



558
559
560
# File 'nl-linux/generated/nl/linux/team.rb', line 558

def do_noop(**args)
  @exchange.call(:"do", Messages::DoNoopRequest, Messages::DoNoopReply, args)
end

#do_options_get(**args) ⇒ Nl::Async::Future<Messages::DoOptionsGetReply>

Get team options info

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

  • team_ifindex (Integer)

Returns:

See Also:



581
582
583
# File 'nl-linux/generated/nl/linux/team.rb', line 581

def do_options_get(**args)
  @exchange.call(:"do", Messages::DoOptionsGetRequest, Messages::DoOptionsGetReply, args)
end

#do_options_set(**args) ⇒ Nl::Async::Future<Messages::DoOptionsSetReply>

Set team options

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



570
571
572
# File 'nl-linux/generated/nl/linux/team.rb', line 570

def do_options_set(**args)
  @exchange.call(:"do", Messages::DoOptionsSetRequest, Messages::DoOptionsSetReply, args)
end

#do_port_list_get(**args) ⇒ Nl::Async::Future<Messages::DoPortListGetReply>

Get team ports info

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

  • team_ifindex (Integer)

Returns:

See Also:



592
593
594
# File 'nl-linux/generated/nl/linux/team.rb', line 592

def do_port_list_get(**args)
  @exchange.call(:"do", Messages::DoPortListGetRequest, Messages::DoPortListGetReply, args)
end