Enhance CLI/API Support for Bonded Interface 86/686/2
authorJohn Lo <[email protected]>
Tue, 5 Apr 2016 19:47:43 +0000 (15:47 -0400)
committerGerrit Code Review <[email protected]>
Thu, 7 Apr 2016 14:33:05 +0000 (14:33 +0000)
commitbcebbb988da4fcbb6158c05050f96ae87cc50156
tree9542744dbc6315e15b41e361369bb8da983207c5
parent2fa6beff5726ecb7c863d0027395ed63dc4831ca
Enhance CLI/API Support for Bonded Interface

For interfaces which are slave links to a bounded interface, do not
allow sub-interface creation nor interface state to be changed.
Change "show interface" to display interface state as "bond-slave"
for slave links to a bonded interface.
Change "show hardware" to support a "bond" keyword and display slave
links to a bonded interface.

Change-Id: I4db3cae6985bcb1489ab16a07c72c5ee9b2f2dd3
Signed-off-by: John Lo <[email protected]>
vnet/vnet/api_errno.h
vnet/vnet/devices/dpdk/init.c
vnet/vnet/interface.c
vnet/vnet/interface.h
vnet/vnet/interface_cli.c
vnet/vnet/interface_format.c
vpp/api/api.c