Commit graph

219 commits

Author SHA1 Message Date
Scott Schneider
67b8534b19 Allow a 'clone_target' configuration setting
If set, this setting will enable "fake DRS", cloning VMs onto the host
in the specified cluster containing the least amount of VMs.
2014-07-28 10:51:45 -07:00
Colin
37c70edee9 Merge pull request #20 from sschneid/dont_use_resource_pools_for_organization
Don't use VMware resource pools for organization
2014-07-25 15:08:18 -07:00
Scott Schneider
e17ab16546 Don't use VMware resource pools for organization
This commit removes support for VMware 'resource pool' functionality
entirely, as VMware installations without the DRS feature enabled are
unable to configure or use resource pools.

Also, resource pools should have never been used for organization;
that's what folders are for.
2014-07-21 13:49:57 -07:00
Colin
e8e8bc4a0e Merge pull request #18 from sschneid/move_stats_to_header
Tweaks to views and CSS to move statistics to header
2014-07-21 11:36:58 -07:00
Colin
edc0dec22c Merge pull request #19 from sschneid/backwards-compatible_json
Revive the per-pool 'ok' JSON response until beaker can be patched
2014-07-21 11:24:04 -07:00
Scott Schneider
192db89503 Revive the per-pool 'ok' JSON response until beaker can be patched 2014-07-21 10:54:48 -07:00
Scott Schneider
b5db9ee4eb Alignment/spacing tweaks 2014-07-21 10:46:42 -07:00
Scott Schneider
763b031099 Tweaks to views and CSS to move statistics to header 2014-07-16 11:59:57 -07:00
Scott Schneider
8919d5e060 Update logo path in README 2014-06-10 10:34:26 -07:00
Scott Schneider
42945ce6c2 Merge pull request #17 from sschneid/development
Merge 'development' branch
2014-06-10 10:32:02 -07:00
Scott Schneider
47cf8db39c Updating API documentation 2014-06-10 10:15:58 -07:00
Scott Schneider
b6e68db24b s/Authors/Authors and Contributors/ 2014-06-10 10:07:45 -07:00
Scott Schneider
7e5c1a30af Merge pull request #16 from sschneid/batch-requests
Batch requests
2014-06-09 16:13:39 -07:00
Scott Schneider
1c9b9e6cbc Support batch (multiple VM) requests
This PR allows a single API request to return multiple VM objects.  It
supports the following formats:

- POST <json> /vm/
  eg. 'curl -d '{"debian-7-i386":"3","debian-7-x86_64":"1"}' --url vmpooler/vm

- POST /vm/<pool>+<pool>+<pool>...
  eg. 'curl -d --url vmpooler/vm/debian-7-i386+debian-7-i386+debian-7-i386+debian-7-x86_64

Both commands listed above will return a JSON hash of 3 debian-7-i386 VMs and
1 debian-7-x86_64 VM:

  {
    "ok": true,
    "debian-7-i386": {
      "hostname": [
        "v49pwwk5yzg6oad",
        "ylghlgote5uso54",
        "wt0c4xovvulo7ge"
      ]
    },
    "debian-7-x86_64": {
      "hostname": "v3dkrulttp360fm"
    }
  }
2014-06-09 15:15:05 -07:00
Scott Schneider
7b5cbd4f24 Longer naps for main process 2014-06-09 10:36:17 -07:00
Scott Schneider
a74a51dad9 Add screenshot to README 2014-03-12 12:25:51 -07:00
Scott Schneider
86c6457a27 Revert "Add screenshot to README"
This reverts commit 50e5a5238c.
2014-03-12 12:25:06 -07:00
Scott Schneider
50e5a5238c Add screenshot to README 2014-03-12 12:24:29 -07:00
Scott Schneider
9459f301db Revert "Add screenshot to README"
This reverts commit 30d3566aff.
2014-03-12 12:23:38 -07:00
Scott Schneider
30d3566aff Add screenshot to README 2014-03-12 12:22:31 -07:00
Scott Schneider
498a0e6d98 Merge branch 'textured_svg_area' into development 2014-03-11 12:51:53 -07:00
Scott Schneider
b8ca6430ac Merge branch 'configurable_graphite_namespace' into development 2014-03-11 12:51:32 -07:00
Scott Schneider
ebe1c5e906 Merge branch 'single_namespaced_app' into development 2014-03-11 12:51:24 -07:00
Scott Schneider
a2d4342ffc Add textured backgrounds to SVG area pathes 2014-03-11 12:49:42 -07:00
Scott Schneider
fde2a6aae6 Allow a configurable Graphite namespace (prefix) 2014-03-06 10:53:27 -08:00
Scott Schneider
7bd6cda55a Merge branch 'single_namespaced_app' into development 2014-03-05 14:04:08 -08:00
Scott Schneider
8311c785d7 Centralize external Gem loading 2014-03-05 13:19:43 -08:00
Scott Schneider
1b0a21c556 Reworked into a single namespaced Ruby application 2014-03-05 12:57:25 -08:00
Scott Schneider
61646a048c Revert "@media queries make the world go 'round"
This reverts commit e730b41a03.
2014-03-05 09:45:01 -08:00
Scott Schneider
47c9f23f75 Label update 2014-03-04 21:41:51 -08:00
Scott Schneider
cca15afe72 Merge pull request #15 from sschneid/css_media_queries
@media queries make the world go 'round
2014-03-04 21:22:22 -08:00
Scott Schneider
e730b41a03 @media queries make the world go 'round 2014-03-04 21:21:04 -08:00
Scott Schneider
9bc2f29167 Merge pull request #14 from sschneid/readme
Add an initial README file
2014-03-04 18:08:08 -08:00
Scott Schneider
2935a5ae67 Merge branch 'master' into name_change
Conflicts:
	vmpooler-api
2014-03-04 17:59:26 -08:00
Scott Schneider
5537929007 Merge pull request #10 from sschneid/trailing_slash_optional
Allow optional trailing slash
2014-03-03 14:25:49 -08:00
Scott Schneider
a83e5caa5d Fix filename typo 2014-02-21 13:53:09 -08:00
Scott Schneider
6c3ffae1dc s/vm_host_pool__/vmpooler__/g 2014-02-20 14:39:17 -08:00
Scott Schneider
da17c2a170 Merge branch 'master' into name_change 2014-02-20 14:38:10 -08:00
Scott Schneider
648286ec37 Merge pull request #13 from sschneid/hostname_check
Add a check to 'check_ready_vm' to make sure hostname still matches
2014-02-20 14:36:06 -08:00
Scott Schneider
dc69f13422 Use 'find_vm_heavy' to find VMs with mismatched hostnames 2014-02-20 14:35:43 -08:00
Scott Schneider
954dd6fafd Add a check to make sure hostname still matches 2014-02-20 11:22:33 -08:00
Scott Schneider
cf08289d3e Initial 2014-02-19 16:05:27 -08:00
Scott Schneider
d8ba8a3c0b Initial 2014-02-19 15:17:52 -08:00
Scott Schneider
21ebde54e5 Merge branch 'master' into name_change
Conflicts:
	vmpooler
2014-02-19 15:12:02 -08:00
Scott Schneider
1af16bcc47 Replace the inaccurate term 'vcloud' with 'vmpooler' 2014-02-19 14:50:54 -08:00
Scott Schneider
66528319af Merge pull request #11 from sschneid/check_ready_vms
Check VMs in 'ready' queue
2014-02-19 14:25:38 -08:00
Scott Schneider
aa8f6b03e5 Update filenames 2014-02-19 14:12:09 -08:00
Scott Schneider
a02f63eadc Changing project name to 'vmpooler'
All instances of 'vmware-host-pooler' and 'vmware_host_pool' changed to
'vmpooler'.
2014-02-19 14:08:46 -08:00
Scott Schneider
26fbb2d85b Update TODO 2014-02-19 11:53:19 -08:00
Scott Schneider
bb805d71f5 check_ready_vm fixups
- Correct key name ('check', not 'clone')
- Correct timestamp math (minutes, not seconds)
- Only search for the host in vSphere if we're actually doing a check
2014-02-19 09:38:05 -08:00