Class: XClarityClient::Switch
- Inherits:
-
Endpoints::XclarityEndpoint
- Object
- Endpoints::XclarityEndpoint
- XClarityClient::Switch
- Defined in:
- lib/xclarity_client/endpoints/switch.rb
Constant Summary collapse
- BASE_URI =
'/switches'.freeze
- LIST_NAME =
'switchList'.freeze
- POWER_ACTIONS =
%i( powerCycleSoft ).freeze
Instance Attribute Summary collapse
-
#accessState ⇒ Object
Returns the value of attribute accessState.
-
#applyPending ⇒ Object
Returns the value of attribute applyPending.
-
#attachedNodes ⇒ Object
Returns the value of attribute attachedNodes.
-
#backedBy ⇒ Object
Returns the value of attribute backedBy.
-
#cmmDisplayName ⇒ Object
Returns the value of attribute cmmDisplayName.
-
#cmmHealthState ⇒ Object
Returns the value of attribute cmmHealthState.
-
#contact ⇒ Object
Returns the value of attribute contact.
-
#cpuUtilization ⇒ Object
Returns the value of attribute cpuUtilization.
-
#dataHandle ⇒ Object
Returns the value of attribute dataHandle.
-
#description ⇒ Object
Returns the value of attribute description.
-
#dnsHostnames ⇒ Object
Returns the value of attribute dnsHostnames.
-
#entitleSerialNumber ⇒ Object
Returns the value of attribute entitleSerialNumber.
-
#errorFields ⇒ Object
Returns the value of attribute errorFields.
-
#excludedHealthState ⇒ Object
Returns the value of attribute excludedHealthState.
-
#fans ⇒ Object
Returns the value of attribute fans.
-
#firmware ⇒ Object
Returns the value of attribute firmware.
-
#FRU ⇒ Object
Returns the value of attribute FRU.
-
#fruSerialNumber ⇒ Object
Returns the value of attribute fruSerialNumber.
-
#height ⇒ Object
Returns the value of attribute height.
-
#hostname ⇒ Object
Returns the value of attribute hostname.
-
#ipInterfaces ⇒ Object
Returns the value of attribute ipInterfaces.
-
#ipv4Addresses ⇒ Object
Returns the value of attribute ipv4Addresses.
-
#ipv6Addresses ⇒ Object
Returns the value of attribute ipv6Addresses.
-
#leds ⇒ Object
Returns the value of attribute leds.
-
#location ⇒ Object
Returns the value of attribute location.
-
#macAddresses ⇒ Object
Returns the value of attribute macAddresses.
-
#machineType ⇒ Object
Returns the value of attribute machineType.
-
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
-
#manufacturerId ⇒ Object
Returns the value of attribute manufacturerId.
-
#manufacturingDate ⇒ Object
Returns the value of attribute manufacturingDate.
-
#memoryUtilization ⇒ Object
Returns the value of attribute memoryUtilization.
-
#mgmtProcIPaddress ⇒ Object
Returns the value of attribute mgmtProcIPaddress.
-
#model ⇒ Object
Returns the value of attribute model.
-
#name ⇒ Object
Returns the value of attribute name.
-
#ntpPushEnabled ⇒ Object
Returns the value of attribute ntpPushEnabled.
-
#ntpPushFrequency ⇒ Object
Returns the value of attribute ntpPushFrequency.
-
#OS ⇒ Object
Returns the value of attribute OS.
-
#overallHealthState ⇒ Object
Returns the value of attribute overallHealthState.
-
#panicDump ⇒ Object
Returns the value of attribute panicDump.
-
#parent ⇒ Object
Returns the value of attribute parent.
-
#partNumber ⇒ Object
Returns the value of attribute partNumber.
-
#ports ⇒ Object
Returns the value of attribute ports.
-
#posID ⇒ Object
Returns the value of attribute posID.
-
#powerAllocation ⇒ Object
Returns the value of attribute powerAllocation.
-
#powerState ⇒ Object
Returns the value of attribute powerState.
-
#powerSupply ⇒ Object
Returns the value of attribute powerSupply.
-
#productId ⇒ Object
Returns the value of attribute productId.
-
#productName ⇒ Object
Returns the value of attribute productName.
-
#protectedMode ⇒ Object
Returns the value of attribute protectedMode.
-
#resetReason ⇒ Object
Returns the value of attribute resetReason.
-
#savePending ⇒ Object
Returns the value of attribute savePending.
-
#serialNumber ⇒ Object
Returns the value of attribute serialNumber.
-
#slots ⇒ Object
Returns the value of attribute slots.
-
#stackMode ⇒ Object
Returns the value of attribute stackMode.
-
#stackRole ⇒ Object
Returns the value of attribute stackRole.
-
#sysObjectID ⇒ Object
Returns the value of attribute sysObjectID.
-
#temperatureSensors ⇒ Object
Returns the value of attribute temperatureSensors.
-
#type ⇒ Object
Returns the value of attribute type.
-
#upTime ⇒ Object
Returns the value of attribute upTime.
-
#uri ⇒ Object
Returns the value of attribute uri.
-
#userDescription ⇒ Object
Returns the value of attribute userDescription.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
-
#vpdID ⇒ Object
Returns the value of attribute vpdID.
Method Summary
Methods inherited from Endpoints::XclarityEndpoint
Methods included from Endpoints::BuildableResourceMixin
Constructor Details
This class inherits a constructor from XClarityClient::Endpoints::XclarityEndpoint
Instance Attribute Details
#accessState ⇒ Object
Returns the value of attribute accessState.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def accessState @accessState end |
#applyPending ⇒ Object
Returns the value of attribute applyPending.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def applyPending @applyPending end |
#attachedNodes ⇒ Object
Returns the value of attribute attachedNodes.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def attachedNodes @attachedNodes end |
#backedBy ⇒ Object
Returns the value of attribute backedBy.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def backedBy @backedBy end |
#cmmDisplayName ⇒ Object
Returns the value of attribute cmmDisplayName.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def cmmDisplayName @cmmDisplayName end |
#cmmHealthState ⇒ Object
Returns the value of attribute cmmHealthState.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def cmmHealthState @cmmHealthState end |
#contact ⇒ Object
Returns the value of attribute contact.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def contact @contact end |
#cpuUtilization ⇒ Object
Returns the value of attribute cpuUtilization.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def cpuUtilization @cpuUtilization end |
#dataHandle ⇒ Object
Returns the value of attribute dataHandle.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def dataHandle @dataHandle end |
#description ⇒ Object
Returns the value of attribute description.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def description @description end |
#dnsHostnames ⇒ Object
Returns the value of attribute dnsHostnames.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def dnsHostnames @dnsHostnames end |
#entitleSerialNumber ⇒ Object
Returns the value of attribute entitleSerialNumber.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def entitleSerialNumber @entitleSerialNumber end |
#errorFields ⇒ Object
Returns the value of attribute errorFields.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def errorFields @errorFields end |
#excludedHealthState ⇒ Object
Returns the value of attribute excludedHealthState.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def excludedHealthState @excludedHealthState end |
#fans ⇒ Object
Returns the value of attribute fans.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def fans @fans end |
#firmware ⇒ Object
Returns the value of attribute firmware.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def firmware @firmware end |
#FRU ⇒ Object
Returns the value of attribute FRU.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def FRU @FRU end |
#fruSerialNumber ⇒ Object
Returns the value of attribute fruSerialNumber.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def fruSerialNumber @fruSerialNumber end |
#height ⇒ Object
Returns the value of attribute height.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def height @height end |
#hostname ⇒ Object
Returns the value of attribute hostname.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def hostname @hostname end |
#ipInterfaces ⇒ Object
Returns the value of attribute ipInterfaces.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def ipInterfaces @ipInterfaces end |
#ipv4Addresses ⇒ Object
Returns the value of attribute ipv4Addresses.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def ipv4Addresses @ipv4Addresses end |
#ipv6Addresses ⇒ Object
Returns the value of attribute ipv6Addresses.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def ipv6Addresses @ipv6Addresses end |
#leds ⇒ Object
Returns the value of attribute leds.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def leds @leds end |
#location ⇒ Object
Returns the value of attribute location.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def location @location end |
#macAddresses ⇒ Object
Returns the value of attribute macAddresses.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def macAddresses @macAddresses end |
#machineType ⇒ Object
Returns the value of attribute machineType.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def machineType @machineType end |
#manufacturer ⇒ Object
Returns the value of attribute manufacturer.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def manufacturer @manufacturer end |
#manufacturerId ⇒ Object
Returns the value of attribute manufacturerId.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def manufacturerId @manufacturerId end |
#manufacturingDate ⇒ Object
Returns the value of attribute manufacturingDate.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def manufacturingDate @manufacturingDate end |
#memoryUtilization ⇒ Object
Returns the value of attribute memoryUtilization.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def memoryUtilization @memoryUtilization end |
#mgmtProcIPaddress ⇒ Object
Returns the value of attribute mgmtProcIPaddress.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def mgmtProcIPaddress @mgmtProcIPaddress end |
#model ⇒ Object
Returns the value of attribute model.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def model @model end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def name @name end |
#ntpPushEnabled ⇒ Object
Returns the value of attribute ntpPushEnabled.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def ntpPushEnabled @ntpPushEnabled end |
#ntpPushFrequency ⇒ Object
Returns the value of attribute ntpPushFrequency.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def ntpPushFrequency @ntpPushFrequency end |
#OS ⇒ Object
Returns the value of attribute OS.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def OS @OS end |
#overallHealthState ⇒ Object
Returns the value of attribute overallHealthState.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def overallHealthState @overallHealthState end |
#panicDump ⇒ Object
Returns the value of attribute panicDump.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def panicDump @panicDump end |
#parent ⇒ Object
Returns the value of attribute parent.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def parent @parent end |
#partNumber ⇒ Object
Returns the value of attribute partNumber.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def partNumber @partNumber end |
#ports ⇒ Object
Returns the value of attribute ports.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def ports @ports end |
#posID ⇒ Object
Returns the value of attribute posID.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def posID @posID end |
#powerAllocation ⇒ Object
Returns the value of attribute powerAllocation.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def powerAllocation @powerAllocation end |
#powerState ⇒ Object
Returns the value of attribute powerState.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def powerState @powerState end |
#powerSupply ⇒ Object
Returns the value of attribute powerSupply.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def powerSupply @powerSupply end |
#productId ⇒ Object
Returns the value of attribute productId.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def productId @productId end |
#productName ⇒ Object
Returns the value of attribute productName.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def productName @productName end |
#protectedMode ⇒ Object
Returns the value of attribute protectedMode.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def protectedMode @protectedMode end |
#resetReason ⇒ Object
Returns the value of attribute resetReason.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def resetReason @resetReason end |
#savePending ⇒ Object
Returns the value of attribute savePending.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def savePending @savePending end |
#serialNumber ⇒ Object
Returns the value of attribute serialNumber.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def serialNumber @serialNumber end |
#slots ⇒ Object
Returns the value of attribute slots.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def slots @slots end |
#stackMode ⇒ Object
Returns the value of attribute stackMode.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def stackMode @stackMode end |
#stackRole ⇒ Object
Returns the value of attribute stackRole.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def stackRole @stackRole end |
#sysObjectID ⇒ Object
Returns the value of attribute sysObjectID.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def sysObjectID @sysObjectID end |
#temperatureSensors ⇒ Object
Returns the value of attribute temperatureSensors.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def temperatureSensors @temperatureSensors end |
#type ⇒ Object
Returns the value of attribute type.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def type @type end |
#upTime ⇒ Object
Returns the value of attribute upTime.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def upTime @upTime end |
#uri ⇒ Object
Returns the value of attribute uri.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def uri @uri end |
#userDescription ⇒ Object
Returns the value of attribute userDescription.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def userDescription @userDescription end |
#uuid ⇒ Object
Returns the value of attribute uuid.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def uuid @uuid end |
#vpdID ⇒ Object
Returns the value of attribute vpdID.
9 10 11 |
# File 'lib/xclarity_client/endpoints/switch.rb', line 9 def vpdID @vpdID end |