2.83. test_node_variants module

class test_node_variants.TestHSWVariant(methodName='runTest')

Bases: test_node_variants.TestNodeVariant

Test avx2 Node Variants

LINUX_VARIANT = 'avx2'
VARIANT = 'hsw'
classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

classmethod setUpConstants()

Set-up the test case class based on environment variables

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_hsw()
class test_node_variants.TestICLVariant(methodName='runTest')

Bases: test_node_variants.TestNodeVariant

Test icl Node Variants

LINUX_VARIANT = 'avx512_bitalg'
VARIANT = 'icl'
classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

classmethod setUpConstants()

Set-up the test case class based on environment variables

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_icl()
class test_node_variants.TestNodeVariant(methodName='runTest')

Bases: framework.VppTestCase

Test Node Variants

checkVariant(variant)

Test node variants defaults

getActiveVariant(node)
setUp()

Clear trace before running each test

classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

classmethod setUpConstants(variant)

Set-up the test case class based on environment variables

tearDown()

Show various debug prints after each test

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

class test_node_variants.TestSKXVariant(methodName='runTest')

Bases: test_node_variants.TestNodeVariant

Test skx Node Variants

LINUX_VARIANT = 'avx512f'
VARIANT = 'skx'
classmethod setUpClass()

Perform class setup before running the testcase Remove shared memory files, start vpp and connect the vpp-api

classmethod setUpConstants()

Set-up the test case class based on environment variables

classmethod tearDownClass()

Perform final cleanup after running all tests in this test-case

test_skx()
test_node_variants.checkX86()
test_node_variants.skipVariant(variant)