Brian Cain
0cb635a6c7
Update to 0.2.18
2015-11-21 12:44:32 -08:00
Brian Cain
d4d6010eda
Make force flag single dash
2015-11-21 12:43:32 -08:00
Brian Cain
8a3ad76b81
( #17 ) Add a force option for delete --all
2015-11-21 12:26:09 -08:00
Brian Cain
af11d88c07
Merge pull request #16 from briancain/add-list-active-vms-flag
...
(#12 ) List active vms for a given token
2015-11-16 09:39:45 -08:00
Brian Cain
e3218a0fc9
Bump to version 0.2.17
2015-11-16 09:39:25 -08:00
Brian Cain
53f3c7db03
Fixup how vms are printed on list command
2015-11-16 09:24:45 -08:00
Brian Cain
6447a5f217
( #12 ) List active vms for a given token
...
This commit updates the list command to add a flag --active. It will
list all active vms based on the given token as well as what template
they are and how long they've been running for. As a result, this also
updates how the delete --all command formats running vms.
2015-11-16 09:19:51 -08:00
Brian Cain
2a5e5ba9bb
Bump to version 0.2.16
2015-11-16 09:17:48 -08:00
Brian Cain
c8076625db
Merge pull request #15 from briancain/clean-library-methods
...
Cleanup vmfloaty library and command processor
2015-11-16 09:17:17 -08:00
Brian Cain
3b92f12ee9
Print obtained token during get command if no token exists
2015-11-16 09:04:52 -08:00
Brian Cain
e8094fb91d
Use correct variable for formatting hosts
2015-11-16 08:59:25 -08:00
Brian Cain
a0b0016bcd
Add spec test for formatting hashes
2015-11-15 14:35:25 -08:00
Brian Cain
f15df69eef
Fix missing end
2015-11-15 14:35:16 -08:00
Brian Cain
c6cf86669a
Cleanup vmfloaty library and command line functions
2015-11-15 14:24:24 -08:00
Brian Cain
c1689da3c4
( #13 ) Raise exception when required params are missing
...
Instead of doing a system exit and printing to stderr, raise an
exception if parameters are missing when attempting to make an http
connection.
2015-11-15 13:33:21 -08:00
Brian Cain
3394a14ea0
( #14 ) Remove printing in auth library
2015-11-15 13:27:07 -08:00
Brian Cain
544d9d35b8
Bump to version 0.2.15
2015-11-13 11:54:16 -08:00
Brian Cain
a0ba604006
( #11 ) Provide a way to delete all vms acquired by token
...
This commit adds a way for a user to delete all vms that were obtained
by a specific token. It will ask the user if they are sure before
deleting everything.
2015-11-13 11:52:01 -08:00
Brian Cain
bc4cff5363
(maint) Have pooler delete class take array
...
Prior to this commit, the pooler class was expecting a comma separated
string of hosts to delete. This commit updates that to expect hostnames
to be an array instead.
2015-11-10 11:42:56 -08:00
Brian Cain
fa92da5c05
(maint) Update token status to not require password
2015-11-05 13:28:37 -08:00
Brian Cain
2beb36f53e
Update readme.md with rubygems badge version
2015-10-25 10:08:58 -07:00
Brian Cain
b62cffa2cd
(spec) Add format spec test
2015-10-21 22:21:13 -07:00
Brian Cain
ac12ea69c1
(spec) Add auth class spec tests
2015-10-21 22:08:48 -07:00
Brian Cain
a00666e7e4
Bump to 0.2.13
2015-10-16 15:50:44 -07:00
Brian Cain
3a17b418cf
Add default for grabbing an os
...
If a user does not specify a number of vms with the get command (i.e.
does not include an = sign after the os), the get command will assume
the user just wants 1 vm.
2015-10-16 15:48:16 -07:00
Brian Cain
4cf77bc4d4
Fix modify spec test for requests
2015-10-16 15:41:09 -07:00
Brian Cain
1cfe1b7131
Properly store and show domain key for get requests
2015-10-16 15:35:40 -07:00
Brian Cain
d30282ef25
Fix bug where modify_body in modify was not being set to json
2015-10-14 17:27:56 -07:00
Brian Cain
0effe55c31
Add failure message if modify command did not work
2015-10-14 17:17:00 -07:00
Brian Cain
2153507098
Merge branch 'master' of github.com:briancain/vmfloaty
2015-10-14 09:56:54 -07:00
Brian Cain
221e5db6b5
Improve formatting of cli tool
2015-10-13 23:15:47 -07:00
Brian Cain
beeac3858c
(spec) Add spec tests for Pooler class
2015-10-13 22:43:00 -07:00
Brian Cain
6ee138f08e
Add travis
2015-10-13 21:19:50 -07:00
Brian Cain
559005057e
Ensure vm number is specified from cli args
2015-10-12 09:48:17 -07:00
Brian Cain
e613a6818d
Initial commit of test framework
2015-10-09 22:26:20 -07:00
Brian Cain
54893cf5fb
Improve how to retrieve vms
...
This commit changes the get command to have users request vms by
specifying the hosts they want and then the number of hosts rather than
having to say each one separated by a comma.
2015-10-09 22:06:14 -07:00
Brian Cain
12c5fc1cbd
Add dependency on faraday
2015-10-06 13:55:58 -07:00
Brian Cain
76a2d23973
( #3 ) Add initial formatter class
2015-10-01 23:39:23 -07:00
Brian Cain
c738b0c566
Abstract conf parsing to class
2015-10-01 23:32:17 -07:00
Brian Cain
9b176a7bd5
Add class for getting version
2015-10-01 23:30:12 -07:00
Brian Cain
b82d7756de
( #5 ) Document how to use Pooler class for ruby scripts
2015-10-01 19:57:02 -07:00
Brian Cain
19d409b722
( #6 ) Write up simple introduction workflow in readme
2015-10-01 19:45:36 -07:00
Brian Cain
c75bc69ea2
Add warning string if no conf file exists
2015-10-01 19:40:26 -07:00
Brian Cain
bd94b4585e
( #7 ) Document valid config file flags
2015-10-01 19:39:00 -07:00
Brian Cain
9495dd3ee8
Fix --notoken flag
2015-09-25 15:56:28 -07:00
Brian Cain
98741e5e4a
Fix token auth for methods
...
Properly set the header to be X-AUTH-TOKEN for requests to the pooler.
2015-09-25 14:03:47 -07:00
Brian Cain
de7a9ac433
Remove random puts command
2015-09-25 13:34:38 -07:00
Brian Cain
fa33863003
Improve output of delete command
2015-09-19 15:21:35 -07:00
Brian Cain
5908fe2d9e
Update modify command to properly handle tags and TTL
2015-09-19 15:18:55 -07:00
Brian Cain
c28f015346
Only set/parse tags if flag argument is called
2015-09-19 15:11:17 -07:00