[release-announce] osc-placement 1.3.0 (rocky)

no-reply at openstack.org no-reply at openstack.org
Thu Jul 26 20:06:54 UTC 2018


We joyfully announce the release of:

osc-placement 1.3.0: OpenStackClient plugin for the Placement service

This release is part of the rocky release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/osc-placement

Download the package from:

    https://pypi.org/project/osc-placement

Please report issues through launchpad:

    https://bugs.launchpad.net/placement-osc-plugin

For more details, please see below.

1.3.0
^^^^^

New Features

* The "openstack allocation candidate list" command is available
  starting from microversion 1.10.

  See the command documentation for allocation candidate list for more
  details.

   (https://docs.openstack.org/nova/latest/user/placement.html
  #allocation-candidates-maximum-in-pike) (https://docs.openstack.org
  /osc-placement/latest/cli/index.html#allocation-candidate-list)

* Support is added for the 1.14 placement API microversion by adding
  the "root_provider_uuid" and "parent_provider_uuid" to the output of
  resource provider list/show/create/set commands. Also resource
  provider create/set commands now have a new option "--parent-
  provider <UUID>". And "resource provider list" has a new option "--
  in-tree <UUID>".

   (https://docs.openstack.org/nova/latest/user/placement.html#add-
  nested-resource-providers)

* Support is added for the 1.16 placement API microversion by adding
  the "--limit" option to the "openstack allocation candidate list"
  command.

   (https://docs.openstack.org/nova/latest/user/placement.html#limit-
  allocation-candidates)

* Support is added for the 1.17 placement API microversion by adding
  the "--required" option to the "openstack allocation candidate list"
  command.

   (https://docs.openstack.org/nova/latest/user/placement.html#add-
  required-parameter-to-the-allocation-candidates-maximum-in-queens)

* The "openstack resource provider allocation set" command now
  supports microversion 1.8. Specifically from 1.8 it is necessary to
  specify "--user-id" and "--project-id" arguments when setting
  allocations.

  The "openstack resource usage show" command is available starting
  from microversion 1.9. It is possible to show usages for a project
  and user.

  See the command documentation for allocation set and resource usage
  show for more details.

   (https://docs.openstack.org/nova/latest/user/placement.html
  #require-placement-project-id-user-id-in-put-allocations)
  (https://docs.openstack.org/nova/latest/user/placement.html#add-get-
  usages) (https://docs.openstack.org/osc-
  placement/latest/cli/index.html#resource-provider-allocation-set)
  (https://docs.openstack.org/osc-placement/latest/cli/index.html
  #resource-usage-show)

Changes in osc-placement 1.2.0..1.3.0
-------------------------------------

5883b82 Allocation candidates parameter: required (v1.17)
9f4e7eb Limit allocation candidates (v1.15, v1.16)
565fb8d Add nested resource providers (v1.14)
134a463 Fix docstring for delete allocation method
f3ed1e7 New dict format of allocations (v1.11, v1.12)
d343dcb CLI allocation candidates (v1.10)
fcc8081 Usages per project and user (v1.8, v1.9)
2bea1cc Fix the 1.6 release note format
e3a3b8b Remove doc/build during tox -e docs


Diffstat (except docs and test files)
-------------------------------------

osc_placement/resources/allocation.py              | 104 ++++++++++++---
osc_placement/resources/allocation_candidate.py    | 148 +++++++++++++++++++++
osc_placement/resources/resource_provider.py       |  86 ++++++++++--
osc_placement/resources/usage.py                   |  47 +++++++
osc_placement/version.py                           |  10 ++
.../notes/microversion-1.10-03ab71969921a0e4.yaml  |  11 ++
...nested-resource-providers-296961cc93ef30e8.yaml |  11 ++
...16-alloc-candidates-limit-8310675ecc99a82a.yaml |   8 ++
...andidates-required-traits-57378c735d0beeb4.yaml |   8 ++
.../notes/microversion-1.6-54a85ef9ae79f15d.yaml   |  15 ++-
.../microversion-1.8-1.9-db26e40571292353.yaml     |  18 +++
setup.cfg                                          |   4 +-
tox.ini                                            |   6 +-
18 files changed, 814 insertions(+), 50 deletions(-)







More information about the Release-announce mailing list