From 1207bd850e46564552957ec80be479faa47c74ec Mon Sep 17 00:00:00 2001 From: mid_one Date: Thu, 28 Mar 2019 19:29:52 +0800 Subject: [PATCH] Add mode 2 to supported LAG mode for cluster interface LAG mode 2 should be supported because AE balanced mode should be supported for the cluster-host interface. Thus the supported_lag_mode for cluser network should be [1, 2, 4]. Co-Authored-By: Huifeng Le Change-Id: I0b81c963705820a9fec6225dac1cee2a14bbe030 Closes-Bug: #1819738 Story: #2004273 --- .../configutilities/configutilities/common/validator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configutilities/configutilities/configutilities/common/validator.py b/configutilities/configutilities/configutilities/common/validator.py index b8a2b014ed..69e1e33656 100644 --- a/configutilities/configutilities/configutilities/common/validator.py +++ b/configutilities/configutilities/configutilities/common/validator.py @@ -816,7 +816,7 @@ class ConfigValidator(object): (cluster_prefix, str(self.cluster_network.cidr))) if self.cluster_network.logical_interface.lag_interface: - supported_lag_mode = [1, 4] + supported_lag_mode = [1, 2, 4] if (self.cluster_network.logical_interface.lag_mode not in supported_lag_mode): raise ConfigFail(