diff --git a/puppet/services/opendaylight-api.yaml b/puppet/services/opendaylight-api.yaml index a9a8ff6d17..1b81d2ada7 100644 --- a/puppet/services/opendaylight-api.yaml +++ b/puppet/services/opendaylight-api.yaml @@ -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 diff --git a/releasenotes/notes/set_java_opts_from_tripleo-d969b1151ec244a0.yaml b/releasenotes/notes/set_java_opts_from_tripleo-d969b1151ec244a0.yaml new file mode 100644 index 0000000000..bdf8a73fd8 --- /dev/null +++ b/releasenotes/notes/set_java_opts_from_tripleo-d969b1151ec244a0.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + Add provision to set java options like heap size configurations in ODL. \ No newline at end of file