Class: IControl::System::HardwareInformation

Inherits:
Base::Struct
  • Object
show all
Defined in:
lib/icontrol/system.rb,
lib/icontrol/system.rb

Overview

This structure holds the information for an individual piece of hardware in the system.

Instance Attribute Summary collapse

Instance Attribute Details

#modelString

Model information

Returns:

  • (String)

    the current value of model



209
210
211
# File 'lib/icontrol/system.rb', line 209

def model
  @model
end

#nameString

System name for the hardware

Returns:

  • (String)

    the current value of name



209
210
211
# File 'lib/icontrol/system.rb', line 209

def name
  @name
end

#slotNumeric

Identifier for the blade holding the hardware (zero for non-blade systems)

Returns:

  • (Numeric)

    the current value of slot



209
210
211
# File 'lib/icontrol/system.rb', line 209

def slot
  @slot
end

#typeIControl::System::HardwareType

General hardware type

Returns:



209
210
211
# File 'lib/icontrol/system.rb', line 209

def type
  @type
end

#versionsIControl::System::VersionInformationSequence

Miscellaneous information - an array of name/value pairs holding specific nuggets

Returns:



209
210
211
# File 'lib/icontrol/system.rb', line 209

def versions
  @versions
end