Commit Graph

180 Commits

Author SHA1 Message Date
Armon Dadgar
e1003b46ac Merge pull request #97 from hashicorp/f-qemu-driver-docs
Basic Qemu docs
2015-09-23 14:37:56 -07:00
Armon Dadgar
f9ae0a2461 Merge pull request #77 from hashicorp/f-network-fingerprint
Network Fingerprinting
2015-09-23 14:36:29 -07:00
Clint
1f0cf5f910 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
Clint Shryock
7580a0d3a0 Basic Qemu docs 2015-09-23 14:44:49 -05:00
Clint Shryock
9fb704e686 Update Java docs on how Java is detected 2015-09-23 14:16:43 -05:00
Clint Shryock
3624ebdcd0 clean up some log formatting 2015-09-23 14:09:55 -05:00
Clint Shryock
92bfe163da start the Qemu docs 2015-09-23 13:58:42 -05:00
Armon Dadgar
b81105bd09 Change CPU from float64 to int 2015-09-23 11:14:32 -07:00
Clint Shryock
0a334a267d Refactor network fingerprinting to be generic, use build flags 2015-09-23 10:12:56 -05:00
Clint Shryock
2897780800 prefix warn/error messages 2015-09-23 10:03:35 -05:00
Clint Shryock
dc8ce6d0ff fix casing for ERR logs 2015-09-23 10:00:06 -05:00
Armon Dadgar
7c4e647cbb client: reset response struct to avoid decode errors 2015-09-22 22:10:28 -07:00
Armon Dadgar
f94c007348 client: create dir, handle not exist more gracefully 2015-09-22 22:00:24 -07:00
Clint Shryock
bbe4ee2f6c don't re-convert mbits 2015-09-22 23:57:24 -05:00
Clint Shryock
c799477f83 refactoring, docs 2015-09-22 23:51:56 -05:00
Armon Dadgar
4e5722b450 client: fixing stats formating 2015-09-22 21:48:42 -07:00
Clint Shryock
c9dab7e0c7 fix range error 2015-09-22 23:25:12 -05:00
Clint Shryock
a90109c7b8 populate node network resource 2015-09-22 23:22:23 -05:00
Clint Shryock
3882fd7afc Update code for parsing IP address 2015-09-22 22:56:31 -05:00
Clint Shryock
ea7cc84b94 Move ec2InstanceSpeed to a package variable, convert to string:int map 2015-09-22 22:04:20 -05:00
Alex Dadgar
289a9766f3 Update package import name 2015-09-22 18:48:42 -07:00
Alex Dadgar
3c12f4bd20 Fix qemu check and add debug lines when a driver is disabled 2015-09-22 17:36:44 -07:00
Alex Dadgar
33381f0fb8 Update Qemu Fingerprint check 2015-09-22 17:12:52 -07:00
Alex Dadgar
891d8b8f47 Guard tests 2015-09-22 17:10:03 -07:00
Alex Dadgar
06de892626 Update exec_linux to assume it is running as root 2015-09-22 16:44:11 -07:00
Alex Dadgar
b43e262923 Disable exec/java/qemu when non-root on non-windows OSes 2015-09-22 16:32:05 -07:00
Clint Shryock
a216204111 Consolidate the AWS fingerprinters 2015-09-22 16:56:04 -05:00
Clint Shryock
2942212ee3 Refactor some AWS things, removing fingerprint/network.go
- move isAWS to env, use in other places
- fingerprint/network.go is no empty; removed
2015-09-22 16:31:57 -05:00
Clint Shryock
7fd8123b98 change the naming 2015-09-22 16:01:29 -05:00
Chris Bednarski
cbc153c12f Added named ports 2015-09-22 13:59:16 -07:00
Clint Shryock
7ca269381a Refactor the Network Fingerprinters 2015-09-22 15:59:00 -05:00
Clint Shryock
66226d7510 Rework client/fingerprint/fingerprint.go to use a slice and enforce ordering 2015-09-22 14:23:48 -05:00
Armon Dadgar
71a7d4304a client: persist the node ID 2015-09-22 10:31:47 -07:00
Clint Shryock
fdbcf08c77 Basic network fingerprinting for Unix type, AWS systems 2015-09-22 11:44:53 -05:00
Alex Dadgar
08f790f5ec Fixed function comment 2015-09-21 09:08:57 -07:00
Alex Dadgar
fcdf5afa03 Tests skip based on cgroups, not root 2015-09-21 09:08:57 -07:00
Alex Dadgar
c88f93ca71 Update UniversalExecutor to have string identifiers 2015-09-21 09:08:57 -07:00
Alex Dadgar
5ac6c3b73d Linux executor with cgroup isolation support 2015-09-21 09:08:57 -07:00
Clint Shryock
e434d938af executor/linux: Add UUID for the name, return error on failure to apply 2015-09-21 09:08:57 -07:00
Clint Shryock
f65406009f exec/linux: move Limit to after Start 2015-09-21 09:08:57 -07:00
Clint Shryock
15e64312b7 spike on adding cgroups 2015-09-21 09:08:57 -07:00
Armon Dadgar
d13f03175f Merge branch 'f-docs' 2015-09-20 19:25:25 -07:00
Armon Dadgar
d4982d16d7 client: optimize initial heartbeat time 2015-09-20 17:02:12 -07:00
Chris Bednarski
3a8df12199 Windows does not support exec.Cmd.SysProcAttr.Credential call; this causes cross-compiltion to fail so it's behind a build flag now 2015-09-18 18:59:42 -07:00
Chris Bednarski
cdd065cb07 Support running Linux exec as a non-root user 2015-09-15 20:17:23 -07:00
Chris Bednarski
85744b0661 Merge branch 'master' into f-executor 2015-09-15 19:03:52 -07:00
Chris Bednarski
06a0bd0bf7 Overhaul the executor code so we use build flags instead of dynamic loading 2015-09-15 18:54:55 -07:00
Chris Bednarski
c8516f3e9c Changed Default executor to use a factory 2015-09-15 16:40:40 -07:00
Chris Bednarski
a5512c22e9 Rename exec package to executor so it works better with goimports; fixes for Java driver 2015-09-15 14:03:03 -07:00
Chris Bednarski
5eb3354678 Update Java driver to use Executor 2015-09-15 13:45:48 -07:00