Commit graph

1586 commits

Author SHA1 Message Date
Kenjiro Nakayama 21f537339e Use const value for AWS metadata URL 2015-11-04 00:06:14 +09:00
Alex Dadgar 141e3c69d8 Merge pull request #365 from hashicorp/dev-config-network-interface
Setting the default network interface for dev mode only in Linux and Darwin
2015-10-29 17:28:16 -07:00
Diptanu Choudhury c0d37ce58c Setting the default network interface for dev mode only in Linux and Darwin 2015-10-29 17:03:54 -07:00
Diptanu Choudhury cae9b40877 Merge pull request #356 from hashicorp/network-fingerprint-refactor
Network fingerprint refactor
2015-10-29 16:59:54 -07:00
Alex Dadgar 93e1b49278 Merge pull request #352 from hashicorp/f-qemu-windows
Get Qemu to fingerprint and test properly on both windows and linux
2015-10-29 16:57:29 -07:00
Alex Dadgar 01e0be4cc6 Add comment explaining the qemu-img command on windows 2015-10-29 16:57:02 -07:00
Diptanu Choudhury b506c224d6 Merge branch 'master' into network-fingerprint-refactor 2015-10-29 16:20:20 -07:00
Diptanu Choudhury e55bbe5f2c Refactored code 2015-10-29 16:16:10 -07:00
Diptanu Choudhury 17d430e46c Renamed BasicNetworkInterfaceDetector to DefaultNetworkInterfaceDetector 2015-10-29 15:55:49 -07:00
Alex Dadgar f2bbc0dd6b Merge pull request #362 from gregory-m/node-gc-conf
Configure Node GC Threshold
2015-10-29 15:45:57 -07:00
Diptanu Choudhury 1360f8c6fa Fixed a debug message 2015-10-29 15:17:40 -07:00
Diptanu Choudhury d31f567484 Fixed style of a debug log 2015-10-29 15:15:44 -07:00
Diptanu Choudhury 08302d43ee 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 e76465bfd7 Merge pull request #361 from gregory-m/lo-iface-name-fix
Fix local interface name on OS X
2015-10-29 13:56:19 -07:00
Seth Vargo 5e5543bed2 Merge pull request #363 from hashicorp/sethvargo/releases
Trailing slash
2015-10-29 16:25:58 -04:00
Seth Vargo 1041cc74c5 Trailing slash 2015-10-29 16:16:07 -04:00
Diptanu Choudhury b048919b63 Added some coments 2015-10-29 11:05:58 -07:00
Diptanu Choudhury 6400273cf8 Added tests for testing detecting default device 2015-10-29 11:01:15 -07:00
Gregory Man 03cfaa0e78 node_gc_threshold documentation. 2015-10-29 19:26:18 +02:00
Gregory Man 8f178b54d3 Added node_gc_threshold configuration option
Close #333
2015-10-29 15:58:21 +02:00
Gregory Man af4e123a89 Fix local interface name on OS X 2015-10-29 14:30:26 +02:00
Seth Vargo ac28fccf15 Merge pull request #358 from charlieok/patch-1
should be use -> should be used
2015-10-29 00:32:54 -04:00
Charlie O'Keefe b710725c5f should be use -> should be used 2015-10-28 22:09:00 -06:00
Seth Vargo b2150359bb Merge pull request #357 from charlieok/patch-1
Gracefully termination -> Graceful termination
2015-10-29 00:06:45 -04:00
Charlie O'Keefe bebb3ceac2 Gracefully termination -> Graceful termination 2015-10-28 22:03:59 -06:00
Diptanu Choudhury b78c00f255 Introduced an interface to detect network devices so that we can mock it for tests 2015-10-28 15:58:40 -07:00
Diptanu Choudhury f0e445d8f5 Refactored the findInterfaces method to make it more clear 2015-10-28 15:48:08 -07:00
Diptanu Choudhury a3d79ec589 Some coding style changes 2015-10-28 15:03:11 -07:00
Diptanu Choudhury 9b86b2313f We don't want lo and PPP in production 2015-10-28 14:44:46 -07:00
Diptanu Choudhury df5efd1e24 Added more information to log 2015-10-28 14:41:13 -07:00
Diptanu Choudhury 58bf6047a7 Adding more information to errors 2015-10-28 14:32:13 -07:00
Alex Dadgar b2d26d1838 Merge pull request #355 from steve-jansen/docs-agent-config-atlas
Update agent config docs on Atlas integration
2015-10-28 14:30:56 -07:00
Steve Jansen 13b02ea305 Update agent config docs on Atlas integration
Provide a pointer to https://github.com/hashicorp/nomad/issues/183 regarding Nomad/Atlas integration
2015-10-28 17:05:27 -04:00
Diptanu Choudhury 2464789b73 Added more comments 2015-10-28 14:03:33 -07:00
Chris Bednarski 3076b911d8 Merge pull request #350 from hashicorp/b-vagrantfile
Update the vagrant file
2015-10-28 13:53:28 -07:00
Chris Bednarski 201e9a0ff3 Double the ram, double the fun 2015-10-28 13:53:04 -07:00
Diptanu Choudhury 915be5e86c Selecting the ipv4 address if there are ipv4 and ipv6 addresses configured for an interface 2015-10-28 13:38:28 -07:00
Diptanu Choudhury fffb0ed5ae Exctracted a method to detect network interface 2015-10-28 11:11:13 -07:00
Alex Dadgar 9f7dcc4ced Use same binary as Fingerprint in the QemuCompatible function 2015-10-28 10:28:53 -07:00
Alex Dadgar d11a7782a9 Merge pull request #351 from hashicorp/f-clean-constraints
Remove weight and hard/soft fields from constraint
2015-10-28 10:14:06 -07:00
Diptanu Choudhury 7a15cf0e45 Fix merge conflicts 2015-10-28 08:54:29 -07:00
Diptanu Choudhury a87519f71a Merge pull request #353 from nak3/assign-ip
Assign IP address when network device is specified
2015-10-28 07:46:56 -07:00
Kenjiro Nakayama a79ae3c546 Assign IP when network device is specified 2015-10-28 21:19:06 +09:00
Mitchell Hashimoto 0e5a3c273b style change, no logic change 2015-10-27 19:39:19 -07:00
Alex Dadgar a5a1e45f4b Get Qemu to fingerprint and test properly on both windows and linux 2015-10-27 15:27:11 -07:00
Alex Dadgar 3cdbfc010f Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
Diptanu Choudhury 809f360743 Using the Go stdlib APIs to detect IP Address of a device 2015-10-27 14:14:25 -07:00
Chris Bednarski e5ed989d4d Merge branch 'master' into b-vagrantfile 2015-10-27 12:53:25 -07:00
Diptanu Choudhury ca99960cc1 Merge pull request #334 from nak3/set-default-net-interface
Set default network interface rather than eth0
2015-10-27 11:30:03 -07:00
Kenjiro Nakayama e688dc3826 Set default network interface rather than eth0 for non-dev mode, and use loopback device for dev mode by default 2015-10-28 02:03:48 +09:00