670 Commits

Author SHA1 Message Date
Jenkins
cf2eb3c938 Merge "Add preliminary save container support" 2014-09-18 07:26:38 +00:00
Jenkins
0ad4c94b6c Merge "Add preliminary support for downloading objects" 2014-09-18 07:26:27 +00:00
Jenkins
ccc2fbd958 Merge "Work toward Python 3.4 support and testing" 2014-09-17 22:34:47 +00:00
Jenkins
d9a6f7fd3a Merge "Use Keystone client session.Session" 2014-09-17 07:25:28 +00:00
Dean Troyer
845de41635 Return current user/project for user/project show commands
If non-admin user attempts 'project show' or 'user show' on the currently
authenticated project or user return the information that is already in the
service catalog rather than throwing a Forbidden error.

Change-Id: Ieeb6eacf71a471e410fbd3c09e7871740547e890
2014-09-14 22:53:35 -05:00
Steve Martinelli
09a546891f Add support for 'file' format objects
Some objects can be saved as 'dirname/filename' which causes the
existing support to fail. The correct behaviour should be to
create the directories needed.

Change-Id: I71c61bc3b0f76a3e6d2703bd45508f9d6483546e
2014-09-15 01:58:00 +00:00
Steve Martinelli
505c784bad Add preliminary save container support
Save all objects from a container

implements bp: swift-client

Change-Id: I7f2437236574e212033e63d768929d813289ed05
2014-09-15 01:57:54 +00:00
Steve Martinelli
e47787e12f Add preliminary support for downloading objects
Added command and library to download a single object from swift

Change-Id: I3dc47b414ff37b526e6f633aa83ac3aa4b5be0ae
implements: bp swift-client
2014-09-15 01:57:50 +00:00
Jenkins
0ff189720e Merge "Stop using intersphinx" 2014-09-14 18:29:00 +00:00
Andreas Jaeger
c5df1826a6 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
2014-09-13 09:46:09 +02:00
OpenStack Proposal Bot
9ecc592656 Updated from global requirements
Change-Id: I9bfbb802c5ec9be048ccecda8286b33fdfc6ef8c
2014-09-11 17:20:35 +00:00
Jenkins
696c9676bc Merge "Update docs and release notes for 0.4.1 release" 2014-09-09 04:01:38 +00:00
Jenkins
6977ef8aec Merge "Network use enable/disable vs admin state up/down" 2014-09-08 17:29:37 +00:00
Dean Troyer
f7357b7fe7 Update docs and release notes for 0.4.1 release
Closes-Bug: 1365505
Change-Id: I027d263ba9980715454b034a37733c5ff23fd169
2014-09-08 11:36:33 -05:00
Dean Troyer
ae957b176e Use Keystone client session.Session
This replaces the restapi requests wrapper with the one from Keystone client so
we can take advantage of the auth plugins.

As a first step only the v2 and v3 token and password plugins are supported.
This maintainis no changes to the command options or environment variables.

The next steps will include reworking the other API client interfaces to
fully utilize the single auth session.

Blueprint: ksc-session-auth
Change-Id: I47ec63291e4c3cf36c8061299a4764f60b36ab89
2014-09-08 00:06:52 -05:00
Jenkins
3317e0abf6 Merge "Add action 'user password set' for identiy v3" 2014-09-07 15:12:18 +00:00
Jenkins
dcf658cc4e Merge "Unordered dicts and lists causes variable results" 2014-09-07 12:59:35 +00:00
Jenkins
9b3c84e9e1 Merge "Leverage openstack.common.importutils for import_class" 2014-09-07 10:51:43 +00:00
Mouad Benchchaoui
0069adef5c Add action 'user password set' for identiy v3
This new action will allow a user to change their own password by
either providing the new password as an argument (--password) or by
being prompted to enter the new password.
In both cases user will be prompted to enter their current password
as required by the v3 API.

Closes-Bug: #1337245
Change-Id: I5e1e0fd2b46a4502318da57f7cce2b236fb2d93d
2014-09-07 02:37:54 -04:00
Jenkins
0bc4377b0a Merge "Sync with oslo-incubator and add importutils" 2014-09-07 05:34:07 +00:00
Jenkins
d3502b62d6 Merge "assertEquals order wrong" 2014-09-07 05:14:07 +00:00
Terry Howe
514ecc6e96 Unordered dicts and lists causes variable results
The unordered dict and lists causes variable results.  The user
may see different results and tests can fail.  Might as well make
this more consistent.

Change-Id: I7045b40b44cbf3ee0f2ca79c6ea0d279b6d8cfe3
2014-09-06 23:55:31 -04:00
Aaron Rosen
c43854048c Leverage openstack.common.importutils for import_class
This patch drops the import_utils method from common.utils and leverages
it from openstack.common.importutils instead.

Change-Id: If7e7383aa742afe44f750f916c0d90d747793150
Closes-bug: 1365273
2014-09-06 23:36:59 -04:00
Terry Howe
b725b5017a Multiple args for object and container commands
Have object and container create and delete handle multiple
arguments.

Change-Id: I389358c13ac2d99655ca26e784e3d299286c0af3
2014-09-06 16:23:55 -06:00
Jenkins
dc9ce6d608 Merge "Change app.restapi to app.client_manager.session" 2014-09-06 21:46:40 +00:00
Jenkins
b7816f3997 Merge "add service/interface/region filter for endpoint v3" 2014-09-06 17:02:45 +00:00
Jenkins
34c8bdaf35 Merge "Fix security group list for non-admin" 2014-09-06 17:02:42 +00:00
Jenkins
8cfc8529be Merge "Fix server add security group" 2014-09-06 16:09:30 +00:00
Aaron Rosen
b1663c96e6 Sync with oslo-incubator and add importutils
From oslo-incubator commit:
    c4bfdb94c25b4488da61d77184d97f8784f21a11

Change-Id: I81d1113d113faa609ab7713a0e04667b11786247
2014-09-06 10:21:22 -05:00
Jenkins
bdf9b19abb Merge "Make Identity client load like the others" 2014-09-06 13:26:40 +00:00
Terry Howe
dc68d3f5cf assertEquals order wrong
Change-Id: I822b6ac5b8e8c3009d1ee2d647376eff84559c11
Partial-Bug: #1277104
2014-09-04 14:47:28 +00:00
Jeremy Stanley
181166f81b Work toward Python 3.4 support and testing
Change-Id: I70d8cf0971d18b9b2eb967e28cedecc897721f58
2014-09-03 19:05:47 +00:00
Dean Troyer
1ab38679b6 Make Identity client load like the others
This does a couple of things:
* Loads the Identity client module in the same manner as the other
  'base' clients (where 'base' == 'included in the OSC repo')
* Changes the entry point group name for the base clients to
  'openstack.cli.base'.  The extension group name remains the same.
* Loads the base modules first followed by the extension modules.
  This load order ensures that the extension module commands are all
  loaded _after_ the base commands, allowing extensions to now override
  the base commands.

Change-Id: I4b9ca7f1df6eb8bbe8e3f663f3065c2ed80ce20b
2014-08-28 08:29:32 -05:00
Dean Troyer
22c544a822 Fix server add security group
The group resource was being passed when only the name is needed.

Change-Id: Ia303804be4e336f9880205d931467cb831e812de
2014-08-27 17:35:30 -05:00
Dean Troyer
e19216e282 Fix security group list for non-admin
Non-admin users couldn't list security groups due to the project lookup
failure.  That shouldn't stop the listing.

Change-Id: I27f6ff4975b35d1de1c852c8d4e830b83c7dec75
2014-08-27 17:19:53 -05:00
Dean Troyer
4bbd03210f Change app.restapi to app.client_manager.session
This is step 1 toward using Keystone client's session.Session as the
primary session/requests interface in OSC.

* Move the session create into ClientManager and rename 'restapi' attribute to 'session'
* Set up ClientManager and session loggers
* Fix container and object command references to restapi/api

Change-Id: I013d81520b336c7a6422cd22c05d1d65655e64f8
2014-08-25 13:38:03 -05:00
Jenkins
1eb7aba2c9 Merge "Add i18n module to openstackclient" 2014-08-24 22:40:38 +00:00
Jenkins
97d1bbdafd Merge "Create message variables for exceptions" 2014-08-24 20:20:08 +00:00
Jenkins
75245d9553 Merge "Add oslo.i18n as a dependency" 2014-08-24 20:11:59 +00:00
Steve Martinelli
258798c7a6 Add i18n module to openstackclient
Based on the information available at:
http://docs.openstack.org/developer/oslo.i18n/usage.html

implements bp i18n

Change-Id: Ie44f95dcbf192736991f88d92773f0dc2e20fa64
2014-08-24 18:16:15 +00:00
Steve Martinelli
c2b0cec6e3 Create message variables for exceptions
Instead of inline messages, let's create variables instead, as
it's easier to find strings, and mark them for translation.

Change-Id: Ibbcfdbc59d12a0cb4af50f73043d3ff7f3c76f99
2014-08-24 18:16:07 +00:00
Steve Martinelli
eb6b3027e6 Add oslo.i18n as a dependency
Add i18n in requirements.txt

implements bp add_i18n

Change-Id: I84ecd16696593414739c52ee344b8a1c9868941a
2014-08-24 13:13:31 -05:00
Jenkins
7a8c9a7a8a Merge "add tests for identity v3 endpoint" 2014-08-23 16:42:08 +00:00
OpenStack Proposal Bot
7f8791ad48 Updated from global requirements
Change-Id: I067f2ff0c78547088500fa2831c1c5abb75864bc
2014-08-22 12:34:21 +00:00
Jenkins
fc44578f0a Merge "add tests for identity v3 domain" 2014-08-22 10:57:36 +00:00
Terry Howe
cecf1a7737 Network use enable/disable vs admin state up/down
Use --enable and --disable vs --admin-state-up/--admin-state-down

Change-Id: I90040b925cb537a8ba13d1dd609c51bb669cf149
2014-08-18 05:41:58 -06:00
wanghong
181f16da8a add service/interface/region filter for endpoint v3
Change-Id: I7eac5b2ff5f5a6f3f08b22dd3a48a5ae7e2c056b
Closes-Bug: #1281888
2014-08-18 16:41:15 +08:00
wanghong
99ad9ef92e add tests for identity v3 endpoint
Change-Id: I1479460473656ea4e2a48a976808371e840b49c1
Closes-Bug: #1348867
2014-08-14 20:17:54 +08:00
wanghong
2dc060cff3 add tests for identity v3 domain
Change-Id: I478215f62b51e6e73283f0304ea1b0736177d1b1
2014-08-14 20:11:00 +08:00
wanghong
19b8605224 a mistake in tests/identity/v3/test_role.py
Change test_service_show to test_role_show.

Change-Id: Ieef7fdeb9401b4dc28720c9ba14bf460ac171288
2014-08-12 19:36:57 +08:00