1174 Commits

Author SHA1 Message Date
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
Jenkins
60d1417c2f Merge "Add functional tests for image set" 2015-07-01 19:51:13 +00:00
Jenkins
50a80ab97e Merge "Add tests for 'list' and 'show' for volume qos v1" 2015-07-01 19:40:43 +00:00
TerryHowe
700048a1e0 Fix examples with cacert
Change-Id: I2a4f758ef11caf51d0c47cb5632e59245d631d3d
Closes-Bug: #1470272
2015-07-01 05:11:45 -06:00
OpenStack Proposal Bot
a7eb8b5b3f Updated from global requirements
Change-Id: Icf1e3f1292baafe7746fd8804c61ccaab592db65
2015-06-30 22:45:47 +00:00
Jenkins
730b26e349 Merge "Add support for volume API v2 QoS commands" 2015-06-30 20:43:15 +00:00
Jenkins
e3589b3fde Merge "Alphabetize tests for v1 qos_specs" 2015-06-30 16:26:21 +00:00
David Moreau Simard
974c9d5793 Add support for volume API v2 QoS commands
This commit adds the following commands:
  volume qos associate
  volume qos create
  volume qos delete
  volume qos disassociate
  volume qos list
  volume qos set
  volume qos show
  volume qos unset

Change-Id: If3c679557ac9abb0dfc75d290b96fb9c8d46c7b7
Partial-Bug: #1467967
2015-06-29 17:24:35 -04:00
David Moreau Simard
4d832e7beb Add tests for 'list' and 'show' for volume qos v1
Change-Id: I1b4d998f3ec1bd5cb8dd4c9e0d04fd3b3049e9d7
2015-06-29 17:15:31 -04:00
Jenkins
a5259fe008 Merge "Add docs for QoS specs" 2015-06-29 19:07:13 +00:00
David Moreau Simard
1051a46944 Alphabetize tests for v1 qos_specs
As a follow up of sorting the methods for volume v1
qos_specs.

Change-Id: I428167297e7110e586d139bf38fd22d321836e80
2015-06-29 12:25:30 -04: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
Steve Martinelli
36613f9f53 No need for get_parser on QoS list
There are no arguments so there's no need to define the
get_parser function.

Change-Id: Icfa8accf6dbb7f8d1a0472926403b405da3cc611
2015-06-28 23:43:39 -04:00
Steve Martinelli
1d51eb82d0 Alphabetize QoS specs
setup.cfg and the implementation had some functions that were
not in alphabetical order. Since the rest of OSC is alphabetized,
let's stick to that.

Change-Id: Ief5d4694c7b6bc20a0898437b96305885104d45c
2015-06-28 23:42:55 -04:00
Jenkins
4c3f2ed73e Merge "Add support for volume API v1 QoS commands" 2015-06-27 15:55:48 +00:00
David Moreau Simard
7bb038c4a7 Add support for volume API v1 QoS commands
This commit adds the following commands:
  volume qos associate
  volume qos create
  volume qos delete
  volume qos disassociate
  volume qos list
  volume qos set
  volume qos show
  volume qos unset

Change-Id: I72ea1b9a4d0bd0e35eda03071ea438b75439fce9
Partial-Bug: #1467967
2015-06-26 23:19:08 -04: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
Jenkins
c307b6b484 Merge "Updated from global requirements" 2015-06-24 13:02:15 +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
OpenStack Proposal Bot
4f12a82679 Updated from global requirements
Change-Id: I4c5304a276b1c2b2ea98c98518217b0201a2c993
2015-06-24 00:21:41 +00:00
OpenStack Proposal Bot
af7f64eae5 Updated from global requirements
Change-Id: Ib550688f8420e8d29b594d90705ef8a89eb03018
2015-06-22 21:43:54 +00: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
OpenStack Proposal Bot
2d6bc8f4c3 Updated from global requirements
Change-Id: Ie4f93534ec504e7672c88ab02efc8747df91318c
2015-06-22 08:28:06 +00: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
Jenkins
2eb0f7287f Merge "Update 1.4.0 release notes" 2015-06-18 20:53:14 +00:00
Jenkins
61cf3ba29e Merge "Updated from global requirements" 2015-06-18 19:56:34 +00:00
Jenkins
6147409c7d Merge "Add support for volume backup v2 command" 2015-06-18 19:53:06 +00: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
OpenStack Proposal Bot
383e12e5c5 Updated from global requirements
Change-Id: Ib17c91ef8395b1a4f490765896bffad166aa0ab6
2015-06-16 19:23:16 +00:00
Jenkins
d4893efabc Merge "Add support for volume snapshot v2 command" 2015-06-16 17:57:14 +00:00
Jenkins
8db61ac54d Merge "Add release notes for 1.5.0" 2015-06-16 17:39:54 +00:00
Jenkins
8ce1549ec2 Merge "reference corect ec2 helper function" 2015-06-16 17:39:21 +00:00
Steve Martinelli
291ba625f1 Add release notes for 1.5.0
Change-Id: Idb6941feb3c17694eb5d7dcf1189bb1a08336810
2015-06-16 11:16:52 -04:00
Steve Martinelli
258f4ca6e6 reference corect ec2 helper function
ec2creds.py was referencing a function on self, but wasn't there.
Correctly reference the right function.

Change-Id: I62f09c497be9dbb394341914388d60634e8b80c2
Closes-Bug: 1465561
2015-06-16 11:02:09 -04:00
TerryHowe
ce65164155 Add functional tests for image set
This patch includes functional tests for image set and it includes
a change to use the OSC utils.format_dict method to format the
properties.  This will give a more user friendly format to the image
commands and it gives a more consistent testable format to the
output.  Instead of:

{u'a': u'b', u'c': u'd'}

The user will see:

a=b, c=d

Change-Id: Ib396316586ffc5dbab231064d5b6dc9425507934
2015-06-16 12:34:00 +00:00
OpenStack Proposal Bot
dca47a7bf2 Updated from global requirements
Change-Id: I635a3ff9d1a90d0b1bb1e295a380eddd9d30a295
2015-06-15 03:47:16 +00:00
Jenkins
ba79c3fdfb Merge "Improve the hint message" 2015-06-14 18:41:33 +00:00
Jenkins
724abb37b8 Merge "Fix the typo in openstackclient/shell.py" 2015-06-14 17:52:27 +00:00
Dave Chen
9f69b43f5a Improve the hint message
Currently, we can get scoped token (domain scoped, project scoped)
as well as unscoped token.

When we use OSC to get a domain scoped token without explicitly set
domain information, the hint message show us we need to set a scoped
domain or project, but it miss that the parameters to be set in order
to get project or domain scoped token is not the same.

Thus, the hint message could be improved to make it more clear to
end user.

Change-Id: I94768c619b30be18737fec189ae6d81e81ba090d
2015-06-14 13:31:02 +00:00
Dave Chen
b3289601c7 Fix the typo in openstackclient/shell.py
Change-Id: Ia101f6d50ecd4a195aa93b1f289def581b0c6f38
2015-06-14 14:59:38 +08:00
Steve Martinelli
ec903a1f09 Add oidc plugin for listing federation projects
the oidc plugin should be included in the list of valid federation
protocols that can leverage `federation project list`

Change-Id: I3f5c5ab262c7097273716a81618a2dcbb159dd6f
2015-06-11 03:42:07 -04:00