diff options
author | 2016-04-05 15:47:43 -0400 | |
---|---|---|
committer | 2016-04-07 14:33:05 +0000 | |
commit | bcebbb988da4fcbb6158c05050f96ae87cc50156 (patch) | |
tree | 9542744dbc6315e15b41e361369bb8da983207c5 /vnet/vnet/api_errno.h | |
parent | 2fa6beff5726ecb7c863d0027395ed63dc4831ca (diff) |
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 <loj@cisco.com>
Diffstat (limited to 'vnet/vnet/api_errno.h')
-rw-r--r-- | vnet/vnet/api_errno.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vnet/vnet/api_errno.h b/vnet/vnet/api_errno.h index 69535d3fa97..e59efd70c4e 100644 --- a/vnet/vnet/api_errno.h +++ b/vnet/vnet/api_errno.h @@ -69,7 +69,8 @@ _(TUNNEL_EXIST, -75, "Tunnel already exists") \ _(INVALID_DECAP_NEXT, -76, "Invalid decap-next") \ _(RESPONSE_NOT_READY, -77, "Response not ready") \ _(NOT_CONNECTED, -78, "Not connected to the data plane") \ -_(IF_ALREADY_EXISTS, -79, "Interface already exists") +_(IF_ALREADY_EXISTS, -79, "Interface already exists") \ +_(BOND_SLAVE_NOT_ALLOWED, -80, "Operation not allowed on slave of BondEthernet") typedef enum { #define _(a,b,c) VNET_API_ERROR_##a = (b), |