Browse Source

Make nova patching parameters configurable in Nuage

Nova patching parameters are available in nova.conf but are not
configurable from tripleo-heat-templates. Exposing these parameters
from Nuage composable services to make them configurable. It enables
setting the patching parameters in environment files. This change
depends on the addition of nova patching configuration parameters.

Change-Id: Iacad25da044f2bac83ee5f577ddcd70650eb61e5
Depends-On: I51ef3e19daff1d98cfe5c2c16475c16e6a3e3e0f
changes/96/500096/1
Lokesh Jain 5 years ago
parent
commit
f0041153ec
  1. 2
      environments/neutron-nuage-config.yaml
  2. 12
      puppet/services/neutron-plugin-ml2-nuage.yaml

2
environments/neutron-nuage-config.yaml

@ -28,6 +28,8 @@ parameter_defaults:
NeutronTunnelIdRanges: ''
NeutronNetworkVLANRanges: ''
NeutronVniRanges: ''
NovaPatchConfigMonkeyPatch: false
NovaPatchConfigMonkeyPatchModules: ''
NovaOVSBridge: 'default_bridge'
NeutronMetadataProxySharedSecret: 'default'
InstanceNameTemplate: 'inst-%08x'

12
puppet/services/neutron-plugin-ml2-nuage.yaml

@ -67,6 +67,16 @@ parameters:
type: boolean
default: false
NovaPatchConfigMonkeyPatch:
description: Apply monkey patching or not
type: boolean
default: false
NovaPatchConfigMonkeyPatchModules:
description: List of modules/decorators to monkey patch
type: comma_delimited_list
default: ''
resources:
NeutronML2Base:
@ -95,5 +105,7 @@ outputs:
neutron::plugins::ml2::nuage::nuage_base_uri_version: {get_param: NeutronNuageBaseURIVersion}
neutron::plugins::ml2::nuage::nuage_cms_id: {get_param: NeutronNuageCMSId}
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}
step_config: |
include tripleo::profile::base::neutron::plugins::ml2

Loading…
Cancel
Save