diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-04-04 13:22:20 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-04-17 17:30:32 +0000 |
commit | 6407ba56a392f37322001d0ffdca002223b095c0 (patch) | |
tree | 22aca6ba83aa1d1f2bf074b69115d993f8328bb5 /src/vnet/interface.api | |
parent | 4bdfd59a873dec469896f3848235aa783270a93e (diff) |
api: Add to interface crud - read by sw_if_index.
Change-Id: I02c857da4cf6da5e0e55c1e48b63716af7ade0a9
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/interface.api')
-rw-r--r-- | src/vnet/interface.api | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api index 1af323e0a44..0cebd001426 100644 --- a/src/vnet/interface.api +++ b/src/vnet/interface.api @@ -14,7 +14,7 @@ * limitations under the License. */ -option version = "2.2.0"; +option version = "2.2.1"; import "vnet/interface_types.api"; @@ -206,6 +206,7 @@ define sw_interface_details /** \brief Request all or filtered subset of sw_interface_details @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request + @param sw_if_index - ~0 if ignore, index of the interface to filter on @param name_filter_valid - 1 if requesting a filtered subset of records else 0 @param name_filter - interface name substring filter. Eg. loop1 returns [loop1, loop10] */ @@ -214,6 +215,7 @@ define sw_interface_dump { u32 client_index; u32 context; + vl_api_interface_index_t sw_if_index; u8 name_filter_valid; u8 name_filter[49]; }; |