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
Armon Dadgar
4dc1506e66
nomad: handle network usage superset by CIDR/IP
2015-09-12 16:29:45 -07:00
Armon Dadgar
d7c31029f6
nomad: Adding per-task resources block
2015-09-12 16:22:18 -07:00
Armon Dadgar
a34f3261d2
nomad: removing unused job type
2015-09-12 16:22:09 -07:00
Armon Dadgar
63928dfed4
nomad: adding IP to NetworkResource
2015-09-12 16:21:57 -07:00
Armon Dadgar
bf3981a397
scheduler: refactor shared logic
2015-09-12 14:44:40 -07:00
Ryan Uber
5529aab866
client: skip init in dev mode
2015-09-12 13:16:27 -07:00
Ryan Uber
f7f32f3c35
api: remove unneeded test
2015-09-12 11:49:32 -07:00
Ryan Uber
5b7073b294
client: init the alloc dir
2015-09-12 11:47:44 -07:00
Ryan Uber
9dc59deadf
agent: remove unreachable code
2015-09-11 21:28:35 -07:00
Ryan Uber
3c6c6a6cd9
api: fix nodes tests
2015-09-11 21:28:21 -07:00
Ryan Uber
29f3fc3005
testutil: enable dev mode using a config flag.
...
This flag is not normally supported in Nomad, but we really need
to use it for testing to lower the timing values for registration
retries et. al. Instead of just enabling it on all tests, we
provide a bool flag in the config, which just makes the test
server pass the extra CLI arg when true.
2015-09-11 21:25:46 -07:00