aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/networking_gw
blob: ea7c87b01e46a38e82c56e4cd00782320e6361cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e
##############################################################################
# Copyright (c) 2018 Mirantis Inc., Enea AB 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
##############################################################################

CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x

salt -I 'neutron:gateway' cmd.run 'ifup --force --ignore-errors br-ex'