Skip to content

Commit

Permalink
doc: Document on how to run specific daemons with unified config in t…
Browse files Browse the repository at this point in the history
…opotests

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Aug 11, 2024
1 parent 79cbde8 commit 3901cfe
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/developer/topotests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,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

Expand Down

0 comments on commit 3901cfe

Please sign in to comment.