1991 Commits

Author SHA1 Message Date
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
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
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
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
c794bdfafe trunk merge 2011-06-15 09:48:24 -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
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
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
Eldar Nugaev
868d57a9a0 Improving tests 2011-05-30 21:43:27 +04:00
Eldar Nugaev
6a3a139846 Added parameter detailed to list 2011-05-30 14:31:56 +04:00
Sandy Walsh
6cb04897af zone select support and version bump to 2.4.3 2011-05-27 07:39:22 -07:00
Kirill Shileev
76a631d2f7 fix to reviewer comment: add check if logging disabled 2011-05-25 17:10:53 +04:00
Kirill Shileev
ad292c029a improve perfomance on string concat in logging 2011-05-25 16:48:40 +04:00
Kirill Shileev
be1d6d7a3b add logging for http request-response 2011-05-25 14:10:20 +04:00
Sandy Walsh
2ec3c3febd zone select 2011-05-23 12:08:42 -07:00
Kirill Shileev
1114249c18 add undetailed flavor list 2011-05-20 21:41:56 +04:00
Sandy Walsh
f216dbd2e4 Merge branch 'master' of github.com:rackspace/python-novaclient 2011-05-19 06:58:48 -07:00
Sandy Walsh
30e7951a7a zone_blob support added to server.create 2011-05-19 06:58:41 -07:00
Sandy Walsh
f862a6f618 fixed flavor-list columns 2011-04-08 15:38:31 -03:00
Sandy Walsh
dc4626fb44 added support for missing flavors/images 2011-03-16 05:43:50 -07:00
Sandy Walsh
bcf65fe16e version 2.4 2011-02-25 02:11:32 -08:00
Sandy Walsh
8e615f4446 Added Jacob Kaplan-Moss copyright notices on older/untouched files. 2011-02-25 02:00:13 -08:00
Sandy Walsh
bd18c7e429 renamed to novaclient and fixed flavor tests 2011-02-26 05:04:40 -04:00