[release-announce] python-ironicclient 2.7.0 (stein)

no-reply at openstack.org no-reply at openstack.org
Fri Mar 8 00:40:37 UTC 2019


We are tickled pink to announce the release of:

python-ironicclient 2.7.0: OpenStack Bare Metal Provisioning API
Client Library

This release is part of the stein release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/python-ironicclient

Download the package from:

    https://pypi.org/project/python-ironicclient

Please report issues through launchpad:

    https://storyboard.openstack.org/#!/project/959

For more details, please see below.

2.7.0
^^^^^


New Features
************

* The consumer of ironicclient may be deriving their "get_client"
  kwargs from config inherited from ksa, where the "interface" option
  has been deprecated in favor of "valid_interfaces". To accomodate
  this, we now accept "valid_interfaces" as a kwarg, giving it
  precedence over "interface". However, we still accept "interface",
  as the consumer may be deriving kwargs from a non-conf source (such
  as an already-created ksa Adapter where "valid_interfaces" has
  already been translated to "interfaces").

* Adds the ability to list and show conductors known by the Bare
  Metal service, as well as showing the "conductor" field on the node,
  introduced in API 1.49.

* Adds the "Event" resource and the "client.events.create" Python
  SDK method to support publishing events to the Bare Metal service
  using the /v1/events API endpoint (introduced in API version 1.54).

  Note: Events are not intended for end-user usage. (Internal use
    only.)

* Adds support for Smart NIC ports by adding the "--is-smartnic"
  argument to the following CLI commands:

  * "openstack baremetal port create"

  * "openstack baremetal port set"

  * "openstack baremetal port unset"

  This was introduced in API version 1.53.

* Adds "description" field support, which is introduced in ironic
  API 1.51. This field is used to store informational text about the
  node. User can also do queries for nodes where their "description"
  field contains specified substring.

* Adds support to display and update the "owner" field of nodes,
  which is introduced in API 1.50.

* Adds Python API and CLI for the allocation API introduced in API
  version 1.52. Adds new commands:

  * "openstack baremetal allocation create"

  * "openstack baremetal allocation delete"

  * "openstack baremetal allocation get"

  * "openstack baremetal allocation list"

* Supports passing a JSON object to "--config-drive" to build the
  config drive on the server side (requires API version 1.56) to the
  following commands:

  * "openstack baremetal node deploy <node> --config-drive '{...}'"

  * "openstack baremetal node rebuild <node> --config-drive '{...}'"

* Adds Python API and CLI for the deploy templates API introduced in
  API version 1.55. The following new commands are available:

  * "openstack baremetal deploy template create"

  * "openstack baremetal deploy template delete"

  * "openstack baremetal deploy template list"

  * "openstack baremetal deploy template set"

  * "openstack baremetal deploy template show"


Bug Fixes
*********

* The "interface" argument was being ignored so that the HTTP client
  was always using the public endpoint for Ironic. This fixes it so
  that the "interface" argument is taken into consideration. See story
  2005118 (https://storyboard.openstack.org/#!/story/2005118).

Changes in python-ironicclient 2.6.0..2.7.0
-------------------------------------------

4af8a79 Update release notes
5d8231f Follow-up to the configdrive change
ae1743d Accept 'valid_interfaces' in client setup
d6eea40 pass endpoint interface to http client
595db83 Support passing a dictionary for configdrive
cc37253 Deploy templates: client support
fdba8ed [Trivial] Allocation API: fix incorrect parameter description
6a35003 [Follow Up] Add 'hostname' to port's local link connection
a0eb965 Replace mock.has_calls() with assert_has_calls
c8abede Add 'hostname' to port's local link connection
3ca40ce Add is-smartnic port attribute to port command
ce31711 Support node description
e0708a1 Allocation API: client API and CLI
b988daf add python 3.7 unit test job
e8a6d44 Add Events support
d15877f Add node owner
fed8abe Support for conductors exposed from API
31788ed Change openstack-dev to openstack-discuss


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

ironicclient/client.py                             |  15 +-
ironicclient/common/http.py                        |   2 +-
ironicclient/common/utils.py                       |  37 ++
ironicclient/osc/v1/baremetal_allocation.py        | 269 ++++++++++++
ironicclient/osc/v1/baremetal_conductor.py         | 145 +++++++
ironicclient/osc/v1/baremetal_deploy_template.py   | 345 +++++++++++++++
ironicclient/osc/v1/baremetal_node.py              |  80 +++-
ironicclient/osc/v1/baremetal_port.py              |  42 +-
.../functional/osc/v1/test_baremetal_allocation.py | 160 +++++++
.../osc/v1/test_baremetal_conductor_basic.py       |  38 ++
.../osc/v1/test_baremetal_deploy_template_basic.py | 177 ++++++++
.../unit/osc/v1/test_baremetal_deploy_template.py  | 450 ++++++++++++++++++++
.../unit/osc/v1/test_baremetal_volume_connector.py |   4 +-
.../unit/osc/v1/test_baremetal_volume_target.py    |   4 +-
ironicclient/v1/allocation.py                      | 141 ++++++
ironicclient/v1/client.py                          |   9 +
ironicclient/v1/conductor.py                       |  79 ++++
ironicclient/v1/deploy_template.py                 |  86 ++++
ironicclient/v1/events.py                          |  29 ++
ironicclient/v1/node.py                            |  48 +--
ironicclient/v1/port.py                            |   2 +-
ironicclient/v1/resource_fields.py                 |  84 +++-
.../accept-valid_interfaces-3b8f5e3e362e04cd.yaml  |  11 +
.../notes/add-conductor-cli-233249ebc9d5a5f3.yaml  |   6 +
.../notes/add-events-support-53c461d28abf010b.yaml |   8 +
...add-is-smartnic-port-attr-ed46d887aec276ed.yaml |  11 +
...-node-description-support-6efd0882eaa0c788.yaml |   7 +
.../notes/add-node-owner-c2dce5a6075ce2b7.yaml     |   5 +
.../notes/allocation-api-5f13082a8b36d788.yaml     |  10 +
.../notes/configdrive-7bd2b67830691b2e.yaml        |   9 +
.../notes/deploy-templates-df354ce825b00430.yaml   |  11 +
.../pass-interface-argument-deb92e3feb0bf051.yaml  |   7 +
setup.cfg                                          |  12 +
zuul.d/project.yaml                                |   1 +
53 files changed, 4518 insertions(+), 76 deletions(-)







More information about the Release-announce mailing list