Github user remibergsma commented on the pull request:
https://github.com/apache/cloudstack/pull/1471#issuecomment-219029943
@jburwell Had a look at the `wait_until` method and I don't think it will
work well here. The problem is that when the router restarts, it has the full
config in `/etc/cloudstack/*.json` but several interfaces are not yet available
as they are plugged later. By using `wait_ultil` and try every 2s for max of
15s, we get the old behaviour of having to wait 15s in case the interface is
not there. When the interface _is_ there, it will go through almost
immediately. I propose to keep it like this as I've seen it speedup start times
quite a bit.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---