Class: Nl::Linux::Devlink::AttributeSets::DlDpipeTable

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/devlink.rb

Defined Under Namespace

Classes: Attribute, DpipeTableActions, DpipeTableCountersEnabled, DpipeTableMatches, DpipeTableName, DpipeTableResourceId, DpipeTableResourceUnits, DpipeTableSize

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



2817
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2817

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



2823
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2823

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#dpipe_table_actions ⇒ AttributeSets::DlDpipeTableActions



2798
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2798

def dpipe_table_actions; self[:"dpipe_table_actions"]&.value; end

#dpipe_table_counters_enabled ⇒ Integer

Returns:

  • (Integer)

See Also:



2802
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2802

def dpipe_table_counters_enabled; self[:"dpipe_table_counters_enabled"]&.value; end

#dpipe_table_matches ⇒ AttributeSets::DlDpipeTableMatches



2794
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2794

def dpipe_table_matches; self[:"dpipe_table_matches"]&.value; end

#dpipe_table_name ⇒ String

Returns:

  • (String)

See Also:



2786
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2786

def dpipe_table_name; self[:"dpipe_table_name"]&.value; end

#dpipe_table_resource_id ⇒ Integer

Returns:

  • (Integer)

See Also:



2806
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2806

def dpipe_table_resource_id; self[:"dpipe_table_resource_id"]&.value; end

#dpipe_table_resource_units ⇒ Integer

Returns:

  • (Integer)

See Also:



2810
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2810

def dpipe_table_resource_units; self[:"dpipe_table_resource_units"]&.value; end

#dpipe_table_size ⇒ Integer

Returns:

  • (Integer)

See Also:



2790
# File 'nl-linux/generated/nl/linux/devlink.rb', line 2790

def dpipe_table_size; self[:"dpipe_table_size"]&.value; end