Commit Graph

34 Commits

Author SHA1 Message Date
Alex Dadgar
741a71e0b3 Fix tests 2017-05-01 13:54:26 -07:00
Alex Dadgar
653a1c37f6 Split distinct property and host iterator and add iterator to system stack 2017-03-08 19:00:10 -08:00
Alex Dadgar
fdc4309374 Property Set 2017-03-08 17:50:40 -08:00
Alex Dadgar
86b0304fc2 Unoptimized implementation + testing 2017-03-07 14:48:54 -08:00
Alex Dadgar
c97711ef34 Add set contains 2016-10-19 13:06:28 -07:00
Alex Dadgar
bffcf5bd9f ProposedAllocs dedups in-place updated allocations 2016-03-21 18:09:32 -07:00
Alex Dadgar
8b55fd6b70 Only interpret vars wrapped in braces 2016-02-04 17:26:46 -08:00
Alex Dadgar
1797f0e67a Make computed node class a string and add versioning 2016-01-31 18:04:45 -08:00
Alex Dadgar
49238770c6 EvalEligibility unit tests and simplify escaped constraint tracking 2016-01-26 17:34:41 -08:00
Alex Dadgar
450252f8ae Respond to comments 2016-01-26 16:43:42 -08:00
Alex Dadgar
7929ee76dc Change the unique namespace on the node 2016-01-26 15:16:43 -08:00
Alex Dadgar
0ad3575897 FeasibilityWrapper uses computed node class eligibility to call feasibility checks minimally 2016-01-26 15:16:43 -08:00
Alex Dadgar
a90c1273ed EvalEligibility in context 2016-01-26 15:16:43 -08:00
Alex Dadgar
1a4c7b72ef Add node class to constraints 2015-12-21 17:15:34 -08:00
Alex Dadgar
c46447a572 Remove weight and hard/soft fields from constraint 2015-10-27 14:31:14 -07:00
Alex Dadgar
2ab5790b6f Rename Dynamic -> ProposedAllocConstraintIterator 2015-10-26 14:12:54 -07:00
Alex Dadgar
cccef7ac84 Constants for constraints and renaming to use undescore instead of camel 2015-10-26 13:47:56 -07:00
Alex Dadgar
db90849fb1 Change "unique" to "distinctHosts" 2015-10-22 17:40:41 -07:00
Alex Dadgar
3ae9340614 DynamicConstraintIterator that implements the unique constraint 2015-10-22 14:31:12 -07:00
Alex Dadgar
0c5ee683e7 Add negative test to DriverIterator, increase system scheduler attempts, and fix evictAndPlace status message 2015-10-16 11:36:26 -07:00
Alex Dadgar
3cd3ac65d1 Use valid driver values in test 2015-10-14 18:39:44 -07:00
Armon Dadgar
b42db2fff1 scheduler: adding regexp and version constraint cache 2015-10-12 20:15:07 -07:00
Armon Dadgar
641b9f3ee4 scheduler: support lexical ordering constraints 2015-10-11 15:57:06 -04:00
Armon Dadgar
0a2e874245 scheduler: adding regexp constraints 2015-10-11 15:35:13 -04:00
Armon Dadgar
54dea9fe87 scheduler: adding version constraint logic 2015-10-11 15:12:39 -04:00
Armon Dadgar
831848bf5e scheduler: allow StaticIterator to update base set 2015-09-07 11:26:16 -07:00
Armon Dadgar
7062eb5fa8 nomad: adding drain as node property 2015-09-06 19:47:02 -07:00
Chris Bednarski
3164401ffd Update references to "os" to use "kernel.name"
This brings test code and mocks up to date with the fingerprinter. This was a slightly larger change than I anticipated, but I think it's good for two reasons:

1. More semanitcally correct. `os.name` is something like "Windows 10 Pro" or "Ubuntu", while `kernel.name` is "windows" or "linux". `os.version` and `kernel.version` match these semantics.
2. `kernel.name` is much easier to grep for than `os`, which is helpful because oracle can't help us with strings.
2015-08-28 01:30:47 -07:00
Armon Dadgar
0e7ee85c24 scheduler: support iterator reset 2015-08-13 15:01:02 -07:00
Armon Dadgar
765eebda25 scheduler: refactor tests 2015-08-13 12:02:42 -07:00
Armon Dadgar
3e8117e91c scheduler: Adding State to Context 2015-08-13 11:33:58 -07:00
Armon Dadgar
7320ae90a6 scheduler: implement basic constraint iterator 2015-08-13 10:46:30 -07:00
Armon Dadgar
fff84e8487 scheduler: implementing driver iterator 2015-08-13 10:19:46 -07:00
Armon Dadgar
acb8370d0c scheduler: testing more iterators 2015-08-13 10:13:11 -07:00