log timestamp precision 3
+
+! way too noisy
+! debug northbound libyang
+
+debug northbound notifications
+debug northbound events
+debug northbound callbacks
+debug mgmt backend datastore frontend transaction
+debug mgmt client frontend
+debug mgmt client backend
log timestamp precision 3
+! way too noisy
+! debug northbound libyang
+
+debug northbound notifications
+debug northbound events
+debug northbound callbacks
+debug mgmt backend datastore frontend transaction
+debug mgmt client frontend
+debug mgmt client backend
+
interface r1-eth0
ip address 101.0.0.1/24
ipv6 address 2101::1/64
router.net.add_loop("lo-red")
router.net.attach_iface_to_l3vrf("lo-red", "red")
router.net.attach_iface_to_l3vrf(rname + "-eth1", "red")
+ #
+ # router.load_frr_config("frr.conf")
# and select daemons to run
router.load_config(TopoRouter.RD_ZEBRA, "zebra.conf")
router.load_config(TopoRouter.RD_MGMTD)
r1 = tgen.routers()["r1"]
- step("add via gateway", reset=True)
- do_config(r1, 1, True, False, vrf=vrf, use_cli=use_cli)
- step("remove via gateway")
- do_config(r1, 1, False, False, vrf=vrf, use_cli=use_cli)
+ count = 10
+ step(f"add {count} via gateway", reset=True)
+ do_config(r1, count, True, False, vrf=vrf, use_cli=use_cli)
+ step(f"remove {count} via gateway")
+ do_config(r1, count, False, False, vrf=vrf, use_cli=use_cli)
via = f"lo-{vrf}" if vrf else "lo"
step("add via loopback")