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:
Abhishek Kumar 2025-09-09 18:21:39 +05:30 committed by GitHub
parent 4f5f7d46d2
commit f26f8cce17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()));
}
}
}