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 14:29:26 +0000
commitb59c1fd569da12119613baa9f1e7b8c7db00507f (patch)
treee75db1843d4acdafd6d99c312db9714f87736782 /mcp/config/states/opendaylight
parent285d4744660e6c44c381c260f78550b563a7e012 (diff)
[states] Catch more transient 'no response' resp
Change-Id: Ie8e60a648fa28e59daa6e00f357df52b5821e833 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> (cherry picked from commit 9e9393ab60ff513f01b9ce045245e6c5808590a8)
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'"