diff options
author | 2016-02-22 15:12:01 -0500 | |
---|---|---|
committer | 2016-02-29 15:41:33 -0500 | |
commit | 679ea7951514736e8c8318b434ad7162b27eea84 (patch) | |
tree | 42660fc70667bd53f71eaeeea7eb1f21e96fd7a9 /vnet/vnet/plugin | |
parent | 988a7c482ce1c7685816b238ac776b03c237ed8e (diff) |
Add ability to override the interface name.
Export interface format functions to plugin and allow ability to
show a single hardware interface index.
Change-Id: If52fae2d63e97da91e1ac9a9a6fb73389b526ebc
Signed-off-by: Todd Foggoa (tfoggoa) <tfoggoa@cisco.com>
Diffstat (limited to 'vnet/vnet/plugin')
-rw-r--r-- | vnet/vnet/plugin/p1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vnet/vnet/plugin/p1.c b/vnet/vnet/plugin/p1.c index 2d46beba575..b93ce375f8f 100644 --- a/vnet/vnet/plugin/p1.c +++ b/vnet/vnet/plugin/p1.c @@ -30,6 +30,9 @@ #define foreach_plugin_reference \ _(unformat_vnet_hw_interface) \ _(unformat_vnet_sw_interface) \ +_(format_vnet_hw_interface) \ +_(format_vnet_sw_interface) \ +_(format_vnet_sw_interface_name_override) \ _(vnet_hw_interface_rx_redirect_to_node) \ _(vnet_config_add_feature) \ _(vnet_config_del_feature) \ |