Development
This commit is contained in:
parent
21db91d512
commit
be7ccd3390
4 changed files with 67 additions and 52 deletions
|
|
@ -57,7 +57,7 @@ def _check_ip_conflicts(ip, vlan):
|
|||
try:
|
||||
if (ipaddress.IPv4Address(pool_start) <= ipaddress.IPv4Address(ip)
|
||||
<= ipaddress.IPv4Address(pool_end)):
|
||||
return f'{ip} falls within the dynamic pool range ({pool_start}–{pool_end}).'
|
||||
return f'{ip} falls within the dynamic pool range ({pool_start}-{pool_end}).'
|
||||
except Exception:
|
||||
pass
|
||||
identity_ips = {s['ip'] for s in vlan.get('server_identities', []) if s.get('ip')}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue