Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
2fdaece
)
vat: add pg interfaces to sw_interface_dump (VPP-451)
15/3215/2
author
Damjan Marion
<damarion@cisco.com>
Fri, 30 Sep 2016 08:53:30 +0000
(10:53 +0200)
committer
Ole Trøan
<otroan@employees.org>
Fri, 30 Sep 2016 12:09:33 +0000
(12:09 +0000)
Change-Id: I976a44dcfb32b1132c14363174239333315b2c6f
Signed-off-by: Damjan Marion <damarion@cisco.com>
vpp-api-test/vat/api_format.c
patch
|
blob
|
history
diff --git
a/vpp-api-test/vat/api_format.c
b/vpp-api-test/vat/api_format.c
index
0a15ed7
..
12e8a95
100644
(file)
--- a/
vpp-api-test/vat/api_format.c
+++ b/
vpp-api-test/vat/api_format.c
@@
-4371,6
+4371,11
@@
api_sw_interface_dump (vat_main_t * vam)
strncpy ((char *) mp->name_filter, "lo", sizeof (mp->name_filter) - 1);
S;
+ /* and packet-generator interfaces */
+ M (SW_INTERFACE_DUMP, sw_interface_dump);
+ mp->name_filter_valid = 1;
+ strncpy ((char *) mp->name_filter, "pg", sizeof (mp->name_filter) - 1);
+ S;
/* and vxlan-gpe tunnel interfaces */
M (SW_INTERFACE_DUMP, sw_interface_dump);