summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/opendaylight
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-04-24 19:57:24 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-04-25 02:50:05 +0200
commit9e9393ab60ff513f01b9ce045245e6c5808590a8 (patch)
tree207075f4a4cc5321a55676d55cf01787cf514916 /mcp/config/states/opendaylight
parent58aa624bbe7d26ec23986b78f9ba59bafa7666ab (diff)
[states] Catch more transient 'no response' resp
Change-Id: Ie8e60a648fa28e59daa6e00f357df52b5821e833 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config/states/opendaylight')
-rwxr-xr-xmcp/config/states/opendaylight2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcp/config/states/opendaylight b/mcp/config/states/opendaylight
index 1dd220e89..de15d0cef 100755
--- a/mcp/config/states/opendaylight
+++ b/mcp/config/states/opendaylight
@@ -17,5 +17,5 @@ function odl() {
salt --out txt -I 'opendaylight:server' pillar.get "opendaylight:server:odl_$1" | cut -d ' ' -f2
}
-salt -I 'opendaylight:server' state.sls opendaylight
+wait_for 5.0 "salt -I 'opendaylight:server' state.sls opendaylight"
wait_for 20 "salt --out yaml -C 'I@neutron:server and *01*' network.connect $(odl bind_ip) $(odl rest_port) | fgrep -q 'result: true'"