[release-announce] [ironic] python-ironicclient 1.9.0 (ocata)

no-reply at openstack.org no-reply at openstack.org
Thu Jan 12 18:22:45 UTC 2017


We are psyched to announce the release of:

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

This release is part of the ocata release series.

The source is available from:

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

Download the package from:

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

Please report issues through launchpad:

    http://bugs.launchpad.net/python-ironicclient

For more details, please see below.

1.9.0
^^^^^


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

* Add possibility to remove chassis_uuid for node by adding '--
  chassis-uuid' argument to 'openstack baremetal node unset' command.

* Mode and properties fields were added to the portgroup object,
  along with respective arguments for the ironic CLI and the
  OpenStackClient plugin, they are available starting with ironic API
  microversion 1.26.

* Extends the Ironic CLI with new commands:

  * ironic portgroup-create

  * ironic portgroup-show

  * ironic portgroup-list

  * ironic portgroup-delete

  * ironic portgroup-update

  * ironic portgroup-port-list

  Also extends ironic port-create with --portgroup. Portgroup support
  was added in Ironic API version 1.24.

* Adds support for attaching and detaching VIFs. This is available
  starting with ironic API microversion 1.28.

  The new commands are:

  * "ironic node-vif-list <node>"

  * "ironic node-vif-attach <node> <vif-id>"

  * "ironic node-vif-detach <node> <vif-id>"

  * "openstack baremetal node vif list <node>"

  * "openstack baremetal node vif attach <node> <vif-id>"

  * "openstack baremetal node vif detach <node> <vif-id>"

* The chassis of a node can be set via the new --chassis-uuid
  optional argument for "openstack baremetal node set".

* Extend the OpenStackClient plugin with new commands:

  * openstack baremetal port group create

  * openstack baremetal port group show

  * openstack baremetal port group list

  * openstack baremetal port group delete

  * openstack baremetal port group set

  * openstack baremetal port group unset

  Extends the 'openstack baremetal port' commands (where applicable)
  to allow specifying the port group (if any) that a port is a member
  of, via the new --port-group argument.


Bug Fixes
*********

* Where applicable, help for commands will output the required
  arguments in a separate section from the optional arguments. For
  example, the commands "ironic help node-create" and "ironic help
  port-create".

Changes in python-ironicclient 1.8.0..1.9.0
-------------------------------------------

288371a Add interface attach/detach support
7bb1f3a Update tox envs list
b227a39 Raise on NodeManager get when invalid identifier provided
20ec53a [trivial] Fix underline length under title in doc
ddcbf60 [trivial] Fix of apostrophe in tox.ini
527a6e4 Simplify heading capitalization.
05edf54 Add mode and properties to portgroup OSC plugin
5af0762 Add mode and properties to portgroup
f88d99b Log warning if no property for (Un)Set commands
2c5d112 Pass argument as params in test_port_update
8595b59 Add portgroup support to osc plugin
60fb57b Simplify heading capitalization in shell's HelpFormatter.
03acb13 Describe possible exception in docstring
64da8ea Fix API object representation in unittests
13fe7cc Add python API and CLI for port groups
b34c565 Use oslo_serialization.base64 to follow OpenStack Python3
d6738ed Updated from global requirements
26a87aa Fix exception message creation in get_client()
fd05e3b Describe possible exception in docstring
7260894 Add more tests to node_shell
7cc774c Updated from global requirements
c100a55 Use identity api version 3 for OSC plugin tests
56f19ee Update release note for fix to required args
e86525f Show team and repo badges on README
36fcd26 Add warning message for baremetal node set/unset commands
42f5cfd Allow import more than one func from i18n
b0641b1 List required arguments in '--help' message in Ironic Client.
649f3a1 Replace six.iteritems() with .items()
12d3810 Use uuidutils instead of uuid.uuid4()
53df9f9 Add tests for maintenance mode commands
edb4981 Add tests for provision state commands
fe4fe01 Add test for ironic port-list command
4e359ba OSC add capability to remove node/chassis_uuid
6f53a18 Update to hacking 0.12.0 and use new checks
4bb734f Updated from global requirements
ea7c719 Add basic tests for OSC plugin baremetal node commands
bc20421 Adds --chassis-uuid to osc 'baremetal node set'


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

README.rst                                         |   9 +
ironicclient/client.py                             |   3 +-
ironicclient/common/apiclient/base.py              |   4 +-
ironicclient/common/apiclient/exceptions.py        |   2 +-
ironicclient/common/base.py                        |   6 +
ironicclient/common/utils.py                       |  15 +-
ironicclient/osc/plugin.py                         |   2 +-
ironicclient/osc/v1/baremetal_chassis.py           |  13 +-
ironicclient/osc/v1/baremetal_node.py              | 108 ++-
ironicclient/osc/v1/baremetal_port.py              |  49 +-
ironicclient/osc/v1/baremetal_portgroup.py         | 469 +++++++++++++
ironicclient/shell.py                              |   4 +-
.../functional/osc/v1/test_baremetal_node_basic.py | 179 +++++
.../osc/v1/test_baremetal_node_provision_states.py |  81 +++
ironicclient/v1/client.py                          |   2 +
ironicclient/v1/node.py                            |  29 +
ironicclient/v1/node_shell.py                      |  29 +-
ironicclient/v1/port.py                            |  11 +-
ironicclient/v1/port_shell.py                      |   8 +-
ironicclient/v1/portgroup.py                       | 204 ++++++
ironicclient/v1/portgroup_shell.py                 | 304 +++++++++
ironicclient/v1/resource_fields.py                 |  47 +-
ironicclient/v1/shell.py                           |   2 +
..._uuid-removal-possibility-5bc0bc3a7953eaa5.yaml |   5 +
...portgroup-mode-properties-0a3023cf905adaef.yaml |   5 +
.../add-portgroups-support-c3cf3826093ee815.yaml   |  14 +
...vif-attach-detach-support-e680d64e4add0fa4.yaml |  14 +
.../osc-node-set-chassis-aae3413489b66b9b.yaml     |   4 +
.../notes/osc-plugin-f87e0fbb472261dd.yaml         |  16 +
...f-node-create-port-create-b213bb28bcc94743.yaml |   6 +
requirements.txt                                   |   6 +-
setup.cfg                                          |   9 +
test-requirements.txt                              |   3 +-
tools/run_functional.sh                            |   1 +
tox.ini                                            |   8 +-
57 files changed, 3722 insertions(+), 75 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 24b7cc7..8d17acc 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4 +4 @@
-pbr>=1.6 # Apache-2.0
+pbr>=1.8 # Apache-2.0
@@ -8 +8 @@ jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
-keystoneauth1>=2.14.0 # Apache-2.0
+keystoneauth1>=2.16.0 # Apache-2.0
@@ -16 +16 @@ PyYAML>=3.10.0 # MIT
-requests>=2.10.0 # Apache-2.0
+requests!=2.12.2,>=2.10.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 5a1e09d..053dd3e 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -4 +4 @@
-hacking<0.12,>=0.11.0 # Apache-2.0
+hacking<0.13,>=0.12.0 # Apache-2.0
@@ -18,0 +19 @@ os-testr>=0.8.0 # Apache-2.0
+ddt>=1.0.1 # MIT





More information about the Release-announce mailing list