summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "osc-lib: command"Jenkins2016-06-1482-91/+83
|\
| * osc-lib: commandDean Troyer2016-06-1382-91/+83
| | | | | | | | | | | | | | Leave command.py and test_command.py as a sanity check during the deprecation period. Change-Id: I24e1b755cbfbcbcaeb5273ec0c9706b82384fc85
* | Merge "osc-lib: parseractions"Jenkins2016-06-1427-175/+37
|\ \ | |/
| * osc-lib: parseractionsDean Troyer2016-06-1327-175/+37
| | | | | | | | | | | | | | Leave parseractions.py and test_parseractions.py as a sanity check during the deprecation period. Change-Id: I1a7469b6d872284e0276502a1a287bc0b87f8f83
* | Merge "osc-lib: logs"Jenkins2016-06-144-186/+19
|\ \ | |/
| * osc-lib: logsDean Troyer2016-06-134-186/+19
| | | | | | | | Change-Id: I2a4d40cd72cc22e97a600751ae29c2309ebed28b
* | Merge "Fix i18n problems for common files in identity"Jenkins2016-06-142-20/+22
|\ \
| * | Fix i18n problems for common files in identityTang Chen2016-06-142-20/+22
| |/ | | | | | | | | | | | | Some missing parts in identity. Change-Id: I8777b845613d7d7df36ac3c198da552e11aaad1b Partial-bug: #1574965
* | Merge "Fix errors in flavor unit tests"Jenkins2016-06-141-24/+9
|\ \ | |/ |/|
| * Fix errors in flavor unit testsTang Chen2016-06-131-24/+9
| | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the problems below: 1. flavor.unset_keys() is not checked in flavor unit tests. So check them in the tests. 2. test_flavor_unset_no_project makes no sense. It is OK to specify ``--project ''`` without raising any exception. It can pass because in the test, we set nither project nor property. So remove this test. Change-Id: I04e537349936343b6d8c85b06bc6d0ba6bd41d6f
* | osc-lib: utilsDean Troyer2016-06-13113-548/+185
| | | | | | | | | | | | | | | | Use osc-lib directly for utils. Leave openstackclient.common.utils for deprecation period. Change-Id: I5bd9579abc4e07f45219ccd0565626e6667472f7
* | osc-lib: exceptionsDean Troyer2016-06-1352-62/+96
| | | | | | | | | | | | | | | | Use osc-lib directly for exceptions. Leave openstackclient.common.exceptions for deprecation period. Change-Id: Iea3e862302372e1b31ccd27f69db59b4953ca828
* | Merge "Moving authentication from keystoneclient to keystoneauth"Jenkins2016-06-1318-146/+330
|\ \
| * | Moving authentication from keystoneclient to keystoneauthNavid Pustchi2016-06-0918-146/+330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently OpenStackClient uses keystoneclient for authentication. This change will update OpenStackClient to use keystoneauth for authentication. All dependant test have been updated. Updating how auth_ref is set in the tests to use KSA fixtures had some racy side-effects. The user_role_list tests failed when they picked up an auth_ref that was a fixture. This exposed a weakness in ListUserRole that needed to be fixed at the same time re handling of unscoped tokens and options. Change-Id: I4ddb2dbbb3bf2ab37494468eaf65cef9213a6e00 Closes-Bug: 1533369
* | | Merge "Use osc-lib and set up deprecation warnings"Jenkins2016-06-133-520/+17
|\ \ \ | |_|/ |/| |
| * | Use osc-lib and set up deprecation warningsDean Troyer2016-06-103-520/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial use of osc-lib is behind the compatibility/deprecation modules that we will leave in place for a time for plugins to catch up. * openstackclient.common.exceptions * openstackclient.common.utils Module-level warnings are emitted directly on stderr since logging has not been configured yet. Change-Id: I79e57ce9523a20366bccaf9b949ab5906792ea0d
* | | Trivial: Fix coding style in examples in docTang Chen2016-06-131-10/+14
|/ / | | | | | | | | | | | | | | Now, we use i18n strings for help and log messages, and standardize the usage of logger. So fix those in the example in doc. Change-Id: Ibbc051b12133699811dd35a7e77a10de50ed8e44
* | Updated from global requirementsOpenStack Proposal Bot2016-06-091-1/+1
|/ | | | Change-Id: I729673d3c5e7f32ddf6f912d8ac5b7ca3b1cb394
* Merge "Make set/unset commands in network return normally when nothing ↵Jenkins2016-06-0913-38/+56
|\ | | | | | | specified"
| * Make set/unset commands in network return normally when nothing specifiedTang Chen2016-06-0813-38/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | set/unset commands should ends up normally instead of raising an exception when nothing is specified to modify. The main reason is: When nothing is specified, the command sets/unsets nothing, which is a normal behavior, and ends up normally. No API call fails. No error happens. This patch also adds a releasenote for both network, and volume commands that fix patch has been merged. Change-Id: I78c348066078decd350417a431f3b8bea8fcf9ef Partial-bug: #1588588
* | Merge "Fix network"Jenkins2016-06-094-7/+7
|\ \
| * | Fix networksunyajing2016-06-084-7/+7
| |/ | | | | | | | | | | | | modify ``columns, data`` to ``(columns, data)`` in network, to keep code consistence. Change-Id: I0522c499d1651b4ea948bebccbdfd520934e8e6a
* | Updated from global requirementsOpenStack Proposal Bot2016-06-081-1/+1
| | | | | | | | Change-Id: I944891584a7479c8d8bdf545af8a6af0460f42d5
* | Merge "Remove duplicate file logger formatter setting"Jenkins2016-06-081-2/+0
|\ \
| * | Remove duplicate file logger formatter settingRui Chen2016-06-081-2/+0
| |/ | | | | | | Change-Id: Ia7851a4266fa61658c48cc894163c6afb7252750
* | Clean up fakes.py in volumev2Huanxuan Ao2016-06-081-188/+0
|/ | | | | | | | | All of volumev2 fake classes are completed. Now the unit tests of volumev2 are using fake classes so that the old codes are useless and can be removed. Change-Id: I502a8a0b0404975744d3b208af3e95c8692e6c47
* Merge "Fix compute service set command"Jenkins2016-06-082-2/+2
|\
| * Fix compute service set commandsunyajing2016-06-082-2/+2
| | | | | | | | | | | | add ``Binary name`` to help msg of compute service set command. Change-Id: I5ed3824ec5bede250ce41f187835e8901b5e11fd
* | Merge "Error handling for KeyValueAction class."Jenkins2016-06-083-11/+15
|\ \
| * | Error handling for KeyValueAction class.Huanxuan Ao2016-06-083-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The set --property command requires that the input match the "key=value" type, but if the type don't match, the return value will be None, and the command still can be implemented successfully, this may confuse the users. I think we should raise exception if the argument type don't match "key=value". So I make some changes in KeyValueAction class in this patch. Change-Id: I14e64922faa7e083bc8b5e7e1cac41ef8117c224 Closes-Bug: #1589935
* | | Merge "Update unit test test_extension with fake class"Jenkins2016-06-085-159/+222
|\ \ \
| * | | Update unit test test_extension with fake classHuanxuan Ao2016-06-075-159/+222
| |/ / | | | | | | | | | | | | | | | | | | Add FakeExtension class in networkv2, computev2, volumev2, identityv2_0 and update unit test test/common/test_extension.py Change-Id: I94815de7801860edb7fa91a7d146455cab946652
* | | Merge "Fix i18n supports in commom"Jenkins2016-06-078-50/+83
|\ \ \
| * | | Fix i18n supports in commomHuanxuan Ao2016-06-078-50/+83
| |/ / | | | | | | | | | | | | | | | | | | | | | I checked all the files in openstackclient/common and fixed the missing i18n supprots. Change-Id: Id7f76a24aae663f5832ef9bcf1bd5a6b7081af24 Partial-bug: #1574965
* | | Merge "Release note cleanups for 2.6.0"2.6.0Jenkins2016-06-0710-27/+26
|\ \ \
| * | | Release note cleanups for 2.6.0Dean Troyer2016-06-0710-27/+26
| | | | | | | | | | | | | | | | Change-Id: I7c19cac77f1236c8241d18f2bdde83917e50fae9
* | | | Merge "Support error handling for "port delete" command"Jenkins2016-06-072-9/+76
|\ \ \ \ | |_|/ / |/| | |
| * | | Support error handling for "port delete" commandHuanxuan Ao2016-06-072-9/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Port delete" command supported deleting multi ports before but didn't support error handing, This patch add the error handling following the rules in doc/source/command-errors.rst. Change-Id: I4ea69f2279763626d6a27cad1ca0ee99822d016d Partially-Implements: blueprint multi-argument-network
* | | | Fix i18n support problems in identityTang Chen2016-06-0725-319/+364
| | | | | | | | | | | | | | | | | | | | Change-Id: I3b48d17850343051239b5b69e8b890dba32d3ac8 Partial-bug: #1574965
* | | | Merge "Fix errors for "volume type unset" command"Jenkins2016-06-073-3/+6
|\ \ \ \
| * | | | Fix errors for "volume type unset" commandHuanxuan Ao2016-06-063-3/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Normally, we can unset multi properties but the "volume type unset" command could not, because the action "append" was missed. So I add it and also fix the unit test and doc in this patch. Change-Id: I20470f2b7bb2a8d7f292cea498826669c3418c77
* | | | Merge "Add functional tests for IP availability"Jenkins2016-06-071-0/+53
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add functional tests for IP availabilityManjeet Singh Bhatia2016-06-061-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds functional tests for IP availability Partially-Implements: blueprint neutron-ip-capacity Change-Id: I1c1dc01801707fe8f0dc3c976e5d345d2b0db0ec
* | | | Merge "Fix release note links to (now) external docs"Jenkins2016-06-063-14/+33
|\ \ \ \
| * | | | Fix release note links to (now) external docsDean Troyer2016-06-063-14/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving the old release notes into the Reno releasenots tree broke the embedded :doc: roles. Restore these using sphinx.ext.extlinks to manage the URL to the OSC docs. Add the following aliases: * lpbug - generic Launchpad bug :lpbug:`123456` * oscbp - OSC blueprints :oscbp:`Blue Print <bp-name>` * oscdoc - OSC Docs :oscdoc:`Comamnd List <command-list>` Change-Id: Iecfdd666d961c35f0ccb3b9f10df1d2620cb099f
* | | | | Merge "Refactor SetService --enable/disable option"Jenkins2016-06-064-49/+57
|\ \ \ \ \
| * | | | | Refactor SetService --enable/disable optionTang Chen2016-06-044-49/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the following: 1. --enable/disable option should follow the rules in the doc below: http://docs.openstack.org/developer/python-openstackclient/command-options.html#boolean-options 2. "--disable-resion" is specified but not "--disable", an exception is raised instead of igoring "--disable-reason" option. Change-Id: I92e9234111e661bfe7119a8e19389a87c874ab0c
* | | | | | Merge "Make set/unset commands in volume return normally when nothing specified"Jenkins2016-06-069-47/+0
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Make set/unset commands in volume return normally when nothing specifiedTang Chen2016-06-049-47/+0
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set/unset commands should ends up normally instead of logging an error when nothing is specified to modify. The main reason is: When nothing is specified, the command sets/unsets nothing, which is a normal behavior, and ends up normally. No API call fails. No error happens. Change-Id: Ib03a512650e5da90aa1ef38019772448383d0d33 Partial-bug: #1588588
* | | | | Merge "Updated from global requirements"Jenkins2016-06-061-1/+1
|\ \ \ \ \