Class: Nl::Linux::OvsDatapath::AsyncOperations

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

Instance Method Summary collapse

Instance Method Details

#do_del(**args) ⇒ Nl::Async::Future<void>

Delete existing OVS data path

Parameters:

  • args (Hash)

Options Hash (**args):

  • dp_ifindex (Integer)
  • name (String)

Returns:

See Also:



514
515
516
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 514

def do_del(**args)
  @exchange.call(:"do", Messages::DoDelRequest, nil, args)
end

#do_get(**args) ⇒ Nl::Async::Future<Messages::DoGetReply>

Get / dump OVS data path configuration and state

Parameters:

  • args (Hash)

Options Hash (**args):

  • dp_ifindex (Integer)
  • name (String)

Returns:

See Also:



482
483
484
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 482

def do_get(**args)
  @exchange.call(:"do", Messages::DoGetRequest, Messages::DoGetReply, args)
end

#do_new(**args) ⇒ Nl::Async::Future<void>

Create new OVS data path

Parameters:

  • args (Hash)

Options Hash (**args):

  • dp_ifindex (Integer)
  • name (String)
  • upcall_pid (Integer) —

    upcall pid

  • user_features (Integer) —

    Known flags are defined in Flags::UserFeatures.

Returns:

See Also:



504
505
506
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 504

def do_new(**args)
  @exchange.call(:"do", Messages::DoNewRequest, nil, args)
end

#dump_get(**args) ⇒ Nl::Async::Stream<Messages::DumpGetReply>

Get / dump OVS data path configuration and state

Parameters:

  • args (Hash)

Options Hash (**args):

  • dp_ifindex (Integer)
  • name (String)

Returns:

See Also:



492
493
494
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 492

def dump_get(**args)
  @exchange.call(:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args)
end