Class: XClarityClient::Switch

Inherits:
Endpoints::XclarityEndpoint show all
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

Method Summary

Methods inherited from Endpoints::XclarityEndpoint

#initialize

Methods included from Endpoints::BuildableResourceMixin

#build_resource!, #to_hash

Constructor Details

This class inherits a constructor from XClarityClient::Endpoints::XclarityEndpoint

Instance Attribute Details

#accessStateObject

Returns the value of attribute accessState.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def accessState
  @accessState
end

#applyPendingObject

Returns the value of attribute applyPending.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def applyPending
  @applyPending
end

#attachedNodesObject

Returns the value of attribute attachedNodes.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def attachedNodes
  @attachedNodes
end

#backedByObject

Returns the value of attribute backedBy.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def backedBy
  @backedBy
end

#cmmDisplayNameObject

Returns the value of attribute cmmDisplayName.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def cmmDisplayName
  @cmmDisplayName
end

#cmmHealthStateObject

Returns the value of attribute cmmHealthState.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def cmmHealthState
  @cmmHealthState
end

#contactObject

Returns the value of attribute contact.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def contact
  @contact
end

#cpuUtilizationObject

Returns the value of attribute cpuUtilization.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def cpuUtilization
  @cpuUtilization
end

#dataHandleObject

Returns the value of attribute dataHandle.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def dataHandle
  @dataHandle
end

#descriptionObject

Returns the value of attribute description.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def description
  @description
end

#dnsHostnamesObject

Returns the value of attribute dnsHostnames.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def dnsHostnames
  @dnsHostnames
end

#entitleSerialNumberObject

Returns the value of attribute entitleSerialNumber.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def entitleSerialNumber
  @entitleSerialNumber
end

#errorFieldsObject

Returns the value of attribute errorFields.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def errorFields
  @errorFields
end

#excludedHealthStateObject

Returns the value of attribute excludedHealthState.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def excludedHealthState
  @excludedHealthState
end

#fansObject

Returns the value of attribute fans.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def fans
  @fans
end

#firmwareObject

Returns the value of attribute firmware.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def firmware
  @firmware
end

#FRUObject

Returns the value of attribute FRU.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def FRU
  @FRU
end

#fruSerialNumberObject

Returns the value of attribute fruSerialNumber.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def fruSerialNumber
  @fruSerialNumber
end

#heightObject

Returns the value of attribute height.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def height
  @height
end

#hostnameObject

Returns the value of attribute hostname.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def hostname
  @hostname
end

#ipInterfacesObject

Returns the value of attribute ipInterfaces.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def ipInterfaces
  @ipInterfaces
end

#ipv4AddressesObject

Returns the value of attribute ipv4Addresses.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def ipv4Addresses
  @ipv4Addresses
end

#ipv6AddressesObject

Returns the value of attribute ipv6Addresses.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def ipv6Addresses
  @ipv6Addresses
end

#ledsObject

Returns the value of attribute leds.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def leds
  @leds
end

#locationObject

Returns the value of attribute location.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def location
  @location
end

#macAddressesObject

Returns the value of attribute macAddresses.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def macAddresses
  @macAddresses
end

#machineTypeObject

Returns the value of attribute machineType.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def machineType
  @machineType
end

#manufacturerObject

Returns the value of attribute manufacturer.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def manufacturer
  @manufacturer
end

#manufacturerIdObject

Returns the value of attribute manufacturerId.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def manufacturerId
  @manufacturerId
end

#manufacturingDateObject

Returns the value of attribute manufacturingDate.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def manufacturingDate
  @manufacturingDate
end

#memoryUtilizationObject

Returns the value of attribute memoryUtilization.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def memoryUtilization
  @memoryUtilization
end

#mgmtProcIPaddressObject

Returns the value of attribute mgmtProcIPaddress.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def mgmtProcIPaddress
  @mgmtProcIPaddress
end

#modelObject

Returns the value of attribute model.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def model
  @model
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def name
  @name
end

#ntpPushEnabledObject

Returns the value of attribute ntpPushEnabled.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def ntpPushEnabled
  @ntpPushEnabled
end

#ntpPushFrequencyObject

Returns the value of attribute ntpPushFrequency.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def ntpPushFrequency
  @ntpPushFrequency
end

#OSObject

Returns the value of attribute OS.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def OS
  @OS
end

#overallHealthStateObject

Returns the value of attribute overallHealthState.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def overallHealthState
  @overallHealthState
end

#panicDumpObject

Returns the value of attribute panicDump.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def panicDump
  @panicDump
end

#parentObject

Returns the value of attribute parent.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def parent
  @parent
end

#partNumberObject

Returns the value of attribute partNumber.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def partNumber
  @partNumber
end

#portsObject

Returns the value of attribute ports.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def ports
  @ports
end

#posIDObject

Returns the value of attribute posID.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def posID
  @posID
end

#powerAllocationObject

Returns the value of attribute powerAllocation.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def powerAllocation
  @powerAllocation
end

#powerStateObject

Returns the value of attribute powerState.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def powerState
  @powerState
end

#powerSupplyObject

Returns the value of attribute powerSupply.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def powerSupply
  @powerSupply
end

#productIdObject

Returns the value of attribute productId.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def productId
  @productId
end

#productNameObject

Returns the value of attribute productName.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def productName
  @productName
end

#protectedModeObject

Returns the value of attribute protectedMode.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def protectedMode
  @protectedMode
end

#resetReasonObject

Returns the value of attribute resetReason.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def resetReason
  @resetReason
end

#savePendingObject

Returns the value of attribute savePending.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def savePending
  @savePending
end

#serialNumberObject

Returns the value of attribute serialNumber.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def serialNumber
  @serialNumber
end

#slotsObject

Returns the value of attribute slots.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def slots
  @slots
end

#stackModeObject

Returns the value of attribute stackMode.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def stackMode
  @stackMode
end

#stackRoleObject

Returns the value of attribute stackRole.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def stackRole
  @stackRole
end

#sysObjectIDObject

Returns the value of attribute sysObjectID.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def sysObjectID
  @sysObjectID
end

#temperatureSensorsObject

Returns the value of attribute temperatureSensors.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def temperatureSensors
  @temperatureSensors
end

#typeObject

Returns the value of attribute type.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def type
  @type
end

#upTimeObject

Returns the value of attribute upTime.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def upTime
  @upTime
end

#uriObject

Returns the value of attribute uri.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def uri
  @uri
end

#userDescriptionObject

Returns the value of attribute userDescription.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def userDescription
  @userDescription
end

#uuidObject

Returns the value of attribute uuid.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def uuid
  @uuid
end

#vpdIDObject

Returns the value of attribute vpdID.



9
10
11
# File 'lib/xclarity_client/endpoints/switch.rb', line 9

def vpdID
  @vpdID
end