Commit graph

960 commits

Author SHA1 Message Date
Ryan Uber f084d22047 command: adding client-servers command 2015-09-24 21:32:12 -07:00
Ryan Uber fb35ceb4c3 api: add client server methods 2015-09-24 21:17:33 -07:00
Ryan Uber 041828f23e testutil: fix boostrap mode after flag change 2015-09-24 21:16:52 -07:00
Ryan Uber 114b38b8a8 agent: add HTTP endpoint for querying/modifying the server list 2015-09-24 20:39:03 -07:00
Ryan Uber 6f15160f5c client: support modifying the servers list 2015-09-24 20:16:47 -07:00
Chris Bednarski fce6a5f7c7 Merge pull request #108 from hashicorp/b-netmap-crash
Fix crash in task_runner tests
2015-09-24 16:27:54 -07:00
Chris Bednarski a589c056ea All the TestTaskRunner* tests want this 2015-09-24 16:00:36 -07:00
Chris Bednarski e6ac055c6c Initialize reserved ports 2015-09-24 15:55:41 -07:00
Chris Bednarski d2aa4fd53c Merge pull request #104 from hashicorp/f-docker-static-ports
Add static (reserved) ports for docker
2015-09-24 15:44:41 -07:00
Chris Bednarski f032e311d2 Missed a set of parens 2015-09-24 15:40:32 -07:00
Chris Bednarski 4554a678e5 Remove this guard since it's likely to hide nasty bugs where nomad should crash 2015-09-24 15:38:11 -07:00
Chris Bednarski c9482e1188 Initialize reserved ports in task_runner 2015-09-24 15:37:43 -07:00
Armon Dadgar c1feba36f8 Merge pull request #106 from hashicorp/b-doc-cleanup
More doc cleanups
2015-09-24 15:37:34 -07:00
Chris Bednarski 130263af84 Add exhaustive tests and nil guard to List and Map for NetworkResource 2015-09-24 15:11:44 -07:00
Clint Shryock 69e395790f cleanups 2015-09-24 16:57:55 -05:00
Clint Shryock bdfb035cf5 misc cleanups 2015-09-24 16:37:32 -05:00
Clint Shryock 22aecdd141 various doc cleanup 2015-09-24 16:17:13 -05:00
Chris Bednarski f59a1cdcc7 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-09-24 14:07:35 -07:00
Chris Bednarski 40ce6ece41 Get only one version of a docker container 2015-09-24 14:07:28 -07:00
Armon Dadgar 436c9ec7e7 Merge pull request #105 from hashicorp/b-doc-cleanup
Various doc cleanups for the Internals section
2015-09-24 11:20:00 -07:00
Clint Shryock 5ecd0f128a fix typo 2015-09-24 11:41:41 -05:00
Clint Shryock 0fdb3deef6 minor grammer 2015-09-24 11:35:58 -05:00
Clint Shryock 31eab9eab6 doc updates 2015-09-24 10:50:20 -05:00
Chris Bednarski fac292fbeb Added Chris to the community page 2015-09-24 02:15:21 -07:00
Chris Bednarski 3fd3c2a913 Add test case for PopulateEnvironment 2015-09-24 00:17:33 -07:00
Chris Bednarski f8e8084c71 Rename containerConfigForTask to createContainer to mirror the docker api call; other helper functions will follow this convention too 2015-09-24 00:00:46 -07:00
Chris Bednarski a071bb6d59 Rename containerConfig to hostConfig since there are two types of container configs 2015-09-23 23:57:04 -07:00
Chris Bednarski 388981a34b Fix some typos 2015-09-23 23:56:25 -07:00
Chris Bednarski 9ff0e88d33 Added static / reserved port allocations to docker 2015-09-23 23:45:34 -07:00
Chris Bednarski 50b967d716 Added ListStaticPorts() to get a list of statically-allocated ports from the NetworkResource 2015-09-23 22:28:34 -07:00
Chris Bednarski 1978be24d0 Format as string instead of casting to string 2015-09-23 19:29:53 -07:00
Chris Bednarski 402facffe7 Merge pull request #94 from hashicorp/f-port-configs
Environment variables for ports, cpu, memory, and meta
2015-09-23 18:21:44 -07:00
Chris Bednarski e413c6f9d2 Support mapped ports and labelled ports for docker 2015-09-23 18:19:01 -07:00
Chris Bednarski 0060ac933f Add dynamic ports to api resources; copy dynamic ports into offer 2015-09-23 18:01:49 -07:00
Chris Bednarski 1654d08fca Add docker ports; change to uppercase examples and tests 2015-09-23 18:01:08 -07:00
Armon Dadgar 6bd14c7422 Merge pull request #98 from hashicorp/b-doc-cleanup
Minor doc cleanups
2015-09-23 15:34:48 -07:00
Chris Bednarski 8b2f8efe70 Merge branch 'master' into f-port-configs 2015-09-23 15:31:00 -07:00
Clint Shryock b13fc160f6 minor doc cleanup / suggestions 2015-09-23 17:29:35 -05:00
Chris Bednarski b8fd345128 Docs and remove uppercase since it's checked at the config parse step 2015-09-23 15:28:58 -07:00
Chris Bednarski f37dedc3bc Changed to uppercase + numbers + underscores; updated docs 2015-09-23 15:19:31 -07:00
Chris Bednarski de2a62e0e3 Added docs for runtime environment 2015-09-23 14:58:25 -07:00
Clint Shryock ab810b6072 Merge branch 'master' into b-doc-cleanup
* master:
  Basic Qemu docs
  clean up some log formatting
  start the Qemu docs
  Refactor network fingerprinting to be generic, use build flags
  prefix warn/error messages
  fix casing for ERR logs
  don't re-convert mbits
  refactoring, docs
  fix range error
  populate node network resource
  Update code for parsing IP address
  Move ec2InstanceSpeed to a package variable, convert to string:int map
  Consolidate the AWS fingerprinters
  Refactor some AWS things, removing fingerprint/network.go
  change the naming
  Refactor the Network Fingerprinters
  Rework client/fingerprint/fingerprint.go to use a slice and enforce ordering
  Basic network fingerprinting for Unix type, AWS systems
2015-09-23 16:45:16 -05:00
Clint Shryock 282c10064d minor typo/cleanups 2015-09-23 16:41:23 -05:00
Armon Dadgar 3bdae950c5 Merge pull request #97 from hashicorp/f-qemu-driver-docs
Basic Qemu docs
2015-09-23 14:37:56 -07:00
Armon Dadgar 8aa2c292a0 Merge pull request #77 from hashicorp/f-network-fingerprint
Network Fingerprinting
2015-09-23 14:36:29 -07:00
Clint 15477ce433 Merge pull request #95 from hashicorp/f-java-driver-docs
Add some basic docs for the Java Driver
2015-09-23 15:59:33 -05:00
Chris Bednarski 38b7f0b452 That method is gone 2015-09-23 13:45:23 -07:00
Chris Bednarski 4fec4ad0e1 Fail parsing a job if the Dynamic Port labels are malformed 2015-09-23 13:44:08 -07:00
Clint Shryock e2c1bfe19c Basic Qemu docs 2015-09-23 14:44:49 -05:00
Chris Bednarski 73c4c1f210 Changed fmt for CPU to integer 2015-09-23 12:19:46 -07:00