summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/bgp.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/bgp.py')
-rw-r--r--tests/topotests/lib/bgp.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/topotests/lib/bgp.py b/tests/topotests/lib/bgp.py
index 051b2eb978..753b24e529 100644
--- a/tests/topotests/lib/bgp.py
+++ b/tests/topotests/lib/bgp.py
@@ -25,8 +25,6 @@ import traceback
from copy import deepcopy
from time import sleep
-import ipaddr
-
# Import common_config to use commomnly used APIs
from lib.common_config import (
create_common_configurations,
@@ -2268,7 +2266,7 @@ def verify_bgp_attributes(
"""
logger.debug("Entering lib API: {}".format(sys._getframe().f_code.co_name))
- for router, rnode in tgen.routers().iteritems():
+ for router, rnode in tgen.routers().items():
if router != dut:
continue