Class: Nl::Linux::Devlink::Messages::DoHealthReporterSetRequest
Overview
Set health reporter instances.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary
collapse
- TYPE =
53
nil
- ATTRIBUTE_SET =
AttributeSets::Devlink
- ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name port_index health_reporter_name health_reporter_graceful_period health_reporter_auto_recover health_reporter_auto_dump health_reporter_burst_period index])
Instance Attribute Summary
#attributes, #fixed_header
Instance Method Summary
collapse
decode
#append_attribute, decode, #initialize
#encode, #initialize
Instance Method Details
#bus_name ⇒ String
6788
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6788
def bus_name; attributes[:"bus_name"]&.value; end
|
#dev_name ⇒ String
6792
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6792
def dev_name; attributes[:"dev_name"]&.value; end
|
#health_reporter_auto_dump ⇒ Integer
6812
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6812
def health_reporter_auto_dump; attributes[:"health_reporter_auto_dump"]&.value; end
|
#health_reporter_auto_recover ⇒ Integer
6808
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6808
def health_reporter_auto_recover; attributes[:"health_reporter_auto_recover"]&.value; end
|
#health_reporter_burst_period ⇒ Integer
Time (in msec) for recoveries before starting the grace period.
6817
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6817
def health_reporter_burst_period; attributes[:"health_reporter_burst_period"]&.value; end
|
#health_reporter_graceful_period ⇒ Integer
6804
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6804
def health_reporter_graceful_period; attributes[:"health_reporter_graceful_period"]&.value; end
|
#health_reporter_name ⇒ String
6800
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6800
def health_reporter_name; attributes[:"health_reporter_name"]&.value; end
|
#index ⇒ Integer
Unique devlink instance index.
6822
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6822
def index; attributes[:"index"]&.value; end
|
#port_index ⇒ Integer
6796
|
# File 'nl-linux/generated/nl/linux/devlink.rb', line 6796
def port_index; attributes[:"port_index"]&.value; end
|