Commit Graph

616 Commits

Author SHA1 Message Date
Armon Dadgar
cf3c6aa8a7 SCADA support 2015-09-14 15:33:08 -07:00
Ryan Uber
d4e8279293 Merge pull request #42 from hashicorp/f-cli
Base CLI
2015-09-14 14:13:10 -07:00
Ryan Uber
f19682d87e command: tests 2015-09-14 14:08:50 -07:00
Ryan Uber
ac6de2c157 command: guard tests from multiple parallel calls 2015-09-14 14:06:37 -07:00
Ryan Uber
3d8b115943 api: fixing join tests 2015-09-14 14:04:30 -07:00
Ryan Uber
c9bb562ec1 testutil: fix bootstrap on test server 2015-09-14 13:52:19 -07:00
Ryan Uber
843a99d5d5 api: fix agent test 2015-09-14 13:24:03 -07:00
Ryan Uber
7e26f938a2 command: use meta struct for common options 2015-09-14 13:24:03 -07:00
Ryan Uber
34d77eeb04 command: kill AllAtOnce in job list mode 2015-09-14 13:24:03 -07:00
Ryan Uber
0e16348052 command: cleanup 2015-09-14 13:24:03 -07:00
Ryan Uber
90108c7820 command: add node-drain command 2015-09-14 13:24:03 -07:00
Ryan Uber
98708120f7 command: more cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber
4b708bf6df command: use testutil.TestServer in command tests 2015-09-14 13:24:03 -07:00
Ryan Uber
8246db154d command: cli tests 2015-09-14 13:24:03 -07:00
Ryan Uber
8698c1d757 command: fix test agent helper 2015-09-14 13:24:03 -07:00
Ryan Uber
a0c8a0bc0d command: add node-status command 2015-09-14 13:24:03 -07:00
Ryan Uber
74a0e11a9b command: add agent-join command 2015-09-14 13:24:03 -07:00
Ryan Uber
8301dd0405 api: return the number of nodes joined 2015-09-14 13:24:03 -07:00
Ryan Uber
ad40e1a0a6 api: fix status type 2015-09-14 13:24:03 -07:00
Ryan Uber
39592e63b3 command: convert members so we get a descriptive status 2015-09-14 13:24:03 -07:00
Ryan Uber
f76e26906d command: adding agent-members command 2015-09-14 13:24:03 -07:00
Ryan Uber
3e86dc2657 command: add agent-force-leave command 2015-09-14 13:24:02 -07:00
Ryan Uber
0f597d3984 command: tests 2015-09-14 13:24:02 -07:00
Ryan Uber
0d3cbab4f4 command: add agent-info command 2015-09-14 13:24:02 -07:00
Ryan Uber
7901677c2c command: unexport helpers 2015-09-14 13:24:02 -07:00
Ryan Uber
45c5f4f9cc command: adjustments for status 2015-09-14 13:24:02 -07:00
Ryan Uber
314ce4be43 command: basic status command 2015-09-14 13:24:02 -07:00
Ryan Uber
3f4319cdf7 command: add helpers 2015-09-14 13:24:02 -07:00
Clint
9cfa591de1 Merge pull request #37 from hashicorp/vagrant
Add Base Vagrantfile
2015-09-14 10:19:07 -05:00
Clint Shryock
4b0b7d1734 add note about using Vagrant file to the README 2015-09-14 10:18:40 -05:00
Clint Shryock
fbe18c233c Merge branch 'master' into vagrant
* master: (57 commits)
  api: use stub structs
  README fillin
  nomad: fixing unit tests
  scheduler: pass failure reason to ExhaustedNode
  nomad: thread alloc fit failure reason through
  nomad: rename region1 to global. Fixes #41
  client: Use Alloc.TaskResouces to override Task.Resources
  scheduler: in-place update should preserve network offer
  scheduler: track dimension of exhaustion
  schedule: avoid in-place update of task if network resources are different
  scheduler: expose reason network offer failed
  nomad: adding reason network offer failed
  mock: use network resources
  scheduler: thread through the TaskResources
  nomad: removing old network index lookup methods
  nomad: Resource Superset ignores network in favor of NetworkIndex
  nomad: update for new AllocsFit API
  nomad: remove PortsOvercommited in favor of NetworkIndex
  scheduler: use the new network index
  nomad: exposing IntContains
  ...
2015-09-14 10:13:37 -05:00
Clint Shryock
a7be30bf4f small update to remove dupe 2015-09-14 10:06:12 -05:00
Ryan Uber
a713f56e4c Merge pull request #45 from hashicorp/f-api-updates
API has ListStub's
2015-09-13 20:11:13 -07:00
Ryan Uber
d2597982ad api: use stub structs 2015-09-13 20:02:22 -07:00
Armon Dadgar
9a8809c7f6 README fillin 2015-09-13 19:04:06 -07:00
Armon Dadgar
1440b99525 nomad: fixing unit tests 2015-09-13 18:46:40 -07:00
Armon Dadgar
d790b13237 scheduler: pass failure reason to ExhaustedNode 2015-09-13 18:38:26 -07:00
Armon Dadgar
ab20edb5c4 nomad: thread alloc fit failure reason through 2015-09-13 18:38:11 -07:00
Armon Dadgar
c9d17611bf nomad: rename region1 to global. Fixes #41 2015-09-13 18:18:40 -07:00
Armon Dadgar
bb22cf7ebe client: Use Alloc.TaskResouces to override Task.Resources 2015-09-13 17:35:56 -07:00
Armon Dadgar
c72ac6cb1e Merge pull request #43 from hashicorp/f-ports
Network offers and Dynamic Ports
2015-09-13 17:10:41 -07:00
Armon Dadgar
64b0bd43b4 scheduler: in-place update should preserve network offer 2015-09-13 17:06:34 -07:00
Armon Dadgar
d70dcecdaf scheduler: track dimension of exhaustion 2015-09-13 16:48:01 -07:00
Armon Dadgar
65cd3b4ca7 schedule: avoid in-place update of task if network resources are different 2015-09-13 16:41:53 -07:00
Armon Dadgar
cceea396f6 scheduler: expose reason network offer failed 2015-09-13 16:41:32 -07:00
Armon Dadgar
60dfe56eb7 nomad: adding reason network offer failed 2015-09-13 16:40:53 -07:00
Armon Dadgar
81ce54e2ba mock: use network resources 2015-09-13 16:40:31 -07:00
Armon Dadgar
ca67742fbb scheduler: thread through the TaskResources 2015-09-13 15:20:50 -07:00
Armon Dadgar
04f6036836 nomad: removing old network index lookup methods 2015-09-13 15:04:36 -07:00
Armon Dadgar
ecb60cc766 nomad: Resource Superset ignores network in favor of NetworkIndex 2015-09-13 14:59:34 -07:00