Allows Configuration of Additional of Lbaas and Neutron

Using this, users can assign already available parameters
such as ovs_use_veth in lbaas_agent.ini and
ovs_integration_bridge in neutron.conf

Depends-On: I023e0476e574d5a4c13d66da390aa13016566058
Change-Id: I899fe9217cccbbf80113c74a77cc70961fe40f42
This commit is contained in:
sairamp 2017-11-09 21:29:00 -05:00 committed by Sai Ram Peesapati
parent cd54ff3c62
commit bbf0e9b1a0
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"
NeutronServiceProviders: ['LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default']
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' } }
default: {}
type: json
NeutronOvsIntegrationBridge:
default: ''
type: string
description: Name of Open vSwitch bridge to use
# DEPRECATED: the following options are deprecated and are currently maintained
# for backwards compatibility. They will be removed in the Ocata cycle.
NeutronL3HA:
@ -105,6 +108,7 @@ parameter_groups:
conditions:
use_tls_proxy: {equals : [{get_param: EnableInternalTLS}, true]}
neutron_workers_unset: {equals : [{get_param: NeutronWorkers}, '']}
neutron_ovs_int_br_unset: {equals : [{get_param: NeutronOvsIntegrationBridge}, '']}
resources:
@ -202,6 +206,11 @@ outputs:
- {}
- neutron::server::api_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: |
include tripleo::profile::base::neutron::server
service_config_settings:

View File

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