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 ##############################################################################
9 {%- set pkgs = ['opendaylight'] %}
10 {%- do pkgs.append('opendaylight-leveldbjni') if grains['cpuarch'] == 'aarch64' %}
12 {% set server = salt['grains.filter_by']({
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',
20 'cluster_enabled': false,
21 'seed_nodes_list': [],
22 'stats_polling_enabled': false,
25 'dynamic_allocation_pool_enabled': false,
27 'security_group_mode': 'stateful',
28 'vpp_routing_node': '',
29 'java_extra_opts': '-Djava.net.preferIPv4Stack=true -XX:+UseG1GC',
33 }, merge=salt['pillar.get']('opendaylight:server')) %}