Merge "Allows Configuration of Additional of Lbaas and Neutron"

This commit is contained in:
Zuul 2018-02-26 22:28:12 +00:00 committed by Gerrit Code Review
commit ade16fdd16
3 changed files with 16 additions and 2 deletions

View File

@ -15,4 +15,4 @@ parameter_defaults:
NeutronLbaasDeviceDriver: "neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver" NeutronLbaasDeviceDriver: "neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver"
NeutronServiceProviders: ['LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default'] NeutronServiceProviders: ['LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default']
NeutronServicePlugins: "qos,router,trunk,lbaasv2" NeutronServicePlugins: "qos,router,trunk,lbaasv2"
NeutronLbaasOvsUseVeth: false

View File

@ -78,7 +78,10 @@ parameters:
e.g. { neutron-context_is_admin: { key: context_is_admin, value: 'role:admin' } } e.g. { neutron-context_is_admin: { key: context_is_admin, value: 'role:admin' } }
default: {} default: {}
type: json type: json
NeutronOvsIntegrationBridge:
default: ''
type: string
description: Name of Open vSwitch bridge to use
# DEPRECATED: the following options are deprecated and are currently maintained # DEPRECATED: the following options are deprecated and are currently maintained
# for backwards compatibility. They will be removed in the Ocata cycle. # for backwards compatibility. They will be removed in the Ocata cycle.
NeutronL3HA: NeutronL3HA:
@ -105,6 +108,7 @@ parameter_groups:
conditions: conditions:
use_tls_proxy: {equals : [{get_param: EnableInternalTLS}, true]} use_tls_proxy: {equals : [{get_param: EnableInternalTLS}, true]}
neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']} neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']}
neutron_ovs_int_br_unset: {equals : [{get_param: NeutronOvsIntegrationBridge}, '']}
resources: resources:
@ -200,6 +204,11 @@ outputs:
- {} - {}
- neutron::server::api_workers: {get_param: NeutronWorkers} - neutron::server::api_workers: {get_param: NeutronWorkers}
neutron::server::rpc_workers: {get_param: NeutronWorkers} neutron::server::rpc_workers: {get_param: NeutronWorkers}
-
if:
- neutron_ovs_int_br_unset
- {}
- neutron::server::ovs_integration_bridge: {get_param: NeutronOvsIntegrationBridge}
step_config: | step_config: |
include tripleo::profile::base::neutron::server include tripleo::profile::base::neutron::server
service_config_settings: service_config_settings:

View File

@ -36,6 +36,10 @@ parameters:
NeutronLbaasDeviceDriver: NeutronLbaasDeviceDriver:
default: 'neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver' default: 'neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver'
type: string type: string
NeutronLbaasOvsUseVeth:
default: false
type: boolean
description: Uses veth for an interface or not
NeutronServiceProviders: NeutronServiceProviders:
default: 'LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default' default: 'LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default'
description: Global list of service providers used by neutron. This description: Global list of service providers used by neutron. This
@ -68,6 +72,7 @@ outputs:
- get_attr: [NeutronBase, role_data, config_settings] - get_attr: [NeutronBase, role_data, config_settings]
- neutron::agents::lbaas::interface_driver: {get_param: NeutronLbaasInterfaceDriver} - neutron::agents::lbaas::interface_driver: {get_param: NeutronLbaasInterfaceDriver}
neutron::agents::lbaas::device_driver: {get_param: NeutronLbaasDeviceDriver} neutron::agents::lbaas::device_driver: {get_param: NeutronLbaasDeviceDriver}
neutron::agents::lbaas::ovs_use_veth: {get_param: NeutronLbaasOvsUseVeth}
step_config: | step_config: |
include ::tripleo::profile::base::neutron::lbaas include ::tripleo::profile::base::neutron::lbaas
service_config_settings: service_config_settings: