From e69559bf91b6a481488a29cc1a04730e8d386f3e Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 26 Nov 2018 10:56:56 -0500 Subject: [PATCH] Add a tiny breadcrumb to hopefully help end user Add a breadcrumb for people testing to hopefully allow them to figure out what is going wrong when they are testing different versions of FRR using topotests and staticd is not running because this version of staticd needs to be cleaned up Signed-off-by: Donald Sharp --- lib/topotest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/topotest.py b/lib/topotest.py index 1d69eb6..1bdf8b1 100644 --- a/lib/topotest.py +++ b/lib/topotest.py @@ -933,6 +933,10 @@ def checkRouterRunning(self): for daemon in self.daemons: if (self.daemons[daemon] == 1) and not (daemon in daemonsRunning): sys.stderr.write("%s: Daemon %s not running\n" % (self.name, daemon)) + if daemon is "staticd": + sys.stderr.write("You may have a copy of staticd installed but are attempting to test against\n") + sys.stderr.write("a version of FRR that does not have staticd, please cleanup the install dir\n") + # Look for core file corefiles = glob.glob('{}/{}/{}_core*.dmp'.format( self.logdir, self.name, daemon))