Merge "Netmask needs corersion to string"
This commit is contained in:
commit
6a5f17ee00
@ -590,7 +590,7 @@ class DateraDriver(san.SanISCSIDriver):
|
||||
if not adata.get('start_ip'):
|
||||
continue
|
||||
pool_if = ipaddress.ip_interface(
|
||||
"/".join((adata['start_ip'], adata['netmask'])))
|
||||
"/".join((adata['start_ip'], str(adata['netmask']))))
|
||||
if ip_obj in pool_if.network:
|
||||
pool = ip_pool
|
||||
return self._issue_api_request(
|
||||
|
Loading…
Reference in New Issue
Block a user