API:support hidden sw interfaces 41/5741/3
authorEyal Bari <ebari@cisco.com>
Tue, 14 Mar 2017 12:39:51 +0000 (14:39 +0200)
committerJohn Lo <loj@cisco.com>
Tue, 14 Mar 2017 18:15:46 +0000 (18:15 +0000)
commit1c82cd4f491ff83127fbacfb6b09b9492eff1b62
treeeec87672471edb2749260da96ce8031016a21bdf
parent3d6b2b5649fc2858c6ebc433a79c45d9bff3175e
API:support hidden sw interfaces

validate interfaces - added check for hidden interfaces
interface dump - dont send hidden interfaces
set_unnumbered - test for hidden

vl_api_create_vlan_subif_t_handler, vl_api_create_subif_t_handler - fixed potential memory leak

some other minor refactors to make code clearer and shorter

Change-Id: Icce6b724336b7d1536fbd07a74bf7abe4916d2c0
Signed-off-by: Eyal Bari <ebari@cisco.com>
src/vlibapi/api_helper_macros.h
src/vnet/interface_api.c
src/vpp/api/api.c