mirror of
https://opendev.org/openstack/ironic.git
synced 2026-01-16 23:01:47 +00:00
This adds node.instance_name as a top level field Additionally, to provide forwards-compatability for nova clients, we will automatically set node.instance_name if node.instance_info.display_name is being set. Tested the following in devstack, using manual CURL api calls: - Viewing an instance_name via GET /v1/nodes/node-name - Adding an instance_name - Clearing instance name on undeploy - Setting an instance_name via PATCH /v1/nodes/node-name - Setting a instance_info/display_name and validating it sets instance_name - Setting a instance_info/display_name when instance_name already exists and validating it DOES NOT OVERRIDE existing instance_name - node.instance_name not returned for API version < our micro version - querying /v1/nodes with ?instance_name=somename - (cid) Sort of fully tested integrated with nova by observing CI logs - (jayf) Added missing comments around API versions, and added a reminder comment Generated-By: Claude code Change-Id: Ic24b2e8dbe88c59f0df52a0f5581d48492ba8cd7 Signed-off-by: Afonne-CID <afonnepaulc@gmail.com> Signed-off-by: Jay Faulkner <jay@jvf.cc> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| allocation.py | ||
| base.py | ||
| bios.py | ||
| chassis.py | ||
| conductor.py | ||
| deploy_template.py | ||
| deployment.py | ||
| fields.py | ||
| firmware.py | ||
| indirection.py | ||
| inspection_rule.py | ||
| node.py | ||
| node_history.py | ||
| node_inventory.py | ||
| notification.py | ||
| port.py | ||
| portgroup.py | ||
| runbook.py | ||
| trait.py | ||
| volume_connector.py | ||
| volume_target.py | ||