Class: Nl::Linux::OvsVport::Messages::DumpGetRequest

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

Overview

Get / dump OVS vport configuration and state

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
Structs::OvsHeader
ATTRIBUTE_SET =
AttributeSets::Vport
ATTRIBUTES =
Ractor.make_shareable(%i[name])

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)


463
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 463

def dp_ifindex; fixed_header.dp_ifindex; end

#name ⇒ String

Returns:

  • (String)

See Also:



467
# File 'nl-linux/generated/nl/linux/ovs_vport.rb', line 467

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