]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/lib/topotest.py
topogen: add per router logging
authorRafael Zalamena <rzalamena@gmail.com>
Fri, 7 Jul 2017 13:18:25 +0000 (10:18 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:11 +0000 (20:22 -0500)
commit13e1fc493b701e9a6fe463b49fa437468d8f58a6
treee89a678b19eb799a483f85aec6ae52f69d39c45b
parent6c131bd303626156c5737d86ca2caa75920b2fcb
topogen: add per router logging

TopoRouters now create a logger (which logs to /tmp/{router_name}.log)
on start to record all commands and events that it goes through. All log
messages contain timestamps that may be used in the future to:
(1) correlate commands call with events
(2) benchmark/time command speed
tests/topotests/lib/topogen.py
tests/topotests/lib/topotest.py