We joyfully announce the release of: python-openstackclient 3.16.0: OpenStack Command-line Client This release is part of the rocky release series. The source is available from: https://git.openstack.org/cgit/openstack/python-openstackclient Download the package from: https://pypi.org/project/python-openstackclient Please report issues through launchpad: https://storyboard.openstack.org/#!/project/975 For more details, please see below. 3.16.0 ^^^^^^ New Features ************ * Add "image member list" command to list all members of an image. * Add "--tag" option to "image list" command to filter by tag. * Add "--image-property" option to "server create" command. This parameter will filter a image which properties that are matching. * Add an "ip-substring" key to the "--fixed-ip" option of the "port list" command. This allows filtering ports by a substring match of an IP address. [Bug 1718605 (https://bugs.launchpad.net/bugs/1718605)] * Add "registered limit" commands for managing registered limits in Keystone. Registered limits define limits of resources for projects to assume by default. [bp unified-limits (https://blueprints.launchpad.net/keystone/+spec/unified-limit)] * Add "limit" commands for managing project-specific limits in keystone. Limits define limits of resources for projects to consume once a limit has been registered. [bp unified-limits (https://blueprints.launchpad.net/keystone/+spec/unified-limit)] * Add "--tag" and "--no-tag" options to "security group create" and "security group set" commands. [Bug 1750983 (https://bugs.launchpad.net/python-openstackclient/+bug/1750983)] * Add "--tags", "--any-tags", "--not-tags" and "--not-any-tags" options to "security group list" command. [Bug 1750983 (https://bugs.launchpad.net/python-openstackclient/+bug/1750983)] * Add "--tag" and "--all-tag" options to "security group unset" command. [Bug 1750983 (https://bugs.launchpad.net/python- openstackclient/+bug/1750983)] * Add "--description" option to "flavor set" command to update the description of the flavor. Only available starting with "--os- compute-api-version 2.55". * Add "--description" option to "flavor create" command to set the description of the flavor. Only available starting with "--os- compute-api-version 2.55". * Add support for system-scope to "role" commands. This includes the ability to generate system-scoped tokens using "system_scope: all" in "cloud.yaml" or "OS_SYSTEM_SCOPE=all" in an environment variable. Support is also included for managing role assignments on the system using "--system" when adding and removing roles. [bp system-scope (https://blueprints.launchpad.net/keystone/+spec/system-scope)] * Add "--network-segment" option to "subnet set" command. This enables the possiblity to set the "segment_id" of a subnet on update. * A new command, "openstack versions show" was added, which will provide a list of all versions of all services in the cloud. It includes relevant metadata, such as min/max microversion, endpoint, status and region. Bug Fixes ********* * Add "--community" option to "image list" command. [Bug 2001925 (https://storyboard.openstack.org/#!/story/2001925)] * The "server list --all" command now resolves non-public flavor names, too, so that the "Flavor" column will be properly populated. [Bug 1742453 (https://bugs.launchpad.net/bugs/1742453)] * Add "--tag" support to "floating ip create|list|set|unset" commands. [:lpbug:`1750985`] * The "server show" command will now properly show the server's flavor information when using "--os-compute-api-version 2.47" or higher. [Bug 1751104 (https://storyboard.openstack.org/#!/story/1751104)] Other Notes *********** * Remove deprecated "ip floating" and "ip floating pool" commands. Changes in python-openstackclient 3.15.0..3.16.0 ------------------------------------------------ 4236d77 Release note cleanup for 3.16.0 release 860639a Support --community in openstack image list d612178 Don't sent disk_over_commit if nova api > 2.24 b90b93e Fix error with image show when image name is None 9ece632 Add command to show all service versions 735896e Implement support for project limits 641a4fa Implement support for registered limits 3dd9613 Pass volume snapshot size to volume create fc76db0 compute: host: expand kwargs in host_set() call 7003168 Fix lower-constraints.txt 63d741f Replace pbr autodoc with sphinxcontrib-apidoc b9fab84 Skip calls to glance and nova when got no servers 26c268a Slow down and retry aggregate create/delete to lessen race 83a9db2 Retry floating IP tests 4a9cb8e Support filtering port with IP address substring 7e8c55f Fix docs from I0dc80bee3ba6ff4ec8cc3fc113b6de7807e0bf2a 9edbab8 Add ability to filter image list by tag ddcc25e Add release note link in README 603fe25 Change bug url to a correct one 412ee7f Adding api_version to FakeApp 08dbd15 Fix the `role implies list` command. 15a079f Fix volume type functional tests 4a68ba6 Compute: Add description support for flavor 956eabe compute: limit the service's force down command above 2.10 5bb5585 Fix subnet host_routes error 402c9a2 Do not require port argument when updating floating IP aaed4b3 Network: Add tag support for security group da7572a Fix server show for microversion 2.47 752a2db Optimize _prep_server_detail to avoid redundant find_resource 56b3467 Use Server.to_dict() rather than Server._info aefddf3 Update role document to include system parameter f904efb Fix urls in README.rst e8c7315 Allow setting network-segment on subnet update 8bfa180 Add system role functionality 47d0d0e Fix lower-constraints.txt 9b6d02d Make max_burst_kbps option as optional for bw limit QoS rule dbff17d Add cliff project link f7e4d31 Update command test for volume.v3 de9a6fc Prevent "server migrate --wait" from hanging 46f8614 Format port_details field of Floating IP 5a9fc91 Trivial: Update pypi url to new url b776f70 Fix functional job failed 09a0916 Network: Add tag support for floating ip d601415 Clean up W503 and E402 pep8 errors d4d97f2 Add bgp commands to neutron decoder 30b2203 Add help for nova interface-list to decoder ea89065 Remove deprecated ip floating commands 24b06ef Fix limits show command without Nova and Cinder 447d5d9 Add --image-property parameter in 'server create' 7957768 Add support to list image members c615bcd Display private flavors in server list 372f7ca Make Profile fallback go bye-bye 4b9973b Update help text for encryption provider Diffstat (except docs and test files) ------------------------------------- README.rst | 17 +- .../cli/command-objects/ip-floating-pool.rst | 16 - .../cli/command-objects/registered-limit.rst | 140 ++++++ lower-constraints.txt | 20 +- openstackclient/__init__.py | 4 +- openstackclient/api/image_v2.py | 17 +- openstackclient/common/clientmanager.py | 19 + openstackclient/common/extension.py | 6 +- openstackclient/common/limits.py | 32 +- openstackclient/common/versions.py | 114 +++++ openstackclient/compute/v2/flavor.py | 28 +- openstackclient/compute/v2/host.py | 2 +- openstackclient/compute/v2/server.py | 116 ++++- openstackclient/compute/v2/service.py | 26 +- openstackclient/identity/v3/implied_role.py | 6 +- openstackclient/identity/v3/limit.py | 238 ++++++++++ openstackclient/identity/v3/registered_limit.py | 260 +++++++++++ openstackclient/identity/v3/role.py | 41 +- openstackclient/identity/v3/role_assignment.py | 35 +- openstackclient/identity/v3/token.py | 6 + openstackclient/image/v1/image.py | 10 +- openstackclient/image/v2/image.py | 52 ++- openstackclient/network/client.py | 52 +-- openstackclient/network/v2/floating_ip.py | 139 ++---- openstackclient/network/v2/floating_ip_pool.py | 25 - openstackclient/network/v2/network_qos_rule.py | 8 +- openstackclient/network/v2/port.py | 11 +- openstackclient/network/v2/router.py | 4 +- openstackclient/network/v2/security_group.py | 43 +- openstackclient/network/v2/subnet.py | 18 +- .../identity/v3/test_registered_limit.py | 184 ++++++++ .../functional/network/v2/test_network_agent.py | 45 +- .../functional/network/v2/test_network_flavor.py | 6 +- .../functional/network/v2/test_network_qos_rule.py | 153 +++---- .../functional/network/v2/test_network_segment.py | 17 +- .../unit/identity/v3/test_registered_limit.py | 510 +++++++++++++++++++++ .../unit/network/v2/test_floating_ip_network.py | 181 +++++++- .../unit/network/v2/test_security_group_network.py | 174 ++++++- openstackclient/volume/v1/volume_type.py | 8 +- openstackclient/volume/v2/volume.py | 16 +- openstackclient/volume/v2/volume_type.py | 8 +- ...nity-option-to-image-list-ac0651eb2e5d632f.yaml | 4 + .../add-image-member-list-1630ead5988348c2.yaml | 3 + ...-image-tag-filter-support-5cb039416b07caab.yaml | 4 + ...ver-create-image-property-ef76af26233b472b.yaml | 5 + ...st-with-ip-address-substr-14c5805b241e402f.yaml | 7 + .../notes/bp-unified-limits-58f166401534a4ff.yaml | 6 + .../notes/bp-unified-limits-6c5fdb1c26805d86.yaml | 7 + .../notes/bug-1742453-ae4be6de90a3ae1d.yaml | 6 + .../notes/bug-1750983-420945d6c0afb509.yaml | 13 + .../notes/bug-1750985-a5345f715a14825c.yaml | 5 + ...-1751104-compute-api-2.47-4bfa21cfaa13f408.yaml | 6 + .../flavor-add-description-b618abd4a7fb6545.yaml | 8 + .../implement-system-scope-4c3c47996f98deac.yaml | 9 + ...move-ip-floating-commands-d5363f313e09249a.yaml | 4 + .../subnet-set-segment-id-4440e433b170f9f3.yaml | 5 + .../notes/versions-show-12a2443624c83048.yaml | 7 + requirements.txt | 4 +- setup.cfg | 38 +- tox.ini | 5 +- 111 files changed, 5041 insertions(+), 869 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index bfee36b..2ee03a5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11 +11 @@ openstacksdk>=0.11.2 # Apache-2.0 -osc-lib>=1.8.0 # Apache-2.0 +osc-lib>=1.10.0 # Apache-2.0 @@ -15 +15 @@ python-glanceclient>=2.8.0 # Apache-2.0 -python-keystoneclient>=3.8.0 # Apache-2.0 +python-keystoneclient>=3.17.0 # Apache-2.0