Diptanu Choudhury
536fdde121
Added a test
2017-04-08 13:44:21 -07:00
Alex Dadgar
5d4e0f18bc
Updated AWS speeds and network_speed now overrides
...
This PR:
* Makes AWS network speeds more granular
* Makes `network_speed` an override and not a default
* Adds a default of 1000 MBits if no network link speed is detected.
Fixes #1985
2016-11-15 13:55:51 -08:00
Sean Chittenden
226df7dea9
Skip the network fingerprinter test when offline.
...
Conditionalize the network fingerprinter test so that it works when a
user is offline. Similarly, when the network fingerprint test fails in
the future pass a HINT to the user to set an env var to allow the test
to be skipped in the future.
2016-07-10 20:16:06 -07:00
Alex Dadgar
be5d2d6176
Update client fingerprinters
2016-01-26 10:08:01 -08:00
Alex Dadgar
82bfeb63df
Fix network fingerprint test
2015-11-19 09:22:32 -08:00
Diptanu Choudhury
a2bdd2ae0c
Refactored code
2015-10-29 16:16:10 -07:00
Diptanu Choudhury
e85ec5c2e2
Added a test to ensure we are not selecting devices which are not marked as UP or loopback and have no IP addresses
2015-10-29 15:14:13 -07:00
Diptanu Choudhury
617edcdddd
Added tests for testing detecting default device
2015-10-29 11:01:15 -07:00
Alex Dadgar
d8f3bd26e6
Merges
2015-10-02 17:32:11 -07:00
Clint Shryock
0a334a267d
Refactor network fingerprinting to be generic, use build flags
2015-09-23 10:12:56 -05:00
Clint Shryock
c799477f83
refactoring, docs
2015-09-22 23:51:56 -05:00
Clint Shryock
a90109c7b8
populate node network resource
2015-09-22 23:22:23 -05:00
Clint Shryock
3882fd7afc
Update code for parsing IP address
2015-09-22 22:56:31 -05:00
Clint Shryock
a216204111
Consolidate the AWS fingerprinters
2015-09-22 16:56:04 -05:00
Clint Shryock
2942212ee3
Refactor some AWS things, removing fingerprint/network.go
...
- move isAWS to env, use in other places
- fingerprint/network.go is no empty; removed
2015-09-22 16:31:57 -05:00
Clint Shryock
7ca269381a
Refactor the Network Fingerprinters
2015-09-22 15:59:00 -05:00
Clint Shryock
fdbcf08c77
Basic network fingerprinting for Unix type, AWS systems
2015-09-22 11:44:53 -05:00