[openstack-announce] [new][openstack] python-openstackclient 2.5.0 release (newton)
no-reply at openstack.org
no-reply at openstack.org
Thu May 26 19:49:42 UTC 2016
We are excited to announce the release of:
python-openstackclient 2.5.0: OpenStack Command-line Client
This release is part of the newton release series.
With source available at:
https://git.openstack.org/cgit/openstack/python-openstackclient
With package available at:
https://pypi.python.org/pypi/python-openstackclient
Please report issues through launchpad:
https://bugs.launchpad.net/python-openstackclient
For more details, please see below.
2.5.0
^^^^^
New Features
************
* Add network support for "quota set" command. Options added
includes "--networks --subnets --subnetpools --ports --routers
--rbac- policies" "--vips --members --health-monitors". Options "--
floating- ips --secgroup-rules --secgroups" now support both network
and compute API. [Bug 1489441
(https://bugs.launchpad.net/bugs/1489441)]
* Add "--icmp-type" and "--icmp-code" options to the "security group
rule create" command for Network v2 only. These options can be used
to set ICMP type and code for ICMP IP protocols. [Bug 1519512
(https://bugs.launchpad.net/bugs/1519512)]
* The following Network v2 IP protocols are supported by the
"security group rule create" command "--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]. [Bug 1519512 (https://bugs.launchpad.net/bugs/1519512)]
* The "security group rule list" command supports displaying the
ICMP type and code for security group rules with the ICMP IP
protocols. [Bug 1519512 (https://bugs.launchpad.net/bugs/1519512)]
* Add "server group create", "server group delete", "server group
list", "server group show" commands. [Bug 1542171
(https://bugs.launchpad.net/python-openstackclient/+bug/1542171)]
[Blueprint nova-server-group-support
(https://blueprints.launchpad.net/python-openstackclient/+spec/nova-
server-group-support)]
* Add "--share" and "--default" options to "subnet pool create" and
" --default" option to "subnet pool set" [Bug 1544586
(https://bugs.launchpad.net/python-openstackclient/+bug/1544586)]
[Bug 1544591 (https://bugs.launchpad.net/python-
openstackclient/+bug/1544591)]
* Add "--transparent-vlan" and "--no-transparent-vlan" options to
"network create" and "network set" commands to add/remove VLAN
transparency attributes from networks. This option is available in
Network V2 only. [Bug 1545537
(https://bugs.launchpad.net/bugs/1545537)]
* Adds "volume service list" command. [Bug 1550999
(https://bugs.launchpad.net/python-openstackclient/+bug/1550999)]
* Support X.latest format for OS_COMPUTE_API_VERSION in order to
talk with the latest nova microversion API, that is very helpful
shortcut usage to use new nova side features. [Bug 1561838
(https://bugs.launchpad.net/python-openstackclient/+bug/1561838)]
* Add "address scope create", "address scope delete", "address scope
list", "address scope set" and "address scope show" commands. [Bug
1566269 (https://bugs.launchpad.net/python-
openstackclient/+bug/1566269)]
* Add the "--ip-version" option to the "subnet list" command. This
will output subnets based on IP version filter. [Bug 1581179
(https://bugs.launchpad.net/python-openstackclient/+bug/1581179)]
Upgrade Notes
*************
* Changed the "security group rule create" command "--proto" option
to "--protocol". Using the "--proto" option is still supported, but
is no longer documented and may be deprecated in a future release.
[Bug 1519512 (https://bugs.launchpad.net/bugs/1519512)]
Bug Fixes
*********
* Support a new "--state" option for "snapshot set" command that
changes the state of a snapshot. [Bug 1535239
(https://bugs.launchpad.net/bugs/1535239)]
* "--pool-prefix" option made required for "subnet pool create" [Bug
1536479 (https://bugs.launchpad.net/bugs/1536479)]
* Command "network delete" will delete as many networks as possible,
log and report failures in the end. [Bug 1556719
(https://bugs.launchpad.net/python-openstackclient/+bug/1556719)]
[Bug 1537856 (https://bugs.launchpad.net/python-
openstackclient/+bug/1537856)]
* Fixed the "--route" option on the "router set" command which did
not properly format the new routes to set resulting in a "Bad
Request" error. In addition, the "router create", "router list" and
"router show" command output for routes was fixed to improve
readability and to align with the "--route" option on the "router
set" command. [Bug 1564460
(https://bugs.launchpad.net/bugs/1564460)]
* Added "--no-route" to the "router set" command. Deprecated "--
clear- routes". [Bug 1565034
(https://bugs.launchpad.net/bugs/1565034)]
* Fixed "network create", "network show" and "network list" commands
to correctly display the router type in the "router:external" and
"Router Type" columns. [Bug 1572228
(https://bugs.launchpad.net/bugs/1572228)]
* The "quota show" command "<project/class>" argument is now
optional. If not specified, the user's current project is used. This
allows non-admin users to show quotas for their current project.
[Bug 1572733 (https://bugs.launchpad.net/bugs/1572733)]
* Fixed "flavor show/delete/set/unset" command to properly find a
private flavor by flavor name. [Bug 1575478
(https://bugs.launchpad.net/bugs/1575478)]
* Fixed "flavor set/unset" command to properly find a flavor to be
set/unset by flavor id. [Bug 1575624
(https://bugs.launchpad.net/bugs/1575624)]
Changes in python-openstackclient 2.4.0..2.5.0
----------------------------------------------
e44bb00 keystone: fix catalog output when region is unset
99031cf Release notes cleanup
8ce5d90 Refactor service unit tests
58094bf Search by user defined ID for service providers
5ae8f1b Updated from global requirements
5398c96 Fix i18n support for help and error messages in compute
21530d0 Search by user defined ID for identity providers
53e05e7 i18n support for help and error messages in cinder
5f69894 Add FakeType class and update volumetype test in VolumeV2
4d44a3c Add some functional tests for commands in VolumeV2
6c13212 Updated from global requirements
dc71d16 Add FakeSnapshot class and update snapshot test in VolumeV2
e10a597 Add functional tests for server group in ComputeV2
c3d4810 Fix image tests to use warlock resources
a4d4e81 Avoid TypeError on message object additions
b92cf77 Add network support for "quota set"
6c8e0dc Fix i18n support for help and log.warning in image
78c20f6 Updated from global requirements
0fa2e8d Refactor TestVolumeShow with FakeVolume
4956c35 Add FakeBackup class and updata backup unittest in volumeV2
668bc02 Add ip version filter to subnet list
093f0ff Added CONTRIBUTING.rst file
00c149a Add VLAN Transparent option to ``osc network``
40f51c3 Fix i18n support for help and error msg in network
69be96a Refactor TestRemoveProjectImage with FakeImage class
bc93ebf Added --no-route to the router set command
7a25212 Updated from global requirements
2629fda Changed the nomenclature of credentials command
fd5fd92 Additional network protocol support
2724eaa Refactor TestImageList with FakeImage class
2b4c543 Refactor TestAddProjectToImage with FakeImage class
ebcbd6b remove #noqa from i18n imports
095edbc Pep8 environment to run on delta code only
553e154 Refactor TestVolumeList with FakeVolume
0e0f314 Fix functional test for floatingip add/remove in ComputeV2
cc78d48 Implement "address scope set" command
32da111 Implement "address scope show" command
aa5ff67 Implement "address scope list" command
4cb5e0b Implement "address scope delete" command
98bee08 Implement "address scope create" command
06780dd Add unit tests for "server show" command
34decd8 Updated from global requirements
d58280a Use find_resource() instead of get() in _prep_server_detail()
b843240 Ignore domain related config when using with keystone v2
c1dba6a Fix functional test failures
809239c Map server power state num to meanful string
2244915 Updated from global requirements
15c9576 Trivial: Remove unuseful comments for assertRaise() checking
f91685f Remove unnecessary type conversions in network unit tests
59de9c4 Ignore domain related config when using with keystone v2
9f3fa5e Fix network router type display
461a203 bump timeout to prevent gate failures
f924fa3 Added "name" parameter to the help message.
68224ea Add a unit test for "flavor create" command
403e6ca Add describe of overwrite options behavior into devref
b33ee3d remove assert in favor an if/else
dc3d3ea Spec to Implement IP Availability
681d6dc Make "flavor show" command to show a private flavor properly
166a7b8 Documentation updates
9ec41c0 Replace tempest-lib with tempest.lib
505659b add a bandit environment to tox
4524b36 Fix error in flavor set/unset command
9dba843 Add functional tests for commands of floating ip
08759b8 Fixes BadRequest when no --pool-prefix given
4072554 Support for volume service list
d0885e5 Doc: Add network resource descriptions
1a2e128 Devref: Command Beta
27024d7 Support quota show for current project
0d3a06d Fix server group document issue
518ef26 Add commands of clustering service to doc
48ebc49 Add new share and default parms to subnet pool cmds
745dc76 Updated from global requirements
f753bad Fixed subnet command host route output
f995185 Trivial: Fix an omited i18n issue
0e8c78c Update tests for server
a0d7996 Add "server group show" command
4e22728 Add "server group list" command
7458c61 Add "server group delete" command
a06bb28 Add "server group create" command
a5a343a Support X.latest format for OS_COMPUTE_API_VERSION
09c20b2 Fix mutable default arguments in tests
ff62c83 Update keypair tests
c95d68e Deduplicate CLI output parser code in test.py
a90c824 Fix router set --route option
56f9227 Enhance exception handling for "network delete" command
189e477 Add support of setting snapshot state
Diffstat (except docs and test files)
-------------------------------------
CONTRIBUTING.rst | 16 +
functional/common/test.py | 63 +---
openstackclient/api/auth.py | 36 ++-
openstackclient/common/availability_zone.py | 2 +-
openstackclient/common/clientmanager.py | 12 +
openstackclient/common/parseractions.py | 5 +-
openstackclient/common/quota.py | 88 +++--
openstackclient/compute/client.py | 45 +--
openstackclient/compute/v2/agent.py | 39 ++-
openstackclient/compute/v2/aggregate.py | 40 +--
openstackclient/compute/v2/console.py | 15 +-
openstackclient/compute/v2/flavor.py | 83 +++--
openstackclient/compute/v2/host.py | 17 +-
openstackclient/compute/v2/hypervisor.py | 6 +-
openstackclient/compute/v2/keypair.py | 19 +-
openstackclient/compute/v2/server.py | 49 +--
openstackclient/compute/v2/server_group.py | 186 +++++++++++
openstackclient/compute/v2/service.py | 34 +-
openstackclient/compute/v2/usage.py | 34 +-
openstackclient/identity/v2_0/catalog.py | 6 +-
openstackclient/identity/v2_0/ec2creds.py | 2 +-
openstackclient/identity/v2_0/endpoint.py | 2 +-
openstackclient/identity/v2_0/project.py | 2 +-
openstackclient/identity/v2_0/role.py | 2 +-
openstackclient/identity/v2_0/service.py | 2 +-
openstackclient/identity/v2_0/token.py | 2 +-
openstackclient/identity/v2_0/user.py | 2 +-
openstackclient/identity/v3/catalog.py | 4 +-
openstackclient/identity/v3/domain.py | 2 +-
openstackclient/identity/v3/ec2creds.py | 2 +-
openstackclient/identity/v3/group.py | 2 +-
openstackclient/identity/v3/identity_provider.py | 3 +-
openstackclient/identity/v3/project.py | 2 +-
openstackclient/identity/v3/region.py | 2 +-
openstackclient/identity/v3/role.py | 2 +-
openstackclient/identity/v3/service.py | 2 +-
openstackclient/identity/v3/service_provider.py | 3 +-
openstackclient/identity/v3/user.py | 2 +-
openstackclient/image/client.py | 7 +-
openstackclient/image/v1/image.py | 128 ++++----
openstackclient/image/v2/image.py | 151 ++++-----
openstackclient/network/common.py | 37 +++
openstackclient/network/v2/address_scope.py | 214 ++++++++++++
openstackclient/network/v2/network.py | 61 ++--
openstackclient/network/v2/port.py | 7 +-
openstackclient/network/v2/router.py | 46 ++-
openstackclient/network/v2/security_group_rule.py | 188 +++++++++--
openstackclient/network/v2/subnet.py | 38 ++-
openstackclient/network/v2/subnet_pool.py | 52 ++-
openstackclient/shell.py | 5 +
openstackclient/volume/client.py | 7 +-
openstackclient/volume/v1/backup.py | 22 +-
openstackclient/volume/v1/qos_specs.py | 42 +--
openstackclient/volume/v1/service.py | 73 +++++
openstackclient/volume/v1/snapshot.py | 42 +--
openstackclient/volume/v1/volume.py | 69 ++--
openstackclient/volume/v1/volume_type.py | 28 +-
openstackclient/volume/v2/backup.py | 20 +-
openstackclient/volume/v2/qos_specs.py | 42 +--
openstackclient/volume/v2/service.py | 73 +++++
openstackclient/volume/v2/snapshot.py | 55 ++--
openstackclient/volume/v2/volume.py | 81 ++---
openstackclient/volume/v2/volume_type.py | 64 ++--
...add-quota-set-for-network-11fcd7b9e08624b5.yaml | 9 +
.../notes/bug-1519512-dbf4368fe10dc495.yaml | 24 ++
.../notes/bug-1535239-767e6cf1990eda01.yaml | 6 +
.../notes/bug-1536479-d1f03ed2177d06ed.yaml | 5 +
.../notes/bug-1542171-fde165df53216726.yaml | 7 +
.../notes/bug-1544586-0fe19a567d3e31fc.yaml | 6 +
.../notes/bug-1545537-4fa72fbfbbe3f31e.yaml | 8 +
.../notes/bug-1550999-5e352a71dfbc828d.yaml | 5 +
.../notes/bug-1556719-d2dcf61acf87e856.yaml | 6 +
.../notes/bug-1561838-3a006a8263d7536d.yaml | 6 +
.../notes/bug-1564460-ab7ad35c02392cb4.yaml | 9 +
.../notes/bug-1565034-dd404bfb42d7778d.yaml | 5 +
.../notes/bug-1566269-2572bca9157ca107.yaml | 5 +
.../notes/bug-1572228-03638a7adec5da8b.yaml | 6 +
.../notes/bug-1572733-874b37a7fa8292d0.yaml | 6 +
.../notes/bug-1575478-5a0a923c3a32f96a.yaml | 5 +
.../notes/bug-1575624-87957ff60ad661a6.yaml | 5 +
.../notes/bug-1581179-4d15dc504777f9e7.yaml | 6 +
requirements.txt | 12 +-
setup.cfg | 15 +
test-requirements.txt | 7 +-
tools/fast8.sh | 15 +
tox.ini | 39 ++-
162 files changed, 6271 insertions(+), 1684 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index f88e771..62bcfe3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7 +7 @@ six>=1.9.0 # MIT
-Babel!=2.3.0,!=2.3.1,!=2.3.2,!=2.3.3,>=1.3 # BSD
+Babel>=2.3.4 # BSD
@@ -10 +10 @@ keystoneauth1>=2.1.0 # Apache-2.0
-openstacksdk>=0.8.5 # Apache-2.0
+openstacksdk>=0.8.6 # Apache-2.0
@@ -16 +16 @@ python-glanceclient>=2.0.0 # Apache-2.0
-python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0
+python-keystoneclient!=1.8.0,!=2.1.0,>=1.7.0 # Apache-2.0
@@ -18,3 +18,3 @@ python-novaclient!=2.33.0,>=2.29.0 # Apache-2.0
-python-cinderclient>=1.6.0 # Apache-2.0
-requests!=2.9.0,>=2.8.1 # Apache-2.0
-stevedore>=1.9.0 # Apache-2.0
+python-cinderclient!=1.7.0,>=1.6.0 # Apache-2.0
+requests>=2.10.0 # Apache-2.0
+stevedore>=1.10.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 99fcbe8..ffc8326 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -18,2 +18,3 @@ testtools>=1.4.0 # MIT
-tempest-lib>=0.14.0 # Apache-2.0
-osprofiler>=1.1.0 # Apache-2.0
+tempest>=11.0.0 # Apache-2.0
+osprofiler>=1.3.0 # Apache-2.0
+bandit>=1.0.1 # Apache-2.0
@@ -25 +26 @@ python-designateclient>=1.5.0 # Apache-2.0
-python-heatclient>=0.6.0 # Apache-2.0
+python-heatclient>=1.1.0 # Apache-2.0
More information about the OpenStack-announce
mailing list