Class: Nl::Linux::OvsVport::Messages::DoDelRequest

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

Overview

Delete existing OVS vport from a data path

Constant Summary collapse

TYPE =
2
FIXED_HEADER =
Structs::OvsHeader
ATTRIBUTE_SET =
AttributeSets::Vport
ATTRIBUTES =
Ractor.make_shareable(%i[port_no type 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)


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

def dp_ifindex; fixed_header.dp_ifindex; end

#name ⇒ String

Returns:

  • (String)

See Also:



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

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

#port_no ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#type ⇒ Integer

Known enum values are defined in Enums::VportType.

Returns:

  • (Integer)

See Also:



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

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