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
Jenkins
e3f169280c
Merge "i18n support for help and error messages in cinder"
2016-05-24 01:47:22 +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
Sheel Rana
53e05e7c2d
i18n support for help and error messages in cinder
...
Change-Id: I98fbc959034fe0530966291643b381855801de20
2016-05-23 18:04:36 +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
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
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
7a0845ec11
Merge "Add support of setting snapshot state"
2016-05-18 16:49:07 +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
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
Jenkins
22e738c751
Merge "Refactor TestImageList with FakeImage class"
2016-05-16 22:46:09 +00:00
Jenkins
91fcca271e
Merge "Refactor TestAddProjectToImage with FakeImage class"
2016-05-16 22:46:02 +00:00
Jenkins
c471a97aef
Merge "Fix network router type display"
2016-05-16 22:39:53 +00:00
Manjeet Singh Bhatia
668bc028d1
Add ip version filter to subnet list
...
This patch will add argument ip-version to command
subnet list
Change-Id: If7458d4979e53aec7e2633c4f1779c3810f9a3f1
Closes-Bug: #1581179
2016-05-16 22:37:14 +00:00
reedip
00c149a28f
Add VLAN Transparent option to `osc network`
...
osc network set and network create now support
--transparent-vlan|--no-transparent-vlan options
to add/remove vlan transparency from the network.
Change-Id: I845eb8f541cd32a4c4b28f929a63b205e7e31756
Closes-Bug: 1545537
2016-05-16 08:32:07 +00:00
Tang Chen
40f51c32ac
Fix i18n support for help and error msg in network
...
Change-Id: Iab0dc489226601ac4ff123bb758f84ff16989395
2016-05-16 16:15:46 +08:00
ting wang
69be96ae72
Refactor TestRemoveProjectImage with FakeImage class
...
Change-Id: Id40ea8a3cf59738fa254da0bca4ad6551565f5de
Co-Authored-By: xiexs <xiexs@cn.fujitsu.com>
Implements: blueprint improve-image-unittest-framework
2016-05-16 13:02:44 +08:00
Hideki Saito
bc93ebfe5c
Added --no-route to the router set command
...
Deprecated --clear-routes
Closes-Bug #1565034
Change-Id: I4a8975edc026aecd2a362fd1929c984cfab8ade6
2016-05-16 12:02:00 +09:00
Richard Theis
fd5fd924d1
Additional network protocol support
...
Add the following network protocol support to the
"os security group rule create" command:
- Add "--icmp-type" and "--icmp-code" options
for Network v2 only. These options can be used to set
the ICMP type and code for ICMP IP protocols.
- Change the "--proto" option to "--protocol". Using the
"--proto" option is still supported, but is no longer
documented and may be deprecated in a future release.
- Add the following Network v2 IP protocols to the
"--protocol" option: "ah", "dccp", "egp", "esp", "gre",
"igmp", "ipv6-encap", "ipv6-frag", "ipv6-icmp",
"ipv6-nonxt", "ipv6-opts", "ipv6-route", "ospf", "pgm",
"rsvp", "sctp", "udplite", "vrrp" and integer
representations [0-255].
The "os security group rule list" command now supports
displaying the ICMP type and code for security group rules
with the ICMP IP protocols.
Change-Id: Ic84bc92bc7aa5ac08f6ef91660eb6c125a200eb3
Closes-Bug: #1519512
Implements: blueprint neutron-client
2016-05-14 07:54:41 -05:00
ting.wang
2724eaac5d
Refactor TestImageList with FakeImage class
...
Change-Id: Ia60f75f65bba4c25a0a87b570b081424f982efca
Co-Authored-By: xiexs <xiexs@cn.fujitsu.com>
Implements: blueprint improve-image-unittest-framework
2016-05-14 14:20:56 +08:00
xiexs
2b4c543cdd
Refactor TestAddProjectToImage with FakeImage class
...
Change-Id: I6733601f12389eb744dbf0be64b7c556356b4730
Co-Authored-By: ting wang <bx_wang@outlook.com>
Implements: blueprint improve-image-unittest-framework
2016-05-14 14:17:01 +08:00
Steve Martinelli
ebcbd6ba71
remove #noqa from i18n imports
...
hacking checks no longer fail on `import _`
Change-Id: Idd60f0a0e71e5081691eacb39e5091ab08fcce6d
2016-05-13 13:14:02 -07:00
Jenkins
e1c53250bc
Merge "Refactor TestVolumeList with FakeVolume"
2016-05-12 12:23:34 +00:00
Jenkins
56680c83fe
Merge "Add unit tests for "server show" command"
2016-05-11 13:26:55 +00:00
Jenkins
b60ff95edf
Merge "Use find_resource() instead of get() in _prep_server_detail()"
2016-05-11 13:26:30 +00:00
ting.wang
553e154960
Refactor TestVolumeList with FakeVolume
...
Change-Id: Idbe7ee1d9688ea5937852cce1a746016bf98fa74
Co-Authored-By: xiexs <xiexs@cn.fujitsu.com>
Implements: blueprint improve-volume-unittest-framework
2016-05-11 17:25:48 +08:00
Jenkins
fe02162bd3
Merge "Implement "address scope set" command"
2016-05-11 07:59:04 +00:00
Jenkins
94de0d3ebd
Merge "Implement "address scope show" command"
2016-05-11 07:11:43 +00:00
Jenkins
0acb743611
Merge "Implement "address scope list" command"
2016-05-11 07:11:36 +00:00
Jenkins
b503267616
Merge "Implement "address scope delete" command"
2016-05-11 06:53:56 +00:00
Jenkins
2aa99b4d50
Merge "Implement "address scope create" command"
2016-05-11 06:42:25 +00:00
Huanxuan Ao
cc78d48a28
Implement "address scope set" command
...
This patch add a command that supports
setting address scope properties.
Change-Id: I9c4b5068a8abb986a9dc18b167b48b924d16ff42
Closes-Bug: #1566269
2016-05-11 10:08:47 +08:00
Huanxuan Ao
32da111c17
Implement "address scope show" command
...
This patch add a command that supports
showing address scope details
Change-Id: Ic0b41c1cab8c618904c7a6046d7493db5b74b430
Partial-Bug: #1566269
2016-05-11 10:08:47 +08:00
Huanxuan Ao
aa5ff67e3f
Implement "address scope list" command
...
This patch add a command that supports
listing address scopes
Change-Id: Id14757011560cacf28011ba51841a8e23b824f33
Partial-Bug: #1566269
2016-05-11 10:08:47 +08:00
Huanxuan Ao
4cb5e0bc79
Implement "address scope delete" command
...
This patch add a command that supports
deleting a address scope
Change-Id: Ie028058c759b9511d105a530d7e89b841865e7d6
Partial-Bug: #1566269
2016-05-11 10:08:47 +08:00