open-nomad/client/fingerprint
Alex Dadgar fd7d614ae4 Handle interfaces that only have link-local addrs
This PR changes the fingerprint handling of network interfaces that only
contain link local addresses. The new behavior is to prefer globally
routable addresses and if none are detected, to fall back to link local
addresses if the operator hasn't disallowed it. This gives us pre 0.6
behavior for interfaces with only link local addresses but 0.6+ behavior
for IPv6 interfaces that will always have a link-local address.

Fixes https://github.com/hashicorp/nomad/issues/3005

/cc diptanuc
2017-08-23 15:32:22 -07:00
..
arch.go Fixed namespacing for the cpu arch 2017-01-06 14:23:22 -08:00
arch_test.go Fixed namespacing for the cpu arch 2017-01-06 14:23:22 -08:00
cgroup.go Build the Cgroup fingerprinter on only Linux. 2016-07-10 13:55:06 -07:00
cgroup_linux.go
cgroup_test.go Build the Cgroup fingerprinter on only Linux. 2016-07-10 13:55:06 -07:00
consul.go small fixes 2016-09-01 13:38:31 -07:00
consul_test.go Fingerprint 2016-09-01 11:10:14 -07:00
cpu.go 0 compute == error 2017-07-03 14:51:02 -07:00
cpu_test.go Fix cpu_total_compute override 2017-07-03 14:51:02 -07:00
env_aws.go AMI ID is potentally non-unique 2017-08-09 12:53:54 -04:00
env_aws_test.go Updated AWS fingerprint test for ami-id 2017-08-11 12:54:27 -04:00
env_gce.go Speed up client startup 2017-07-20 22:34:24 -07:00
env_gce_test.go
fingerprint.go Speed up client startup 2017-07-20 22:34:24 -07:00
fingerprint_default.go Alpha-sort the build platforms 2016-07-11 12:23:46 -07:00
fingerprint_linux.go Centralize the fingerprintrs. 2016-07-09 22:31:14 -07:00
fingerprint_test.go
host.go Enable kernel.version on Windows 2017-03-01 18:48:23 +00:00
host_test.go Update failing tests 2016-06-23 11:28:17 -04:00
memory.go
memory_test.go
network.go Handle interfaces that only have link-local addrs 2017-08-23 15:32:22 -07:00
network_default.go Link speed for windows network fingerprinting 2016-07-20 22:13:50 +02:00
network_linux.go
network_test.go Handle interfaces that only have link-local addrs 2017-08-23 15:32:22 -07:00
network_windows.go Link speed for windows network fingerprinting - tests 2016-07-22 22:49:03 +02:00
network_windows_test.go Link speed for windows network fingerprinting - tests 2016-07-22 22:49:03 +02:00
nomad.go Add version package 2017-08-16 15:44:21 -07:00
nomad_test.go Fix tests 2017-08-16 16:26:52 -07:00
signal.go Advertise signalling abilities 2016-10-19 15:06:23 -07:00
signal_test.go Advertise signalling abilities 2016-10-19 15:06:23 -07:00
storage.go
storage_test.go
storage_unix.go
storage_windows.go
vault.go Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
vault_test.go Make test Vault pick random ports 2017-07-25 17:40:59 -07:00
zstorage_windows.go