Class: Nl::Linux::Devlink::AttributeSets::DlHealthReporter

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

Defined Under Namespace

Classes: Attribute, HealthReporterAutoDump, HealthReporterAutoRecover, HealthReporterBurstPeriod, HealthReporterDumpTs, HealthReporterDumpTsNs, HealthReporterErrCount, HealthReporterGracefulPeriod, HealthReporterName, HealthReporterRecoverCount, HealthReporterState

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#health_reporter_auto_dump ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_auto_recover ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_burst_period ⇒ Integer

Time (in msec) for recoveries before starting the grace period.

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_dump_ts ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_dump_ts_ns ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_err_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_graceful_period ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#health_reporter_recover_count ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#health_reporter_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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