1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-24 15:58:08 +00:00

Trust user for host binding of link adress

This commit is contained in:
Julien Duponchelle 2016-12-13 17:33:52 +01:00
parent d4603ee346
commit 81a9b63dbc
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -429,7 +429,7 @@ def test_get_ip_on_same_subnet(controller, async_run):
assert async_run(compute1.get_ip_on_same_subnet(compute2)) == ("192.168.1.1", "192.168.1.2") assert async_run(compute1.get_ip_on_same_subnet(compute2)) == ("192.168.1.1", "192.168.1.2")
# Case 2 compute2 host is on a different network but a common interface is available # Case 2 compute2 host is on a different network but a common interface is available
compute2 = Compute("compute2", host="192.168.4.2", controller=controller) compute2 = Compute("compute2", host="127.0.0.1", controller=controller)
compute2._interfaces_cache = [ compute2._interfaces_cache = [
{ {
"ip_address": "127.0.0.1", "ip_address": "127.0.0.1",