diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2021-08-04 08:48:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-04 08:48:06 -0400 |
| commit | 22e135b4519a209db6cc07abdacd0953a1c344c5 (patch) | |
| tree | 0922479ced19306ff182564d6538dab7a02ee581 /tests/topotests/lib/topotest.py | |
| parent | 5504fee4a389aa5d1f7402ad72d68059385055b7 (diff) | |
| parent | 0c449b017b9146c6f14e6091fdb829358a534553 (diff) | |
Merge pull request #8182 from mjstapp/topotest_start_tgen
tests: make the topogen object available when starting daemons
Diffstat (limited to 'tests/topotests/lib/topotest.py')
| -rw-r--r-- | tests/topotests/lib/topotest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py index b516a67d5c..6112b4b633 100644 --- a/tests/topotests/lib/topotest.py +++ b/tests/topotests/lib/topotest.py @@ -1452,7 +1452,7 @@ class Router(Node): logger.info("BFD Test, but no bfdd compiled or installed") return "BFD Test, but no bfdd compiled or installed" - return self.startRouterDaemons() + return self.startRouterDaemons(tgen=tgen) def getStdErr(self, daemon): return self.getLog("err", daemon) @@ -1463,7 +1463,7 @@ class Router(Node): def getLog(self, log, daemon): return self.cmd("cat {}/{}/{}.{}".format(self.logdir, self.name, daemon, log)) - def startRouterDaemons(self, daemons=None): + def startRouterDaemons(self, daemons=None, tgen=None): "Starts all FRR daemons for this router." asan_abort = g_extra_config["asan_abort"] |
