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'):
|
if not adata.get('start_ip'):
|
||||||
continue
|
continue
|
||||||
pool_if = ipaddress.ip_interface(
|
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:
|
if ip_obj in pool_if.network:
|
||||||
pool = ip_pool
|
pool = ip_pool
|
||||||
return self._issue_api_request(
|
return self._issue_api_request(
|
||||||
|
Loading…
Reference in New Issue
Block a user