Open GoogleCodeExporter opened 9 years ago
Session.instantiate() has these calls:
self.bootnodes(handler)
# allow time for processes to start
time.sleep(0.125)
self.validatenodes()
A more robust method would allow for processes that background themselves and
those that do not. Default would be assuming they do not daemonize.
Quagga service could be changed such that zebra, ospfd, etc. are started with
node.cmd(..., wait=True); the validate command could be queued for running
after the start command completes.
Another option is to have a pidof helper script that repeatedly checks for PID.
Or have a session option "settle time" that is configurable (default = 1s).
Original comment by ahrenh...@gmail.com
on 19 Dec 2013 at 3:06
Original issue reported on code.google.com by
ahrenh...@gmail.com
on 1 Oct 2013 at 2:42