Permit overriding the default route for neutron.
authorRobert Collins <rbtcollins@hp.com>
Fri, 11 Oct 2013 08:54:34 +0000 (21:54 +1300)
committerRobert Collins <rbtcollins@hp.com>
Fri, 11 Oct 2013 11:03:44 +0000 (00:03 +1300)
The intent here is that the undercloud default route will be discard,
but the router kept for access to the metadata service, and this
specified route will be used for all other traffic.

Change-Id: Idf3f8252c4d4be30839d9d08ad7d4ce49538f04e

overcloud-source.yaml

index e225df5..b862b4d 100644 (file)
@@ -61,6 +61,10 @@ Parameters:
     Default: eth0
     Description: What interface to bridge onto br-ex for network nodes.
     Type: String
+  NeutronPublicInterfaceDefaultRoute:
+    Default: ''
+    Description: A custom default route for the NeutronPublicInterface.
+    Type: String
   NeutronPublicInterfaceIP:
     Default: ''
     Description: A custom IP address to put onto the NeutronPublicInterface.
@@ -284,6 +288,8 @@ Resources:
             Ref: NeutronPublicInterface
           public_interface_raw_device:
             Ref: NeutronPublicInterfaceRawDevice
+          public_interface_route:
+            Ref: NeutronPublicInterfaceDefaultRoute
           physical_bridge: br-ex
           tenant_network_type: gre
         ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8