aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config/states/opendaylight
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2018-02-15 13:19:33 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2018-02-15 13:25:32 +0400
commit84383fb622dd1426af84fb9e061338a9a1098202 (patch)
tree66e98e01491180eea6a5ea9f70a153ace64e4c3f /mcp/config/states/opendaylight
parent0e2cd30ac78f78afac1351c9c4047df90dc9e5a5 (diff)
Mask opendaylight service
In order to avoid using cache data with initial/outdated configuration, mask opendaylight service before package installation. JIRA: FUEL-344 Change-Id: I71eb0b0a5af93d6d21698e76587b32098aba96b4 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/config/states/opendaylight')
-rwxr-xr-xmcp/config/states/opendaylight5
1 files changed, 4 insertions, 1 deletions
diff --git a/mcp/config/states/opendaylight b/mcp/config/states/opendaylight
index 34a2c3bd8..0b774e691 100755
--- a/mcp/config/states/opendaylight
+++ b/mcp/config/states/opendaylight
@@ -9,7 +9,10 @@
CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x
+# TODO: use service.masked state instead once salt get updated to 2017.7.0+
+salt -I 'opendaylight:server' service.mask opendaylight
salt -I 'opendaylight:server' state.sls opendaylight
+
+salt -I 'neutron:server' state.sls opendaylight.client
salt -I 'opendaylight:client' state.sls opendaylight.client
salt -I 'opendaylight:client' cmd.run 'neutron-odl-ovs-hostconfig --noovs_dpdk'
-salt -I 'neutron:server' state.sls opendaylight.client