Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 185 subnet for on_head_network #44

Merged
merged 1 commit into from
Jun 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions testr/test_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def on_head_network():
"""
Return True if the system is apparently on the HEAD network.

This looks for subnets 52 (e.g. fido, lato) and 184 (kadi) on 131.142.xxx.
This looks for subnets 52 (e.g. fido, lato), 184 (kadi), 185 (owen-v) on 131.142.xxx.
"""
try:
hostname = socket.gethostname()
Expand All @@ -89,7 +89,7 @@ def on_head_network():
ips = host_ip.split('.')
out = (ips[0] == '131' and
ips[1] == '142' and
ips[2] in ('52', '184')) # 60 Garden, CDP respectively
ips[2] in ('52', '184', '185')) # 60 Garden, CDP, CDP
return out


Expand Down