2.108. test_policer module¶
-
class
test_policer.
TestPolicer
(methodName='runTest')¶ Bases:
framework.VppTestCase
Policer Test Case
-
run_policer_test
(type, cir, cb, eir, eb, rate=8000, burst=10000, colour=0)¶ Configure a Policer and push traffic through it.
-
test_policer_1r2c
()¶ Single rate, 2 colour policer
-
test_policer_1r3c
()¶ Single rate, 3 colour policer
-
test_policer_2r3c
()¶ Dual rate, 3 colour policer
-