Commit e1d249a0 authored by Brian Meagher's avatar Brian Meagher
Browse files

Don't hardcode netmask

parent 6d310669
Showing with 2 additions and 2 deletions
+2 -2
......@@ -6,7 +6,7 @@ sys.path.append(apifolder)
import pytest
from auto_config import ip, interface, ha
from auto_config import ip, interface, ha, netmask
from middlewared.test.integration.utils.client import client
......@@ -37,7 +37,7 @@ def get_payload(ws_client, ip_to_use):
{
'type': 'INET',
'address': os.environ['controller1_ip'],
'netmask': 23
'netmask': int(netmask)
}
],
'failover_aliases': [
......
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