Skip to content

Commit fce9351

Browse files
committed
Merge pull request #24 from robhoes/ea1254
CA-99828 Add a new bond option: lacp-fallback-ab
2 parents 2562a00 + faf4959 commit fce9351

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/network_utils.ml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ module Ovs = struct
751751
let make_bond_properties name properties =
752752
let known_props = ["mode"; "hashing-algorithm"; "updelay"; "downdelay";
753753
"miimon"; "use_carrier"; "rebalance-interval";
754-
"lacp-time"; "lacp-aggregation-key"] in
754+
"lacp-time"; "lacp-aggregation-key"; "lacp-fallback-ab"] in
755755
let mode_args =
756756
let mode = if List.mem_assoc "mode" properties
757757
then List.assoc "mode" properties else "balance-slb" in
@@ -795,7 +795,8 @@ module Ovs = struct
795795
"use_carrier", "other-config:bond-detect-mode";
796796
"rebalance-interval", "other-config:bond-rebalance-interval";])
797797
and extra_args = List.flatten (List.map get_prop
798-
["lacp-time", "other-config:lacp-time";])
798+
["lacp-time", "other-config:lacp-time";
799+
"lacp-fallback-ab", "other-config:lacp-fallback-ab";])
799800
and per_iface_args = List.flatten (List.map get_prop
800801
["lacp-aggregation-key", "other-config:lacp-aggregation-key";
801802
"lacp-actor-key", "other-config:lacp-actor-key";])

0 commit comments

Comments
 (0)