Commit Graph

83 Commits

Author SHA1 Message Date
Alex Dadgar
d8f3bd26e6 Merges 2015-10-02 17:32:11 -07:00
Ryan Uber
222abf114e agent: test options config 2015-10-02 17:02:32 -07:00
Ryan Uber
62b3b01919 Merge branch 'parse-client-options' of https://github.com/carlosdp/nomad into b-options 2015-10-02 16:58:05 -07:00
Antoine POPINEAU
e3bcf4490b Merge branch 'master' into dev/net-fingerprint 2015-10-02 09:38:35 +02:00
Antoine POPINEAU
256d390789 Renamed all instances of Iface to NetworkInterface. 2015-10-02 09:29:18 +02:00
Alex Dadgar
e9254c5f2d Don't enfoce that the agent can't be run as both server and client 2015-10-01 17:27:36 -07:00
Alex Dadgar
15a854be7a Use the known size of meta to initialize the map 2015-10-01 17:21:32 -07:00
Alex Dadgar
6c9732c356 Move declerations to top and use SplitN to be more flexible for Meta values 2015-10-01 17:19:52 -07:00
Alex Dadgar
c84fd2b292 Add parsing of client configuration from the commandline 2015-10-01 16:46:42 -07:00
Antoine POPINEAU
7fc3f83672 Client config param added to specify net iface to use for fingerprinting. Added a Golang-native method for determining the interface IP address. 2015-10-01 17:31:47 +02:00
Ryan Uber
61f4e638b8 agent: return empty config for empty config dirs 2015-09-29 15:07:52 -07:00
Carlos Diaz-Padron
db2b447d5d Parse Client config Options
This adds Options to the agent ClientConfig and fixes the merging logic
to include Options, as defined in the docs
2015-09-28 16:45:32 -07:00
Ryan Uber
80d940d920 agent: all dynamic ports for tests 2015-09-25 12:19:13 -07:00
Ryan Uber
13613e4100 agent: add HTTP endpoint for querying/modifying the server list 2015-09-24 20:39:03 -07:00
Armon Dadgar
9bcc5b444b agent: Do not override default log levels 2015-09-22 21:48:42 -07:00
Ryan Uber
cca3ed098c Merge pull request #79 from hashicorp/f-bootstrap
Add flags for bootstrap modes to CLI
2015-09-22 20:28:30 -07:00
Ryan Uber
3f5dae9b91 agent: json decode directly to structs in api 2015-09-22 20:02:10 -07:00
Ryan Uber
fbbe4a4973 agent: remove explicit Bootstrap option in favor of BootstrapExpect 2015-09-22 14:41:49 -07:00
Ryan Uber
8c76a1bfc0 agent: test agent command args 2015-09-22 14:04:40 -07:00
Ryan Uber
2db143cba0 command/agent: add bootstrap flags 2015-09-22 13:28:06 -07:00
Armon Dadgar
7e8d48f7ba agent: test config parsing 2015-09-22 11:29:58 -07:00
Ryan Uber
67243d64e0 command: use an empty config instead of default config for cli options 2015-09-22 10:44:46 -07:00
Armon Dadgar
5dbbc997f6 website: document additional configuration options 2015-09-22 10:41:12 -07:00
Ryan Uber
5fd071a184 command/agent: fix help usage 2015-09-22 01:59:17 -07:00
Ryan Uber
5cf291e0d5 command/agent: more arguments 2015-09-21 21:37:55 -07:00
Ryan Uber
4a86b9c373 command/agent: accept server/client/data-dir 2015-09-21 20:48:39 -07:00
Ryan Uber
2dfcd97eb0 agent: fix CLI help 2015-09-21 20:39:10 -07:00
Armon Dadgar
e769ef2bc6 agnet: fixing inversion of LeaveOnInt 2015-09-21 14:14:19 -07:00
Armon Dadgar
db27b85033 agent: adding Atlas and Region to output 2015-09-21 14:14:19 -07:00
Armon Dadgar
2c3febc8af http: validating job is provided to avoid nil pointer 2015-09-20 17:38:26 -07:00
Armon Dadgar
cf3c6aa8a7 SCADA support 2015-09-14 15:33:08 -07:00
Ryan Uber
39592e63b3 command: convert members so we get a descriptive status 2015-09-14 13:24:03 -07:00
Armon Dadgar
c9d17611bf nomad: rename region1 to global. Fixes #41 2015-09-13 18:18:40 -07:00
Ryan Uber
9dc59deadf agent: remove unreachable code 2015-09-11 21:28:35 -07:00
Ryan Uber
9d4e52ddc2 agent: add default bind addr and port numbers 2015-09-11 12:19:05 -07:00
Ryan Uber
aa40658344 agent: split out server config parser, add tests 2015-09-11 12:06:42 -07:00
Ryan Uber
c300682e97 agent: allow specifying advertise addrs in ip:port format 2015-09-11 11:27:14 -07:00
Ryan Uber
276165344d agent: test listener from config 2015-09-11 11:10:55 -07:00
Ryan Uber
61b5f0413e agent: adjust tests 2015-09-10 19:04:06 -07:00
Ryan Uber
3c2c3f3728 agent: use ports/addresses/advertise_addrs for network config 2015-09-10 18:37:42 -07:00
Ryan Uber
03141aec10 agent: addresses and ports are configurable 2015-09-10 17:48:02 -07:00
Ryan Uber
e9811c55dd agent: merge telemetry, server, and client configs 2015-09-10 11:25:19 -07:00
Ryan Uber
906c76bb54 agent: config loading tests 2015-09-09 22:11:48 -07:00
Ryan Uber
0d4e22978f agent: config merge works + tests 2015-09-09 21:42:50 -07:00
Armon Dadgar
c2b7ce92e7 nomad: using Raft StartAsLeader to make tests faster 2015-09-07 10:46:41 -07:00
Armon Dadgar
e5c7effaa9 http: list results are never null 2015-09-07 10:03:10 -07:00
Armon Dadgar
c27a0725cc nomad: cleanup API descrepencies 2015-09-06 20:47:42 -07:00
Armon Dadgar
6ee7f111dc Rename client endpoint to node endpoint 2015-09-06 20:31:32 -07:00
Armon Dadgar
2d9c3fb9f3 http: adding the drain toggle endpoint 2015-09-06 20:03:59 -07:00
Armon Dadgar
63ae02a2f9 http: parsing flags for node drain 2015-09-06 19:35:05 -07:00