NSX|V: ensure that only LAG is configured and not standby
In the event that there is a LAG only configure the LAG and no standby. Change-Id: Ieacf386ce9a8ca02d795e53c7ddab9d1356ecf88
This commit is contained in:
parent
6268a1f313
commit
41e61b9ae8
@ -437,6 +437,9 @@ class DvsManager(VCManagerBase):
|
||||
self._session.vim,
|
||||
dvs_moref,
|
||||
"config.uplinkPortPolicy")
|
||||
# VC does not support LAG and normal uplinks. So need to check
|
||||
# if we need to configure standby links
|
||||
if set(ports) & set(uplinks.uplinkPortName):
|
||||
standby = list(set(uplinks.uplinkPortName) - set(ports))
|
||||
policy.uplinkPortOrder.standbyUplinkPort = standby
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user