493 Commits

Author SHA1 Message Date
Jenkins
4d3d287dd7 Merge "Fix IDP commands" 2014-07-22 07:21:27 +00:00
Jamie Lennox
5e7e94d59e Fix IDP commands
identity_client.identity_providers doesn't exist as a manager. These are
located at identity_client.federation.identity_providers. Fix the
routes.

Also fix passing id to .create() as a positional argument. This is not
allowed from keystoneclient it should be passed as a keyword argument.

Change-Id: I912c27fcee58b0723e27e9147def2cbd1c62c288
2014-07-21 10:04:47 +10:00
Steve Martinelli
fc044c8847 Update help text for some network commands
Add help text for network delete, network set and network show

Change-Id: I80ad5eae35f0eba2bfe19e06786c9b8ed1522046
Closes-Bug: #1343659
2014-07-17 19:20:53 -04:00
Cyril Roelandt
3cfb97e5ae Add Python 3 support
Change-Id: I65fabfc4788230b7280808ec912601c327095db0
2014-07-15 10:26:16 +02:00
Jenkins
5830007bbc Merge "Fix server resize" 2014-07-12 20:58:37 +00:00
Jenkins
bc6495c6a1 Merge "Add basic timing support" 2014-07-11 18:22:06 +00:00
Jenkins
70283744a0 Merge "Domain administrator cannot do project operations" 2014-07-09 08:18:23 +00:00
Jenkins
e8f058775e Merge "Add support to list volume extensions" 2014-07-09 06:59:39 +00:00
Jenkins
e7bfabc886 Merge "Allow network find to use alternate name" 2014-07-08 17:42:11 +00:00
Jenkins
ba15646cf8 Merge "Catch SystemExit for parse args" 2014-07-08 17:37:21 +00:00
Dean Troyer
ea2ac77a46 Fix server resize
So apparently we've never resized a server???

Fixed command args and add some tests.

Change-Id: I6c3f6fec22390e9d269b7117a42a190d2b4b80ba
2014-07-08 11:20:13 -05:00
Jenkins
69138c7912 Merge "Clean up make_client() logging" 2014-07-08 15:48:28 +00:00
Jenkins
ab5416a385 Merge "Add support to list compute extensions" 2014-07-08 15:41:37 +00:00
Dean Troyer
4844a25779 Add basic timing support
Add support for --timing options.  Use cliff via a pseudo-command
'Timing' to support multiple outputformats.

If an output format other than the default 'table' is selected
use CSV since the timing data is in list form.

Will pick up timing data for any client object that has a method
similar to novaclient's get_timings().

TODO:
* Stop instantiating all of the clientmanager client objects just
  to check for timing data.  Descriptor magic required?

Change-Id: I7f1076b7a250fba6a8b24b2ae9353a7f51b792b2
2014-07-08 02:04:00 -05:00
Dean Troyer
21bd4619ae Clean up make_client() logging
Change-Id: I0b6760a6401b50e3dfb891af75424ae89df42ebc
2014-07-08 01:44:55 -05:00
Jenkins
6575581f79 Merge "Python 3: remove a useless code to safe_encode()" 2014-07-08 01:01:01 +00:00
Jenkins
25cd4dbb54 Merge "Python 3: do not compare a list to a zip object" 2014-07-07 23:53:24 +00:00
Jenkins
ea938e8ddf Merge "Move network stuff to v2 instead of v2_0" 2014-07-07 22:53:12 +00:00
Terry Howe
b638488697 Domain administrator cannot do project operations
Domain administrator cannot do project operations because the
require access to the domain API (which they don't have).  When
attempting to find a domain for project operations, ignore errors
because the API returns nothing without indicating there is a
problem.  The domain administrators will have to use a domain id,
but they will still be able to do project operations.  If the user
does not have permission to read the domain table, they cannot
use domain names.

Change-Id: Ieed5d420022a407c8296a0bb3569d9469c89d752
Closes-Bug: #1317478
Closes-Bug: #1317485
2014-07-07 20:18:39 +00:00
Christian Berendt
dad5b10510 Replaced some UTF-8 characters with ASCII characters
Change-Id: Ic4e53b742f8691dd2dafe1a8d7fa45e4340a3c94
2014-07-07 19:52:48 +02:00
Terry Howe
fba951568c Python 3: do not compare a list to a zip object
In Python 3, zip() returns a zip object, not a list.

Change-Id: I1a472bec3e12b5ae3c3555cf690b99a57579ce83
2014-07-07 09:11:57 -06:00
Terry Howe
a065dd09e4 Allow network find to use alternate name
Add the name_attr to the network find method so it can search
for things like floating_ip_address for floating IP addresses
rather than just id.

Change-Id: I827e3745b06397a54555d1286e477bf2e05bf789
2014-07-07 06:11:58 -06:00
Terry Howe
b157dc937e Move network stuff to v2 instead of v2_0
Rename network stuff v2

Change-Id: Ia9b8feda20dfd35b0f3712b8e2419d0bf5da0acd
2014-07-07 06:08:02 -06:00
Terry Howe
79488377eb Catch SystemExit for parse args
If you have a test with parse args it fails with no error
messages.  This change throws an exception.

Change-Id: I545aba346620a352fe570d394dbd4d6bd2daa995
2014-07-06 10:02:51 -06:00
Jenkins
b3736fd9df Merge "Remove keyring support from openstackclient" 2014-07-04 19:45:30 +00:00
Steve Martinelli
9b2e264ada Add support to list volume extensions
Since cinderclient has support to list extensions, we should add
some of the logic to our list extensions command.

Change-Id: I7dc7ca325ea9b82194bba6d875e7b8dc1884d77e
Closes-Bug: #1337687
2014-07-04 14:27:16 -04:00
Cyril Roelandt
1fedd38de6 Python 3: remove a useless code to safe_encode()
The safe_encode method returns bytes, so we cannot concatenate its output with
text strings. This call does not seem needed after all, so let's just remove
it.

Change-Id: I6c18427559147d4c732ff7daa6d6006e7e5f6365
2014-07-04 10:25:53 +02:00
Steve Martinelli
270c7fe967 Add support to list compute extensions
Since novaclient has support to list extensions, we should add
some of the logic to our list extensions command.

Closes-Bug: #1337684
Change-Id: I3074225780142df265a34add03e60c0f7c64c711
2014-07-03 23:53:57 -04:00
Alex Gaynor
b8f534df01 Remove keyring support from openstackclient
* The encryption it purports to offer is completely insecure.
* It also appears to be broken.

Closes-Bug: #1319381
Change-Id: Id15ecfbbfd15f142b14c125bfd85afd5032699ac
2014-07-04 01:56:18 +00:00
Jenkins
7f59fa5943 Merge "trust authentication" 2014-07-04 00:44:51 +00:00
Jenkins
e43c0f2b9b Merge "Python 3: do not use __builtin__" 2014-07-03 17:13:53 +00:00
Matthieu Huin
5672c688d1 trust authentication
This patch enables authenticating by using a trust. The trust ID
must be set with the parameter --os-trust-id or the env variable
OS_TRUST_ID. Trusts are available for the identity v3 API.

Co-Authored-By: Florent Flament <florent.flament@cloudwatt.com>
Change-Id: Iacc389b203bbadda53ca31a7f5a9b8b6e1a1f522
2014-07-03 10:12:02 +02:00
Cyril Roelandt
169587ddbd Python 3: do not use __builtin__
Use six.moves.builtins instead, this works with both Python 2 and 3.

Change-Id: I57e7257d4f06c805f26383e0778ad104d50ea139
2014-07-03 00:27:35 +02:00
Jenkins
8e12949958 Merge "Remove backslash usage from a few tests" 2014-07-02 21:22:11 +00:00
OpenStack Proposal Bot
0ab1791439 Updated from global requirements
Change-Id: I7f7714625a6cfb6bd8e0d313d27e898e178a1efb
2014-07-02 15:47:14 +00:00
Steve Martinelli
3bdfef827c Remove backslash usage from a few tests
Noticed these in the code, figured we should stick to not using
backslashes if possible.

Change-Id: I55e5402683141e14df7c2b38883b1f3cc2a6bb6a
2014-07-02 00:00:33 -04:00
Jenkins
ddf0c16a10 Merge "Fix PEP8 E126 and E202 errors" 2014-06-27 21:41:34 +00:00
Jenkins
58583b55ca Merge "Fix PEP8 E265 errors" 2014-06-27 21:41:33 +00:00
Jenkins
63b1c06024 Merge "Fix PEP8 H405 errors" 2014-06-27 21:41:31 +00:00
Jenkins
42765a15f3 Merge "Sort/clean setup.cfg" 2014-06-27 17:48:27 +00:00
Jenkins
4bebd8ac12 Merge "Rename token classes to match command" 2014-06-27 17:48:25 +00:00
Dean Troyer
1d2cd677cf Sort/clean setup.cfg
Change-Id: I68a1073d7ef4e6610233961c4aba8c4378ee584b
2014-06-27 09:14:58 -05:00
Dean Troyer
1fca946890 Rename token classes to match command
The token create/delete commands were renamed but not the class names.
Rename them to match.

Change-Id: Icbf9c0a954ed0332fa4c99e4ee2612bb11f89e3a
2014-06-27 09:14:58 -05:00
Dean Troyer
4914a8d107 Fix PEP8 E126 and E202 errors
Do both as they are all in the same set of files that required
major re-formatting.

Change-Id: I6e8a8ce19a55105124a33c0e2487fc4b4e06d252
2014-06-27 09:12:55 -05:00
Dean Troyer
11f3654f6e Fix PEP8 E265 errors
Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
2014-06-27 09:12:55 -05:00
Dean Troyer
a78d75f290 Fix PEP8 H405 errors
Change-Id: Id9ea03e7d88148f84bffe1b18b5b4315e6123012
2014-06-27 09:12:38 -05:00
Alex Gaynor
86e0cf70cf Fixed typos in the identity client
Change-Id: I76042110f5a008d4c097862a572448448f92a504
2014-06-26 23:05:30 -07:00
Terry Howe
8f59524c3e Network CRUD
bp/neutron
https://wiki.openstack.org/wiki/OpenStackClient/Commands#Network_2

Change-Id: I89ee083154afa544b03587e84becace36d9d522a
2014-06-24 15:00:25 -06:00
Jenkins
adf9349c40 Merge "sync oslo bits" 2014-06-23 16:02:09 +00:00
OpenStack Proposal Bot
eeebd0db8c Updated from global requirements
Change-Id: Ia54da66d13b2667375a8a85c97ced25fd97b6b25
2014-06-23 05:34:50 +00:00