227 Commits

Author SHA1 Message Date
Guojian Shao
7b32ec003b add --project-domain option for user v3
user v3 create/set only support --project option,
we need --project-domain to prevent collisions between
project names exist.

Change-Id: I2d62e5b9bb6df4c5c5a9542514faf2e4365bb18b
Closes-Bug: #1475357
2015-07-16 23:26:11 +08:00
Jenkins
50a5c36ef1 Merge "Remove the --dhcp option to network list" 2015-07-14 20:47:09 +00:00
lin-hua-cheng
89cf9f61b1 Fixes modules index generated by Sphinx
Sphinx was always using (o)penstackclient for the prefix so the index
wasn't very useful.

Change-Id: Ie9f5d7fe428142bdb8027b422e3023418b48c428
2015-07-09 21:40:31 -07:00
TerryHowe
2d4a737160 Remove the --dhcp option to network list
The --dhcp option lists agents, not networks.  This does not make
a lot of sense.  Another command should be created to list agents.

BackwardsIncompatibleImpact
Closes-Bug: #1472613

Change-Id: I5ecfe3fc046a07eb64a4dabd41dbd99de7c2215f
2015-07-08 11:21:41 -06:00
Jenkins
ee64c2fa6b Merge "Add --os-endpoint-type cli optional argument" 2015-07-03 02:48:47 +00:00
Roxana Gherle
5521e4c504 Add --os-endpoint-type cli optional argument
User should be able to specify the endpoint type through
a CLI optional argument/ENV variable setting. We will name this new
optional argument: --os-endpoint-type (Env: OS_ENDPOINT_TYPE) and
based on the value given, the service API will use that specific
endpoint type. Possible values: public, admin, internal.

DocImpact
Closes-Bug: #1454392
Change-Id: Ife3d4e46b44c0ddcd712b1130e27e362545a9a29
2015-07-02 10:10:46 -07:00
Jenkins
d80deaba41 Merge "Move update code from image create command" 2015-07-02 14:08:05 +00:00
Marek Aufart
bd589778c2 Move update code from image create command
Openstack image create command updates existing image (with same name) by
default. That might be confusing since glance allows create multiple
images with same names and may lead to unwanted image update by image
create command.

Image update code was moved from image create action to image set action.

BackwardsIncompatibleImpact

Change-Id: I1686c6544c366262efab9e33c066d5f8a667f707
Closes-Bug: #1461817
2015-07-02 11:02:17 +02:00
Steve Martinelli
862afd1e7b Add docs for QoS specs
QoS v1 was recently included in openstackclient. We should include
command object docs.

Change-Id: I891231be095324bf55eb7ee4bb86debdf7a26f05
2015-06-29 16:16:35 +00:00
Guojian Shao
8899bc4162 fix confused domain argument for network create v2
we have used domain scope arguments --project-domain, --user-domain
and --group-domain in identity commands, for example, role add v3,
to prevent resources conflict from same resource name existence.
To keep with the style of identity commands, it's better to rename
--domain to --project-domain.

Closes-Bug: #1468988
Change-Id: Ic6ccb895cf9be4a3d5f0001525e3b80cd340da8b
2015-06-26 12:08:22 +08:00
Jenkins
ec31a2a12e Merge "Enables retrieval of project's parents and subtree" 2015-06-25 21:51:04 +00:00
Jenkins
2cc679ed9f Merge "Add support to inherited project role grant calls" 2015-06-24 15:26:18 +00:00
Guojian Shao
253ba3c425 fix typo in network.rst
There is a typo for --domain argument in network create:
Owner’s domain (name or ID)",
the last character " should be removed.

Closes-Bug: #1468282
Change-Id: I81d55841e633a52f3913cf5f4a3e6626ebc1f919
2015-06-24 18:14:12 +08:00
Samuel de Medeiros Queiroz
ed241ef9bc Add support to inherited project role grant calls
Once inherited project role grant calls are
implemented on python-keystoneclient,
python-openstackclient also should support such
calls.
This patch add such support as well as its
related tests.

Co-Authored-By: Raildo Mascena <raildo@lsd.ufcg.edu.br>

Change-Id: Id72670be8640e5c6e2490a6ef849e9ec3493b1a9
Implements: blueprint hierarchical-multitenancy
2015-06-22 11:05:01 -03:00
Jenkins
3120a0bd2a Merge "fix typo for server create in server.rst" 2015-06-19 15:31:13 +00:00
Guojian Shao
012e6a7628 fix typo for server create in server.rst
we have <security-group-list> in server create option,
while <security-group-name> in the explanation, they
both should be <security-group-name>.

Closes-Bug: #1466742
Change-Id: I26a25f57e57d8f9e19ec9c9ccb3c2b8d5396b78d
2015-06-19 15:14:04 +08:00
Amey Bhide
ce67c3afa5 Fix typo in user.rst
Change name -> user-name

Closes-Bug: #1466738
Change-Id: I63d6b4f5ac3cacff624c2e951873aa044a699234
2015-06-18 23:47:38 -07:00
Dean Troyer
7354d600e2 Update 1.4.0 release notes
Depends-On: I5b469d19ac58bcb31ebd276e1d62b3db8ccfb5a3
Change-Id: I67daab9045852a5d23d69f9b4290e857f5137121
2015-06-18 15:05:39 -04:00
Jenkins
5e095d66b8 Merge "Refactor option handling for user|group|project domain scoping" 2015-06-17 18:43:32 +00:00
Steve Martinelli
2b0013c5c1 Refactor option handling for user|group|project domain scoping
put the common options in identity.common, this way the help is
consistent

Change-Id: I5b09cfb56fa0f8d16feb95150f216fccbe9f2b22
2015-06-17 12:38:40 -04:00
Steve Martinelli
291ba625f1 Add release notes for 1.5.0
Change-Id: Idb6941feb3c17694eb5d7dcf1189bb1a08336810
2015-06-16 11:16:52 -04:00
Jenkins
bc53b05f8f Merge "Enable specifying domain for group and role commands" 2015-06-09 18:20:34 +00:00
Rodrigo Duarte Sousa
4fab606349 Enables retrieval of project's parents and subtree
Adds the possibility to retrieve a project and list its
parents and subtree in the hierarchy.

Co-Authored-By: Rodrigo Duarte <rodrigods@lsd.ufcg.edu.br>
Co-Authored-By: Samuel de Medeiros Queiroz <samuel@lsd.ufcg.edu.br>

Implements: bp hierarchical-multitenancy

Change-Id: I874f6faffc8a2db9d99f12cbe0a69c0a30c0d9df
2015-06-09 13:10:22 -03:00
Juan Antonio Osorio Robles
f7feef7f8d Enable specifying domain for group and role commands
Many of the commands for the group and role resources were lacking an
option to specify the specific domain groups, projects or users belong
to. This commit fixes that.

Change-Id: I461d2bcfd01ad2dea970de38ec7ad6f4a631ceb1
Closes-bug: #1446546
2015-06-08 17:05:10 +03:00
Jenkins
56163aa7bc Merge "Create 1.4.0 release notes" 2015-06-05 00:45:17 +00:00
Jenkins
4cc7313504 Merge "add --domain argument to v3 project set" 2015-06-04 22:21:44 +00:00
Dean Troyer
b80856617f Create 1.4.0 release notes
Change-Id: I2fa7d7875518ceebbdc3936eedfe72d17c81535f
2015-06-04 16:49:12 -05:00
Jenkins
0c5f12aec0 Merge "Clean up ec2 credentials help text" 2015-06-03 23:04:27 +00:00
Jenkins
7f658c0aca Merge "Add domain support for ec2creds in v3 identity" 2015-06-03 21:08:52 +00:00
Dean Troyer
3fa0bbc7ee Clean up ec2 credentials help text
Re-sync the text in v2 and v3 help and the docs

Depends-On: If4ac5356ade8cff347bb9eb9f88d1ace82bb7275
Change-Id: Iabef2f271fcf46748295c29713fea1811dcab29c
2015-06-03 15:03:57 -05:00
Steve Martinelli
7665d52a0c Add domain support for ec2creds in v3 identity
A follow up work item from I52ff2020ef2fcbdc8a98280b73c6fd4a93bc8e0f
to support domain scoped users and projects for ec2creds in the
v3 identity api.

Related-Bug: 1236326

Change-Id: If4ac5356ade8cff347bb9eb9f88d1ace82bb7275
2015-06-03 15:33:36 +00:00
Jens Rosenboom
bf99218292 Add a reference to the IRC channels
As the name of the associated IRC channel for this project is not
completely obvious, add a reference to the doc index page so that
it may be found easier.

Change-Id: I6cb6e2571bff73db6d983cd96fe6d03319d6577c
2015-06-03 02:53:50 +02:00
Jenkins
4d57e9f62a Merge "Add --wait to server delete" 2015-06-01 20:07:27 +00:00
Jenkins
40634c3f2c Merge "project create is missing --parent in doc" 2015-06-01 15:29:25 +00:00
Guojian Shao
d14316a832 add domain scope arguments to v3 role add in doc
There are optional domain scope arguments --user-domain,
--group-domain and --project-domain to filter user, group
and project for command 'os role add', however, the doc
is missing them.

Closes-Bug: #1460296
Change-Id: Ie7c7707d183da042c51e98b6cd4003c89efc4032
2015-05-30 09:30:10 -04:00
Guojian Shao
01573be3f8 project create is missing --parent in doc
'project create' is missing '--parent <project>' argument in doc,
actually it is supported.

Change-Id: Id0edaab4e2b02a1f7d974d71a11c7c373e31806f
Closes-Bug: #1460256
2015-05-30 02:23:32 -04:00
Guojian Shao
542f587364 add --domain argument to v3 project set
Currently argument 'domain' is not supported by command 'os project
set', but it is required by keystone v3 update project API to match
the domain id.

Closes-Bug: #1460122
Change-Id: I1b32f67f78b369f6134a74cdf9a4811b7539d44b
2015-05-29 22:42:42 -04:00
Matt Riedemann
224d375ef4 Add --wait to server delete
This allows the server delete command to wait for the server to be
deleted (obviously).

The wait method is the same model that Tempest uses, i.e. wait for a 404
on server GET (successful deletion), fail if the server went to ERROR
status, or fail if a timeout is reached.  The default timeout of 300
seconds is also what Tempest uses.

Closes-Bug: #1460112

Change-Id: I0e66c400903e82832944d1cad61e7eb30177c3e8
2015-05-29 14:32:51 -07:00
Steve Martinelli
da083d171d Small tweaks to osc plugin docs
Change-Id: Ifbc63871e60e8ee843fdfefd8026dc4224fe4e13
2015-05-28 15:58:42 -04:00
Jenkins
e8655f44f0 Merge "Create 1.3.0 release notes" 2015-05-27 21:20:48 +00:00
Dean Troyer
a15d8f681a Create 1.3.0 release notes
Change-Id: I1bd91490487b4c5eb6de7ea2aa09848b063071f1
2015-05-27 14:29:24 -05:00
Jenkins
efee80d631 Merge "Adds python-tuskarclient to list of plugins" 2015-05-27 19:20:06 +00:00
Jenkins
806b16a007 Merge "Add some comments about current plugin support" 2015-05-27 19:20:03 +00:00
Petr Blaho
af9275178b Adds python-tuskarclient to list of plugins
Change-Id: Ie3468d14186f69ec9203f11302b8a07dc93dcc5a
2015-05-27 16:31:41 +02:00
Amey Bhide
ba21d463de Add missing properties to image set command
Enable user to update the following image properties from OSC:
container-format, disk-format, size

Closes-Bug: #1446362
Change-Id: Id9f40f15702e8f14f0327a37fcc7d7971338c258
2015-05-25 22:49:55 -07:00
Steve Martinelli
ab5a89493f Add some comments about current plugin support
Change-Id: Ida9ac9956c611fec783ff98a01628c3d38e7b58f
2015-05-22 17:41:51 -04:00
Jenkins
61cfebb8aa Merge "Enable specifing domains in "role add"" 2015-05-22 20:00:01 +00:00
Juan Antonio Osorio Robles
3ca96ef93c Enable specifing domains in "role add"
If users, projects or groups are provided by name, there is a
possibility of the existence other users/projects/groups with the same
name in other domain.  Even though this is not a problem if the actual
ID is given instead of a name; this is mostly a usability enhancement.

So, three options were added, one for specifying the domain where the
user belongs, another one to specify the project's domain, and finally
one to specify the group's domain.

Change-Id: Iab04b0e04fa75ea5aa3723b8ea42a45f58a6cdb2
Closes-Bug: #1421328
2015-05-12 11:48:01 +03:00
Jenkins
04d1fc69cf Merge "Security group rule delete broken" 2015-05-07 23:13:24 +00:00
TerryHowe
62bb88f621 Security group rule delete broken
Nova client was changed to take a rule id for security group
rule delete.

https://github.com/openstack/python-novaclient/blob/master/novaclient/v2/security_group_rules.py#L72

Change-Id: I0a69f3f196a36f267ee85a651b09aa8d3c328121
Closes-Bug: #1450872
2015-05-07 13:10:06 -06:00