tests: add policer tests 96/31196/2
authorBrian Russell <brian@graphiant.com>
Thu, 4 Feb 2021 17:53:23 +0000 (17:53 +0000)
committerNeale Ranns <neale@graphiant.com>
Wed, 10 Feb 2021 16:39:30 +0000 (16:39 +0000)
commit130680b21ea4977ef50d45c9f17c8e70a8a64f54
tree68d3b186530a7845bdd394ce69e88d14886b65d9
parentf91ff5fc33eb1e5be5db06c3b4b5d1d4641d28e6
tests: add policer tests

Add some tests which configure policer params, use the policer
test helper CLI to police pretend packets and then check the
policer stats.

Type: test
Signed-off-by: Brian Russell <brian@graphiant.com>
Change-Id: Ib2688b6f77d84a4bfd3c8185e44c59fa2300716a
src/vnet/policer/test/test_policer.py [new file with mode: 0644]