1778 Commits

Author SHA1 Message Date
Steve Martinelli
51e3105468 Add release notes for 2.0.0
Change-Id: I878609870701abaef60d49813b3184f473d936bf
2015-12-01 16:13:43 -06:00
Tang Chen
106f928cb6 Support "server list" searching by both image name and ID.
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
2015-12-01 06:59:22 +00:00
Tang Chen
0069a01967 Support "server list" searching by both flavor name and ID.
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
2015-12-01 06:59:08 +00:00
Steve Martinelli
727792da17 autodocument commands from plugins using stevedore.sphinxext
conflicting command names are a painpoint, so is manually updating
a list. let's autodocument the commands that are being use by
existing osc supporters.

Change-Id: If37d81dfd57cc79803668b64be1ccd776e319572
2015-12-01 01:23:56 -05:00
Jenkins
cb73e781e0 Merge "Introduce FakeVolume class" 2015-12-01 04:20:45 +00:00
Jenkins
b221f2ceac Merge "Add --limit option to "server list" command." 2015-12-01 03:00:52 +00:00
Tang Chen
43c11c356b Add --limit option to "server list" command.
This option will limit the total amount of items the command will list up.

Change-Id: I46af0d479d795ebb6a74585d0f76629dd940b117
2015-12-01 10:12:58 +08:00
Jenkins
fc299fd190 Merge "Updated from global requirements" 2015-12-01 02:00:56 +00:00
Tang Chen
b36b477e81 Add --marker option to "server list" command.
This option will give user a chance to display the server list
from wherever they want.

Change-Id: I92cca5e98cd473f1113a9106eb9d1f490694b1fe
2015-12-01 09:30:43 +08:00
Jenkins
bf95d74c2d Merge "Add a changelog to see all changes into tagged releases" 2015-12-01 00:42:29 +00:00
Jenkins
b4b1a84bf9 Merge "Remove LICENSE APPENDIX" 2015-12-01 00:42:26 +00:00
Jenkins
5ad7dcd899 Merge "Add unit testcases for "openstack flavor delete"" 2015-12-01 00:27:15 +00:00
Jenkins
fcc1c0d68a Merge "Consistency of the --all argument for snapshots" 2015-12-01 00:27:11 +00:00
Jenkins
e6057f088b Merge "Add project name/ID validation for "openstack quota show"" 2015-12-01 00:03:10 +00:00
Jenkins
10aa2d9b0f Merge "Add status column for "openstack image list"" 2015-11-30 23:47:15 +00:00
OpenStack Proposal Bot
cb31eb8363 Updated from global requirements
Change-Id: Ia957c7f6023e1ac976a291fd081538c90870c802
2015-11-30 16:55:12 -06:00
Steve Martinelli
43fbe569a5 Add a changelog to see all changes into tagged releases
in addition to release notes, it'll be nice to also see the
changelog that happened between releases.

Change-Id: I4548be22c377ec12f0398a248391384126506715
2015-11-30 16:30:42 -05:00
Jenkins
0cdfa62383 Merge "Remove py26 support" 2015-11-30 20:06:14 +00:00
Jenkins
e63de0db2d Merge "Add --marker option to "server list" command." 2015-11-30 18:58:14 +00:00
Lingxian Kong
aca279a983 Integrating mistralclient with openstackclient
Change-Id: Ie54d7c15366a8272eefa94c0d8d2430428bdc590
Depends-On: Ic099aaec88377a76a17700c33fed944e52ec5633
2015-12-01 00:25:36 +08:00
Jenkins
cbd4f67b04 Merge "Add testcases for compute.v2.service" 2015-11-30 13:09:59 +00:00
xiexs
eb8672978c Add testcases for compute.v2.service
Add a set of testcases to test the classes of
ListService and SetService in the compute.v2.service.
And to be consistent with cinder term, use service_binary
to represent the service binary.

Change-Id: I9fe740f07c9ce3afdba7b7cca152d614170abb96
2015-12-01 10:09:54 +08:00
Jean-Philippe Evrard
9168373b3d Consistency of the --all argument for snapshots
This change is inspired by the volume.py.
It allow the user to use openstack snapshot list --all.

Closes-Bug: #1517386

Change-Id: I72a53fcd0c5c5af539cd88b37e71b4331fa67473
2015-11-30 12:54:19 +00:00
Jenkins
12cc6347e5 Merge "Use is_public to set access of volume type" 2015-11-30 10:39:16 +00:00
Jenkins
b920245f10 Merge "Add "openstack server unshelve" into OSC" 2015-11-30 10:32:13 +00:00
Jenkins
78a7eaae0b Merge "Add command wrapper doc" 2015-11-30 10:28:28 +00:00
xiexs
31c6957362 Introduce FakeVolume class
Introduce FakeVolume to improve the current volume unittest framework
with following two advantages:
1. generate more than one faking volumes
2. all faking volumes generated by random

Change-Id: I9d56efa4fd4f03c82cd4e29622b6312566dbc453
Implements: blueprint improve-volume-unittest-framework
2015-11-30 04:23:47 -05:00
xiexs
0eecedc0b6 Add unit testcases for "openstack flavor delete"
Change-Id: If23a71c678193e5c9c91300fddd17e79f674bf82
2015-11-30 00:48:32 -05:00
xiexs
0ccd2a8108 Add project name/ID validation for "openstack quota show"
A validation is necessary to check the existence of project.
This patch is similar to Ia2d8c96527820e25b074e6486d3f39c5ad7eae60.

Change-Id: Id8895ba7a21ecad05942619a82a87c0dc68eae53
2015-11-29 22:30:04 -05:00
xiexs
342fd158e9 Add status column for "openstack image list"
Actually, the status column is useful for the user.
So, it`s better to output this info by default (or, user had
to specify the extra option, i.e. --long).

Change-Id: Id2a9f86f0de5310f8f5ff9a46bf1b7411094b519
Closes-Bug: #1519181
2015-11-29 20:37:40 -05:00
Jenkins
27869c0f3f Merge "Remove old fake flavor data." 2015-11-29 19:46:44 +00:00
Jenkins
691ca98006 Merge "Use FakeFlavor in TestServerCreate." 2015-11-29 19:46:41 +00:00
Jenkins
883278f359 Merge "User FakeFlavor in TestServerResize." 2015-11-29 15:30:53 +00:00
Jenkins
fda84a277f Merge "Use FakeFlavor in TestFlavorUnset." 2015-11-29 13:26:49 +00:00
Jenkins
d6ac1e9205 Merge "Use FakeFlavor in TestFlavorSet." 2015-11-29 12:14:58 +00:00
Jenkins
87aa46e5ca Merge "Use FakeFlavor in TestFlavorList." 2015-11-29 12:07:05 +00:00
Jenkins
c368d1b9b4 Merge "Introduce class FakeFlavor to fake one or more flavors." 2015-11-29 09:36:46 +00:00
venkatamahesh
e2d0684876 Change the home-page value in setup.cfg
Change-Id: Ib0ea7b2b6271f3fb3d0818c7fa52a51682658810
2015-11-29 02:02:57 +00:00
Tang Chen
d236a783d2 Remove old fake flavor data.
The new class FakeFlavor has been introduced to fake one or more flavors.
So use it and remove the old fake flavor data.

Change-Id: Ie3a33b36ae6e597c6a0b1d17ad13c73cf4b73bc9
Implements: blueprint improve-flavor-unit-test
2015-11-28 16:52:03 +08:00
Tang Chen
b7f62058ad Use FakeFlavor in TestServerCreate.
Change-Id: Ib82f845258b1ad78cbc8b23d28fa42e7ccc8097a
Implements: blueprint improve-flavor-unit-test
2015-11-28 16:52:01 +08:00
Tang Chen
c5a55d1370 User FakeFlavor in TestServerResize.
Change-Id: Iac9b4583befaa4eb79ec59c39b97c613884ef2f7
Implements: blueprint improve-flavor-unit-test
2015-11-28 16:24:41 +08:00
Tang Chen
db516b2c96 Use FakeFlavor in TestFlavorUnset.
Change-Id: Ifbd360db39d380efd9632300367b13283ac75f54
Implements: blueprint improve-flavor-unit-test
2015-11-28 16:14:18 +08:00
Tang Chen
dfbf41c55f Use FakeFlavor in TestFlavorSet.
Change-Id: I335298b07afb3f969c76748527dda06cb5393fa8
Implements: blueprint improve-flavor-unit-test
2015-11-28 16:14:12 +08:00
Tang Chen
8d42da5186 Use FakeFlavor in TestFlavorList.
Change-Id: I3595877bed41bc476934ca924f1f9c8c0ad79176
Implements: blueprint improve-flavor-unit-test
2015-11-28 16:14:04 +08:00
Tang Chen
0de260e8be Introduce class FakeFlavor to fake one or more flavors.
Change-Id: I1b20e7d50e478ce8114ca08aa455b7acad4ea7f5
Implements: blueprint improve-flavor-unit-test
2015-11-28 16:13:52 +08:00
Tang Chen
109672fecb Refactor: Move FakeFlavorResource to compute_fakes.py.
Just like FakeServer and FakeResource, FakeFlavorResource should be in compute_fakes.py.

Change-Id: I8315256fb90377605fa2190e24c9674f6aaf6efd
Implements: blueprint improve-flavor-unit-test
2015-11-28 15:25:39 +08:00
Tang Chen
f19ff68e59 Refactor: Abstract datalist out in TestFlavorList to avoid redundant code.
datalist has been set in each test case in TestFlavorList, which is not
necessary. This patch abstract it out and remove all redundant code.

Change-Id: I6f735f7d9fa29a8ab435adaef17ca559df1fdcee
Implements: blueprint improve-flavor-unit-test
2015-11-28 14:42:38 +08:00
Tang Chen
f9ca752177 Refactor: Abstract columns out in TestFlavorList to avoid redundant code.
The columns has been set in each test case of TestFlavorList, which is not
necessary. This patch abstract it out and remove all redundant code.

Change-Id: Ideb2872f073755ac251bd603fd906410ea86c4ef
Implements: blueprint improve-flavor-unit-tes
2015-11-28 14:05:20 +08:00
xiexs
af5dbf72c4 Add "openstack server unshelve" into OSC
The unshelve operation is not supported by OSC,
and this patch tries to add it.

Change-Id: Ic60a4616cb63ad21c1a3c8e02611da8bad3a8bd0
Implements: blueprint introduce-shelve-into-osc
2015-11-28 11:21:05 +08:00
Jenkins
785a1728d8 Merge "Fix a bug of "openstack volume delete"" 2015-11-27 15:22:07 +00:00