Add flag to enable DSCP marking
[integration/packaging/puppet-opendaylight.git] / manifests / params.pp
index 173a6f0aaf36b2accf36b8da451fdf4300e0e7c9..ddfa8fab15f5eb7095adcf82ee3d0775ceea8453 100644 (file)
@@ -1,16 +1,38 @@
 # == 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 {
-  case $::osfamily {
-    'RedHat': {
-      $package_name = 'opendaylight'
-      $service_name = 'opendaylight'
-    }
-    default: {
-      fail("${::operatingsystem} not supported")
-    }
-  }
+  # 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 = ['standard', 'wrap', 'ssh']
+  $extra_features = []
+  $odl_rest_port = '8181'
+  $odl_bind_ip = '0.0.0.0'
+  $rpm_repo = 'https://nexus.opendaylight.org/content/repositories/opendaylight-fluorine-epel-7-$basearch-devel'
+  $deb_repo = 'ppa:odl-team/nitrogen'
+  $log_levels = {}
+  $enable_ha = false
+  $ha_node_ips = []
+  $ha_node_index = 0
+  $ha_db_modules = { 'default' => false }
+  $vpp_routing_node = ''
+  $java_opts = '-Djava.net.preferIPv4Stack=true'
+  $manage_repositories = true
+  $username = 'admin'
+  $password = 'admin'
+  $log_max_size = '10GB'
+  $log_max_rollover = 2
+  $snat_mechanism = 'controller'
+  $enable_tls = false
+  $tls_keystore_password = undef
+  $tls_key_file = undef
+  $tls_cert_file = undef
+  $tls_ca_cert_file = undef
+  $tls_trusted_certs = []
+  $log_mechanism = 'file'
+  $inherit_dscp_marking = false
 }