ironic/api-ref/source
Steve Baker 2b55444f37 Allocation candidates prefer matching name
This change finds a node with the same name as the allocation and
moves it to the beginning of the shuffled candidate list so that node
is the first allocation attempt.

It is common for node naming scheme to match the node's role (such as
compute-1, compute-2). Also this often matches the hostname
(allocation name) scheme. Without this change, this scenario will
generally result in swapped names (node compute-1 having hostname
compute-2, etc).

By preferring matching names this situation can be avoided in the
majority of cases, while not otherwise affecting the candidiate
allocation approach.

Change-Id: Ie990bfc209959d58852b9080778602eab5aa30af
2022-06-16 15:31:10 +12:00
..
samples There is no aim, we do deploy/manage baremetal. 2021-10-15 15:52:58 -07:00
baremetal-api-v1-allocation.inc Allocation candidates prefer matching name 2022-06-16 15:31:10 +12:00
baremetal-api-v1-chassis.inc Complete the REST API POST documentation 2020-12-16 11:14:37 +13:00
baremetal-api-v1-conductors.inc Expose conductors: api-ref 2019-02-12 07:02:09 -08:00
baremetal-api-v1-deploy-templates.inc Complete the REST API POST documentation 2020-12-16 11:14:37 +13:00
baremetal-api-v1-driver-passthru.inc Remove remaining vendor passthru lookup/heartbeat 2017-05-17 15:03:39 -04:00
baremetal-api-v1-drivers.inc Add support for fields in drivers API 2021-08-27 11:57:41 +02:00
baremetal-api-v1-indicators.inc Add api-ref for indicators API 2020-06-19 09:05:08 +02:00
baremetal-api-v1-misc.inc Add 'agent_token' to heartbeat request 2020-09-10 14:19:21 +00:00
baremetal-api-v1-node-allocation.inc Allocation API: fix minor issues in the API reference 2019-02-26 11:13:07 +01:00
baremetal-api-v1-node-management.inc Minor formatting and doc changes to change boot mode feature commit. 2021-08-24 14:29:53 +02:00
baremetal-api-v1-node-passthru.inc Update the api-ref documentation for Root and Nodes 2016-05-20 08:35:29 -07:00
baremetal-api-v1-nodes-bios.inc Follow-up to Include bios registry fields in bios API 2021-06-01 11:22:27 +02:00
baremetal-api-v1-nodes-history.inc API endpoints to get node history 2021-09-15 10:54:11 -07:00
baremetal-api-v1-nodes-portgroups.inc Switch API ref to use versionadded syntax throughout 2017-09-05 17:27:24 +01:00
baremetal-api-v1-nodes-ports.inc Expose is_smartnic in port API 2019-02-10 12:10:00 +02:00
baremetal-api-v1-nodes-traits.inc Add documentation for node traits 2018-01-30 15:50:55 +00:00
baremetal-api-v1-nodes-vifs.inc Complete the REST API POST documentation 2020-12-16 11:14:37 +13:00
baremetal-api-v1-nodes-volume.inc Switch API ref to use versionadded syntax throughout 2017-09-05 17:27:24 +01:00
baremetal-api-v1-nodes.inc Create API documentation from docstrings 2022-03-17 01:22:44 +05:00
baremetal-api-v1-portgroups-ports.inc Expose is_smartnic in port API 2019-02-10 12:10:00 +02:00
baremetal-api-v1-portgroups.inc Complete the REST API POST documentation 2020-12-16 11:14:37 +13:00
baremetal-api-v1-ports.inc Complete the REST API POST documentation 2020-12-16 11:14:37 +13:00
baremetal-api-v1-volume.inc Complete the REST API POST documentation 2020-12-16 11:14:37 +13:00
baremetal-api-versions.inc Switch API ref to use versionadded syntax throughout 2017-09-05 17:27:24 +01:00
conf.py Remove unicode literal from code 2022-06-02 06:14:07 +00:00
index.rst API endpoints to get node history 2021-09-15 10:54:11 -07:00
parameters.yaml Create API documentation from docstrings 2022-03-17 01:22:44 +05:00