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__))
# 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]