Adds ability to pass Java options to ODL startup
[integration/packaging/puppet-opendaylight.git] / manifests / params.pp
1 # == Class opendaylight::params
2 #
3 # This class manages the default params for the ODL class.
4 #
5 class opendaylight::params {
6   # NB: If you update the default values here, you'll also need to update:
7   #   spec/spec_helper_acceptance.rb's install_odl helper fn
8   #   spec/classes/opendaylight_spec.rb tests that use default Karaf features
9   # Else, both the Beaker and RSpec tests will fail
10   # TODO: Remove this possible source of bugs^^
11   $default_features = ['config', 'standard', 'region', 'package', 'kar', 'ssh', 'management']
12   $extra_features = []
13   $odl_rest_port = '8080'
14   $odl_bind_ip = '0.0.0.0'
15   $install_method = 'rpm'
16   $rpm_repo = 'opendaylight-5-testing'
17   $tarball_url = ''
18   $unitfile_url = 'https://github.com/dfarrell07/opendaylight-systemd/archive/master/opendaylight-unitfile.tar.gz'
19   $log_levels = {}
20   $enable_ha = false
21   $ha_node_ips = []
22   $ha_node_index = 0
23   $security_group_mode = 'stateful'
24   $vpp_routing_node = ''
25   $java_opts = '-Djava.net.preferIPv4Stack=true'
26 }