summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate project usage list commandDean Troyer2015-01-152-7/+25
| | | | | | | | | | | | | | | | | | | | | | | Rather than pointing the 'project usage list' entry point directly to ListUsage, this makes a ListProjectUsage subclass to alias the desired command and still allow for changing behaviour or issuing a deprecation messages. This implementation simply sets a new 'deprecated' attribute in the command class that cliff will use to skip this command when generating help output. The actual skipping of the command in help output is dependant on https://review.openstack.org/147349 merging in cliff, this review will simply have no effect on help output until a version of cliff with that update is present. The deprecation message printed is somewhat generic until https://review.openstack.org/147381 is merged in cliff. Until that is merged, the deprecation message will not have the name of the actual command given by the user in it, but rather the text 'this command'. Closes-bug: #1406654 Change-Id: Ie08d4f88d71a660fca1862405351109cd0aa86b6
* Merge "Rework role list v2 for --user and --project"Jenkins2015-01-131-2/+67
|\
| * Rework role list v2 for --user and --projectSteve Martinelli2015-01-101-2/+67
| | | | | | | | | | | | | | | | | | `os user role list` does the same as v3's `os role list`. We should rework v2's `role list` to basically call `os user role list` under the covers. Closes-Bug: #1409179 Change-Id: I9839f6be139d6a6a3f6bbf79957e218dd8e03fe3
* | Merge "Command doc: policy"Jenkins2015-01-131-29/+34
|\ \
| * | Command doc: policySteve Martinelli2015-01-121-29/+34
| | | | | | | | | | | | | | | | | | | | | Also tweaked a bunch of the code to not show 'blob', but 'rules' instead. Change-Id: I6db798d272ff416a77f169c0e912d2096fa02504
* | | Merge "Tweaks to the catalog doc and show command"Jenkins2015-01-131-1/+6
|\ \ \
| * | | Tweaks to the catalog doc and show commandSteve Martinelli2015-01-131-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Looks like providing a service id isn't working, so it the help message was reduced to just type and name. Added a bit more to the docs, too. Change-Id: Id7f8b48bdf99773ad55ca7f204f3c779f84633d5
* | | | Merge "Fine tune some of the helps commands"Jenkins2015-01-1318-28/+28
|\ \ \ \ | |/ / /
| * | | Fine tune some of the helps commandsSteve Martinelli2015-01-1320-30/+30
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | try and add some consistency with the show and delete commands. replace 'show x' with 'display x' change 'delete a y' with just 'delete y' Change-Id: I47dfa8ee23ac5c41b355796415eb515155832f65
* | | Upgrade hacking to 0.10Steve Martinelli2015-01-121-1/+1
| |/ |/| | | | | | | | | Also resolve the only error that was produced. Change-Id: Ic81ab01aa0cddc15bb27419d7fec3e5a6d4ec0c7
* | Merge "fix some small issues in catalog show"Jenkins2015-01-121-12/+7
|\ \
| * | fix some small issues in catalog showwanghong2015-01-121-12/+7
| |/ | | | | | | | | | | | | | | | | | | | | I think there are three issues we should fix: 1. wrong indentation of 'continue' 2. currently, name is optional for service, but according to the currrent logic, if a service doesn't have name attribute we will select it anyway 3. we always loop all catalogs Change-Id: I9fce66677affa396b6a12afea76e87cab9215a58
* | Command docs: add serviceDean Troyer2015-01-122-13/+25
|/ | | | | | | Co-Authored-By: Lin Hua Cheng <os.lcheng@gmail.com> Change-Id: Icd39e6d769fd4c4797fcf4ef9eb97c71ed166b3b Closes-Bug: #1404434
* Command doc: access tokenSteve Martinelli2015-01-091-9/+7
| | | | Change-Id: I1b7103e28273f0a63c7d6b6003317b9e69702b05
* Request token authorizeSteve Martinelli2015-01-092-12/+26
| | | | | | Command doc and tweaks to the code Change-Id: I8f251bf9ca77f16b01a509844e79ddde82048b0d
* Merge "Command doc: snapshot"Jenkins2015-01-091-11/+11
|\
| * Command doc: snapshotSteve Martinelli2015-01-091-11/+11
| | | | | | | | Change-Id: Ibe5cd0a8422788762e0c52b702b7bd54e6a46813
* | Merge "Fix up snapshot command"Jenkins2015-01-091-14/+115
|\ \ | |/
| * Fix up snapshot commandSteve Martinelli2015-01-091-14/+115
| | | | | | | | | | | | | | | | | | | | | | Several issues with the current snapshot command were resolved: * --long for list was added to include volume id/name, and properties * changed output from metadata to properties * added new option to set properties with 'snapshot set' * added new command to unset properties with 'snapshot unset' Change-Id: I5902cfe876cefada701d4d658a50a4282ff300d6
* | Merge "Request token creation docs + tweaks"Jenkins2015-01-092-13/+42
|\ \
| * | Request token creation docs + tweaksSteve Martinelli2015-01-082-13/+42
| | | | | | | | | | | | | | | | | | | | | Added command docs, and changed request token to take in name or id of a project, and also support a domain option. Change-Id: I87363274e5b7a0c687e234f5a4bcaaf166d28840
* | | Merge "Command doc: consumer"Jenkins2015-01-091-11/+11
|\ \ \ | |/ /
| * | Command doc: consumerSteve Martinelli2015-01-081-11/+11
| | | | | | | | | | | | Change-Id: Ie687e1d7f80810106a64204828299f9d143b8d7c
* | | Command doc: imageSteve Martinelli2015-01-092-14/+14
| | | | | | | | | | | | Change-Id: Ib1563b58351315dc2a44ad77882f8c834a1214c0
* | | Merge "Allow user list to filter by project"Jenkins2015-01-082-7/+93
|\ \ \
| * | | Allow user list to filter by projectSteve Martinelli2015-01-082-7/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a --project filter to `os user list`, which really calls the role assignment manager behind the scenes. Change-Id: I57a75018f12ed3acdf8f6611b6b58bd974f91da2 Closes-Bug: #1397251
* | | | Merge "Command doc: federation protocol"Jenkins2015-01-081-27/+39
|\ \ \ \
| * | | | Command doc: federation protocolSteve Martinelli2015-01-081-27/+39
| | | | | | | | | | | | | | | | | | | | Change-Id: I1289eb0caf31fca21c5c377cf13aebd1434a00ee
* | | | | Merge "Command doc: identity provider"Jenkins2015-01-081-18/+13
|\ \ \ \ \ | |/ / / /
| * | | | Command doc: identity providerSteve Martinelli2015-01-081-18/+13
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie73accfaa3d45205a2521e6e61efd16142c460b2
* | | | | Merge "Command doc: mapping"Jenkins2015-01-081-18/+21
|\ \ \ \ \ | |/ / / /
| * | | | Command doc: mappingSteve Martinelli2015-01-081-18/+21
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Also tweaked the code for `mapping set` as it was previously using cliff Show instead of cliff Command. Change-Id: I0ea1383a9f2dddf4b2f717b2aa16bbd60ab1720c
* | | | Merge "Command doc: backup"Jenkins2015-01-081-11/+11
|\ \ \ \ | | |_|/ | |/| |
| * | | Command doc: backupSteve Martinelli2015-01-081-11/+11
| | | | | | | | | | | | | | | | Change-Id: Iecd4dbddea637bd6540d94b37253a9ba434c9db3
* | | | Merge "Fixup backup list output"Jenkins2015-01-081-9/+45
|\ \ \ \ | |/ / /
| * | | Fixup backup list outputSteve Martinelli2015-01-081-9/+45
| |/ / | | | | | | | | | | | | | | | | | | | | | Name and Description were not appearing at all, and we didn't have a --long alternative, which had a bunch of useful information. Closes-Bug: #1408585 Change-Id: I7ca42a8d23ad60f6b9cc862799cb08a3e491b6e8
* | | Command docs: volumeSteve Martinelli2015-01-071-22/+23
| | | | | | | | | | | | Change-Id: Id1e500d5fb19ffdeb0d1bde9e22c3143c0873d0c
* | | Command doc: volume typeSteve Martinelli2015-01-051-7/+7
|/ / | | | | | | Change-Id: I7e36daa027639d6a782043d4181c1b328335975a
* | Merge "Add endpoint v3 docs"Jenkins2015-01-042-49/+69
|\ \ | |/ |/|
| * Add endpoint v3 docsDean Troyer2015-01-022-49/+69
| | | | | | | | | | | | (update: change version description formats for API versioning) Change-Id: I499ea1d80ad6ad6392468305f761e695d7261e33
* | Merge "Command docs: group"Jenkins2015-01-031-18/+21
|\ \
| * | Command docs: groupDean Troyer2015-01-031-18/+21
| | | | | | | | | | | | | | | | | | Fix up formatting for group command docs and help Change-Id: Icda79842d52da90d5eac2b0fdbc0d576d371378d
* | | Merge "type should be required for v2.0 service create"Jenkins2015-01-032-12/+104
|\ \ \
| * | | type should be required for v2.0 service createlin-hua-cheng2014-12-302-12/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the service name to be optional, mostly matching the cli arguments with v3 service create. Implemented the following changes on service create: - if only a single positional is present, it's a <type>. This is not currently legal so it is considered a new case. - if --type option is present the positional is handled as <name>; display deprecation message - if --name option is present the positional is handled as <type>. Making --type optional is new, but back-compatible - Made --name and --type mutually exclusive. - only '--name <service-name> <type>' shall appear in the help output Change-Id: I8fd4adba3d8cd00d5a8cacc2c494d99d492c45a3 Closes-Bug: #1404073
* | | | Merge "Command docs: ec2 credentials"Jenkins2015-01-021-6/+8
|\ \ \ \
| * | | | Command docs: ec2 credentialsDean Troyer2015-01-021-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ec2 credentials docs Change-Id: I1699d1c8e9859153557081966654646966a3268d
* | | | | Merge "Rename column to `default project id` for long listing v3 user"Jenkins2015-01-023-31/+45
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Rename column to `default project id` for long listing v3 userSteve Martinelli2015-01-023-31/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this column was coming up as empty, since user's have a `default project id`, not just `project id`. Change-Id: I3d7f7eb600e9526b9c6cc2a8c5d6009b9100b1f5
* | | | | Merge "Add docs for usage show/list"Jenkins2015-01-021-6/+6
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Add docs for usage show/listSteve Martinelli2014-12-311-6/+6
| | | | | | | | | | | | | | | | | | | | Change-Id: Iaf911d69a0b63d705f8789a4640018a428b87be6