Commit 01cefd27 authored by Christos Stavrakakis's avatar Christos Stavrakakis Committed by Ilias Tsitsimpis
Browse files

reconciliation: Strip Ganeti IP addresses

Strip spaces from Ganeti IP addresses, since they are not automatically
ignored in newer versions of ipaddr.
parent fa33847d
......@@ -291,7 +291,7 @@ def get_network_pool(gnet):
r_map = a_map.copy()
r_map.setall(True)
for address in reserved.split(','):
index = converter.value_to_index(address)
index = converter.value_to_index(address.strip())
a_map[index] = True
r_map[index] = False
return a_map, r_map
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment