Commit Graph

561 Commits

Author SHA1 Message Date
TerryHowe
6e49ccacf2 Rename endpoint type to interface
Change-Id: I4e21d09bc747e8210f4f79a1d6c4c7ccf2f25d1c
Closes-Bug: #1454392
2015-07-15 10:11:59 -06:00
Jenkins
47e7e4fc58 Merge "Add --os-endpoint-type cli optional argument" 2015-07-03 02:48:47 +00:00
Roxana Gherle
13570dedb1 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
OpenStack Proposal Bot
a374d42395 Updated from global requirements
Change-Id: Icf1e3f1292baafe7746fd8804c61ccaab592db65
2015-06-30 22:45:47 +00:00
Jenkins
2395af0c7c Merge "Add support for volume API v2 QoS commands" 2015-06-30 20:43:15 +00:00
David Moreau Simard
8a2aacb3e5 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
Steve Martinelli
1ebbd57b02 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
98a2660cfa Merge "Add support for volume API v1 QoS commands" 2015-06-27 15:55:48 +00:00
David Moreau Simard
2b27833c10 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
Jenkins
74a713dcc8 Merge "Enables retrieval of project's parents and subtree" 2015-06-25 21:51:04 +00:00
Jenkins
3a4b6713b7 Merge "Updated from global requirements" 2015-06-24 13:02:15 +00:00
OpenStack Proposal Bot
6c0ae82f9a Updated from global requirements
Change-Id: I4c5304a276b1c2b2ea98c98518217b0201a2c993
2015-06-24 00:21:41 +00:00
OpenStack Proposal Bot
345e6397f6 Updated from global requirements
Change-Id: Ib550688f8420e8d29b594d90705ef8a89eb03018
2015-06-22 21:43:54 +00:00
OpenStack Proposal Bot
355c1e712a Updated from global requirements
Change-Id: Ie4f93534ec504e7672c88ab02efc8747df91318c
2015-06-22 08:28:06 +00:00
Jenkins
615b106d07 Merge "Updated from global requirements" 2015-06-18 19:56:34 +00:00
Jenkins
895c1dca2a Merge "Add support for volume backup v2 command" 2015-06-18 19:53:06 +00:00
OpenStack Proposal Bot
065ffd6366 Updated from global requirements
Change-Id: Ib17c91ef8395b1a4f490765896bffad166aa0ab6
2015-06-16 19:23:16 +00:00
Jenkins
18cdc453cd Merge "Add support for volume snapshot v2 command" 2015-06-16 17:57:14 +00:00
OpenStack Proposal Bot
1d478e0af8 Updated from global requirements
Change-Id: I635a3ff9d1a90d0b1bb1e295a380eddd9d30a295
2015-06-15 03:47:16 +00:00
Jenkins
e5530617b1 Merge "Improve the hint message" 2015-06-14 18:41:33 +00:00
Jenkins
8330736bbc Merge "Fix the typo in openstackclient/shell.py" 2015-06-14 17:52:27 +00:00
Dave Chen
37112f92d8 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
f1269d3c40 Fix the typo in openstackclient/shell.py
Change-Id: Ia101f6d50ecd4a195aa93b1f289def581b0c6f38
2015-06-14 14:59:38 +08:00
Steve Martinelli
ddc0e84588 Skip trying to set project_domain_id if not using password
This is already fine for user_domain_id, and needs to be replicated
for project_domain_id. Also added more logging.

Change-Id: I3fa8f29edb3fc430d453bd0fc835312c0c8401f4
2015-06-11 02:43:57 -04:00
OpenStack Proposal Bot
60cb241b4c Updated from global requirements
Change-Id: I4055698d0e4492a17623836e802ac56cd869ab0a
2015-06-11 00:48:27 +00:00
OpenStack Proposal Bot
6116fe20bf Updated from global requirements
Change-Id: I5b469d19ac58bcb31ebd276e1d62b3db8ccfb5a3
2015-06-10 21:27:27 +00:00
Rodrigo Duarte Sousa
8629d288bc 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
Amey Bhide
e97526ac8d Add support for volume backup v2 command
openstack backup create
openstack backup list
openstack backup restore

Implements: blueprint volume-v2
Change-Id: I77965730065dd44f256c46bcc43c1e6a03b63145
2015-06-04 17:34:50 -07:00
Jenkins
a4741e9d46 Merge "Updated from global requirements" 2015-06-04 23:00:54 +00:00
OpenStack Proposal Bot
ba4ecefea2 Updated from global requirements
Change-Id: I243598ee6778297b622c8e29c78b76d8eb5a4692
2015-06-04 20:14:18 +00:00
Amey Bhide
76c1abd431 Add support for volume snapshot v2 command
openstack snapshot create
openstack snapshot set
openstack snapshot unset
openstack snapshot list

Implements: blueprint volume-v2
Change-Id: Ia1d9f4426baa0099281a9931f4eec99ebe1969b1
2015-06-04 20:13:19 +00:00
Jenkins
f5cbdb7523 Merge "Allow --insecure to override --os-cacert" 2015-06-04 19:27:36 +00:00
Dean Troyer
8e9e31ee5d Allow --insecure to override --os-cacert
Change --insecure to ignore the --os-cacert setting.  This is a change
from before where OSC followed the requests pattern of cacert taking
priority.

This logic is also introduced in os-client-config 1.3.0; we
do not require that release yet so it is duplicated here for now.
That change will come with the upcoming global options refactor.

Closes-Bug: #1447784
Change-Id: Iaa6d499ed0929c00a56dcd92a2017487c702774a
2015-06-04 09:37:46 -05:00
Jenkins
e77bbede47 Merge "Add EC2 support for identity v3 API" 2015-06-03 20:20:12 +00:00
Jamie Lennox
f06d3c0e55 Add EC2 support for identity v3 API
EC2 support is provided for the v2 identity API and is available in
almost exactly the same format in the v3 API and enabled by default.

Supporting EC2 in the v3 identity API in OSC will make it much easier to
transition devstack to a v3 only state.

Closes-Bug: 1236326

Change-Id: I52ff2020ef2fcbdc8a98280b73c6fd4a93bc8e0f
2015-06-03 15:33:15 +00:00
Jenkins
f81e9f5e0e Merge "Get rid of oslo_i18n deprecation notice" 2015-06-03 14:35:11 +00:00
Jenkins
4b54752e41 Merge "Rework shell tests" 2015-06-02 16:55:24 +00:00
TerryHowe
2a09177be4 Get rid of oslo_i18n deprecation notice
Change-Id: I12aa58b808c05d3eb6f5efcdc84df57f54a9782e
2015-06-02 09:21:31 -06:00
Dean Troyer
7d132dc4be Rework shell tests
This is the first step in reworking the shell argument handling,
clean up and add tests to ensure functionality doesn't change.

* Rework shell tests to break down global options and auth options.
* Make tests table-driven
* Remove 'os_' from 'cacert' and 'default_domain' internal option names

Change-Id: Icf69c7e84f3f44b366fe64b6bbf4e3fe958eb302
2015-06-02 09:49:17 -05:00
Jenkins
a5b07099eb Merge "Ignore cover directory from git" 2015-06-02 14:32:39 +00:00
Jenkins
a35d94b892 Merge "Set tenant options on parsed namespace" 2015-06-02 02:15:52 +00:00
Jenkins
29b378e42c Merge "Add --wait to server delete" 2015-06-01 20:07:27 +00:00
Jamie Lennox
5349854cd7 Ignore cover directory from git
The cover directory holds autogenerated coverage reports that should
not be checked into git and should therefore go in the gitignore file.

Change-Id: I4f7225b5422493f99bc534d6ac622e0703781e6d
2015-06-01 17:46:02 +10:00
Jenkins
e785d11293 Merge "Add support for volume v2 API" 2015-05-31 05:17:38 +00:00
Jamie Lennox
182c694afd Set tenant options on parsed namespace
Because of the way OSC registers all plugins together we end up
with os-tenant-X parameters being saved to the project-X attribute after
parsing. If you are using the v2 plugins directly then they and os-client-config
expect the tenant_X values and will assuming no scoping information if
they are not present.

Validating options for scope will also fail in this situation, not just
because the resultant auth dictionary is missing the tenant-X
attributes, but because OSC validates that either project or domain
scope information is present.

Fix this by just always setting the v2 parameters if the v3 parameters
are present. This will have no effect on the generic or v3 case but fix
the v2 case.

Expand validation to include the tenant options so it knows that v2
plugins are scoped.

Change-Id: I8cab3e423663f801cbf2d83106c671bddc58d7e6
Closes-Bug: #1460369
2015-05-31 15:03:42 +10:00
Amey Bhide
fbb890ebb7 Add support for volume v2 API
Added following commands for volume V2 API:
volume show
volume delete
volume type show
volume type delete
snapshot show
snapshot delete
backup show
backup delete

Implements: blueprint volume-v2
Change-Id: I68bd303c194f304ad15f899d335b72a8bf3ebe10
2015-05-30 11:26:14 -07:00
Matt Riedemann
1f2b0d6048 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
Jenkins
f44eb10065 Merge "Add cli tests for --verify and friends" 2015-05-29 21:03:03 +00:00
Jenkins
a158039541 Merge "Use ostestr for test runs" 2015-05-29 20:47:09 +00:00
Matthew Treinish
1effca8e6f Use ostestr for test runs
This commit switches to use ostestr for running tests. ostestr
integrates the subunit-trace output that other projects use for test
output. (in addition to some other ui niceties)

Change-Id: Ib5b5225b2a7bfb7897e1efe55181389d1ae095cb
2015-05-29 11:31:15 -04:00