Daniele Moro | 04a62d1 | 2021-10-06 17:37:36 +0200 | [diff] [blame] | 1 | class 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: |
| 9 | from tests.USECASE.SegmentRouting.QOSNonMobile.dependencies.QOSNonMobileTest import QOSNonMobileTest |
| 10 | except ImportError as e: |
| 11 | main.log.error("Import not found. Exiting the test") |
| 12 | main.log.error(e) |
| 13 | main.cleanAndExit() |
| 14 | |
| 15 | test = QOSNonMobileTest() |
| 16 | test.runTest(main, test_idx=1, n_switches=2) |
| 17 | |
| 18 | def CASE2(self): |
| 19 | main.case("Leaf Pair Link with NON-Mobile Traffic Classification") |
| 20 | try: |
| 21 | from tests.USECASE.SegmentRouting.QOSNonMobile.dependencies.QOSNonMobileTest import QOSNonMobileTest |
| 22 | except ImportError as e: |
| 23 | main.log.error("Import not found. Exiting the test") |
| 24 | main.log.error(e) |
| 25 | main.cleanAndExit() |
| 26 | |
| 27 | test = QOSNonMobileTest() |
| 28 | test.runTest(main, test_idx=2, n_switches=2) |