We are thrilled to announce the release of:
python-openstackclient 3.5.0: OpenStack Command-line Client
This release is part of the ocata release series.
The source is available from:
https://git.openstack.org/cgit/openstack/python-openstackclient
Download the package from:
https://pypi.python.org/pypi/python-openstackclient
Please report issues through launchpad:
https://bugs.launchpad.net/python-openstackclient
For more details, please see below.
3.5.0 ^^^^^
New Features ************
* Add "--no-dns-nameserver" option to "subnet set" command. [Blueprint allow-overwrite-set-options (https://blueprints.launchpad.net /python-openstackclient/+spec /allow-overwrite-set-options)]
* Add "network service provider list" command.
* Add "--enable-port-security" and "--disable-port-security" options to "port set" and "port create" commands. [Blueprint :oscbp :`network-commands-options`]
* Add "--type" and "--retype-policy" options to "volume set" command. [Blueprint cinder-command-support (https://blueprints.launchpad.net /python-openstackclient/+spec /cinder-command-support)]
* Add "volume host set" command, it allows a user to enable or disable a volume host. [Blueprint cinder-command-support (https://blueprints.launchpad.net/python-openstackclient/+spec /cinder-command-support)]
* Add "--force" option to "volume snapshot delete" command to allow delete in state other than error or available. [Bug 1597195 (https://bugs.launchpad.net/bugs/1597195)]
* Add "--dns-name" option to "os port create" and "os port set" commands. [Bug 1612136 (https://bugs.launchpad.net/python- openstackclient/+bug/1612136)]
* Add "--project" and "--project-domain" options to the "router list", "floating ip create" and "security group list" commands. [Bug 1613231 (https://bugs.launchpad.net/bugs/1613231)] [Bug 1613629 (https://bugs.launchpad.net/bugs/1613629)] [Bug 1610909 (https://bugs.launchpad.net/bugs/1610909)]
* Add "consistency group create" command in volume v2. [Bug 1613964 (https://bugs.launchpad.net/python-openstackclient/+bug/1613964)]
* Add "consistency group delete" command in volume v2. [Bug 1613964 (https://bugs.launchpad.net/python-openstackclient/+bug/1613964)]
* Add "consistency group show" command in volume v2. [Bug 1613964 (https://bugs.launchpad.net/python-openstackclient/+bug/1613964)]
* Add "consistency group set" command in volume v2. [Bug 1613964 (https://bugs.launchpad.net/python-openstackclient/+bug/1613964)]
* Add "--long", "--status", "--project", "--project-domain", and "-- router" options to "floating ip list" command. [Bug 1614379 (https://bugs.launchpad.net/bugs/1614379)]
* Add "--port", "--fixed-ip-address", "--network", options to "floating ip list" command [Bug 1614379 (https://bugs.launchpad.net/bugs/1614379)]
* Add "--remote-source" option to "volume snapshot create" command to support creating volume snapshot from an existing remote volume snapshot in volume v2. [Bug 1618676 (https://bugs.launchpad.net /python-openstackclient/+bug/1618676)]
* The "image list" command will now sort by name in ascending order by default. "--sort" option will have the default value of "name:asc". [Bug 1639231 (https://bugs.launchpad.net/bugs/1639231)]
* Add "consistency group snapshot create", "consistency group snapshot delete", "consistency group snapshot list" and "consistency group snapshot show" commands in volume v2. [Bug 1642238 (https://bugs.launchpad.net/python-openstackclient/+bug/1642238)]
* Add "Is Public" column to "volume type list". [Bug 1643861 (https://bugs.launchpad.net/python-openstackclient/+bug/1643861)]
* Add "--name", "--status" and "--volume" options to "volume snapshot list" command [Bug 1645252 (https://bugs.launchpad.net/bugs/1645252)]
* Add QoS support for Network commands. The new parameter "qos- policy" is added to "network create" and "network set" commands. This parameter is the name or the ID of the network QoS policy to attach to this network. [Bug 1627069 (https://bugs.launchpad.net/python- openstackclient/+bug/1627069)]
* Add new commands "volume snapshot create/delete/list/show/set/unset". They are used to replace the old commands "snapshot create/delete/list/show/set/unset". [Blueprint backup-snapshot-renamed-for-volume-resource (https://blueprints.launchpad.net/python-openstackclient/+spec /backup-snapshot-renamed-for-volume-resource)]
Deprecation Notes *****************
* Deprecate commands "snapshot create/delete/list/show/set/unset". [Blueprint backup-snapshot-renamed-for-volume-resource (https://blueprints.launchpad.net/python-openstackclient/+spec /backup-snapshot-renamed-for-volume-resource)]
Bug Fixes *********
* Skip password prompt when running commands that do not require auth and user auth values are present except for password. [Bug 1619274 (https://bugs.launchpad.net/python- openstackclient/+bug/1619274)] *Fixed in release 3.3.0*
* Fix problem with "--os-auth-type token_endpoint" that caused exceptions when recent os-client-config version 1.23.0 or newer is installed. [Bug 1642301 (https://bugs.launchpad.net/bugs/1642301)] *Fixed in release 3.4.1*
* Changed the default version of "OS_IMAGE_API_VERSION" to "2". Image v1 has been deprecated for more than six months and other projects, such as *shade* and *os-client-config* are using Image v2 by default as well. [Bug 1642772 (https://bugs.launchpad.net/bugs/1642772)]
Changes in python-openstackclient 3.4.1..3.5.0 ----------------------------------------------
11a762e 3.5.0 release note cleanup bd63da5 Updated from global requirements 7357b24 Add "--remote-source" option to "volume snapshot create" command 5bc2cf2 update plugins documentation 47716d1 Add extra filtering options to floating ip list 841616f Correct missspellings of secret bbfd8cb Add '--force' option to 'volume snapshot delete' command 6da1f97 Trivial: update volume-qos.rst 3e9109b Add "consistency-group-snapshot" option to consistency group create 4dc78e4 Add "consistency group set" command 42f3343 Revert "Remove marker and loop from "image list" command" 5203cc9 Remove auth_with_unscoped_saml decorator 8c71a35 SDK Refactor: Prepare ip availability commands 99ba4f8 Adjust the code sequence in consistency_group.py 83675e9 Avoid duplicated project_id when show network resources df5f12b Add "dns-name" option to "os port create" and "os port set" 1907220 Add "consistency group show" command 094e518 Add "consistency group delete" command d5b69c6 Updated from global requirements 2cb0f85 Updated from global requirements 40d73a0 Correct reraising of exception ce079d2 Add '--project' and '--project-domain' options to os cmds ac7d27a Add network service provider list to OSC 246f60a Add `--enable/disable-port-security` option to `port set` and `port create` 747ec5b Add unit tests for server create in computev2 fca8152 Trivial:modify one parameter 4132392 Add QoS support to Network object. abfcd78 Introduce overwrite functionality in ``osc subnet set`` dc1d510 Fix description errors in volume fakes 6ca4dc3 Add options to "volume snapshot list" command 71e6d44 Add "volume host set" command da03f6e Updated from global requirements f15352f clean up image choices and help text 4b14f3d Add "--type" and "--retype-policy" options to "volume set" command 3a7bb85 Updated from global requirements 5e070c3 Add "Is Public" column in volume type list b6b9a52 Remove outdated comments in volume unit test a7a0d0c Sort list images by name by default c76e631 SDK Refactor: Prepare security group rule commands 1256aee SDK Refactor: Prepare network rbac commands 77ea8ba SDK Refactor: Prepare network qos policy commands 11560a0 SDK Refactor: Prepare subnet commands 3907137 Add commands for "consistency group snapshot" 4bce716 Using v2 as the default version of Glance 98b9bc1 Add "consistency group create" command 7684ab4 Outdated test data clean up in volume 839c5f7 Add '--network' and other options to floating ip list ff7fda0 Show disk format vhdx in help 23ee2fd Refactor "snapshot" commands
Diffstat (except docs and test files) -------------------------------------
.../command-objects/consistency-group-snapshot.rst | 96 +++++ .../command-objects/network-service-provider.rst | 18 + openstackclient/identity/v3/unscoped_saml.py | 22 -- openstackclient/image/client.py | 2 +- openstackclient/image/v1/image.py | 18 +- openstackclient/image/v2/image.py | 30 +- openstackclient/network/v2/floating_ip.py | 106 ++++++ openstackclient/network/v2/ip_availability.py | 18 +- openstackclient/network/v2/network.py | 23 ++ openstackclient/network/v2/network_qos_policy.py | 29 +- openstackclient/network/v2/network_rbac.py | 26 +- .../network/v2/network_service_provider.py | 41 +++ openstackclient/network/v2/port.py | 39 +- openstackclient/network/v2/router.py | 34 +- openstackclient/network/v2/security_group.py | 21 +- openstackclient/network/v2/security_group_rule.py | 20 +- openstackclient/network/v2/subnet.py | 45 ++- openstackclient/shell.py | 4 +- .../network/v2/test_network_service_provider.py | 26 ++ .../network/v2/test_network_service_provider.py | 71 ++++ .../volume/v2/test_consistency_group_snapshot.py | 351 ++++++++++++++++++ openstackclient/volume/v1/snapshot.py | 18 + openstackclient/volume/v1/volume_snapshot.py | 335 +++++++++++++++++ openstackclient/volume/v1/volume_type.py | 6 +- openstackclient/volume/v2/consistency_group.py | 190 +++++++++- .../volume/v2/consistency_group_snapshot.py | 190 ++++++++++ openstackclient/volume/v2/snapshot.py | 18 + openstackclient/volume/v2/volume.py | 35 ++ openstackclient/volume/v2/volume_host.py | 50 +++ openstackclient/volume/v2/volume_snapshot.py | 400 +++++++++++++++++++++ openstackclient/volume/v2/volume_type.py | 9 +- ...meserver-overwrite-option-b866baeae12f9460.yaml | 5 + ...-network-service-provider-c161a4a328a8a408.yaml | 4 + ...urity-enabled-to-port-set-82b801d21d45e715.yaml | 6 + ...bp-cinder-command-support-413b6d80232f8ece.yaml | 5 + ...bp-cinder-command-support-7e3ae1fb4cd90407.yaml | 5 + .../notes/bug-1597195-54ff1ecf381899f6.yaml | 6 + .../notes/bug-1612136-63aac6377209db38.yaml | 5 + .../notes/bug-1613231-386b2b1373662052.yaml | 8 + .../notes/bug-1613964-837196399be16b3d.yaml | 8 + .../notes/bug-1613964-86e0afe0e012a758.yaml | 4 + .../notes/bug-1614379-d8e2815804d53cef.yaml | 6 + .../notes/bug-1614379-da92ded6d19f5ad5.yaml | 6 + .../notes/bug-1618676-04ff0f335b670567.yaml | 5 + .../notes/bug-1619274-e78afd7c12ea2c3d.yaml | 6 + .../notes/bug-1639231-21823768bd54170a.yaml | 6 + .../notes/bug-1642238-3032c7fe7f0ce29d.yaml | 6 + .../notes/bug-1642301-ad04424c80e8fe50.yaml | 6 + .../notes/bug-1642772-19f53765bef8ee91.yaml | 6 + .../notes/bug-1643861-b17ad5dfcb4304ff.yaml | 4 + .../notes/bug-1645252-219bfd50c8f04846.yaml | 6 + .../network-add-qos-policy-a25e868e67142f90.yaml | 8 + .../rename-snapshot-commands-e0937f7143a4ef55.yaml | 8 + requirements.txt | 2 +- setup.cfg | 27 ++ test-requirements.txt | 6 +- 98 files changed, 4560 insertions(+), 355 deletions(-)
Requirements updates --------------------
diff --git a/requirements.txt b/requirements.txt index c31670b..2d8aadc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15 +15 @@ python-glanceclient>=2.5.0 # Apache-2.0 -python-keystoneclient>=3.6.0 # Apache-2.0 +python-keystoneclient>=3.8.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index b7a04c4..3b07d3c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12 +12 @@ reno>=1.8.0 # Apache-2.0 -requests>=2.10.0 # Apache-2.0 +requests!=2.12.2,>=2.10.0 # Apache-2.0 @@ -26 +26 @@ wrapt>=1.7.0 # BSD License -aodhclient>=0.5.0 # Apache-2.0 +aodhclient>=0.7.0 # Apache-2.0 @@ -30 +30 @@ python-designateclient>=1.5.0 # Apache-2.0 -python-heatclient>=1.5.0 # Apache-2.0 +python-heatclient>=1.6.1 # Apache-2.0