diff options
Diffstat (limited to 'doc/developer')
| -rw-r--r-- | doc/developer/topotests.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/developer/topotests.rst b/doc/developer/topotests.rst index eaa8e38a9c..52c0361a02 100644 --- a/doc/developer/topotests.rst +++ b/doc/developer/topotests.rst @@ -1340,6 +1340,15 @@ Example: router.load_config(TopoRouter.RD_ZEBRA, "zebra.conf") router.load_config(TopoRouter.RD_OSPF) +or using unified config (specifying which daemons to run is optional): + +.. code:: py + + for _, (rname, router) in enumerate(router_list.items(), 1): + router.load_frr_config(os.path.join(CWD, "{}/frr.conf".format(rname)), [ + TopoRouter.RD_ZEBRA + TopoRouter.RD_MGMTD, + TopoRouter.RD_BGP]) - The topology definition or build function |
