ironic/ironic/tests/unit
Harald Jensås 87f15ec6e7 Ensure 'port' is up2date after binding:host_id
On neutron routed provider networks IP allocation is
deferred until 'binding:host_id' is set. When ironic
creates neutron ports it first creates the port, then
updates the port setting binding information.

When using IPv6 networking ironic adds additional address
allocations to ensure network chain-booting will succeed.
When address allocation is deferred on port create ironic
cannot detect that IPv6 is used and does not add the
required additional addresses.

This change ensures the 'port' object is updated after the
port update setting the port binding required for neutron
to allocate the address. This allows ironic to correctly
detect IPv6 is used, and it will add the required IP
address allocations.

Story: 2009773
Task: 44254
Change-Id: I863dd4ab9615a9ce3b3dcb8798af674ac9966bf2
(cherry picked from commit 3404dc913e)
2022-01-12 00:45:45 +00:00
..
api Fix node detail instance_uuid request handling 2021-06-21 09:04:25 +00:00
cmd Switch to unittest mock 2020-04-30 19:04:17 +02:00
common Ensure 'port' is up2date after binding:host_id 2022-01-12 00:45:45 +00:00
conductor Wipe agent tokens on inspection start and abort 2021-04-21 12:15:54 +00:00
conf Switch Ironic to openstacksdk for Neutron 2020-08-19 10:48:17 +02:00
db Don't migrate away from iscsi if it is the default 2020-09-30 15:03:59 +01:00
dhcp Switch Ironic to openstacksdk for Neutron 2020-08-19 10:48:17 +02:00
drivers Fix idrac-wsman deploy with existing non-BIOS jobs 2021-11-08 16:21:35 +00:00
objects driver_internal_info in provision notifications 2020-08-25 18:11:04 +00:00
__init__.py Add my new address to .mailmap 2020-04-13 07:29:37 -07:00
policy_fixture.py Add my new address to .mailmap 2020-04-13 07:29:37 -07:00
raid_constants.py Allow specifying target devices for software RAID 2020-03-17 14:31:38 +01:00
stubs.py Switch Ironic to openstacksdk for Neutron 2020-08-19 10:48:17 +02:00
test_base.py Fix pep8 2020-05-12 15:37:38 +02:00