Browse code

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

Adam Gandelman authored on 2014/07/30 10:43:18
Showing 1 changed files
... ...
@@ -367,6 +367,10 @@ function create_ovs_taps {
367 367
 
368 368
     # Remove the port needed only for workaround.
369 369
     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
370 374
 }
371 375
 
372 376
 function create_bridge_and_vms {