We contentedly announce the release of: openstacksdk 0.25.0: An SDK for building applications to work with OpenStack This release is part of the stein release series. Download the package from: https://pypi.org/project/openstacksdk For more details, please see below. 0.25.0 ^^^^^^ New Features ************ * Add image attributes is_hidden, hash_algo, hash_value * Add support for schema resource in image service. * Adds Octavia (load_balancer) support for the flavor APIs. * Adds Octavia (load_balancer) support for the flavor profile APIs. * Adds Octavia (load_balancer) support for the providers APIs. * Adds Octavia (load_balancer) support for the amphora APIs. * Added Octavia (load_balancer) load balancer failover. * Add ability to create image without upload data at the same time * Add support for interoperable image import process as introduced in the Image API v2.6 at [1] [1]https://developer.openstack.org/api- ref/image/v2/index.html#interoperable-image-import * Adds support for the baremetal allocation API. * Adds support for network_data (https://specs.openstack.org/openstack /nova- specs/specs/liberty/implemented/metadata-service-network- info.html) when building baremetal configdrives. Upgrade Notes ************* * The "zone" attribute on compute "Service" objects has been renamed to "availability_zone" to match all of the other resources, and also to better integrate with the "Resource.location" attribute. Changes in openstacksdk 0.24.0..0.25.0 -------------------------------------- de8a882 Add glance image import support c2b75dc Use retriable_status_codes in image upload 232553d Move image methods to sdk image proxy 5e09afc Tweak find_image method to search in hidden images 2742e28 Add agent property: resources-synced d8fafcf Use mock context in test_fwaas 4417a7e Add image.task resource 3c0f44f baremetal: support network_data when building configdrive d0f9e1b Add missing py37 and corrected default envlist. 41f8ac1 Fix syntax error with exception handling 35ccf21 handle "paginated" argument in test_list properly 1c3bf97 Fix minor issues in the baremetal proxy docs 11a5952 Add image attributes from v2.7 b748628 Make sure we pick flavors with disk 68b4dc6 Add image.schema resource e8ccfee baremetal: support for allocation API b7b7353 baremetal: implement set_node_power_state in the proxy 1dfd5cd Stop mocking method in fwaas test 2be7e0f Rename compute.service.zone to availability_zone 5a4ce45 Make all resource locations process project_id dc09275 Added server diagnostics 96c823c Add support for bodyless commits 1249d5f Add Octavia (load_balancer) amphora API 85f1e4c Add Octavia (load_balancer) flavor API 1b88494 Add Octavia (load_balancer) flavor profile API b27f0c5 Add Octavia (load_balancer) provider API support 41d6d33 Add Octavia (load_balancer) load balancer failover Diffstat (except docs and test files) ------------------------------------- .../user/resources/baremetal/v1/allocation.rst | 12 + .../user/resources/load_balancer/v2/amphora.rst | 30 ++ .../user/resources/load_balancer/v2/flavor.rst | 12 + .../resources/load_balancer/v2/flavor_profile.rst | 13 + .../user/resources/load_balancer/v2/listener.rst | 9 + .../resources/load_balancer/v2/load_balancer.rst | 18 + .../user/resources/load_balancer/v2/provider.rst | 21 ++ examples/image/import.py | 38 ++ openstack/baremetal/configdrive.py | 12 +- openstack/baremetal/v1/_proxy.py | 306 ++++++++++----- openstack/baremetal/v1/allocation.py | 98 +++++ openstack/baremetal/v1/node.py | 42 ++- openstack/block_storage/_base_proxy.py | 50 +++ openstack/block_storage/v2/_proxy.py | 4 +- openstack/block_storage/v3/_proxy.py | 4 +- openstack/cloud/openstackcloud.py | 419 +-------------------- openstack/compute/v2/_proxy.py | 18 + openstack/compute/v2/server.py | 8 - openstack/compute/v2/server_diagnostics.py | 52 +++ openstack/compute/v2/service.py | 2 +- openstack/config/defaults.json | 1 + openstack/config/vendors/__init__.py | 2 +- openstack/image/_base_proxy.py | 182 +++++++++ openstack/image/v1/_proxy.py | 71 +++- openstack/image/v2/_proxy.py | 339 ++++++++++++++++- openstack/image/v2/image.py | 52 ++- openstack/image/v2/schema.py | 25 ++ openstack/image/v2/task.py | 50 +++ openstack/load_balancer/v2/_proxy.py | 235 ++++++++++++ openstack/load_balancer/v2/amphora.py | 126 +++++++ openstack/load_balancer/v2/flavor.py | 44 +++ openstack/load_balancer/v2/flavor_profile.py | 42 +++ openstack/load_balancer/v2/load_balancer.py | 26 +- openstack/load_balancer/v2/provider.py | 57 +++ openstack/network/v2/agent.py | 9 + openstack/network/v2/firewall_policy.py | 1 + openstack/resource.py | 36 +- .../baremetal/test_baremetal_allocation.py | 110 ++++++ .../functional/baremetal/test_baremetal_node.py | 13 + .../load_balancer/v2/test_load_balancer.py | 133 +++++++ .../unit/compute/v2/test_server_diagnostics.py | 89 +++++ .../unit/load_balancer/test_flavor_profile.py | 55 +++ .../add-image-attributes-05b820a85cd09806.yaml | 3 + .../notes/add-image-schema-9c07c2789490718a.yaml | 3 + ...-load-balancer-flavor-api-d2598e30347a19fc.yaml | 4 + ...lancer-flavor-profile-api-e5a15157563eb75f.yaml | 4 + ...oad-balancer-provider-api-08bcfb72ddf5b247.yaml | 4 + .../add-octavia-amphora-api-7f3586f6a4f31de4.yaml | 4 + .../add-octavia-lb-failover-9a34c9577d78ad34.yaml | 4 + .../add_image_import_support-6cea2e7d7a781071.yaml | 7 + .../notes/allocation-api-04f6b3b7a0ccc850.yaml | 4 + .../compute-service-zone-2b25ec705b0156c4.yaml | 7 + .../notes/network-data-deb5772edc111428.yaml | 6 + tox.ini | 2 +- 85 files changed, 3501 insertions(+), 691 deletions(-)
participants (1)
-
no-reply@openstack.org