from lib.topojson import build_topo_from_json, build_config_from_json
from ipaddress import IPv4Address
-pytestmark = [pytest.mark.ospfd]
+pytestmark = [pytest.mark.ospfd, pytest.mark.staticd]
# Global variables
topo = None
from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
from lib.topojson import build_topo_from_json, build_config_from_json
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
# Reading the data from JSON File for topology creation
jsonFile = "{}/static_routes_topo1_ebgp.json".format(CWD)
try:
from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
from lib.topojson import build_topo_from_json, build_config_from_json
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
# Reading the data from JSON File for topology creation
jsonFile = "{}/static_routes_topo2_ebgp.json".format(CWD)
try:
from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
from lib.topojson import build_topo_from_json, build_config_from_json
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
# Reading the data from JSON File for topology creation
jsonFile = "{}/static_routes_topo3_ebgp.json".format(CWD)
try:
NETWORK = {"ipv4": "2.2.2.2/32", "ipv6": "22:22::2/128"}
NEXT_HOP_IP = {}
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
class CreateTopo(Topo):
"""
from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
from lib.topojson import build_topo_from_json, build_config_from_json
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
# Reading the data from JSON File for topology creation
jsonFile = "{}/static_routes_topo1_ibgp.json".format(CWD)
try:
from lib.topojson import build_topo_from_json, build_config_from_json
from lib.topotest import version_cmp
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
# Reading the data from JSON File for topology creation
jsonFile = "{}/static_routes_topo2_ibgp.json".format(CWD)
try:
from lib.bgp import verify_bgp_convergence, create_router_bgp, verify_bgp_rib
from lib.topojson import build_topo_from_json, build_config_from_json
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
+
# Reading the data from JSON File for topology creation
jsonFile = "{}/static_routes_topo3_ibgp.json".format(CWD)
try:
NETWORK = {"ipv4": "2.2.2.2/32", "ipv6": "22:22::2/128"}
NEXT_HOP_IP = {}
+pytestmark = [pytest.mark.bgpd, pytest.mark.staticd]
class CreateTopo(Topo):
"""