Class: Nl::Linux::OvsDatapath::Messages::DoGetReply

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

Overview

Get / dump OVS data path configuration and state

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
Structs::OvsHeader
ATTRIBUTE_SET =
AttributeSets::Datapath
ATTRIBUTES =
Ractor.make_shareable(%i[name upcall_pid stats megaflow_stats user_features masks_cache_size per_cpu_pids])

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)


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

def dp_ifindex; fixed_header.dp_ifindex; end

#masks_cache_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#megaflow_stats ⇒ Structs::OvsDpMegaflowStats



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

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

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#per_cpu_pids ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



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

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

#stats ⇒ Structs::OvsDpStats



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

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

#upcall_pid ⇒ Integer

upcall pid

Returns:

  • (Integer)

See Also:



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

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

#user_features ⇒ Integer

Known flags are defined in Flags::UserFeatures.

Returns:

  • (Integer)

See Also:



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

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