aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-api-test/vat
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-09-30 10:53:30 +0200
committerOle Trøan <otroan@employees.org>2016-09-30 12:09:33 +0000
commitf2c6ed1925efa46fc9f17d0b7cad738c71067eb4 (patch)
treef3cd8d99619ec1729872e8c984d49a1daabcfee6 /vpp-api-test/vat
parent2fdaece0876465d6980ac6922099502a84e1e029 (diff)
vat: add pg interfaces to sw_interface_dump (VPP-451)
Change-Id: I976a44dcfb32b1132c14363174239333315b2c6f Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vpp-api-test/vat')
-rw-r--r--vpp-api-test/vat/api_format.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vpp-api-test/vat/api_format.c b/vpp-api-test/vat/api_format.c
index 0a15ed7b9ad..12e8a9565aa 100644
--- 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);