From 270aa4441c256d913aca12588b5cbabe09a1229d Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Fri, 11 Oct 2013 21:06:43 +1300 Subject: [PATCH] Make neutron public interface configurable. Not all machines use eth0 :). Change-Id: I2d0cfd8df46e7eda1b7db2ea5c8e84d3e970c862 --- overcloud-source.yaml | 7 ++++++- undercloud-bm.yaml | 7 ++++++- undercloud-vm.yaml | 7 ++++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 8cb4596c..f9ca995a 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -57,6 +57,10 @@ Parameters: Default: stack Description: What username to ssh to the virtual power host with. Type: String + NeutronPublicInterface: + Default: eth0 + Description: What interface to bridge onto br-ex for network nodes. + Type: String notcomputeImage: Type: String Default: overcloud-control @@ -265,7 +269,8 @@ Resources: - Fn::GetAtt: - notcompute - networks - public_interface: eth0 + public_interface: + Ref: NeutronPublicInterface physical_bridge: br-ex tenant_network_type: gre ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8 diff --git a/undercloud-bm.yaml b/undercloud-bm.yaml index b4b23c1b..3ce0e80f 100644 --- a/undercloud-bm.yaml +++ b/undercloud-bm.yaml @@ -44,6 +44,10 @@ Parameters: Default: '' Type: String Description: Set truthy to enable Neutron native PXE. + NeutronPublicInterface: + Default: eth2 + Description: What interface to bridge onto br-ex for network nodes. + Type: String NovaPassword: Default: unset Description: The password for the nova service account, used by nova-api. @@ -157,7 +161,8 @@ Resources: ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8 ovs: dnsmasq_range: [192.0.2.25, 192.0.2.44] - public_interface: eth2 + public_interface: + Ref: NeutronPublicInterface physical_bridge: br-ctlplane physical_network: ctlplane network_vlan_ranges: ctlplane diff --git a/undercloud-vm.yaml b/undercloud-vm.yaml index a1274094..871e5731 100644 --- a/undercloud-vm.yaml +++ b/undercloud-vm.yaml @@ -44,6 +44,10 @@ Parameters: Default: '' Type: String Description: Set truthy to enable Neutron native PXE. + NeutronPublicInterface: + Default: eth0 + Description: What interface to bridge onto br-ex for network nodes. + Type: String NovaPassword: Default: unset Description: The password for the nova service account, used by nova-api. @@ -167,7 +171,8 @@ Resources: ovs_db: mysql://neutron:unset@localhost/ovs_neutron?charset=utf8 ovs: dnsmasq_range: [192.0.2.25, 192.0.2.44] - public_interface: eth0 + public_interface: + Ref: NeutronPublicInterface physical_bridge: br-ctlplane physical_network: ctlplane network_vlan_ranges: ctlplane -- 2.16.6