Class: Nl::Linux::OvsFlow::Messages::DumpGetRequest

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

Overview

Get / dump OVS flow configuration and state

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
Structs::OvsHeader
ATTRIBUTE_SET =
AttributeSets::FlowAttrs
ATTRIBUTES =
Ractor.make_shareable(%i[key ufid ufid_flags])

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

ifindex of local port for datapath (0 to make a request not specific to a datapath).

Returns:

  • (Integer)


2633
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2633

def dp_ifindex; fixed_header.dp_ifindex; end

#key ⇒ AttributeSets::KeyAttrs

Nested attributes specifying the flow key. Always present in notifications. Required for all requests (except dumps).



2639
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2639

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

#ufid ⇒ String

A value between 1-16 octets specifying a unique identifier for the flow. Causes the flow to be indexed by this value rather than the value of the OVS_FLOW_ATTR_KEY attribute. Optional for all requests. Present in notifications if the flow was created with this attribute.

Returns:

  • (String)

See Also:



2648
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2648

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

#ufid_flags ⇒ Integer

A 32-bit value of ORed flags that provide alternative semantics for flow installation and retrieval. Optional for all requests.

Known flags are defined in Flags::OvsUfidFlags.

Returns:

  • (Integer)

See Also:



2657
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2657

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