2607 Commits

Author SHA1 Message Date
Jenkins
9da02d14ea Merge "fix endpoint show help" 2016-05-26 22:10:23 +00:00
sunyajing
9e9e4e6f59 fix endpoint show help
endpoint show command can also work on service name or type or ID option

Change-Id: I43c8df4bc093d4130cf33fd2520736ce9077dc82
2016-05-26 19:40:26 +08:00
Jenkins
0ff7d6dc69 Merge "Release notes cleanup" 2016-05-25 19:28:26 +00:00
Jenkins
0d8dab6288 Merge "keystone: fix catalog output when region is unset" 2016-05-25 18:56:14 +00:00
Jenkins
646f702958 Merge "Refactor service unit tests" 2016-05-25 15:19:58 +00:00
Julien Danjou
e44bb009d3 keystone: fix catalog output when region is unset
If no region is set in Keystone, null is deserialized as None and the
region has None has value, which triggers a type error when building the
output string.

This patch fixes that.

Change-Id: I7637dc2595655cf452f38308f99fe66ac782e16d
2016-05-25 16:13:48 +02:00
Dean Troyer
99031cf1ed Release notes cleanup
Preparing for the next release

Change-Id: Ia185063d12d4bd235170b06c3da400e93cd934da
2016-05-25 08:47:49 -05:00
Tang Chen
8ce5d90136 Refactor service unit tests
Add a FakeService class, and refactor service unit tests
to use this class.

Change-Id: I650ad83386a58205ebe42274d2bf2f508436bfa6
2016-05-25 13:06:39 +08:00
Jenkins
f97fa2e6d2 Merge "Search by user defined ID for service providers" 2016-05-25 02:44:56 +00:00
Jenkins
e45b1c63f4 Merge "Devref: Command Beta" 2016-05-25 00:08:55 +00:00
Jenkins
2402dcfc35 Merge "Refactor TestVolumeShow with FakeVolume" 2016-05-24 23:30:56 +00:00
Jenkins
478b776937 Merge "Search by user defined ID for identity providers" 2016-05-24 23:30:22 +00:00
Steve Martinelli
58094bff80 Search by user defined ID for service providers
IDs for service providers can be user defined (like, Bob). This
causes issues with the usual get by ID method.

Keystone server side has implemented changes to search by ID when
listing, which should resolve the issue with minimal changes to
the client side.

Change-Id: Ic705806e4bc7bb24f946a1fce803a0a0a4d788c1
Closes-Bug: 1555830
2016-05-24 18:45:58 +00:00
Jenkins
086c3ab8fa Merge "Fix i18n support for help and error messages in compute" 2016-05-24 11:54:14 +00:00
OpenStack Proposal Bot
5ae8f1b7d5 Updated from global requirements
Change-Id: Ia94ac7e112817cfcea5e446e7966bb18e8dd9afc
2016-05-24 03:16:04 +00:00
Tang Chen
5398c96e2a Fix i18n support for help and error messages in compute
Change-Id: Id6eebcb48d1b7b49b6636524506294edbc44a83f
Partial-bug: #1574965
2016-05-24 11:03:49 +08:00
Jenkins
e3f169280c Merge "i18n support for help and error messages in cinder" 2016-05-24 01:47:22 +00:00
Jenkins
062d57ff62 Merge "Add some functional tests for commands in VolumeV2" 2016-05-23 20:32:30 +00:00
Jenkins
59f8e32674 Merge "Add network support for "quota set"" 2016-05-23 20:13:35 +00:00
Jenkins
26865846bf Merge "Add FakeType class and update volumetype test in VolumeV2" 2016-05-23 19:52:34 +00:00
Jenkins
02bca14a4b Merge "Add FakeSnapshot class and update snapshot test in VolumeV2" 2016-05-23 19:52:03 +00:00
Steve Martinelli
21530d026e Search by user defined ID for identity providers
IDs for service providers can be user defined (like, Bob). This
causes issues with the usual get by ID method.

Keystone server side has implemented changes to search by ID when
listing, which should resolve the issue with minimal changes to
the client side.

Change-Id: Ic58df22b3445d3293a8e1c76c5da79badebf6528
Closes-Bug: 1479837
2016-05-23 15:18:11 -04:00
Sheel Rana
53e05e7c2d i18n support for help and error messages in cinder
Change-Id: I98fbc959034fe0530966291643b381855801de20
2016-05-23 18:04:36 +00:00
Jenkins
17bc850440 Merge "Add functional tests for server group in ComputeV2" 2016-05-23 07:48:30 +00:00
Huanxuan Ao
5f69894753 Add FakeType class and update volumetype test in VolumeV2
This patch adds FakeType class and update unit tests for
volume type with FakeType class

Change-Id: I86ecc68dd1a1e919f3325cd9456974a0cfadbe61
2016-05-23 14:16:39 +08:00
Huanxuan Ao
4d44a3c13f Add some functional tests for commands in VolumeV2
VolumeV2 lacked functional tests for qos specs
and volume type commands, so I add them.
These tests are quite similar to those in v1,just
three difference:
1.Importing functional.common.test instead of
functional.tests.volume.v1.common
2.Adding test_volume_type_set_unset_project()
in test_volume_type.py.
3.Adding a test for "qos unset" command in
test_qos.py

Change-Id: Ic50e8c49ef01ac967c01ec41fb3f04cd51fea9e4
2016-05-23 12:19:49 +08:00
Jenkins
f44416b750 Merge "Fix image tests to use warlock resources" 2016-05-21 23:04:50 +00:00
OpenStack Proposal Bot
6c13212725 Updated from global requirements
Change-Id: I16dd97fa5cb3d7e008c9d3c357fe31f7c081c492
2016-05-21 15:52:23 +00:00
Huanxuan Ao
dc71d16529 Add FakeSnapshot class and update snapshot test in VolumeV2
Add FakeSnapshot class and update unit tests for snapshot
commands with the FakeSnapshot class.

Change-Id: If039a48b9d5f8430cc3d041b8c7ec30af8ff0e03
2016-05-21 17:34:04 +08:00
Huanxuan Ao
e10a5979bc Add functional tests for server group in ComputeV2
Change-Id: I43a6ce3a6d976f3d1bd68c0483c929977b660f0d
2016-05-21 16:06:17 +08:00
Dean Troyer
c3d4810850 Fix image tests to use warlock resources
We have been testing (incorrectly) Image v2 using our usual
FakeResource objects, when the v2 API actually uses warlock
schema modelled resources.

Bring this to the tests (TestImageSet was already doing this)

Change-Id: Ia6ed3a8e28a8961f770c241b49d47cce9ff328d3
2016-05-20 07:07:16 -05:00
Jenkins
a68576b34b Merge "Avoid TypeError on message object additions" 2016-05-20 06:37:03 +00:00
Madhu Mohan Nelemane
a4d4e81c88 Avoid TypeError on message object additions
Change-Id: I634c1e158e93eeb55ab17fef8a0715b6678dffec
Closes-Bug: #1575787
2016-05-19 18:07:53 -07:00
Jenkins
be081ebb44 Merge "Fix i18n support for help and log.warning in image" 2016-05-19 20:19:36 +00:00
Fang Zhen
b92cf77fb5 Add network support for "quota set"
The "quota set" command support compute and volume quotas previously.
This patch add support network.

Partially-implements: blueprint neutron-client-quota
Closes-bug: 1489441

Change-Id: I9d297f52bc30614b3493f09ed15f8f1d3f8ff952
2016-05-19 20:42:59 +08:00
Xiaoyang Zhang
6c8e0dc1df Fix i18n support for help and log.warning in image
Change-Id: I6e2764aaf4b8c0efa78872646a7b3482ba044dc8
2016-05-19 20:34:46 +08:00
Jenkins
35ea7a9baa Merge "remove #noqa from i18n imports" 2016-05-19 09:08:57 +00:00
Jenkins
795656184e Merge "Pep8 environment to run on delta code only" 2016-05-18 20:39:42 +00:00
Jenkins
7a0845ec11 Merge "Add support of setting snapshot state" 2016-05-18 16:49:07 +00:00
OpenStack Proposal Bot
78c20f6f38 Updated from global requirements
Change-Id: Ib27d5b23d33a72da7b9eed8f1861de70ae586c85
2016-05-18 02:40:12 +00:00
Jenkins
c655569628 Merge "Add ip version filter to subnet list" 2016-05-17 22:28:06 +00:00
Jenkins
dcc8256982 Merge "Add FakeBackup class and updata backup unittest in volumeV2" 2016-05-17 17:20:07 +00:00
ting.wang
0fa2e8df92 Refactor TestVolumeShow with FakeVolume
In the meantime, add some static methods in FakeVolume for ease of use
and add info() method with "property" decorator in FakeResource to allow
those static methods to get fake information.

Change-Id: I98ad520f32afd529fda77a4592f645130282537f
Co-Authored-By: xiexs <xiexs@cn.fujitsu.com>
Implements: blueprint improve-volume-unittest-framework
2016-05-17 20:14:18 +08:00
Jenkins
5dfedd6445 Merge "Enhance exception handling for "network delete" command" 2016-05-17 03:04:42 +00:00
Huanxuan Ao
4956c354b2 Add FakeBackup class and updata backup unittest in volumeV2
Change-Id: I39762bedaeaaf1894f48912ca1b7d59ab50f9f78
2016-05-17 09:58:05 +08:00
Jenkins
cb068d8c68 Merge "Fix i18n support for help and error msg in network" 2016-05-16 23:33:23 +00:00
Jenkins
948c76b0a4 Merge "Support X.latest format for OS_COMPUTE_API_VERSION" 2016-05-16 22:57:28 +00:00
Jenkins
3d12ae8e03 Merge "Add VLAN Transparent option to `osc network`" 2016-05-16 22:57:25 +00:00
Jenkins
f0e64eb55a Merge "Refactor TestRemoveProjectImage with FakeImage class" 2016-05-16 22:51:21 +00:00
Jenkins
11be59db8c Merge "Added --no-route to the router set command" 2016-05-16 22:51:15 +00:00