Commit Graph

1553 Commits

Author SHA1 Message Date
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
24b1a8eb3e Added some coments 2015-10-29 11:05:58 -07:00
Diptanu Choudhury
617edcdddd Added tests for testing detecting default device 2015-10-29 11:01:15 -07:00
Diptanu Choudhury
764a6bdf1d 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
e61c4ad130 Refactored the findInterfaces method to make it more clear 2015-10-28 15:48:08 -07:00
Diptanu Choudhury
e470eb230d Some coding style changes 2015-10-28 15:03:11 -07:00
Diptanu Choudhury
65b47b824a We don't want lo and PPP in production 2015-10-28 14:44:46 -07:00
Diptanu Choudhury
345ccb112a Added more information to log 2015-10-28 14:41:13 -07:00
Diptanu Choudhury
ae8b07e85a Adding more information to errors 2015-10-28 14:32:13 -07:00
Diptanu Choudhury
2c3def89b3 Added more comments 2015-10-28 14:03:33 -07:00
Diptanu Choudhury
61a56c1ab2 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
48d71cc20a Exctracted a method to detect network interface 2015-10-28 11:11:13 -07:00
Diptanu Choudhury
aaaa7cd7fd Fix merge conflicts 2015-10-28 08:54:29 -07:00
Diptanu Choudhury
dfbbbaf306 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
11a46aac53 Assign IP when network device is specified 2015-10-28 21:19:06 +09:00
Mitchell Hashimoto
baee91fb0c style change, no logic change 2015-10-27 19:39:19 -07:00
Diptanu Choudhury
61ded1b1d5 Using the Go stdlib APIs to detect IP Address of a device 2015-10-27 14:14:25 -07:00
Diptanu Choudhury
0353c8eeee 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
b85f114dff 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
Alex Dadgar
8fcefe0f3d Merge pull request #321 from hashicorp/f-unique-constraint
Add "distinctHost" constraint
2015-10-26 14:18:57 -07:00
Alex Dadgar
2ab5790b6f Rename Dynamic -> ProposedAllocConstraintIterator 2015-10-26 14:12:54 -07:00
Alex Dadgar
302c989509 Cleanup DynamicConstraintIterator 2015-10-26 14:01:32 -07:00
Seth Vargo
ba80348417 Merge pull request #340 from hashicorp/sethvargo/releases
Use releases for releases
2015-10-26 16:55:38 -04:00
Seth Vargo
c2c1909e12 Merge pull request #345 from charlieok/patch-1
have a the string -> have the string
2015-10-26 16:51:42 -04:00
Charlie O'Keefe
9a7b565a3c have a the string -> have the string 2015-10-26 14:51:17 -06:00
Alex Dadgar
cccef7ac84 Constants for constraints and renaming to use undescore instead of camel 2015-10-26 13:47:56 -07:00
Seth Vargo
eb71a73fb1 Merge pull request #344 from charlieok/patch-1
deregistraion -> deregistration
2015-10-26 16:20:38 -04:00
Charlie O'Keefe
5bb4acf38e deregistraion -> deregistration 2015-10-26 14:20:10 -06:00
Seth Vargo
ae78e99e73 Merge pull request #343 from charlieok/patch-1
an option job ID -> an optional job ID
2015-10-26 16:00:28 -04:00
Charlie O'Keefe
0e6337e4db an option job ID -> an optional job ID 2015-10-26 13:59:47 -06:00
Seth Vargo
33b135cf1d Merge pull request #341 from achanda/gofmt
Run gofmt
2015-10-26 15:25:32 -04:00
Abhishek Chanda
c70d85d7e9 Run gofmt 2015-10-26 19:24:37 +00:00
Armon Dadgar
3058ae8128 Merge pull request #327 from hashicorp/b-check-env-var-updates
Check for environment variable updates for tasks
2015-10-26 11:55:52 -07:00
Alex Dadgar
6a8ea07f10 Merge pull request #330 from kikitux/master
list Getting in depth in same order as menu
2015-10-26 11:29:22 -07:00
Seth Vargo
d9f827fb11 Use vendored fastly logo 2015-10-26 12:49:35 -04:00
Clint
1a97004398 Update CHANGELOG.md 2015-10-26 10:01:20 -05:00
Clint
eccc117b78 Merge pull request #288 from hashicorp/f-go-getter
Drivers: Use go-getter for artifact retrieval, add artifact support to Exec, Raw Exec drivers
2015-10-26 10:00:29 -05:00
Seth Vargo
207e0550c8 Use releases for releases 2015-10-26 10:40:47 -04:00
Clint Shryock
1e07daa680 drivers: Add/Use go-getter to fetch remote binaries
Updates Qemu, Java drivers to use go-getter to fetch binaries
Adds remote artifact support for Exec, Raw Exec drivers
2015-10-26 09:40:06 -05:00
Diptanu Choudhury
82ff0a1e85 Merge pull request #339 from charlieok/patch-1
tasks groups -> task groups
2015-10-25 19:54:32 -07:00
Charlie O'Keefe
e389ae53fd tasks groups -> task groups 2015-10-25 18:31:59 -06:00
Seth Vargo
d8c2ddf128 Merge pull request #338 from charlieok/patch-3
resources use -> resource use
2015-10-25 13:16:35 -04:00
Seth Vargo
bbb6c03fd7 Merge pull request #336 from charlieok/patch-1
diver -> driver
2015-10-25 13:15:38 -04:00
Seth Vargo
090743a441 Merge pull request #337 from charlieok/patch-2
systems -> system's
2015-10-25 13:15:30 -04:00
Charlie O'Keefe
7879282490 resources use -> resource use 2015-10-25 11:15:14 -06:00
Charlie O'Keefe
70858f6daa systems -> system's 2015-10-25 11:10:37 -06:00
Charlie O'Keefe
6506078ce9 diver -> driver 2015-10-25 11:06:28 -06:00
Seth Vargo
e3c6842959 Merge pull request #335 from charlieok/patch-1
will be ran -> will be run
2015-10-25 13:05:08 -04:00
Charlie O'Keefe
6f8d128e14 will be ran -> will be run 2015-10-25 11:00:08 -06:00
Kenjiro Nakayama
5063b2a377 Set default network interface rather than eth0 2015-10-25 23:32:54 +09:00