Compute nodes REST API

Use this REST API to manage compute nodes.

Get all compute nodes

URI /admin/resources/compute_nodes
Method GET
Returns 200 Returns a list of all Compute Nodes
404 The Compute Node list was not found
500 Platform System Manager encountered an internal error while processing the request.

Returns a list of compute nodes.

You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.

Response body

[
   {
      "vendor_informations": [
         "/admin/resources/vendor_informations/22efa754-59d3-45a7-8358-0cba4b871850"
      ],
      "created_time_raw": 1463766762563,
      "health_stats": [
         "/admin/resources/health_stats/5e95fbaa-76a9-441f-b5f0-6299932e2727"
      ],
      "last_state_change_reason_text": "The state was automatically changed to available after changing the compute node's cloud group.",
      "power_target_state": "powered_on",
      "hypervisors": [
         "/admin/resources/hypervisors/aacf6ee5-0f61-46a5-a45e-09db8c17084d"
      ],
      "ha_reservation": null,
      "architecture": "AC1",
      "ha_reservation_time": 0,
      "updated_time": "Thu 09 Jun 2016 00:15:30.927 UTC",
      "physical_memory": [
         "/admin/resources/physical_memory/d0b6de68-3a91-4ad2-803e-8442d839981a"
      ],
      "leds": [
         "/admin/resources/leds/25443cc5-f03c-43fc-8deb-a03e62b77366",
         "/admin/resources/leds/94b203f9-5bbe-4488-a5ca-bd6da89584b5",
         "/admin/resources/leds/55625e6e-2ff3-4097-8120-748e295f859c",
         "/admin/resources/leds/ead7ab6b-2d78-4187-b093-e96174e730cd",
         "/admin/resources/leds/c7b8fe8d-cdcb-4693-9744-c878b439076d",
         "/admin/resources/leds/f4c88cf3-c2ef-4a2a-b154-a0bd2c4cfe03"
      ],
      "pureScaleInstances": [
      ],
      "target_result": "done",
      "power_target_result": "done",
      "vdcs_target": "/admin/resources/vdcs/f1a96acd-a6dd-4c77-8e86-f941e322fc24",
      "service_processor_level": "n/a",
      "power_state_change_reason_text": "Powered off during system shut down",
      "virtual_management_instances": null,
      "number_of_power_cycles": 3,
      "label_text": "Compute Node",
      "label_key": "pure0518",
      "power_state_is_pinned": "F",
      "last_boot_time": "Wed 25 May 2016 20:25:32.571 UTC",
      "maintenance_types_available": null,
      "machine_type": "9532",
      "updated_time_raw": 1465431330927,
      "last_instance_change_time": "Fri 03 Jun 2016 13:38:51.813 UTC",
      "processor_type": null,
      "in_maintenance": "F",
      "events": [
      ],
      "compute_node_chassis": "/admin/resources/compute_node_chassis/d6e0773b-b173-41f3-a4d5-f00c0768e13f",
      "uefi_level": null,
      "state": "available",
      "vms_state": null,
      "power_state_change_reason_key": "pure0571",
      "version": "2.2.2.0",
      "id": "/admin/resources/compute_nodes/7230d499-67f8-420d-974c-c32bec79693a",
      "label_user": "Compute Node",
      "last_boot_time_raw": 1464207932571,
      "locations": [
         "/admin/resources/locations/9ebaf924-5a12-42d6-954a-6cbfc72501c2"
      ],
      "vms_id": "https://[fd8c:215d:178e:c51e:20c:54ff:fe9e:8df7]/sdk#HostSystem#host-47",
      "name": "SN#J10F0NF",
      "temperature_stats": [
         "/admin/resources/temperature_stats/ab1af33f-14a0-4026-bbc5-0112f18d7d47"
      ],
      "energy_stats": [
         "/admin/resources/energy_stats/2545ddf0-e1ad-4807-b5f6-85f00048120b"
      ],
      "firmware_level": null,
      "uefi_level_backup": null,
      "physical_io_adapters": [
         "/admin/resources/physical_io_adapters/9b6e4ef7-441c-406c-b3f6-dd88aec1982f"
      ],
      "power_state": "powered_on",
      "physical_cpus": [
         "/admin/resources/physical_cpus/3e30aa29-3156-467c-8bbc-b7a45c0e1b22"
      ],
      "isas_rn": 1,
      "target_state": "available",
      "vdcs": "/admin/resources/vdcs/f1a96acd-a6dd-4c77-8e86-f941e322fc24",
      "vdcs_target_result": "done",
      "number_of_instances": 4,
      "dsa_level": "n/a",
      "last_instance_change_time_raw": 1464961131813,
      "vms_uuid": "97576376-4dfc-e511-af3a-0090fada61de",
      "firmware_level_backup": null,
      "pvu_value": 70,
      "last_state_change_reason_key": "pure1887",
      "created_time": "Fri 20 May 2016 17:52:42.563 UTC"
   }
]
architecture
The architecture for the compute node
compute_node_chassis
The compute node chassis the compute node is associated with
created_time
The time at which the object is created
firmware_level
The level of firmware on the compute node
id
The unique ID of the object in the system.
label_key
The key for retrieving the label for the compute node
label_text
Default translated message text
label_user
User modified message text
last_boot_time
The time the compute node was last booted
last_instance_change_time
The last time the number of instances changed on the compute node
machine_type
The machine type for the compute node
name
The name of the compute node
number_of_instances
The number of instances deployed on the compute node
number_of_power_cycles
The number of power cycles performed on compute node
power_state
The current power state of the compute node. Valid states are "powered_on" or "powered_off"
power_state_is_pinned
Whether or not the power state of the compute node can be changed. Valid values are "T" and "F" representing true and false respectively
power_target_result
The result of the power state change of the compute node
power_target_state
The user modifiable preferred power state of the compute node. Valid states are "powered_on" or "powered_off"
pvu_value
The Processor Value Units (PVU) used in licensing of the processors for the compute node
service_processor_level
The service processor level of the compute node
state
The general availability of the object. If "pending" the object has been created but not activated. If "available" the object is active in the system.
target_result
The result of the state change of the compute node
target_state
The user modifiable preferred state of the compute node. Valid states are "available", "quiesced", "maintenance"
uefi_level
The UEFI code level of the compute node
updated_time
The time at which the object was last updated
vdcs
The Virtual Data Center (VDC) associated with the compute node
vdcs_target
The user modifiable preferred VDC of the compute node
vdcs_target_result
The result of the VDC change of the compute node
vms_id
The virtual management system ID for the compute node
vms_uuid
The virtual management system UUID for the compute node

Parents:

compute_node_chassis

Children:

physical_cpus, physical_memory, physical_io_adapters, hypervisors, leds, vendor_informations, locations, energy_stats, health_stats, events, , temperature_stats

Get a specific compute node

URI /admin/resources/compute_nodes/{id}
Method GET
Returns 200 The Compute Node was returned.
404 The Compute Node was not found
500 Platform System Manager encountered an internal error while processing the request.

Returns a single compute node identified by {id}.

You can use optional parameters to modify the response from the REST API call. For more information, see the Related information section.