[INTPAK-47] Support configuring ODL RAM via Ansible/Puppet Created: 12/Nov/17  Updated: 16/Nov/17

Status: Open
Project: integration-packaging
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Lowest
Reporter: Daniel Farrell Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

It's currently possible to configure ODL RAM by passing [JAVA_OPTS params](https://git.opendaylight.org/gerrit/gitweb?p=integration/packaging/puppet-opendaylight.git;a=blob;f=manifests/params.pp;h=6ea13119b97424c9ae7653a02488e51b7abee501;hb=HEAD#l23), but having the user to modify JAVA_OPTS is likely more power than ideal/required. Should look into using the bin/setenv script that ships with distros, following the example of the build/jjb/integration/ scripts

MEMCONF="${WORKSPACE}/${BUNDLEFOLDER}/bin/setenv"
sed -ie "s/2048m/${CONTROLLERMEM}/g" "${MEMCONF}"
cat "${MEMCONF}"

Imported from Trello


Generated at Wed Feb 07 20:03:26 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.