Conditionally Enable Nuage VRS

Using this change, users can conditionally enable and
configure Nuage VRS on Overcloud nodes

In Pike, as neutron-server is still running as a service on
the hypervisor, this approach will configure VRS which is also
running on the hypervisor.

This review is meant for Pike and earlier releases only.

Change-Id: Ib563842f182383a9cec49ee57943039346098b53
Depends-On: I6a996a6b9e1b2d4c74e25e2582699eb9e023093a
Closes-Bug: 1776998
(cherry picked from commit 885f64daf8)
This commit is contained in:
Sai Ram Peesapati 2018-06-05 21:01:20 -04:00
parent 4ec837e39c
commit 28be343806
2 changed files with 30 additions and 0 deletions

View File

@ -18,6 +18,7 @@ parameter_defaults:
NeutronNuageBaseURIVersion: 'default_uri_version'
NeutronNuageCMSId: ''
UseForwardedFor: true
NuageControllerEnableVrs: false
NeutronServicePlugins: ''
NeutronDBSyncExtraParams: '--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini'
NeutronTypeDrivers: ''

View File

@ -70,6 +70,27 @@ parameters:
type: boolean
default: false
NuageControllerEnableVrs:
description: Enbale Nuage VRS on Controller or not
type: boolean
default: false
NuageActiveController:
description: IP address of the Active Virtualized Services Controller (VSC)
type: string
NuageStandbyController:
description: IP address of the Standby Virtualized Services Controller (VSC)
type: string
NuageBridgeMTU:
description: Support for non-default MTU configured on each Compute node
type: string
default: ''
conditions:
enable_nuage_vrs: {equals : [{get_param: NuageControllerEnableVrs}, true]}
resources:
NeutronMl2Base:
@ -98,5 +119,13 @@ outputs:
nova::api::use_forwarded_for: {get_param: UseForwardedFor}
nova::patch::config::monkey_patch: {get_param: NovaPatchConfigMonkeyPatch}
nova::patch::config::monkey_patch_modules: {get_param: NovaPatchConfigMonkeyPatchModules}
-
if:
- enable_nuage_vrs
- nuage::vrs::active_controller: {get_param: NuageActiveController}
nuage::vrs::standby_controller: {get_param: NuageStandbyController}
nuage::vrs::bridge_mtu: {get_param: NuageBridgeMTU}
tripleo::profile::base::neutron::plugins::ml2::nuage::enable_vrs: {get_param: NuageControllerEnableVrs}
- {}
step_config: |
include tripleo::profile::base::neutron::plugins::ml2