Skip to main content

GET /cmms/{uuid_list}

Use this method retrieve the properties for one or more specific CMMs.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/cmms/{uuid_list}

where {uuid_list} is one or more UUIDs, separated by a comma, of the CMMs to be retrieved. To obtain the CMM UUIDs, use the GET /cmms method.

Query parameters

ParametersRequired / OptionalDescription
excludeAttributes={attributes}OptionalReturns a response that excludes the specified attributes for each resource. You can specify one or more attributes that are listed in the response body, separated by a comma.
Note
  • When the includeAttributes query parameter is specified, the excludeAttributes query parameter is ignored.
  • The response is filtered based on attribute name, not the attribute value.
  • Base attributes cannot be excluded.
includeAttributes=<attributes}OptionalReturns a response that includes the base attributes and the specified attributes for each resource. You can specify one or more attributes that are listed in the response body, separated by a comma.
Note
  • The response is filtered based on attribute name, not the attribute value.
  • If this attribute is not specified, all attributes are returned by default.

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
400Bad RequestA query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body.
403ForbiddenThe orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request.
409ConflictThere is a conflict with the current state of the resource. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
accessStateStringAccess state of the chassis. This can be one of the following values.
  • Online
  • Offline
  • Partial
  • Pending
  • Unknown
backedByStringIndicates whether the data is from a real or demo server. This can be one of the following values.
  • real. The inventory describes real hardware.
  • demo. The inventory describes demo (mock) hardware.
  • proxy. A proxy is temporarily serving to provide the inventory.
cmmDisplayNameStringDisplay name provided by the CMM
cmmHealthStateStringHealth summary that corresponds to the highest event severity of all the devices. This can be one of the following values.
  • Normal
  • Non-Critical
  • Warning
  • Minor-Failure
  • Major-Failure
  • Non-Recoverable
  • Critical
  • Unknown
dataHandleLongTime stamp of the last status update
descriptionStringDescription that was provided by the CMM
dnsHostnamesArray of stringsList of DNS hostnames
domainNameStringUser-defined domain name
errorFieldsArray of objects that contain {string, errorCode}Error code. This can be one of the following values.
  • FETCH_SUCCESS
  • FETCH_FAILED
  • NO_CONNECTOR
  • FATAL_EXCEPTION
  • NETWORK_FAIL
excludedHealthStateStringHighest severity alert with exclusions. This can be one of the following values.
  • Normal
  • Non-Critical
  • Warning
  • Minor-Failure
  • Major-Failure
  • Non-Recoverable
  • Critical
  • Unknown
firmwareArrayCMM firmware details
 buildStringFirmware build
 dateStringFirmware date
 nameStringFirmware name
 roleStringFirmware role
 statusStringFirmware status
 typeStringFirmware type
 versionStringFirmware version
FRUStringCMM FRU part number
fruSerialNumberStringCMM FRU serial number
hostConfigArrayInformation about host configuration
 DDNSenabledBooleanIdentifies whether dynamic DNS enabled. This can be one of the following values.
  • true. Dynamic DNS is enabled.
  • false. Dynamic DNS is disabled.
 DNSenabledBooleanIdentifies whether DNS enabled. This can be one of the following values.
  • true. DNS is enabled.
  • false. DNS is disabled.
 IPversionPriorityStringIP version priority. This can be one of the following values.
  • IPv6ThenIPv4
  • IPv4ThenIPv6
 priIPv4userDNSserverStringPrimary user assigned IPv4 DNS server
 priIPv6userDNSserverStringPrimary user assigned IPv6 DNS server
 secIPv4userDNSserverStringSecondary user assigned IPv4 DNS server
 secIPv6userDNSserverStringSecondary user assigned IPv6 DNS server
 terIPv4userDNSserverStringTertiary user assigned IPv4 DNS server
 terIPv6userDNSserverStringTernary user assigned IPv6 DNS server
hostnameStringUser-defined hostname
ipInterfacesArrayInformation about the CMM IP interfaces
 IPv4assignmentsArrayInformation about IPV4 assignments
  addressStringIP address
  gatewayStringGateway
  idIntegerIPv4 assignment ID
  subnetStringSubnet mask
  typeStringIPv4 assignment type. This can be one of the following values.
  • INUSE
  • CONFIGURED
  • ALIAS
  • UNKNOWN
 IPv4DHCPmodeStringIPv4 assignment method. This can be one of the following values.
  • STATIC_ONLY
  • DHCP_ONLY
  • DHCP_THEN_STATIC
  • UNKNOWN
 IPv4enabledBooleanIdentifies whether IPv4 is enabled. This can be one of the following values.
  • true. IPv4 is enabled.
  • false. IPv4 is disabled.
 IPv6assignmentsArrayInformation about IPV6 assignments
  addressStringIPv6 address
  gatewayStringGateway
  idIntegerIPv6 assignment ID
  prefixIntegerIPv6 prefix
  scopeStringIPv6 assignment scope. This can be one of the following values.
  • Global
  • LinkLocal
  • Unknown
  sourceStringIPv6 assignment source. This can be one of the following values.
  • DHCP
  • Statelesss
  • Static
  • Other
  • Unknown
  typeStringIPv6 assignment type. This can be one of the following values.
  • INUSE
  • CONFIGURED
  • ALIAS
  • UNKNOWN
 IPv6DHCPenabledBooleanIdentifies whether IPv6 DHCP is enabled. This can be one of the following values.
  • true. IPv6 DHCP is enabled.
  • false. IPv6 DHCP is disabled.
 IPv6enabledBooleanIdentifies whether IPv6 is enabled. This can be one of the following values.
  • true. IPv6 is enabled.
  • false. IPv6 is disabled.
 IPv6statelessEnabledBooleanIdentifies whether IPv6 stateless is enabled. This can be one of the following values.
  • true. IPv6 stateless is enabled.
  • false. IPv6 stateless is disabled.
 IPv6staticEnabledBooleanIdentifies whether IPv6 static is enabled. This can be one of the following values.
  • true. IPv6 static is enabled.
  • false. IPv6 static is disabled.
 labelStringLabel
 nameStringName
ipv4AddressesArray of stringsList of IPv4 addresses
ipv6AddressesArray of stringsList of IPv6 addresses
ledsObjectInformation about CMM LEDs
 colorStringLED color. This can be one of the following values.
  • Red
  • Amber
  • Yellow
  • Green
  • Blue
  • Unknown
 locationStringLED location. This can be one of the following values.
  • Front panel
  • Lightpath Card
  • Planar
  • FRU
  • Rear Panel
  • Unknown
 nameStringLED name
 stateStringLED state. This can be one of the following values.
  • Off
  • On
  • Blinking
  • Unknown
macAddressesArray of stringsList of MAC addresses
machineTypeStringCMM machine type
manufacturerStringManufacturer
manufacturerIdStringManufacturer ID
mgmtProcIPaddressStringIP address used by the Lenovo XClarity Administrator to manage this resource
modelStringCMM model
nameStringName that is displayed in the user interface for this device

The value of this attribute is determined by preferredDisplayName attribute in the GET /aicc method. For example, if the preferredDisplayName attribute is set to hostname, then the value for this name attribute is the same as the hostname attribute in the GET /aicc method.

overallHealthStateStringHighest severity of all alerts. This can be one of the following values.
  • Normal
  • Non-Critical
  • Warning
  • Minor-Failure
  • Major-Failure
  • Non-Recoverable
  • Critical
  • Unknown
parentObject 
 uriStringParent URI
 uuidStringParent UUID
partNumberStringCMM part number
powerAllocationObject 
 maximumAllocatedPowerLongMaximum power that is allocated
 minimumAllocatedPowerLongMinimum power that is allocated
productIDStringCMM product ID
roleStringRole of the CMM. This can be one of the following values.
  • primary
  • backup
serialNumberStringCMM serial number
slotsIntegerCMM primary slot
typeStringResource type. This value is always CMM
uriStringURI
userDefinedNameStringUser-defined name for the device
userDescriptionStringDescription that was defined by the user
uuidStringUUID
The following example is returned if the request is successful.
{
"cmmList": [{
"accessState": "Online",
"backedBy": "real",
"cmmDisplayName": "SN#Y010BG494063",
"cmmHealthState": "Non-Critical",
"dataHandle": 1548164031434,
"description": "Chassis Management Module 2",
"dnsHostnames": ["betacmm12.labs.lenovo.com","fd55:faaf:e1ab:2021:42f2:e9ff:febf:4e54"],
"domainName": "labs.lenovo.com",
"errorFields": [],
"excludedHealthState": "Warning",
"firmware": [{
"build": "1AON24A",
"date": "2018-09-18T04:00:00Z",
"name": "CMM firmware",
"role": "",
"status": "",
"type": "CMM firmware",
"version": "2.0.0"
}],
"FRU": "00FG678",
"fruSerialNumber": "Y010BG494063",
"hostConfig": [],
"hostname": "betacmm12",
"ipInterfaces": [{
"IPv4assignments": [{
"address": "10.243.2.118",
"gateway": "10.243.0.1",
"id": 2,
"subnet": "255.255.224.0",
"type": "INUSE"
}],
"IPv4DHCPmode": "STATIC_ONLY",
"IPv4enabled": true,
"IPv6assignments": [{
"address": "0:0:0:0:0:0:0:0",
"gateway": "0:0:0:0:0:0:0:0",
"id": 2,
"prefix": 0,
"scope": "Global",
"source": "Static",
"type": "CONFIGURED"
},
...,
{
"address": "fe80:0:0:0:42f2:e9ff:febf:4e54",
"gateway": "0:0:0:0:0:0:0:0",
"id": 1,
"prefix": 64,
"scope": "LinkLocal",
"source": "Other",
"type": "INUSE"
}],
"IPv6DHCPenabled": true,
"IPv6enabled": true,
"IPv6statelessEnabled": true,
"IPv6staticEnabled": false,
"label": "External",
"name": "eth0"
}],
"ipv4Addresses": ["10.243.2.118"],
"ipv6Addresses": ["fe80:0:0:0:42f2:e9ff:febf:4e54","fd55:faaf:e1ab:2021:42f2:e9ff:febf:4e54"],
"leds": [{
"name": "FAULT",
"state": "Off",
"color": "Amber",
"location": "FrontPanel"
}],
"macAddresses": ["40:F2:E9:BF:4E:54"],
"machineType": "",
"manufacturer": "LNVO",
"manufacturerId": "19046",
"mgmtProcIPaddress": "10.243.2.118",
"model": "",
"name": "SN#Y010BG494063",
"overallHealthState": "Warning",
"parent": {
"uri": "chassis/78FB1DD279994B95BDBC4F75F063D241",
"uuid": "78FB1DD279994B95BDBC4F75F063D241"
},
"partNumber": "00KH719",
"powerAllocation": {
"maximumAllocatedPower": 20,
"minimumAllocatedPower": 20
},
"productId": "1032",
"role": "primary",
"serialNumber": "",
"slots": [2],
"type": "CMM",
"uri": "cmm/FD98426A35C711E4972EE04173533818",
"userDefinedName": "SN#Y010BG494063",
"userDescription": "",
"uuid": "FD98426A35C711E4972EE04173533818"
}