Julia Kreger 5146e0a0f8 provide host_id to neutron early on
Cases exist where you can request a port to be created, in such
a way where neutron has to defer assignment of addressing.

In Neutron's world, it wants to map the host so it can be ensured
that *correct* physical network is available and mapped to for the
address range. Networking-baremetal helps backfill physical connection
context so Neutron can make the appropriate address assignment.

In order to ensure we do the right thing while also ensuring
appropriate security around the state of the port and the bind,
we need to go ahead and facilitate an *initial* context
to neutron so address assignment can occur, but explicitly limits
the provided information to a highly limited scope to prevent
actual binding to a physical port.

With the assignment of addresses, it becomes possible to begin to
generate, or eventually *fix* network configuration  metadata
being provided to a baremetal node.

In this *entire* process, we also identified you can create neutron
ports with binding information "out of the gate" to be immediately
bound. Thanks metalsmith! So the code pattern now checks the port,
and unbinds the VIF before rebinding it.

Related-Bug: #2106073
Change-Id: Ic53c626afe641ce63d71a7858e65df1fb250e3c0
2025-05-12 18:40:48 +00:00
..
2024-09-15 10:33:49 +00:00
2024-09-15 10:33:49 +00:00
2025-04-22 23:22:12 +02:00
2025-01-12 17:18:45 +00:00
2025-01-12 17:18:45 +00:00
2025-01-12 17:18:45 +00:00
2025-03-13 16:30:57 +01:00
2025-03-27 13:14:15 +01:00
2025-01-09 13:52:30 -08:00
2025-02-19 23:40:12 +08:00
2024-12-09 14:48:13 +00:00
2024-08-09 18:45:51 +01:00
2024-10-29 14:59:28 -07:00
2020-10-07 09:46:34 -07:00
2025-03-13 16:30:57 +01:00