91 Commits

Author SHA1 Message Date
jerdfelt
f81fc89cc8 Merge pull request #26 from jk0/master
Migrations!
2011-07-07 11:39:35 -07:00
Josh Kearney
9b31d54aa2 Added migration functionality. 2011-07-07 13:33:17 -05:00
Josh Kearney
ede425d3ab Merge pull request #25 from jk0/master
Refactored backup rotation code.
2011-06-28 12:54:50 -07:00
Josh Kearney
cee51f8aff Refactored backup rotation. 2011-06-24 14:48:14 -05:00
Sandy Walsh
c1b1420b68 Merge pull request #23 from jk0/master
Implement backup with rotation.
2011-06-24 12:08:07 -07:00
Josh Kearney
8a523431e3 Review feedback. 2011-06-24 13:27:02 -05:00
Josh Kearney
518ca43ef7 Fixed unit tests. 2011-06-24 13:22:20 -05:00
Sandy Walsh
68b115d770 Merge pull request #24 from comstud/num-instances-fixes
'x' instances fixes.
2011-06-24 10:55:35 -07:00
Sandy Walsh
ef72c18f5e Merge pull request #22 from comstud/master
Makes novaclient try to use UUID on subsequent calls instead of ID (the integer ID)
2011-06-24 10:54:07 -07:00
Josh Kearney
ff87b8c449 Merge branch 'backups' 2011-06-24 12:25:45 -05:00
Josh Kearney
04ef226676 Implemented backup with rotation. 2011-06-24 12:24:26 -05:00
Chris Behrens
0f0ea3305a for creating 'x' instances, min_count > max_count check was reversed
make max/min_instances a little more sane by making them 'int' types
fix issue where only specifying --min_instances didn't work
2011-06-23 22:39:10 -07:00
Chris Behrens
6b25dd66df Due to how novaclient works, it tends to do a 'get' first on whatever ID
you pass on command line.  Then it does the real command, re-using the
ID found in the 'get' call, instead of the initial ID that you specified
(which may have been a UUID).

This makes it use the UUID from the initial 'get' call if it finds it,
so that commands work across zones.  'nova delete UUID', for instance,
wouldn't recurse zones as novaclient was doing a delete on the integer
ID, even though you specified a UUID.

This change has a side effect of trying to find 'uuid' in Image and
Flavors as well, but it'll fall back to using the integer ID.
2011-06-23 21:49:10 -07:00
Josh Kearney
787b369e6c Merge pull request #21 from comstud/master
various zones changes/fixes.
2011-06-23 16:10:53 -07:00
Josh Kearney
a5ef8fc5bc Merge pull request #21 from comstud/master
various zones changes/fixes.
2011-06-23 16:10:06 -07:00
Chris Behrens
9e86dd0634 Cleaned up the query_string generation for 'nova list'
Made --recurse_zones not need an '=argument'.
2011-06-23 15:07:05 -07:00
Chris Behrens
5b566a0f5c Added --recurse_zones option to 'list'
Added --fixed_ip option to 'list' to find a particular instance by IP
Fixed issue with 'show' when --recurse_zones=1 and specifying UUID

Squashed commit of the following:

commit 34e86d8209012817f6534bff31551edd32ec1fc1
Author: Chris Behrens <cbehrens@codestud.com>
Date:   Thu Jun 23 09:35:09 2011 -0700

    only lookup the server details once for the show command

commit 3e3438cf903fc46fcf280c728b119f0214545251
Author: Chris Behrens <cbehrens@codestud.com>
Date:   Thu Jun 23 07:39:18 2011 -0700

    if recursing zones, display UUID instead of Id

commit a42c63ad7af1bdb8604890d8c7302e730360e3e3
Author: Chris Behrens <cbehrens@codestud.com>
Date:   Thu Jun 23 07:20:25 2011 -0700

    recurse zones fixes

commit 1fe63dcf98ec8e37307dcce0b63895ce88f31ce2
Author: Chris Behrens <cbehrens@codestud.com>
Date:   Thu Jun 23 04:46:27 2011 -0700

    Add --fixed_ip and --recurse_zones options to shell 'list' command
    servers.list takes fixed_ip, project_id, and recurse_zones options now
2011-06-23 09:50:20 -07:00
Sandy Walsh
459e51b14e fixup 2011-06-21 12:11:49 -07:00
Sandy Walsh
9ab5f6611c release note update 2011-06-21 04:57:48 -07:00
Sandy Walsh
2069b17f8b tests working again for weight_scale/weight_offset 2011-06-21 04:54:01 -07:00
Sandy Walsh
46855896a8 fixed up tests after trunk merge and bumped version 2011-06-20 19:16:15 -07:00
Sandy Walsh
3e9a548949 Merge pull request #20 from comstud/master
adds --min_instances and --max_instances to zone-boot
2011-06-20 18:43:44 -07:00
Sandy Walsh
a6360bea52 version bump 2011-06-20 18:40:57 -07:00
Sandy Walsh
961d757e70 fixed project_id tests 2011-06-20 18:09:52 -07:00
Chris Behrens
15cfb4cd35 Merged my 'create-num-instances' branch which adds support for --min_instances and --max_instances to zone-boot
Squashed commit of the following:

commit f8a9d157c1b6989ca61430b2829c69bafead9731
Author: Chris Behrens <cbehrens@codestud.com>
Date:   Mon Jun 20 16:24:26 2011 +0000

    updated tests for min_count/max_count

commit e093e9e883159d42a67ba8799f46fa0cdf333077
Author: Chris Behrens <cbehrens@codestud.com>
Date:   Mon Jun 20 16:13:16 2011 +0000

    adds --min_instances and --max_instances options to nova zone-boot
2011-06-20 16:26:57 +00:00
Josh Kearney
4417c96e1e Merge pull request #19 from Cerberus98/instance_for_accounts
Instance for accounts
2011-06-17 08:46:46 -07:00
Sandy Walsh
7edce02045 version bumped 2011-06-15 09:50:16 -07:00
Sandy Walsh
c794bdfafe trunk merge 2011-06-15 09:48:24 -07:00
Sandy Walsh
dbef80d2fb Merge pull request #14 from usrleon/master
Updated README.rst and shell.rst about PROJECT_ID option
2011-06-15 09:47:50 -07:00
Matt Dietz
6aa43b1688 Typo fix 2011-06-13 15:18:11 -05:00
Matt Dietz
6c907a7cbb Added the missing files 2011-06-13 15:14:02 -05:00
Matt Dietz
129d56611c Added a method to create instances on behalf of an account via the admin API methods for openstack 2011-06-13 15:13:33 -05:00
Lvov Maxim
ff7e725f92 changed docs about using project id 2011-06-13 16:16:58 +04:00
Sandy Walsh
7a9e006a2f bumped version # after project_id update 2011-06-10 07:25:13 -07:00
Sandy Walsh
cbca828f7c Merge pull request #13 from usrleon/master
support for X-Auth-Project-Id api header
2011-06-10 07:23:10 -07:00
Josh Kearney
3c10087824 Merge branch 'master' of github.com:rackspace/python-novaclient 2011-06-09 12:59:05 -05:00
Josh Kearney
c100f21d3d Merge pull request #12 from klmitch/master
Add add_fixed_ip() and remove_fixed_ip() on servers
2011-06-09 10:11:09 -07:00
Josh Kearney
d778d4278e Don't restrict ids to int. 2011-06-09 10:38:01 -05:00
Lvov Maxim
882a266387 fix errors 2011-06-09 11:57:46 +04:00
Lvov Maxim
0853ebebed support for project id header 2011-06-09 10:39:13 +04:00
Kevin L. Mitchell
182b3a7196 Now that I understand how to build extensions, I understand how this
extension will be built, and can fully implement add_fixed_ip() and
remove_fixed_ip()
2011-06-08 11:18:43 -05:00
Kevin L. Mitchell
0b43ddbc93 Add the basic calls for add_fixed_ip/remove_fixed_ip.
Implementation depends on extensions to the OpenStack API
2011-06-07 17:56:33 -05:00
Sandy Walsh
117e455bb6 defaults back to no detail 2011-06-03 06:57:33 -07:00
Sandy Walsh
ddf8ef6d2c tweaks 2011-06-03 06:30:24 -07:00
Sandy Walsh
d96f3c5462 griddynamics better logging 2011-06-03 06:16:54 -07:00
Sandy Walsh
e4d75757c6 reservation_id optional parameter added to GET /servers (aka 'list') 2011-06-01 11:50:32 -07:00
Sandy Walsh
7090a6c8e0 works properly with zone-boot 2011-05-30 18:04:13 -07:00
Ilya Alekseyev
512c88cce8 Merge pull request #4 from Reldan/master
Improving tests for undetailed images
2011-05-30 10:57:47 -07:00
Eldar Nugaev
868d57a9a0 Improving tests 2011-05-30 21:43:27 +04:00
Andrey Brindeyev
2a9e0b485c Merge pull request #3 from Reldan/master
Added parameter detailed to list
2011-05-30 03:35:07 -07:00