mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
server: allow adding non-overlapping ipv6 ranges in same vlan (#11556)
Fixes #11527 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Wei Zhou <weizhou@apache.org>
This commit is contained in:
parent
4f5f7d46d2
commit
f26f8cce17
@ -5173,10 +5173,6 @@ public class ConfigurationManagerImpl extends ManagerBase implements Configurati
|
||||
vlan.getVlanTag()));
|
||||
}
|
||||
}
|
||||
if (NetUtils.isSameIsolationId(vlanId, vlan.getVlanTag()) && !vlanIp6Gateway.equals(vlan.getIp6Gateway())) {
|
||||
throw new InvalidParameterValueException(String.format("The IP range with tag: %s has already been added with gateway %s. Please specify a different tag.",
|
||||
vlan.getVlanTag(), vlan.getIp6Gateway()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user