Class: XClarityClient::Node

Inherits:
Endpoints::XclarityEndpoint show all
Defined in:
lib/xclarity_client/endpoints/node.rb

Constant Summary collapse

BASE_URI =
'/nodes'.freeze
LIST_NAME =
'nodeList'.freeze
POWER_ACTIONS =
%i(
  powerOn
  powerOffSoftGraceful
  powerOff
  powerCycleSoftGrace
  powerCycleSoft
  bootToF1
).freeze
LED_STATES =
%w(
  Blinking
  On
  Off
).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.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def accessState
  @accessState
end

#activationKeysObject

Returns the value of attribute activationKeys.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def activationKeys
  @activationKeys
end

#addinCardsObject

Returns the value of attribute addinCards.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def addinCards
  @addinCards
end

#addinCardSlotsObject

Returns the value of attribute addinCardSlots.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def addinCardSlots
  @addinCardSlots
end

#archObject

Returns the value of attribute arch.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def arch
  @arch
end

#backedByObject

Returns the value of attribute backedBy.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def backedBy
  @backedBy
end

#bladeStateObject

Returns the value of attribute bladeState.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def bladeState
  @bladeState
end

#bladeState_healthObject

Returns the value of attribute bladeState_health.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def bladeState_health
  @bladeState_health
end

#bladeState_stringObject

Returns the value of attribute bladeState_string.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def bladeState_string
  @bladeState_string
end

#bootModeObject

Returns the value of attribute bootMode.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def bootMode
  @bootMode
end

#bootOrderObject

Returns the value of attribute bootOrder.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def bootOrder
  @bootOrder
end

#canistersObject

Returns the value of attribute canisters.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def canisters
  @canisters
end

#canisterSlotsObject

Returns the value of attribute canisterSlots.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def canisterSlots
  @canisterSlots
end

#cmmDisplayNameObject

Returns the value of attribute cmmDisplayName.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def cmmDisplayName
  @cmmDisplayName
end

#cmmHealthStateObject

Returns the value of attribute cmmHealthState.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def cmmHealthState
  @cmmHealthState
end

#complexIDObject

Returns the value of attribute complexID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def complexID
  @complexID
end

#contactObject

Returns the value of attribute contact.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def contact
  @contact
end

#dataHandleObject

Returns the value of attribute dataHandle.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def dataHandle
  @dataHandle
end

#descriptionObject

Returns the value of attribute description.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def description
  @description
end

#displayNameObject

Returns the value of attribute displayName.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def displayName
  @displayName
end

#dnsHostnamesObject

Returns the value of attribute dnsHostnames.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def dnsHostnames
  @dnsHostnames
end

#domainNameObject

Returns the value of attribute domainName.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def domainName
  @domainName
end

#driveBaysObject

Returns the value of attribute driveBays.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def driveBays
  @driveBays
end

#drivesObject

Returns the value of attribute drives.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def drives
  @drives
end

#embeddedHypervisorPresenceObject

Returns the value of attribute embeddedHypervisorPresence.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def embeddedHypervisorPresence
  @embeddedHypervisorPresence
end

#encapsulationObject

Returns the value of attribute encapsulation.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def encapsulation
  @encapsulation
end

#enclosure_form_factorObject

Returns the value of attribute enclosure_form_factor.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def enclosure_form_factor
  @enclosure_form_factor
end

#errorFieldsObject

Returns the value of attribute errorFields.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def errorFields
  @errorFields
end

#excludedHealthStateObject

Returns the value of attribute excludedHealthState.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def excludedHealthState
  @excludedHealthState
end

#expansionCardsObject

Returns the value of attribute expansionCards.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def expansionCards
  @expansionCards
end

#expansionCardSlotsObject

Returns the value of attribute expansionCardSlots.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def expansionCardSlots
  @expansionCardSlots
end

#expansionProductsObject

Returns the value of attribute expansionProducts.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def expansionProducts
  @expansionProducts
end

#expansionProductTypeObject

Returns the value of attribute expansionProductType.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def expansionProductType
  @expansionProductType
end

#faceplateIDsObject

Returns the value of attribute faceplateIDs.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def faceplateIDs
  @faceplateIDs
end

#fansObject

Returns the value of attribute fans.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def fans
  @fans
end

#FeaturesOnDemandObject

Returns the value of attribute FeaturesOnDemand.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def FeaturesOnDemand
  @FeaturesOnDemand
end

#firmwareObject

Returns the value of attribute firmware.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def firmware
  @firmware
end

#flashStorageObject

Returns the value of attribute flashStorage.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def flashStorage
  @flashStorage
end

#FQDNObject

Returns the value of attribute FQDN.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def FQDN
  @FQDN
end

#FRUObject

Returns the value of attribute FRU.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def FRU
  @FRU
end

#fruNumberObject

Returns the value of attribute fruNumber.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def fruNumber
  @fruNumber
end

#fruSerialNumberObject

Returns the value of attribute fruSerialNumber.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def fruSerialNumber
  @fruSerialNumber
end

#hasOSObject

Returns the value of attribute hasOS.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def hasOS
  @hasOS
end

#heightObject

Returns the value of attribute height.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def height
  @height
end

#hostMacAddressesObject

Returns the value of attribute hostMacAddresses.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def hostMacAddresses
  @hostMacAddresses
end

#hostnameObject

Returns the value of attribute hostname.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def hostname
  @hostname
end

#ipAddressesObject

Returns the value of attribute ipAddresses.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def ipAddresses
  @ipAddresses
end

#ipInterfacesObject

Returns the value of attribute ipInterfaces.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def ipInterfaces
  @ipInterfaces
end

#ipv4AddressesObject

Returns the value of attribute ipv4Addresses.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def ipv4Addresses
  @ipv4Addresses
end

#ipv6AddressesObject

Returns the value of attribute ipv6Addresses.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def ipv6Addresses
  @ipv6Addresses
end

#isConnectionTrustedObject

Returns the value of attribute isConnectionTrusted.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def isConnectionTrusted
  @isConnectionTrusted
end

#isITMEObject

Returns the value of attribute isITME.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def isITME
  @isITME
end

#isRemotePresenceEnabledObject

Returns the value of attribute isRemotePresenceEnabled.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def isRemotePresenceEnabled
  @isRemotePresenceEnabled
end

#isScalableObject

Returns the value of attribute isScalable.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def isScalable
  @isScalable
end

#lanOverUsbObject

Returns the value of attribute lanOverUsb.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def lanOverUsb
  @lanOverUsb
end

#lanOverUsbPortForwardingModesObject

Returns the value of attribute lanOverUsbPortForwardingModes.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def lanOverUsbPortForwardingModes
  @lanOverUsbPortForwardingModes
end

#ledsObject

Returns the value of attribute leds.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def leds
  @leds
end

#locationObject

Returns the value of attribute location.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def location
  @location
end

#logicalIDObject

Returns the value of attribute logicalID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def logicalID
  @logicalID
end

#m2PresenceObject

Returns the value of attribute m2Presence.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def m2Presence
  @m2Presence
end

#macAddressObject

Returns the value of attribute macAddress.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def macAddress
  @macAddress
end

#machineTypeObject

Returns the value of attribute machineType.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def machineType
  @machineType
end

#management_processor_typeObject

Returns the value of attribute management_processor_type.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def management_processor_type
  @management_processor_type
end

#managementPortsObject

Returns the value of attribute managementPorts.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def managementPorts
  @managementPorts
end

#manufacturerObject

Returns the value of attribute manufacturer.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def manufacturer
  @manufacturer
end

#manufacturerIdObject

Returns the value of attribute manufacturerId.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def manufacturerId
  @manufacturerId
end

#memoryModulesObject

Returns the value of attribute memoryModules.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def memoryModules
  @memoryModules
end

#memorySlotsObject

Returns the value of attribute memorySlots.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def memorySlots
  @memorySlots
end

#mgmtProcIPaddressObject

Returns the value of attribute mgmtProcIPaddress.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def mgmtProcIPaddress
  @mgmtProcIPaddress
end

#mgmtProcTypeObject

Returns the value of attribute mgmtProcType.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def mgmtProcType
  @mgmtProcType
end

#modelObject

Returns the value of attribute model.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def model
  @model
end

#nameObject

Returns the value of attribute name.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def name
  @name
end

#nistObject

Returns the value of attribute nist.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def nist
  @nist
end

#onboardPciDevicesObject

Returns the value of attribute onboardPciDevices.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def onboardPciDevices
  @onboardPciDevices
end

#overallHealthStateObject

Returns the value of attribute overallHealthState.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def overallHealthState
  @overallHealthState
end

#parentObject

Returns the value of attribute parent.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def parent
  @parent
end

#parentComplexIDObject

Returns the value of attribute parentComplexID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def parentComplexID
  @parentComplexID
end

#parentPartitionUUIDObject

Returns the value of attribute parentPartitionUUID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def parentPartitionUUID
  @parentPartitionUUID
end

#partitionEnabledObject

Returns the value of attribute partitionEnabled.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def partitionEnabled
  @partitionEnabled
end

#partitionIDObject

Returns the value of attribute partitionID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def partitionID
  @partitionID
end

#partNumberObject

Returns the value of attribute partNumber.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def partNumber
  @partNumber
end

#passwordObject

Returns the value of attribute password.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def password
  @password
end

#pciCapabilitiesObject

Returns the value of attribute pciCapabilities.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def pciCapabilities
  @pciCapabilities
end

#pciDevicesObject

Returns the value of attribute pciDevices.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def pciDevices
  @pciDevices
end

#physicalIDObject

Returns the value of attribute physicalID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def physicalID
  @physicalID
end

#portsObject

Returns the value of attribute ports.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def ports
  @ports
end

#posIDObject

Returns the value of attribute posID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def posID
  @posID
end

#powerAllocationObject

Returns the value of attribute powerAllocation.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def powerAllocation
  @powerAllocation
end

#powerCappingPolicyObject

Returns the value of attribute powerCappingPolicy.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def powerCappingPolicy
  @powerCappingPolicy
end

#powerStatusObject

Returns the value of attribute powerStatus.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def powerStatus
  @powerStatus
end

#powerSuppliesObject

Returns the value of attribute powerSupplies.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def powerSupplies
  @powerSupplies
end

#primaryObject

Returns the value of attribute primary.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def primary
  @primary
end

#processorsObject

Returns the value of attribute processors.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def processors
  @processors
end

#processorSlotsObject

Returns the value of attribute processorSlots.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def processorSlots
  @processorSlots
end

#productIdObject

Returns the value of attribute productId.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def productId
  @productId
end

#productNameObject

Returns the value of attribute productName.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def productName
  @productName
end

#raidSettingsObject

Returns the value of attribute raidSettings.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def raidSettings
  @raidSettings
end

#recoveryPasswordObject

Returns the value of attribute recoveryPassword.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def recoveryPassword
  @recoveryPassword
end

#secureBootModeObject

Returns the value of attribute secureBootMode.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def secureBootMode
  @secureBootMode
end

#securityDescriptorObject

Returns the value of attribute securityDescriptor.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def securityDescriptor
  @securityDescriptor
end

#serialNumberObject

Returns the value of attribute serialNumber.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def serialNumber
  @serialNumber
end

#server_typeObject

Returns the value of attribute server_type.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def server_type
  @server_type
end

#slotsObject

Returns the value of attribute slots.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def slots
  @slots
end

#statusObject

Returns the value of attribute status.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def status
  @status
end

#subSlotsObject

Returns the value of attribute subSlots.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def subSlots
  @subSlots
end

#subTypeObject

Returns the value of attribute subType.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def subType
  @subType
end

#thinkServerFruObject

Returns the value of attribute thinkServerFru.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def thinkServerFru
  @thinkServerFru
end

#tlsVersionObject

Returns the value of attribute tlsVersion.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def tlsVersion
  @tlsVersion
end

#typeObject

Returns the value of attribute type.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def type
  @type
end

#uriObject

Returns the value of attribute uri.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def uri
  @uri
end

#userDefinedNameObject

Returns the value of attribute userDefinedName.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def userDefinedName
  @userDefinedName
end

#userDescriptionObject

Returns the value of attribute userDescription.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def userDescription
  @userDescription
end

#usernameObject

Returns the value of attribute username.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def username
  @username
end

#uuidObject

Returns the value of attribute uuid.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def uuid
  @uuid
end

#vnicModeObject

Returns the value of attribute vnicMode.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def vnicMode
  @vnicMode
end

#vpdIDObject

Returns the value of attribute vpdID.



22
23
24
# File 'lib/xclarity_client/endpoints/node.rb', line 22

def vpdID
  @vpdID
end