From b59c1fd569da12119613baa9f1e7b8c7db00507f Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Tue, 24 Apr 2018 19:57:24 +0200 Subject: [states] Catch more transient 'no response' resp Change-Id: Ie8e60a648fa28e59daa6e00f357df52b5821e833 Signed-off-by: Alexandru Avadanii (cherry picked from commit 9e9393ab60ff513f01b9ce045245e6c5808590a8) --- mcp/config/states/opendaylight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcp/config/states/opendaylight') 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'" -- cgit 1.2.3-korg