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<huifeng.le@intel.com> Change-Id: I0b81c963705820a9fec6225dac1cee2a14bbe030 Closes-Bug: #1819738 Story: #2004273
This commit is contained in:
parent
dc6c342746
commit
1207bd850e
@ -816,7 +816,7 @@ class ConfigValidator(object):
|
|||||||
(cluster_prefix, str(self.cluster_network.cidr)))
|
(cluster_prefix, str(self.cluster_network.cidr)))
|
||||||
|
|
||||||
if self.cluster_network.logical_interface.lag_interface:
|
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
|
if (self.cluster_network.logical_interface.lag_mode not in
|
||||||
supported_lag_mode):
|
supported_lag_mode):
|
||||||
raise ConfigFail(
|
raise ConfigFail(
|
||||||
|
Loading…
Reference in New Issue
Block a user