summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Refactor TestVolumeCreate to use FakeVolumexiexs2016-02-021-67/+66
| | | | | | | | Class FakeVolume should be used in volume tests. Change-Id: Idf7d3e2a0654cd7d7993f169c4743b1d38902f1b Implements: blueprint improve-volume-unittest-framework Co-Authored-By: Tang Chen <chen.tang@easystack.cn>
* Trivial: Fix wrong comment in test_image.pyTang Chen2016-02-021-1/+3
| | | | | | Code in test_image.py has nothing to do with server. Change-Id: Ia73d7b99effb394c5db9635fee6da350b0b1086b
* Merge "Consume openstackclient.common.command in subnet/port"Jenkins2016-02-022-4/+3
|\
| * Consume openstackclient.common.command in subnet/portAkihiro Motoki2016-02-022-4/+3
| | | | | | | | | | | | | | | | Follow-up patch of https://review.openstack.org/#/c/269613/ network/v2/subnet and port still use cliff classes directly. This patch fixes it. Change-Id: If9d90e5151ece7f4cf1e0d6fd2f32919865f2f2e
* | Merge "Updated from global requirements"Jenkins2016-02-021-1/+1
|\ \
| * | Updated from global requirementsOpenStack Proposal Bot2016-02-021-1/+1
| | | | | | | | | | | | Change-Id: I2f00e8ff1609d76c2ab20226f2b4503231fdb003
* | | Merge "Fix showing network quotas for a project"Jenkins2016-02-023-11/+37
|\ \ \
| * | | Fix showing network quotas for a projectRichard Theis2016-02-023-11/+37
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OpenStack SDK is now used for the network client. However, the 'openstack quota show' command wasn't updated for the client change. As a result, the command will fail to show network quotas when a project name is specified. For example: $ openstack quota show admin 'Proxy' object has no attribute 'show_quota' This patch set fixes the command by using the OpenStack SDK to get network quotas for a project. Change-Id: I59a7b6780a7b80cd09e79d40d214751b25d3016e Related-To: blueprint neutron-client Closes-Bug: #1528249
* | | Merge "Add missing release notes"Jenkins2016-02-0210-0/+49
|\ \ \ | |_|/ |/| |
| * | Add missing release notesDean Troyer2016-02-0210-0/+49
| |/ | | | | | | | | | | | | Add release notes for the user-visible features added since the 2.0.0 release Change-Id: I753a894f1a3f6eef3eef50661ee66c729a2567f4
* | log take_action parameters in a single placeAkihiro Motoki2016-02-0271-1391/+242
|/ | | | | | | | | | | | Previously each command logs take_action parameters explicitly by using @utils.log_method decorator or log.debug(). Some commands have no logging. This commit calls a logger in the base class and drops all logging definition from individual commands. Closes-Bug: #1532294 Change-Id: I43cd0290a4353c68c075bade9571c940733da1be
* Merge "Revert "Skip identity v2 functional tests""Jenkins2016-02-029-24/+9
|\
| * Revert "Skip identity v2 functional tests"Richard Theis2016-02-019-24/+9
| | | | | | | | | | | | | | | | This reverts commit 5032dbc8074d5133c6b71610cd57d3c8da07c9b9 based on [1]. [1] https://review.openstack.org/#/c/274703/ Change-Id: Ic10ef7c37d71e452fbc4bd36e28be79d669b4e3f
* | Merge "Add availability zone support for network commands"Jenkins2016-01-314-3/+51
|\ \
| * | Add availability zone support for network commandsBrad Behle2016-01-284-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add --availability-zone-hint parm to network create. Also add availability_zones and availability_zone_hints to the network list and network show commands Change-Id: Ib4dc2e3e7897939be7bef6b25a095c8222b885bc Partially-implements: blueprint neutron-client
* | | Merge "Update translation setup"Jenkins2016-01-315-7/+7
|\ \ \ | |_|/ |/| |
| * | Update translation setupAkihiro Motoki2016-01-295-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow new infra setup for translations, see spec http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html for full details. This basically renames python-openstackclient/locale/python-openstackclient.pot to openstackclient/locale/openstackclient.pot. For this we need to update setup.cfg. Update also domain name in i18n.py. Change-Id: I89fad12f20775c8b7cd228348ff82a77488e6ab2
* | | Skip identity v2 functional testsRichard Theis2016-01-299-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DevStack now uses identity v3 by default thus causing OSC to only load openstack.identity.v3 commands. This prevents running functional tests on openstack.identity.v2 commands. As a result, this patch set skips all identity v2 functional tests to unblock the gate. Change-Id: I066187318be71792a966fa21226fab0d406c3758 Partial-Bug: #1539780
* | | Updated from global requirementsOpenStack Proposal Bot2016-01-281-1/+1
|/ / | | | | | | Change-Id: If070122805497e0943918900c6d1f6a54faef37a
* | Merge "Remove the Tuskar client"Jenkins2016-01-283-4/+0
|\ \
| * | Remove the Tuskar clientDougal Matthews2016-01-273-4/+0
| | | | | | | | | | | | | | | | | | The Tuskar project is now inactive and has been archived. Change-Id: I4c7cb50560b40ba1bc130be5bdc9446a46b09c24
* | | Merge "Use correct terminology for subnets"Jenkins2016-01-273-5/+5
|\ \ \ | |/ / |/| |
| * | Use correct terminology for subnetsDean Troyer2016-01-273-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenStack uses 'CIDR' incorrectly in many places. We are not going to perpetuate that usage. The correct name here is simply 'subnet' as the data is the network address for the subnet, in CIDR notation. Also, some additional cleanups as suggested in comments to https://review.openstack.org/#/c/84782 Depends-on: I3c0748074a6511ff92500516b3129886d2476eed Change-Id: Ib44c49dc1739ce7d881432e482dd16f8928eef49
* | | Merge "Updated from global requirements"Jenkins2016-01-271-1/+1
|\ \ \
| * | | Updated from global requirementsOpenStack Proposal Bot2016-01-261-1/+1
| | | | | | | | | | | | | | | | Change-Id: I0bd39534777eb919810b6a1b9c8117cdcd61ff2c
* | | | Merge "Add releasenote for 'subnet list' command support"Jenkins2016-01-271-0/+5
|\ \ \ \
| * | | | Add releasenote for 'subnet list' command supportLingxian Kong2016-01-251-0/+5
| | |/ / | |/| | | | | | | | | | | | | | Change-Id: I415dfe4b752dbf9dd4d5b052e29001a7a1d0ef99 Depends-On: I3c0748074a6511ff92500516b3129886d2476eed
* | | | Merge "Subnet List"Jenkins2016-01-276-0/+268
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Subnet ListTerry Howe2016-01-256-0/+268
| | | | | | | | | | | | | | | | | | | | | | | | Subnet list command Partially implements: blueprint neutron-client Partial-Bug: #1523258 Change-Id: I3c0748074a6511ff92500516b3129886d2476eed
* | | Merge "Add router functional tests"Jenkins2016-01-251-0/+50
|\ \ \
| * | | Add router functional testsRichard Theis2016-01-251-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add functional tests for the "os router" commands. Change-Id: I99045e6e2f548ac4206afcdb61940180e609a6bc Partial-bug: #1519503 Partially-implements: blueprint neutron-client
* | | | Updated from global requirementsOpenStack Proposal Bot2016-01-232-2/+2
| | | | | | | | | | | | | | | | Change-Id: Iafdb2a4841ff9a9f643182f13ff1bcec47e3adb2
* | | | Merge "Refactor abstract columns and datalist out in image and object test ↵Jenkins2016-01-236-171/+106
|\ \ \ \ | |/ / / |/| | | | | | | cases"
| * | | Refactor abstract columns and datalist out in image and objectSaiKiran2016-01-236-171/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test cases columns and datalist has been set in each test case in image and object which is not necessary. This patch abstract it out and remove all redundant code. Change-Id: Ie6aa3fa27ab2a468c67da31209107517259631c2 Related-Bug: 1532384
* | | | Merge "Support listing volume availability zones"Jenkins2016-01-226-26/+224
|\ \ \ \
| * | | | Support listing volume availability zonesRichard Theis2016-01-146-26/+224
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the "os availability zone list" command to support listing volume availability zones along with the currently listed compute availability zones. This adds a --compute and --volume option to the command in order to select the availability zones to list. By default, all availability zones are listed. If the Block Storage API does not support listing availability zones then an warning message will be issued. Change-Id: I8159509a41bd1fb1b4e77fdbb512cf64a5ac11a9 Closes-Bug: #1532945
* | | | | Merge "Refactor "os availability zone list""Jenkins2016-01-225-2/+201
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | Refactor "os availability zone list"Richard Theis2016-01-145-2/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the "os availability zone list" command to make it a common command instead of a compute-only command. Since availability zones are common to compute, volume and network (new), this refactoring allows availability zone support to be added for volume and network. In addition to the refactor, unit and functional tests were added. Change-Id: I63e9d41d229b21cd38e5a083493042c096d65e05 Partial-Bug: #1532945
* | | | Merge "Refactor: Abstract columns and datalist out in volume test cases"Jenkins2016-01-227-603/+226
|\ \ \ \
| * | | | Refactor: Abstract columns and datalist out in volume test casesSaiKiran2016-01-207-603/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | columns and datalist has been set in each test case in volume, which is not necessary. This patch abstract it out and remove all redundant code. Change-Id: I3a09d5d2db86da986bdcfbf2310978ced181017d
* | | | | Updated from global requirementsOpenStack Proposal Bot2016-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I89081053923a81260111dbfefd307b80e3858caf
* | | | | Merge "Initialize activation status"Jenkins2016-01-211-0/+1
|\ \ \ \ \
| * | | | | Initialize activation statusTerry Howe2016-01-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | activation_status throws an exception if the image set fails because it is not initialized. Change-Id: Iff6d5a8844eed954fb1c0bcea96118b99ac6bcf4
* | | | | | Merge "Change --owner to --project in image commands"Jenkins2016-01-216-52/+204
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Change --owner to --project in image commandsDean Troyer2016-01-156-52/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * image create and image set now use --project to specify an alternate project to own the image * --owner is still silently accepted but deprecated, add warning messages * --project and --owner are mutually exclusive to prevent precedence issues Closes Bug: 1527833 Change-Id: Iccb1a1d9175ef9b5edcd79d294607db12641c1f0
* | | | | | Merge "log_method: get logger from decorated method if unspecified"Jenkins2016-01-212-99/+44
|\ \ \ \ \ \
| * | | | | | log_method: get logger from decorated method if unspecifiedAkihiro Motoki2016-01-202-99/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes 'log' optional. 'log' attribute of each command class does not exist when the class is defined because 'log' is now setup dynamically when a class is instantiated. Instead log_method looks for a logger from a decorating method. compute.v2.server is changed in this commit as an example. Change-Id: Ic4d128f8e027d3b8e6f884f31369e9085c0f0871 Partial-Bug: #1532294
* | | | | | | Refactor abstract columns and datalist out in compute test casesSaiKiran2016-01-213-167/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | columns and datalist has been set in each test case in compute, which is not necessary. This patch abstract it out and remove all redundant code. Change-Id: I5e8423722416ea31fdced4c932ed141de90028ab Closes-Bug: #1531816
* | | | | | | Merge "Set up logger of each command by metaclass"Jenkins2016-01-213-22/+80
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | / | |_|_|_|_|/ |/| | | | |
| * | | | | Set up logger of each command by metaclassAkihiro Motoki2016-01-203-22/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compute.v2.flavor is changed in this commit as an initial example. Partial-Bug: #1532294 Change-Id: I262af6ade0ae03fbe1cd2ad198faf4ebb4ecf7ce