Skip to content

Commit cec9792

Browse files
committed
Share the fixed network for Ironic
When using Ironic, ensure the private Neutron network is shared across all tenants. This allows connectivity to the host's TFTP server from nodes booted accross multiple tenants and more closely resembles the current real world Ironic PXE+IPMI use cases. Change-Id: I5d293493bafa37b1796f47aa738cfff2e3be9f59
1 parent 9504bb3 commit cec9792

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/ironic

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,10 @@ function create_ovs_taps {
367367

368368
# Remove the port needed only for workaround.
369369
neutron port-delete $port_id
370+
371+
# Finally, share the fixed tenant network across all tenants. This allows the host
372+
# to serve TFTP to a single network namespace via the tap device created above.
373+
neutron net-update $ironic_net_id --shared true
370374
}
371375

372376
function create_bridge_and_vms {

0 commit comments

Comments
 (0)