made tests pass when using univ-rennes vpn

work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958]
This commit is contained in:
Guillaume Raffy 2024-11-17 11:33:12 +01:00
parent 6dded4234a
commit 0dd0195d45
1 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,9 @@ def get_vlan() -> VlanId:
27: 'SIMPA',
79: 'REC-PHYS',
}[ip_address[2]]
elif ip_address[0] == 10 and ip_address[1] == 100:
# using univ-rennes' vpn
vlan_id = 'REC-PHYS'
else:
assert False
return vlan_id