# == Class opendaylight::params
#
-# This class is meant to be called from opendaylight.
-# It sets variables according to platform.
+# This class manages the default params for the ODL class.
#
class opendaylight::params {
- if $::osfamily == 'RedHat' {
- $package_name = 'opendaylight'
- $service_name = 'opendaylight'
- }
- else {
- fail("Unsupported OS family: ${::osfamily}")
- }
+ # NB: If you update the default values here, you'll also need to update:
+ # spec/spec_helper_acceptance.rb's install_odl helper fn
+ # spec/classes/opendaylight_spec.rb tests that use default Karaf features
+ # Else, both the Beaker and RSpec tests will fail
+ # TODO: Remove this possible source of bugs^^
+ $default_features = ['config', 'standard', 'region', 'package', 'kar', 'ssh', 'management']
+ $extra_features = []
+ $odl_rest_port = '8080'
+ $odl_bind_ip = '0.0.0.0'
+ $install_method = 'rpm'
+ $rpm_repo = 'opendaylight-5-testing'
+ $tarball_url = ''
+ $unitfile_url = 'https://github.com/dfarrell07/opendaylight-systemd/archive/master/opendaylight-unitfile.tar.gz'
+ $odl_rest_port = '8080'
+ $enable_l3 = 'no'
+ $log_levels = {}
+ $enable_ha = false
+ $ha_node_ips = []
+ $ha_node_index = ''
+ $security_group_mode = 'stateful'
}