From cec9792f7fee789705d250379a89cb6f69736b2a Mon Sep 17 00:00:00 2001 From: Adam Gandelman Date: Tue, 29 Jul 2014 18:43:18 -0700 Subject: [PATCH] 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 --- lib/ironic | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ironic b/lib/ironic index f5a7531918..cf79af0ece 100644 --- a/lib/ironic +++ b/lib/ironic @@ -367,6 +367,10 @@ function create_ovs_taps { # Remove the port needed only for workaround. neutron port-delete $port_id + + # Finally, share the fixed tenant network across all tenants. This allows the host + # to serve TFTP to a single network namespace via the tap device created above. + neutron net-update $ironic_net_id --shared true } function create_bridge_and_vms {