Merge "[state] virtual_init: Limit to mas01 on baremetal"
[fuel.git] / mcp / salt-formulas / salt-formula-opendaylight / opendaylight / map.jinja
1 ##############################################################################
2 # Copyright (c) 2017 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 server = salt['grains.filter_by']({
10     'Debian': {
11       'karaf_features': {'default': ['standard', 'wrap', 'ssh']},
12       'odl_rest_port': '8282',
13       'odl_bind_ip': '0.0.0.0',
14       'repo': 'odl-team/oxygen',
15       'log_levels': {},
16       'enable_ha': false,
17       'ha_node_ips': [],
18       'ha_node_index': 0,
19       'stats_polling_enabled': false,
20       'dhcp': {
21         'enabled': false,
22         'dynamic_allocation_pool_enabled': false,
23       },
24       'security_group_mode': 'stateful',
25       'vpp_routing_node': '',
26       'java_extra_opts': '-Djava.net.preferIPv4Stack=true -XX:+UseG1GC',
27       'java_min_mem': '1g',
28       'java_max_mem': '2g',
29     },
30     'RedHat': {
31       'repo': 'opendaylight-6-testing'
32     },
33 }, merge=salt['pillar.get']('opendaylight:server')) %}