aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/config
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-08-02 14:03:56 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-02 14:03:56 +0000
commita1c39dbc47a77f80c59358158810664cbc44ea56 (patch)
treec988095df98a1bcb0df0b27d0a8ba782a1ba7767 /mcp/config
parentb12c7e33ec1e317a2756e05d9fc3fb48a6a90bd7 (diff)
parent1479237a8e84add965f2331ae1369f07dd8dafc3 (diff)
Merge "[ha] Add OVN scenario"
Diffstat (limited to 'mcp/config')
-rwxr-xr-xmcp/config/states/openstack_ha3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcp/config/states/openstack_ha b/mcp/config/states/openstack_ha
index f08090425..99374c583 100755
--- a/mcp/config/states/openstack_ha
+++ b/mcp/config/states/openstack_ha
@@ -50,6 +50,9 @@ wait_for 3.0 "salt -I 'cinder:volume' state.sls cinder"
salt -I 'neutron:server' state.sls neutron -b 1
salt -I 'neutron:gateway' state.sls neutron.gateway
+if salt 'cmp*' match.pillar 'neutron:compute' --out yaml --static | grep -q -e "true" ; then
+ salt -I 'neutron:compute' state.sls neutron.compute
+fi
salt -I 'nova:compute' state.sls nova