diff options
-rw-r--r-- | nova-compute-instance.yaml | 5 | ||||
-rw-r--r-- | overcloud-source.yaml | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml index 4b6a8a05..15b5e19e 100644 --- a/nova-compute-instance.yaml +++ b/nova-compute-instance.yaml @@ -23,6 +23,10 @@ Parameters: Default: overcloud-compute KeystoneHost: Type: String + NeutronFlatNetworks: + Type: String + Default: '' + Description: If set, flat networks to configure in neutron plugins. NeutronHost: Type: String RabbitHost: @@ -149,6 +153,7 @@ Resources: keystone: host: {Ref: KeystoneHost} neutron: + flat-networks: {Ref: NeutronFlatNetworks} host: {Ref: NeutronHost} ovs_db: {Ref: NeutronDSN} ovs: diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 78ce4aa0..a102e174 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -81,6 +81,10 @@ Parameters: Default: stack Description: What username to ssh to the virtual power host with. Type: String + NeutronFlatNetworks: + Type: String + Default: '' + Description: If set, flat networks to configure in neutron plugins. NeutronPublicInterface: Default: eth0 Description: What interface to bridge onto br-ex for network nodes. @@ -162,6 +166,8 @@ Resources: NeutronDSN: {"Fn::Join": ['', ['mysql://neutron:unset@', {"Fn::Select": [ 0, {"Fn::Select": [ "ctlplane", {"Fn::GetAtt": [notCompute0, networks]} ]} ]}, '/neutron']]} NeutronNetworkType: "gre" NeutronEnableTunnelling: "True" + NeutronFlatNetworks: + Ref: NeutronFlatNetworks NeutronNetworkVLANRanges: "" NeutronBridgeMappings: Ref: NeutronBridgeMappings @@ -280,6 +286,7 @@ Resources: - notCompute0 - networks neutron: + flat-networks: {Ref: NeutronFlatNetworks} host: Fn::Select: - 0 |