bond: active-backup mode is using the wrong load balance algo 68/15168/1
authorSteven <sluong@cisco.com>
Sun, 7 Oct 2018 05:30:50 +0000 (22:30 -0700)
committerSteven <sluong@cisco.com>
Sun, 7 Oct 2018 05:33:41 +0000 (22:33 -0700)
commit318de5de9765afb75522ad68da5f5a0371480098
tree76864c7508cd6e9dea53018ed95e3a44189c4719
parentb7620fdfd50d6d03a366a78c6bd1e51572bf8f67
bond: active-backup mode is using the wrong load balance algo

active-backup mode is using l2 load balance algo. It should be using
active-backup. Also notice that the output is missing a character.

vpp# create bond mode active-backup
create bond mode active-backup
vpp# sh bond
sh bond
interface name   sw_if_index  mode         load balance  active slaves  slaves
BondEthernet0    6            xor          l34           2              2
BondEthernet1    9            xor          l34           1              1
BondEthernet2    10           active-backu l2            0              0
vpp#

Change-Id: If5ed0cc6c25f6c2ddabec15ff6188b34923d38e3
Signed-off-by: Steven <sluong@cisco.com>
src/vnet/bonding/cli.c