Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
truenas
Commits
e1d249a0
Commit
e1d249a0
authored
1 year ago
by
Brian Meagher
Browse files
Options
Download
Email Patches
Plain Diff
Don't hardcode netmask
parent
6d310669
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/api2/test_005_interface.py
+2
-2
tests/api2/test_005_interface.py
with
2 additions
and
2 deletions
+2
-2
tests/api2/test_005_interface.py
View file @
e1d249a0
...
...
@@ -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'
:
[
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment