From e083cf6350a227da161b07d2c68d9aa200611b32 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Fri, 30 Mar 2018 13:37:36 +0400 Subject: Re-order opendaylight state * return back opendaylight state after neutron setup * sleep for awhile to let neutron api reconnect to the ODL controller and agents to register on server Change-Id: Ife0c7d3cc20574b0733e8e3064843c680379cc84 Signed-off-by: Michael Polenchuk --- mcp/config/states/opendaylight | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mcp/config/states/opendaylight') diff --git a/mcp/config/states/opendaylight b/mcp/config/states/opendaylight index 5bbf0d7a8..d00a77352 100755 --- a/mcp/config/states/opendaylight +++ b/mcp/config/states/opendaylight @@ -22,3 +22,6 @@ salt -I 'opendaylight:server' service.mask opendaylight 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'" + +# settle down neutron api and agents +sleep 180 -- cgit 1.2.3-korg