summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Refactor TestListNetwork: Use TestNetwork in TestListNetwork"Jenkins2015-12-061-51/+44
|\
| * Refactor TestListNetwork: Use TestNetwork in TestListNetworkTang Chen2015-12-051-51/+44
| | | | | | | | | | | | | | | | | | | | | | | | Abstract cloumns and data out in TestListNetwork so that they can be reused by each case. Also rename n_mock to network_list because it is used to fake function network_list(). Change-Id: I3f65f7bd6c587c167dc1cf8b6d34e003c6454e57 Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | Merge "Refactor TestDeleteNetwork: Use TestNetwork in TestDeleteNetwork"Jenkins2015-12-061-9/+19
|\ \ | |/
| * Refactor TestDeleteNetwork: Use TestNetwork in TestDeleteNetworkTang Chen2015-12-051-9/+19
| | | | | | | | | | | | | | | | | | Make TestDeleteNetwork inherit from TestNetwork, and have the same class architecture as the other test classes. Change-Id: I37047d7d13931b2a8f25665d6427efc05fc4f989 Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | Merge "Trivial: Import network.common as network_common in server.py"Jenkins2015-12-051-9/+13
|\ \
| * | Trivial: Import network.common as network_common in server.pyTang Chen2015-12-061-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | In server.py, identity.common is imported as identity_common. But network.common is imported as common, which is confuseing. This patch imports network.common as network_common. Change-Id: I74295bc88b22de398ab64fe556aedaca2453d17d
* | | Merge "Refactor TestCreateNetwork: Setup identity client in setUp() in ↵Jenkins2015-12-051-22/+18
|\ \ \ | | |/ | |/| | | | TestCreateNetworkIdentityV2"
| * | Refactor TestCreateNetwork: Setup identity client in setUp() in ↵Tang Chen2015-12-051-22/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TestCreateNetworkIdentityV2 This patch setup the v2 identity client only once in setUp() for TestCreateNetworkIdentityV2. Change-Id: I9d7a83e5e67e810a5c5f760fb9c40ce450f7dc99 Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | | Merge "Refactor TestCreateNetwork: Setup identity client in setUp() in ↵Jenkins2015-12-051-17/+24
|\ \ \ | |/ / | | | | | | TestCreateNetworkIdentityV3"
| * | Refactor TestCreateNetwork: Setup identity client in setUp() in ↵Tang Chen2015-12-051-17/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TestCreateNetworkIdentityV3 This patch setup the v3 identity client only once in setUp() for TestCreateNetworkIdentityV3. Change-Id: Ia20db01af85f868a88bf905174b8556979b0a39a Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | | Merge "Refactor TestCreateNetwork: Setup cmd in setUp() in ↵Jenkins2015-12-051-11/+12
|\ \ \ | |/ / | | | | | | TestCreateNetworkIdentityV2"
| * | Refactor TestCreateNetwork: Setup cmd in setUp() in TestCreateNetworkIdentityV2Tang Chen2015-12-051-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | This patch setup the tested command only once in setUp() for TestCreateNetworkIdentityV2. Change-Id: I689980674c9500c0c040d27164ec61f5fcf40ee5 Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | | Merge "Refactor TestCreateNetwork: Setup cmd in setUp() in ↵Jenkins2015-12-051-18/+15
|\ \ \ | |/ / | | | | | | TestCreateNetworkIdentityV3"
| * | Refactor TestCreateNetwork: Setup cmd in setUp() in TestCreateNetworkIdentityV3Tang Chen2015-12-051-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | This patch setup the tested command only once in setUp() for TestCreateNetworkIdentityV3. Change-Id: Iff5119fa24c9cc0caa72ff0e8f63e8dcac72470a Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | | Merge "Refactor TestCreateNetwork: Split TestCreateNetwork into two classes ↵Jenkins2015-12-051-1/+11
|\ \ \ | |/ / | | | | | | for identity v2 and v3"
| * | Refactor TestCreateNetwork: Split TestCreateNetwork into two classes for ↵Tang Chen2015-12-051-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identity v2 and v3 In TestCreateNetwork, both Identity v2 and v3 clients are tested. As a result, we should initialize the identity client again and again in each test function. To reduce redundant code, this patch split TestCreateNetwork to TestCreateNetworkIdentityV2 and V3. And then initialize the identity client only once in each of them. Change-Id: I349fe7f827524beb541efe7dd9460c534254b80c Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | | Merge "Refactor network test: Introduce TestNetworkv2 and TestNetwork to ↵Jenkins2015-12-052-0/+35
|\ \ \ | |/ / | | | | | | improve unit test of network"
| * | Refactor network test: Introduce TestNetworkv2 and TestNetwork to improve ↵Tang Chen2015-12-052-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unit test of network The class inherit architecture in network unit test is different from other test classes, which leads to lots of redundant code. This patch will make it the same as the other test classes. And it will be more convenience for the coming up refactor. Change-Id: I6f239dd54b9401ff2bbcf7ffdeb18769a450f573 Implements: blueprint osc-network-unit-test-refactor Related-to: blueprint neutron-client
* | | Merge "Trivial: Improve doc for "server create" command"Jenkins2015-12-052-8/+9
|\ \ \ | |_|/ |/| |
| * | Trivial: Improve doc for "server create" commandTang Chen2015-12-042-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | The following options of "server create" command support searching by both name and ID. So add this info into doc. --image, --volume, --flavor, --security. Change-Id: I93b167da58144e5de6c9996009b7ea2449fb4cd8
* | | Merge "Add --volume to Image `create`"Jenkins2015-12-041-5/+41
|\ \ \
| * | | Add --volume to Image `create`NiallBunting2015-11-201-5/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was previously part of the command, so added it in for backwards compatibility. This adds the --volume command and the complimentary --force command allowing users to create images from volumes. It seems it may not be possible to add it to image set v2. Change-Id: Ica36e70989f75d80959af3227f66708758fae68d
* | | | Merge "Trivial: Remove unuseful doc of "network list" command."Jenkins2015-12-041-5/+0
|\ \ \ \
| * | | | Trivial: Remove unuseful doc of "network list" command.Tang Chen2015-12-051-5/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | There is actually no "--dhcp" option in "network list" command. So remove the doc from .rst file. Change-Id: I481b260f99be635be4de8e6780206af47cdaa7ce
* | | | Merge "Introduce FakeImage class"Jenkins2015-12-041-0/+133
|\ \ \ \ | |/ / / |/| | |
| * | | Introduce FakeImage classxiexs2015-12-021-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce FakeImage to improve the current image unittest framework with following two advantages: 1. generate more than one faking images 2. all faking images generated by random Change-Id: Ide326fa2a047ddeea478bef97000083617a0b744 Implements: blueprint improve-image-unittest-framework
* | | | Merge "Updated from global requirements"Jenkins2015-12-031-2/+2
|\ \ \ \
| * | | | Updated from global requirementsOpenStack Proposal Bot2015-12-031-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I3ca62d29df56ec45bf1fe10d920c1f9ed5f5b4f1
* | | | | Merge "Support "server list" searching by both image name and ID."Jenkins2015-12-032-3/+10
|\ \ \ \ \
| * | | | | Support "server list" searching by both image name and ID.Tang Chen2015-12-012-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nova API only supports list servers searching by image ID. In OSC, we can support both image name and ID by mapping the name to ID. This patch also fix the inconsistent doc in .py and .rst files. Closes-Bug: 1521492 Change-Id: I70613843f82d74732bd32a457cd4a31aba57825f
* | | | | | Merge "Support "server list" searching by both flavor name and ID."Jenkins2015-12-032-3/+10
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Support "server list" searching by both flavor name and ID.Tang Chen2015-12-012-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nova API only supports list servers searching by flavor ID. In OSC, we can support both flavor name and ID by mapping the name to ID. This patch also fix the inconsistent doc in .py and .rst files. Partial-Bug: 1521492 Change-Id: I1d1a6aa91aef4e2846745babe8382481185fa96e
* | | | | | Merge "Add multi deletion testcase for openstack volume delete"Jenkins2015-12-031-8/+32
|\ \ \ \ \ \
| * | | | | | Add multi deletion testcase for openstack volume deletexiexs2015-12-021-8/+32
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Id8e6e8311e46e4c8644d41d773aeb27416ca6a7e
* | | | | | Merge "Fix exception when doing volume set operation"Jenkins2015-12-031-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix exception when doing volume set operationXi Yang2015-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The v2 SetVolume extends from show.ShowOne and returns None after setting volume operation. It will raise an exception. This patch is going to fix the issue by changing the parent class of SetVolume to command.Command. Change-Id: Iefa453fe4adad06f2a0601a052c01e74004be5b7 Closes-bug: 1521896
* | | | | | Merge "Convert 2.0 release notes to reno format"2.0.0Jenkins2015-12-0310-33/+51
|\ \ \ \ \ \
| * | | | | | Convert 2.0 release notes to reno formatDean Troyer2015-12-0210-33/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3706f78152c77837ba17218d68b57ac10563bfa7
* | | | | | | Merge "Add reno for release notes management"Jenkins2015-12-0210-0/+336
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Add reno for release notes managementDean Troyer2015-12-0210-0/+336
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | Change-Id: Iaaf3f9ca7cb431e41adfb2a052e01e2240a63a07
* | | | | | Trivial: Reorder doc of "server shelve" command to keep alphabetic order.Tang Chen2015-12-041-15/+15
|/ / / / / | | | | | | | | | | | | | | | Change-Id: I616154a8c958b6980233014c7ae1c4544283d72d
* | | | | Merge "Add release notes for 2.0.0"Jenkins2015-12-021-0/+35
|\ \ \ \ \
| * | | | | Add release notes for 2.0.0Steve Martinelli2015-12-011-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I878609870701abaef60d49813b3184f473d936bf
* | | | | | Merge "Switch to ksa Session"Jenkins2015-12-0215-39/+41
|\ \ \ \ \ \
| * | | | | | Switch to ksa SessionDean Troyer2015-12-0215-39/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change session imports to keystoneauth1 * Change keystoneclient.exception imports to keystoneauth1 * Change exceptions raised from internal API from keystoneclient to openstack.common Change-Id: I046d89f561d6fe04baae53726f9749d2e7fe2056
* | | | | | | Merge "Add class TestServerList to provide basic unit test for "server list" ↵Jenkins2015-12-021-0/+81
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | command."
| * | | | | | | Add class TestServerList to provide basic unit test for "server list" command.Tang Chen2015-12-021-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch provide a class to test "server list" command. Only one simplest case in this patch. Some of the options in "server list" are complicated. And the server object contains lots of attributes need to be handled in specific ways. So other test cases will be added in other patches. Change-Id: Id9fdba8f149bd74187aa42516067dacebc6962b5 Implements: blueprint osc-unit-test-framework-improvement
* | | | | | | | Merge "Enable setup_servers_mock() to take attributes param."Jenkins2015-12-021-1/+5
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | |
| * | | | | | Enable setup_servers_mock() to take attributes param.Tang Chen2015-12-021-1/+5
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setup_servers_mock() is now able to set methods to the fake servers. But it cannot set attributes. This patch enable it to do so. This will be useful in "server list" test cases. Change-Id: Ic30d750ebe4650244707a368cdd5d622a8f1b8ed Implements: blueprint osc-unit-test-framework-improvement
* | | | | | Merge "autodocument commands from plugins using stevedore.sphinxext"Jenkins2015-12-015-1/+47
|\ \ \ \ \ \ | |/ / / / / |/| | | | |