aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bonding/cli.c
diff options
context:
space:
mode:
authorZhiyong Yang <zhiyong.yang@intel.com>2019-07-21 21:51:21 -0400
committerZhiyong Yang <zhiyong.yang@intel.com>2019-07-22 21:27:41 -0400
commita58fec168ef5230a4375f81c8eaa1d2912a3ff58 (patch)
tree775affd4feaeaa9919c89d342e22de78c0f85a20 /src/vnet/bonding/cli.c
parentc75423981ad2d44c4f2abc5dbe69d6a1a9930d1e (diff)
bonding: fix create bond CLI
1. "numa-only" is optional and is disabled by default for lacp mode. 2. update lacp doc. Type: fix Change-Id: I6a3a8423ef31ad9980353a796957693cd6205d73 Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src/vnet/bonding/cli.c')
-rw-r--r--src/vnet/bonding/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/bonding/cli.c b/src/vnet/bonding/cli.c
index 371e3c1012c..ec779e263a8 100644
--- a/src/vnet/bonding/cli.c
+++ b/src/vnet/bonding/cli.c
@@ -478,7 +478,7 @@ bond_create_command_fn (vlib_main_t * vm, unformat_input_t * input,
VLIB_CLI_COMMAND (bond_create_command, static) = {
.path = "create bond",
.short_help = "create bond mode {round-robin | active-backup | broadcast | "
- "{lacp | xor} [load-balance { l2 | l23 | l34 } {numa-only}]} [hw-addr <mac-address>] "
+ "{lacp | xor} [load-balance { l2 | l23 | l34 } [numa-only]]} [hw-addr <mac-address>] "
"[id <if-id>]",
.function = bond_create_command_fn,
};