]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/topotests/ospf_basic_functionality/test_ospf_ecmp_lan.py
tests: cleanup - remove unused imports
[mirror_frr.git] / tests / topotests / ospf_basic_functionality / test_ospf_ecmp_lan.py
index 9ca46082d119442009e7fbb681a4d1821a768a08..4a5660f42fc1d15441c0bb79e2bf4772cb801846 100644 (file)
@@ -26,7 +26,6 @@ import os
 import sys
 import time
 import pytest
-import json
 
 # Save the Current Working Directory to find configuration files.
 CWD = os.path.dirname(os.path.realpath(__file__))
@@ -35,40 +34,28 @@ sys.path.append(os.path.join(CWD, "../lib/"))
 
 # pylint: disable=C0413
 # Import topogen and topotest helpers
-from lib.micronet_compat import Topo
 from lib.topogen import Topogen, get_topogen
 
 # Import topoJson from lib, to create topology and initial configuration
 from lib.common_config import (
     start_topology,
     write_test_header,
-    create_interfaces_cfg,
     write_test_footer,
     reset_config_on_routers,
     verify_rib,
     create_static_routes,
-    check_address_types,
     step,
-    create_route_maps,
-    shutdown_bringup_interface,
-    stop_router,
-    start_router,
     topo_daemons,
 )
-from lib.bgp import verify_bgp_convergence, create_router_bgp
 from lib.topolog import logger
-from lib.topojson import build_topo_from_json, build_config_from_json
+from lib.topojson import build_config_from_json
 
 from lib.ospf import (
     verify_ospf_neighbor,
-    config_ospf_interface,
     clear_ospf,
     verify_ospf_rib,
-    create_router_ospf,
-    verify_ospf_interface,
     redistribute_ospf,
 )
-from ipaddress import IPv4Address
 
 pytestmark = [pytest.mark.ospfd, pytest.mark.staticd]