723 Commits

Author SHA1 Message Date
Dean Troyer
1a25cbaf8f Followup for ec2 credentials command fix
Add functional tests for 'ec2 credentials' commands.

Also fix tenant_id in output for create and show.

Change-Id: I6ba3249b67408571624709e17f8aa2ac6d80237d
2014-12-05 22:21:32 -06:00
Dean Troyer
62a2083a78 Fix ec2 credentials commands for new auth
These commands were not updated for the new authentication model.

Closes-Bug: 1399757

Change-Id: I5d4beb9d1fa6914fef5e4c7b459cdd967e614b24
2014-12-05 12:54:22 -06:00
Jenkins
a977748414 Merge "1.0.0 release notes" 1.0.0 2014-12-04 22:52:39 +00:00
Jenkins
3f8b4d2238 Merge "Command object docs: catalog, credentials, endpoint, region, token" 2014-12-04 22:50:38 +00:00
Jenkins
8c9bf31687 Merge "Add documentation of interactive mode" 2014-12-04 22:11:58 +00:00
Jenkins
f6fc2db2ef Merge "Safely pop project parent id" 2014-12-04 22:11:51 +00:00
Dean Troyer
6a61dbc86f Command object docs: catalog, credentials, endpoint, region, token
catalog
credentials
endpoint
region
token

Change-Id: Icd7ec7fd207488b2ceb0280722aa9a684aeeac28
2014-12-04 15:45:06 -06:00
Steve Martinelli
13672123fc Safely pop project parent id
Since we don't support multitenancy yet, we should just pop the
parent id of a project. When keystoneclient supports mulittenancy
we should bring everything in at once (CRUD), and these changes
should be removed.

Change-Id: I82c7c825502124a24ccdbadf09ecb2748887ca5d
2014-12-04 15:34:02 -05:00
Dean Troyer
625a8ae42d Add documentation of interactive mode
This is a light description with some examples.

Change-Id: Iff9ad904a150f2bb7673bd4106cf26bcefec08b9
2014-12-04 15:16:05 -05:00
Steve Martinelli
f702428158 1.0.0 release notes
Release notes for our next cut of osc.

Change-Id: Ic3b0d557f2a380c4b5a05903ff7394be7b961b55
2014-12-04 14:51:05 -05:00
Dean Troyer
ac4950b46e Command object docs: server, server image
server
server image

Some cosmetic changes in the command source, sorting classes, help strings, etc.

Change-Id: I3f68dae77b9fe02bc6866684e05aeff943dd9cc3
2014-12-03 13:34:44 -06:00
Jenkins
cc54f989ec Merge "Add the ability to list projects based on a user" 2014-12-02 05:40:10 +00:00
Jenkins
2663e16389 Merge "Add support for domains when deleting identity v3 resources" 2014-12-02 00:43:03 +00:00
Jenkins
9eb757f95e Merge "Updated from global requirements" 2014-12-01 23:54:31 +00:00
Jenkins
19c01ff6a0 Merge "Command object docs: project, role, user" 2014-12-01 23:45:42 +00:00
Jenkins
1989198eac Merge "Enhance the theming for modules page" 2014-12-01 23:06:53 +00:00
Steve Martinelli
5bc768bbc2 Add the ability to list projects based on a user
Essentially performing GET /users/{user_id}/projects

Change-Id: Iae6ddfc86a856fa24fbe293ec4af52ea671390f8
Closes-Bug: #1394793
2014-12-01 22:37:08 +00:00
Steve Martinelli
4b239eea42 Add support for domains when deleting identity v3 resources
Currently, only deleting via IDs is possible for groups, projects
and users.
We should have an optional --domain argument that allows for
a name to be specified for the resource. (Since these are all
namespaced by domains).

Change-Id: I18ace3db85a3969f0b97678d432d6f8368baa9cd
2014-12-01 22:36:54 +00:00
Dean Troyer
04d30c1855 Command object docs: project, role, user
project
role
user
user role

Change-Id: I445e09a3ffb69114912ae562a9285963a636bfd1
2014-12-01 17:36:20 -05:00
Jenkins
7e6b68ded9 Merge "Command object docs: aggregate, console *, keypair" 2014-12-01 22:32:35 +00:00
Jenkins
17bf9cdf1c Merge "Begin copying wiki command list here" 2014-12-01 22:32:27 +00:00
OpenStack Proposal Bot
3ad16897bb Updated from global requirements
Change-Id: I2ae7af05f2052d8a8878e6477c8746cfdd1b74fa
2014-11-21 18:33:29 +00:00
Jenkins
a2450d85e0 Merge "Liberalize version matching a bit" 2014-11-21 14:38:14 +00:00
Dean Troyer
9eb30efbf3 Command object docs: aggregate, console *, keypair
aggregate
console log
console url
keypair

Change-Id: Iec9b8404ed5febd061a5dfd674b76aaa8aba67bc
2014-11-19 14:47:53 -06:00
Dean Troyer
254910d3ce Begin copying wiki command list here
* Sort by command objects
* Drop the comparison to the project CLIs
* Minor updates to command help to match docs

Initially include the cross-API commands to establish the structure and format.

Change-Id: I77a7b3c89e088b66aa62941e29ce0b65b532285b
2014-11-19 14:47:53 -06:00
Jenkins
ae00019c64 Merge "Fix volume create --image" 2014-11-19 17:37:14 +00:00
Jenkins
6d589ac801 Merge "add keystone v3 region object" 2014-11-19 04:18:38 +00:00
Steve Martinelli
6dc128636e Enhance the theming for modules page
Also fixes a few small docstring syntax errors

Change-Id: I85eb968e32c1191cf5d60d02deff2ab7f3291074
2014-11-18 22:07:57 -05:00
Jenkins
cb40b5da97 Merge "Add --or-show support for v3 identity resources" 2014-11-18 22:28:01 +00:00
Jenkins
be32793d23 Merge "Add authentication description doc" 2014-11-18 18:54:35 +00:00
Dean Troyer
39116bf594 Fix volume create --image
'volume create --image' should allow an image name to be used.

Closes-Bug: #1383333
Change-Id: I996d46db321eef2d75c3d19b480319f8a78c09b3
2014-11-18 09:35:08 -06:00
wanghong
6edc9b89ed add keystone v3 region object
Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>

Change-Id: Ia6f607630dbf507681733c3ab3b9b7c55de30f49
Closes-Bug: #1387932
2014-11-18 09:46:26 -05:00
OpenStack Proposal Bot
25f1c8b98a Updated from global requirements
Change-Id: Ifd9110cf94dfd2f62e59939a7be1a88e919beb36
2014-11-18 11:37:03 +00:00
Jenkins
57364804f6 Merge "Add environment variable in the os-auth-type help" 2014-11-18 09:25:21 +00:00
Steve Martinelli
79653afa7b Add --or-show support for v3 identity resources
Add --or-show for the following:
  * v3 roles
  * v3 projects
  * v3 domains
  * v3 users
  * v3 groups

Closes-Bug: #1390389
Change-Id: Id4ef043e5fda6be49a515eb3fe138c813c393ec9
2014-11-18 04:58:13 +00:00
Jenkins
3b1c308b11 Merge "Add arg to 'server image create' tests" 2014-11-18 03:47:30 +00:00
Jenkins
d827bdaaed Merge "Add additional support for --or-show" 2014-11-18 03:18:10 +00:00
Dean Troyer
0d56d0178b Add authentication description doc
This is represents the current operation

Closes-Bug: #1337422

Change-Id: I8092e7723b563647e13b6e2f0b7901a16572b6c7
2014-11-17 14:21:03 -05:00
Marek Denis
c1b376dc33 Add environment variable in the os-auth-type help
Help for option --os-auth-type doesn't specify what environment variable
configures it. This patch fixes that.

Change-Id: Id2e29e477d5ca56339bd777fb73b5af13788615b
2014-11-17 09:50:12 +00:00
Jenkins
a9670b4cf0 Merge "Add more session/api examples" 2014-11-17 06:01:32 +00:00
Jenkins
b4ca5cc9c1 Merge "Add an API example base and functional test base" 2014-11-16 17:41:33 +00:00
Dean Troyer
2b02beaa51 Liberalize version matching a bit
For class-loading purposes we can just use the major version,
so accept that. Only Identity and Compute were affected; Compute
is included just to be pedantically complete.

For command groups we also just use the major version so fix
Compute and the version option handling.

Change the internal default for Identity to a simple '2' so it
is also consistent with the rest of the world.

Then comes microversioning...

Closes-Bug: #1292638
Change-Id: Ibaf823b31caa288a83de38d2c258860b128b87d8
2014-11-16 11:37:52 -06:00
Dean Troyer
01a5ff6d32 Add more session/api examples
* examples/object_api.py - Example of using the Object_Store API
* examples/osc-lib.py - Minimal client to use ClientManager as a library

Also add matching functional tests

Change-Id: I4243a21141a821420951d4b6352d41029cdcccbc
2014-11-15 16:29:14 -06:00
Steve Martinelli
126b2c5436 Add an API example base and functional test base
Add examples/common.py, which is a basic common setup that mimics OSC's
configuration options and logging without the rest of the CLI.

Also add the functional test tooling for examples to prevent bit rot.

Co-Authored-By: Dean Troyer <dtroyer@gmail.com>
Change-Id: Ie92b675eafd93482ddc9a8ce0b0588e23ed50c35
2014-11-15 16:29:08 -06:00
Jenkins
f5a2811b65 Merge "Remove links from oauth consumers" 2014-11-14 22:21:18 +00:00
Jenkins
8f40259ada Merge "Remove links from federation related commands in identity v3" 2014-11-14 22:21:06 +00:00
Dean Troyer
936722d59f Add arg to 'server image create' tests
The 'protected' column was not being checked.  Also add it to
image.fakes.IMAGE.

Change-Id: Ie431e9871a7da78b5a3924bfbc51d5575d994d86
2014-11-14 16:13:01 -06:00
Steve Martinelli
7242113a8f Add additional support for --or-show
Add --or-show for the following:
  * v2 roles
  * v2 projects

Change-Id: Ibbae19cda668575b9527fbd259f1298c48b8265b
2014-11-14 16:29:57 -05:00
Jenkins
c55fdb6f6d Merge "Beef up object-store tests" 2014-11-13 22:11:43 +00:00
Steve Martinelli
3e97e1775d Remove links from oauth consumers
This should be the last of the v3 identity objects that return
a links section upon create or show.

Change-Id: I45a3b43c303bfed73950095bec8860cbea7a559c
2014-11-13 16:48:59 -05:00