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 {% from "opendaylight/map.jinja" import server with context %}
10 {%- if server.enabled %}
16 {%- if grains['saltversioninfo'] < [2017, 7] %}
19 - m_name: opendaylight
21 opendaylight_service_mask:
28 {%- if server.cluster_enabled %}
31 - name: /opt/opendaylight/bin/configure-cluster-ipdetect.sh {{ server.seed_nodes_list }}
38 - names: {{ server.pkgs }}
40 - sls: opendaylight.repo
42 - sls: opendaylight.config
45 {%- if grains['saltversioninfo'] >= [2017, 7] %}
49 - sls: opendaylight.config