Class: Nl::Linux::OvsVport::Messages::DumpGetReply

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[port_no type name upcall_pid stats ifindex netnsid upcall_stats])

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)


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

def dp_ifindex; fixed_header.dp_ifindex; end

#ifindex ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#netnsid ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#port_no ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#stats ⇒ Structs::OvsVportStats



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

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

#type ⇒ Integer

Known enum values are defined in Enums::VportType.

Returns:

  • (Integer)

See Also:



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

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

#upcall_pid ⇒ Array<Integer>

Returns:

  • (Array<Integer>)

See Also:



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

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

#upcall_stats ⇒ AttributeSets::UpcallStats



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

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