]> git.puffer.fish Git - mirror/frr.git/commitdiff
ltemplate.py: start isisd when isisd.conf present
authorG. Paul Ziemba <paulz@labn.net>
Thu, 1 Mar 2018 05:44:49 +0000 (21:44 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:13 +0000 (20:22 -0500)
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
tests/topotests/lib/ltemplate.py

index 62e11e810e9d3dd53bd80ee575fa7a76e2815fcf..9c511f7bc7d7bc9bf393d58312ff315104267ad0 100644 (file)
@@ -93,6 +93,9 @@ class LTemplate():
             config = os.path.join(self.testdir, '{}/bgpd.conf'.format(rname))
             if os.path.exists(config):
                 router.load_config(TopoRouter.RD_BGP, config)
+            config = os.path.join(self.testdir, '{}/isisd.conf'.format(rname))
+            if os.path.exists(config):
+                router.load_config(TopoRouter.RD_ISIS, config)
 
         # After loading the configurations, this function loads configured daemons.
         logger.info('Starting routers')