[odl] Disable PaxOsgi logging by default
[fuel.git] / mcp / salt-formulas / salt-formula-opendaylight / opendaylight / map.jinja
1 ##############################################################################
2 # Copyright (c) 2019 Mirantis Inc. and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8
9 {%- set pkgs = ['opendaylight'] %}
10 {%- do pkgs.append('opendaylight-leveldbjni') if grains['cpuarch'] == 'aarch64' %}
11
12 {% set server = salt['grains.filter_by']({
13     'Debian': {
14       'pkgs': pkgs,
15       'karaf_features': {'default': ['standard', 'wrap', 'ssh']},
16       'odl_rest_port': '8282',
17       'odl_bind_ip': '0.0.0.0',
18       'repo': 'odl-team/oxygen',
19       'log_levels': {},
20       'cluster_enabled': false,
21       'seed_nodes_list': [],
22       'stats_polling_enabled': false,
23       'dhcp': {
24         'enabled': false,
25         'dynamic_allocation_pool_enabled': false,
26       },
27       'security_group_mode': 'stateful',
28       'vpp_routing_node': '',
29       'java_extra_opts': '-Djava.net.preferIPv4Stack=true -XX:+UseG1GC',
30       'java_min_mem': '1g',
31       'java_max_mem': '2g',
32     }
33 }, merge=salt['pillar.get']('opendaylight:server')) %}