blob: 8c657ddb83fd61735d6ee28781d2fdb5b041f95e [file] [log] [blame]
Daniele Moro04a62d12021-10-06 17:37:36 +02001class QOSNonMobile:
2
3 def __init__(self):
4 self.default = ''
5
6 def CASE1(self):
7 main.case("Leaf Edge with NON-Mobile Traffic Classification")
8 try:
Daniele Moroc6811a82021-10-12 11:29:41 +02009 from tests.USECASE.SegmentRouting.QOSNonMobile.dependencies.QOSNonMobileTest import \
10 QOSNonMobileTest
Daniele Moro04a62d12021-10-06 17:37:36 +020011 except ImportError as e:
12 main.log.error("Import not found. Exiting the test")
13 main.log.error(e)
14 main.cleanAndExit()
15
16 test = QOSNonMobileTest()
Daniele Moroc6811a82021-10-12 11:29:41 +020017 test.runTest(
18 main,
19 test_idx=1,
20 n_switches=int(main.params["TOPO"]["switchNum"])
21 )
Daniele Moro04a62d12021-10-06 17:37:36 +020022
23 def CASE2(self):
24 main.case("Leaf Pair Link with NON-Mobile Traffic Classification")
25 try:
Daniele Moroc6811a82021-10-12 11:29:41 +020026 from tests.USECASE.SegmentRouting.QOSNonMobile.dependencies.QOSNonMobileTest import \
27 QOSNonMobileTest
Daniele Moro04a62d12021-10-06 17:37:36 +020028 except ImportError as e:
29 main.log.error("Import not found. Exiting the test")
30 main.log.error(e)
31 main.cleanAndExit()
32
33 test = QOSNonMobileTest()
Daniele Moroc6811a82021-10-12 11:29:41 +020034 test.runTest(
35 main,
36 test_idx=2,
37 n_switches=int(main.params["TOPO"]["switchNum"])
38 )