aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/opendaylight/client.sls
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-05 17:55:25 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-04-06 16:20:20 +0400
commitc1889c963bbe9b21645057e6e9cfcbe9c5f6434d (patch)
treed2a979a71b0467fcacc0e2c8a3a8e77d05c247a7 /mcp/salt-formulas/opendaylight/client.sls
parent7f47d25bc3a25ad2cdd564100cdc703ae85702b4 (diff)
Update opendaylight version to oxygen
JIRA: FUEL-362 Change-Id: Ib2621bca72d1ba376af5d369edcf5fcf37e9788b Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/salt-formulas/opendaylight/client.sls')
-rw-r--r--mcp/salt-formulas/opendaylight/client.sls38
1 files changed, 0 insertions, 38 deletions
diff --git a/mcp/salt-formulas/opendaylight/client.sls b/mcp/salt-formulas/opendaylight/client.sls
deleted file mode 100644
index dba51b399..000000000
--- a/mcp/salt-formulas/opendaylight/client.sls
+++ /dev/null
@@ -1,38 +0,0 @@
-##############################################################################
-# Copyright (c) 2017 Mirantis Inc. and others.
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
-{%- from "opendaylight/map.jinja" import client with context %}
-{%- if client.get('enabled', True) %}
-
-opendaylight_client_packages:
- pkg.installed:
- - pkgs: {{ client.pkgs }}
-
-{%- if pillar.linux.network.bridge is defined and pillar.linux.network.bridge == 'openvswitch' %}
-ovs_set_manager:
- cmd.run:
- - name: "ovs-vsctl set-manager {{ client.ovsdb_server_iface }} {{ client.ovsdb_odl_iface }}"
- - unless: "ovs-vsctl get-manager | grep -Fx {{ client.ovsdb_odl_iface }}"
-
-ovs_set_tunnel_endpoint:
- cmd.run:
- - name: "ovs-vsctl set Open_vSwitch . other_config:local_ip={{ client.tunnel_ip }}"
- - unless: "ovs-vsctl get Open_vSwitch . other_config | fgrep local_ip"
- - require:
- - cmd: ovs_set_manager
-
-{%- if client.provider_mappings is defined %}
-ovs_set_provider_mapping:
- cmd.run:
- - name: "ovs-vsctl set Open_vSwitch . other_config:provider_mappings={{ client.provider_mappings }}"
- - unless: "ovs-vsctl get Open_vSwitch . other_config | fgrep provider_mappings"
- - require:
- - cmd: ovs_set_manager
-{%- endif %}
-
-{%- endif %}
-{%- endif %}