Class: Nl::Linux::OvsFlow::Messages::DumpGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::OvsFlow::Messages::DumpGetReply
- 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 actions stats mask ufid])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#actions ⇒ AttributeSets::ActionAttrs
Nested attributes specifying the actions to take for packets that match the key.
-
#dp_ifindex ⇒ Integer
ifindex of local port for datapath (0 to make a request not specific to a datapath).
-
#key ⇒ AttributeSets::KeyAttrs
Nested attributes specifying the flow key.
-
#mask ⇒ AttributeSets::KeyAttrs
Nested attributes specifying the mask bits for wildcarded flow match.
-
#stats ⇒ Structs::OvsFlowStats
Statistics for this flow.
-
#ufid ⇒ String
A value between 1-16 octets specifying a unique identifier for the flow.
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#actions ⇒ AttributeSets::ActionAttrs
Nested attributes specifying the actions to take for packets that match the key. Always present in notifications. Required for OVS_FLOW_CMD_NEW requests, optional for OVS_FLOW_CMD_SET requests. An OVS_FLOW_CMD_SET without OVS_FLOW_ATTR_ACTIONS will not modify the actions. To clear the actions, an OVS_FLOW_ATTR_ACTIONS without any nested attributes must be given.
2685 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2685 def actions; attributes[:"actions"]&.value; end |
#dp_ifindex ⇒ Integer
ifindex of local port for datapath (0 to make a request not specific to a datapath).
2669 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2669 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).
2675 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2675 def key; attributes[:"key"]&.value; end |
#mask ⇒ AttributeSets::KeyAttrs
Nested attributes specifying the mask bits for wildcarded flow match. Mask bit value '1' specifies exact match with corresponding flow key bit, while mask bit value '0' specifies a wildcarded match. Omitting attribute is treated as wildcarding all corresponding fields. Optional for all requests. If not present, all flow key bits are exact match bits.
2701 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2701 def mask; attributes[:"mask"]&.value; end |
#stats ⇒ Structs::OvsFlowStats
Statistics for this flow. Present in notifications if the stats would be nonzero. Ignored in requests.
2691 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2691 def stats; attributes[:"stats"]&.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.
2710 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2710 def ufid; attributes[:"ufid"]&.value; end |