Class: Nl::Linux::OvsDatapath::Messages::DoNewRequest

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/ovs_datapath.rb

Overview

Create new OVS data path

Constant Summary collapse

TYPE =
1
FIXED_HEADER =
Structs::OvsHeader
ATTRIBUTE_SET =
AttributeSets::Datapath
ATTRIBUTES =
Ractor.make_shareable(%i[name upcall_pid user_features])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#dp_ifindex ⇒ Integer

Returns:

  • (Integer)


383
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 383

def dp_ifindex; fixed_header.dp_ifindex; end

#name ⇒ String

Returns:

  • (String)

See Also:



387
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 387

def name; attributes[:"name"]&.value; end

#upcall_pid ⇒ Integer

upcall pid

Returns:

  • (Integer)

See Also:



392
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 392

def upcall_pid; attributes[:"upcall_pid"]&.value; end

#user_features ⇒ Integer

Known flags are defined in Flags::UserFeatures.

Returns:

  • (Integer)

See Also:



397
# File 'nl-linux/generated/nl/linux/ovs_datapath.rb', line 397

def user_features; attributes[:"user_features"]&.value; end