This patch updates the generic management interface and adds a new REST API to support the injection of Non-Masking Interrupts (NMI) for a node. This feature can be used for hardware diagnostics, and actual support depends on a driver. Partial-Bug: #1526226 Change-Id: I08d74f5ccbc386baca1fb29e428fe01924499d45
5.1 KiB
REST API Version History
1.29 (Ocata)
Add a new management API to support inject NMI, 'PUT /v1/nodes/(node_ident)/management/inject_nmi'.
1.28 (Ocata)
Add '/v1/nodes/<node identifier>/vifs' endpoint for attach, detach and list of VIFs.
1.27 (Ocata)
Add
soft rebooting
andsoft power off
as possible values for thetarget
field of the power state change payload, and also addtimeout
field to it.
1.26 (Ocata)
Add portgroup
mode
andproperties
fields.
1.25 (Ocata)
Add possibility to unset chassis_uuid from a node.
1.24 (Ocata)
Added new endpoints '/v1/nodes/<node>/portgroups' and '/v1/portgroups/<portgroup>/ports'. Added new field
port.portgroup_uuid
.
1.23 (Ocata)
Added '/v1/portgroups/ endpoint.
1.22 (Newton, 6.1.0)
Added endpoints for deployment ramdisks.
1.21 (Newton, 6.1.0)
Add node
resource_class
field.
1.20 (Newton, 6.1.0)
Add node
network_interface
field.
1.19 (Newton, 6.1.0)
Add
local_link_connection
andpxe_enabled
fields to the port object.
1.18 (Newton, 6.1.0)
Add
internal_info
readonly field to the port object, that will be used by ironic to store internal port-related information.
1.17 (Newton, 6.0.0)
Addition of provision_state verb
adopt
which allows an operator to move a node frommanageable
state toactive
state without performing a deployment operation on the node. This is intended for nodes that have already been deployed by external means.
1.16 (Mitaka, 5.0.0)
Add ability to filter nodes by driver.
1.15 (Mitaka, 5.0.0)
Add ability to do manual cleaning when a node is in the manageable provision state via PUT v1/nodes/<identifier>/states/provision, target:clean, clean_steps:[...].
1.14 (Liberty, 4.2.0)
Make the following endpoints discoverable via Ironic API:
- '/v1/nodes/<UUID or logical name>/states'
- '/v1/drivers/<driver name>/properties'
1.13 (Liberty, 4.2.0)
Add a new verb
abort
to the API used to abort nodes inCLEANWAIT
state.
1.12 (Liberty, 4.2.0)
This API version adds the following abilities:
- Get/set
node.target_raid_config
and to getnode.raid_config
.- Retrieve the logical disk properties for the driver.
1.11 (Liberty, 4.0.0, breaking change)
Newly registered nodes begin in the
enroll
provision state by default, instead ofavailable
. To get them to theavailable
state, themanage
action must first be run to verify basic hardware control. On success the node moves tomanageable
provision state. Then theprovide
action must be run. Automated cleaning of the node is done and the node is madeavailable
.
1.10 (Liberty, 4.0.0)
Logical node names support all RFC 3986 unreserved characters. Previously only valid fully qualified domain names could be used.
1.9 (Liberty, 4.0.0)
Add ability to filter nodes by provision state.
1.8 (Liberty, 4.0.0)
Add ability to return a subset of resource fields.
1.7 (Liberty, 4.0.0)
Add node
clean_step
field.
1.6 (Kilo)
Add
inspection
process: introduceinspecting
andinspectfail
provision states, andinspect
action that can be used when a node is inmanageable
provision state.
1.5 (Kilo)
Add logical node names that can be used to address a node in addition to the node UUID. Name is expected to be a valid fully qualified domain name in this version of API.
1.4 (Kilo)
Add
manageable
state andmanage
transition, which can be used to move a node tomanageable
state fromavailable
. The node cannot be deployed inmanageable
state. This change is mostly a preparation for future inspection work and introduction ofenroll
provision state.
1.3 (Kilo)
Add node
driver_internal_info
field.
1.2 (Kilo, breaking change)
Renamed NOSTATE (
None
in Python,null
in JSON) node state toavailable
. This is needed to reduce confusion aroundNone
state, especially when future additions to the state machine land.
1.1 (Kilo)
This was the initial version when API versioning was introduced. Includes the following changes from Kilo release cycle:
- Add node
maintenance_reason
field and an API endpoint to set/unset the node maintenance mode.- Add sync and async support for vendor passthru methods.
- Vendor passthru endpoints support different HTTP methods, not only
POST
.- Make vendor methods discoverable via the Ironic API.
- Add logic to store the config drive passed by Nova.
This has been the minimum supported version since versioning was introduced.
1.0 (Juno)
This version denotes Juno API and was never explicitly supported, as API versioning was not implemented in Juno, and 1.1 became the minimum supported version in Kilo.