Add provision to specify java arguments to ODL

Java options like heap size configuration needs
tweaking for large scale deployments. Allow
customizing those values from TripleO.

puppet-opendaylight will configure these values
in ODL. Corresponding puppet-opendaylight patch is
https://git.opendaylight.org/gerrit/#/c/68491

Change-Id: I99e08314dedfcc71a776423ac3c6c282237cc0c2
Closes-Bug: #1794073
This commit is contained in:
Janki Chhatbar 2018-09-24 13:47:11 +02:00
parent 6adc2f3f85
commit 865e8b574c
2 changed files with 12 additions and 0 deletions

View File

@ -83,6 +83,13 @@ parameters:
description: Enable DSCP marking for VXLAN/GRE tunnels
type: boolean
default: false
OpenDaylightJavaOpts:
default: ''
type: string
description: Specifies the Java options to run ODL with as a string.
Note, these options are in addition to the default Java
options set by the karaf/ODL boot scripts and IP version
based flag set by 'opendaylight' class.
conditions:
@ -118,6 +125,7 @@ outputs:
opendaylight::snat_mechanism: {get_param: OpenDaylightSNATMechanism}
opendaylight::log_mechanism: {get_param: OpenDaylightLogMechanism}
opendaylight::inherit_dscp_marking: {get_param: OpenDaylightInheritDSCPMarking}
opendaylight::java_opts: {get_param: OpenDaylightJavaOpts}
-
if:
- internal_tls_enabled

View File

@ -0,0 +1,4 @@
---
features:
- |
Add provision to set java options like heap size configurations in ODL.