# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.bfdd, pytest.mark.ospfd]
class TemplateTopo(Topo):
"Test topology builder"
# Required to instantiate the topology builder class.
from mininet.topo import Topo
-pytestmark = [pytest.mark.bfdd, pytest.mark.isisd]
+pytestmark = [pytest.mark.bfdd, pytest.mark.isisd, pytest.mark.ospfd]
class BFDProfTopo(Topo):
"Test topology builder"
# Required to instantiate the topology builder class.
from mininet.topo import Topo
-pytestmark = [pytest.mark.bfdd]
+pytestmark = [pytest.mark.bfdd, pytest.mark.ospfd]
class BFDTopo(Topo):
"Test topology builder"
ERROR_LIST = ["Malformed", "Failure", "Unknown", "Incomplete"]
+pytestmark = [pytest.mark.bgpd, pytest.mark.ospfd]
+
class InvalidCLIError(Exception):
"""Raise when the CLI command is wrong"""
# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.bgpd, pytest.mark.ospfd]
class TemplateTopo(Topo):
"Test topology builder"
# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.bgpd, pytest.mark.ospfd]
+
#####################################################
#
# Network Topology Definition
from lib.ltemplate import *
+pytestmark = [pytest.mark.bgpd, pytest.mark.ospfd]
def test_adjacencies():
CliOnFail = None
from lib.ltemplate import *
+pytestmark = [pytest.mark.bgpd, pytest.mark.ospfd]
def test_check_linux_vrf():
CliOnFail = None
from lib.ltemplate import *
+pytestmark = [pytest.mark.bgpd, pytest.mark.ospfd]
def test_add_routes():
CliOnFail = None
# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.ldpd, pytest.mark.ospfd]
class TemplateTopo(Topo):
"Test topology builder"
# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.ldpd, pytest.mark.ospfd]
class TemplateTopo(Topo):
"Test topology builder"
# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.ldpd, pytest.mark.ospfd]
class TemplateTopo(Topo):
"Test topology builder"
fatal_error = ""
-pytestmark = [pytest.mark.ldpd]
+pytestmark = [pytest.mark.ldpd, pytest.mark.ospfd]
#####################################################
##
# and Finally pytest
import pytest
+pytestmark = [pytest.mark.ospfd]
class OspfSrTopo(Topo):
"Test topology builder"
# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.ospfd]
class OSPFTopo(Topo):
"Test topology builder"
# Required to instantiate the topology builder class.
from mininet.topo import Topo
+pytestmark = [pytest.mark.ospfd]
class OSPFTopo(Topo):
"Test topology builder"
from lib.topojson import build_topo_from_json, build_config_from_json
from ipaddress import IPv4Address
-
+pytestmark = [pytest.mark.ospfd]
# Global variables
topo = None