mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-26 22:09:35 +00:00
topotests: python3, replace iteritems with items
replace iteritems() calls with items() Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
e7294b3200
commit
ecff3c7a0c
@ -102,7 +102,7 @@ def setup_module(module):
|
||||
|
||||
# Starting Routers
|
||||
router_list = tgen.routers()
|
||||
for rname, router in router_list.iteritems():
|
||||
for rname, router in router_list.items():
|
||||
router.load_config(
|
||||
TopoRouter.RD_ZEBRA, os.path.join(CWD, "{}/zebra.conf".format(rname))
|
||||
)
|
||||
|
||||
@ -179,7 +179,7 @@ def setup_module(mod):
|
||||
router_list = tgen.routers()
|
||||
|
||||
# For all registered routers, load the zebra configuration file
|
||||
for rname, router in router_list.iteritems():
|
||||
for rname, router in router_list.items():
|
||||
router.load_config(
|
||||
TopoRouter.RD_ZEBRA,
|
||||
os.path.join(CWD, '{}/zebra.conf'.format(rname))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user