Class: Nl::Linux::OvsDatapath::Messages::DumpGetReply

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)


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

def dp_ifindex; fixed_header.dp_ifindex; end

#masks_cache_size ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#megaflow_stats ⇒ Structs::OvsDpMegaflowStats



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

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

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#per_cpu_pids ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



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

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

#stats ⇒ Structs::OvsDpStats



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

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

#upcall_pid ⇒ Integer

upcall pid

Returns:

  • (Integer)

See Also:



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

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

#user_features ⇒ Integer

Known flags are defined in Flags::UserFeatures.

Returns:

  • (Integer)

See Also:



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

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