classify: "classify filter ..." debug CLI cleanup 49/25049/2
authorDave Barach <[email protected]>
Tue, 24 Dec 2019 21:59:38 +0000 (16:59 -0500)
committerDave Barach <[email protected]>
Wed, 12 Feb 2020 19:10:30 +0000 (14:10 -0500)
commitd3f6dc69bea7ffacbf5455a1f923c0a1af2ead23
tree422e76376b9f9b318dcfd06c3ea605c795df0c7a
parent7c5a3536ce4c2fd4157c466367c495cefecaa52e
classify: "classify filter ..." debug CLI cleanup

The pcap trace filter initial table index lives in
cm->filter_set_by_sw_if_index [0], which corresponds to the "local0"
interface. Debug cli makes sure that folks don't accidentally specify
the "local0" interface. At least it does now...

Fix the "vlib format.c code coverage" test in test/test_vlib.py.

Type: fix
Change-Id: I35320bc2c8f0c6f1f8c12e3529d1938548185151
Signed-off-by: Dave Barach <[email protected]>
(cherry picked from commit 29c6132108be68feb11c8d9bfaaf674cba86ee33)
src/vnet/classify/vnet_classify.c
test/test_vlib.py [new file with mode: 0644]