Commit graph

13 commits

Author SHA1 Message Date
Brian Cain
fa93804ffc Check if hosts are nil for delete method 2015-09-15 13:54:25 -07:00
Brian Cain
16dd780cb9 Add correct headers for token requests 2015-09-15 13:38:52 -07:00
Brian Cain
f8cc329447 Fix typo for delete methods 2015-09-15 13:28:53 -07:00
Brian Cain
9fc9820120 Simplify how floaty gets vms
Instead of building a json hash for each requested vm, sub the host
strings commas with + and append it to the request url.
2015-09-15 13:08:52 -07:00
Brian Cain
eee7aab760 Add http class for api token requests 2015-09-14 22:50:01 -07:00
Brian Cain
e194f04ea9 Simplify operating system hash for get method 2015-09-14 22:26:27 -07:00
Brian Cain
201f59c376 Add verbose to methods 2015-09-14 21:45:33 -07:00
Brian Cain
44c5315bfd Move printing to command class instead of pooler class
This commit makes the pooler class more of a library rather than a
helper class that prints the response body of api requests
2015-09-14 21:37:12 -07:00
Brian Cain
31de937e4f Fix filter unknown variable 2015-09-14 16:51:48 -07:00
Brian Cain
2e32472ac2 Remove /v1 from urls in pooler library 2015-09-14 14:50:35 -07:00
Brian Cain
02527b9665 (#1) Update query, snapshot, and revert 2015-09-06 12:16:08 -07:00
Brian Cain
13f5a282c7 (#1) Add summary command
Right now it does not support timespans, and just does current day.
2015-09-06 11:35:42 -07:00
Brian Cain
296f9abb1d (#1) Update vmfloaty to use new vmpooler api
This commit also uses commander for arg parsing.

This commit is a WIP.
2015-09-05 16:17:45 -07:00