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:
parent
6dded4234a
commit
0dd0195d45
|
@ -86,6 +86,9 @@ def get_vlan() -> VlanId:
|
||||||
27: 'SIMPA',
|
27: 'SIMPA',
|
||||||
79: 'REC-PHYS',
|
79: 'REC-PHYS',
|
||||||
}[ip_address[2]]
|
}[ip_address[2]]
|
||||||
|
elif ip_address[0] == 10 and ip_address[1] == 100:
|
||||||
|
# using univ-rennes' vpn
|
||||||
|
vlan_id = 'REC-PHYS'
|
||||||
else:
|
else:
|
||||||
assert False
|
assert False
|
||||||
return vlan_id
|
return vlan_id
|
||||||
|
|
Loading…
Reference in New Issue