Commit Graph

601 Commits

Author SHA1 Message Date
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
Armon Dadgar
6da83f1e1b nomad: update for new AllocsFit API 2015-09-13 14:57:58 -07:00
Armon Dadgar
56351eb769 nomad: remove PortsOvercommited in favor of NetworkIndex 2015-09-13 14:56:51 -07:00
Armon Dadgar
5545fd8ec0 scheduler: use the new network index 2015-09-13 14:37:09 -07:00
Armon Dadgar
3acf348e46 nomad: exposing IntContains 2015-09-13 14:36:33 -07:00
Armon Dadgar
415e13717a nomad: moving network index 2015-09-13 14:35:28 -07:00
Armon Dadgar
924bf123a1 scheduler: binpacker makes network offers 2015-09-13 14:31:32 -07:00
Armon Dadgar
5db6f9b8ba scheduler: expose AddReserved, add test 2015-09-13 14:31:01 -07:00
Armon Dadgar
dba4ec3e3a nomad: adding copy helpers 2015-09-13 14:30:45 -07:00
Ryan Uber
c5ab72acc2 api: run all tests in parallel 2015-09-13 12:17:08 -07:00
Ryan Uber
bbb31d7ce7 client: always create alloc dir if it is non-empty 2015-09-13 12:14:12 -07:00
Armon Dadgar
793521d1fe scheduler: adding helper library for network assignments 2015-09-12 19:34:46 -07:00
Armon Dadgar
8903b8c9a6 nomad: add device name for network 2015-09-12 19:13:00 -07:00
Armon Dadgar
dc8d1af0e8 nomad: removing public field of network 2015-09-12 17:32:08 -07:00
Armon Dadgar
c6b4bd3fa3 nomad: aggregate by blank network constraints 2015-09-12 17:04:09 -07:00
Armon Dadgar
d5739d7a6d nomad: Support adding NetworkResource by CIDR/IP 2015-09-12 16:33:41 -07:00