summaryrefslogtreecommitdiffstats
path: root/mcp/config
diff options
context:
space:
mode:
authorGuillermo Herrero <guillermo.herrero@enea.com>2018-05-22 14:42:02 +0200
committerGuillermo Herrero <guillermo.herrero@enea.com>2018-08-02 14:47:08 +0200
commit1479237a8e84add965f2331ae1369f07dd8dafc3 (patch)
tree20b09a27a5f62ad2d845539d513e02350fcb5ac6 /mcp/config
parenta9ad0da2d480a47d83cb26c03574cfdcee84b647 (diff)
[ha] Add OVN scenario
JIRA: FUEL-329 Change-Id: I46c7dbc791441c6b069a0d56373ff98a32a57e60 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
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