We are tickled pink to announce the release of: python-senlinclient 1.0.0: OpenStack Clustering API Client Library
This release is part of the newton release series. For more details, please see below. 1.0.0 ^^^^^ New Features ************ * A new command 'senlin cluster-collect' and its corresponding OSC plugin command has been added. This new command can be used to aggregate a specific property across a cluster. * A new CLI command 'senlin cluster-run' and a new OSC plugin command 'openstack cluster run' have been added. Use the 'help' command to find out how to use it. * The senlin CLI 'node-delete' and the OSC plugin command 'cluster node delete' now outputs the action IDs when successful. Error messages are printed when appropriate. * The senlinclient now supports API micro-versioning. Current supported version is 'clustering 1.2'. * A policy-validate command has been added to senlin command line. OSC support is added as well. * A profile-validate command has been added to command line. It can be used for validating the spec of a profile without creating it. * The support to python 3.5 has been verified and gated. Bug Fixes ********* * The cluster policy list command was broken by new SDK changes and then fixed. The 'enabled' field is now renamed to 'is_enabled'. Other Notes *********** * The 'senlin' CLI will be removed in April 2017. This message is now explicitly printed when senlin CLI commands are invoked. * The receiver creation command (both senlin CLI and OSC plugin command) now allow 'cluster' and 'action' to be left unspecified if the receiver type is not 'webhook'. Changes in python-senlinclient 0.5.0..1.0.0 ------------------------------------------- df8b937 Release notes for newton-3 milestone 2bf28e5 Clarify senlin CLI deprecation message 6e41ab2 Fix output from cluster/node delete 473129a Revise params of 'receiver create' command 09a03b3 Remove *openstack/common* from flake8 excclude list in tox.ini 6b812ff OSC plugin command for cluster-run 94e6ec9 Updated from global requirements 71d0f6c Fix "openstack cluster policy binding list <cluster>" 951f7ee Fix cluster-policy-list a5f8b22 Add 'cluster-run' command 74958f8 Updated from global requirements e950249 Updated from global requirements 57aa17c Fix get_node 49f18b0 Fix _show_node error 2eca413 Remove mox3 in test-requirement.txt of senlinclient 7b83eec py3:Rmove six.iteritems/iterkeys in python-senlinclient e3e30ca Imported Translations from Zanata 3a212cd Add policy validate operation to senlinclient e450261 Add profile validate operation to senlinclient 1ee0877 Imported Translations from Zanata a619b79 Reorder required parameters 92f5273 Remove 'ProfileAction' and related arguments 1c6496c Remove local cached version of Resource class f7ecc4b Add cluster_collect support ae07c57 Add support to micro-version 46f1962 Updated from global requirements 6a015d9 Remove discover from test-requirements 7a286d3 Fix typo 69ba1c6 Fix nodes display in cluster-show dd21b7a Update senlinclient for new sdk version 8dc1136 Updated from global requirements bb68b27 Updated from global requirements 3595a65 Add Python 3.5 classifier and venv cae3ad5 Updated from global requirements 5c83678 Prints '-' instead of 'None' when data is None 27048ae Updated from global requirements 35d401a Updated from global requirements 986f648 Imported Translations from Zanata f1b2791 Delete extra space 4437ed8 Use osc_lib instead of cliff b202160 Updated from global requirements 9891067 Use osc-lib instead of openstackclient b5dc38d Enhance message related to OS_PROJECT_DOMAIN_NAME 1351bcb Imported Translations from Zanata 8cc30e1 Imported Translations from Zanata 84916ac Fix openstack cluster resize 10ac9cb Remove unused POT file Diffstat (except docs and test files) ------------------------------------- .../notes/cli-deprecation-241b9569b85f8fbd.yaml | 4 + .../notes/cluster-collect-a9d1bc8c2e799c7c.yaml | 5 + .../cluster-policy-list-42ff03ef25d64dd1.yaml | 4 + .../notes/cluster-run-210247ab70b289a5.yaml | 5 + .../notes/deletion-output-a841931367a2689d.yaml | 5 + .../notes/micro-version-a292ce3b00d886af.yaml | 4 + .../notes/policy-validate-193a5ebb7db3440a.yaml | 4 + .../notes/profile-validate-587f1a964e93c0bf.yaml | 4 + .../notes/python-3.5-c9fd8e34c4046357.yaml | 3 + .../notes/receiver-create-8305d4efbdf35f35.yaml | 5 + releasenotes/source/conf.py | 6 +- .../locale/zh_CN/LC_MESSAGES/releasenotes.po | 40 + requirements.txt | 9 +- senlinclient/cliargs.py | 30 - senlinclient/common/format_utils.py | 4 +- senlinclient/common/sdk.py | 107 +- senlinclient/common/utils.py | 25 +- senlinclient/locale/senlinclient.pot | 1013 ---------------- .../zh_CN/LC_MESSAGES/senlinclient-log-info.po | 21 + .../zh_CN/LC_MESSAGES/senlinclient-log-warning.po | 19 + .../locale/zh_CN/LC_MESSAGES/senlinclient.po | 1256 ++++++++++++++++++++ senlinclient/plugin.py | 9 +- senlinclient/shell.py | 13 +- senlinclient/v1/action.py | 20 +- senlinclient/v1/build_info.py | 15 +- senlinclient/v1/client.py | 33 +- senlinclient/v1/cluster.py | 320 ++++- senlinclient/v1/cluster_policy.py | 21 +- senlinclient/v1/event.py | 26 +- senlinclient/v1/node.py | 61 +- senlinclient/v1/policy.py | 60 +- senlinclient/v1/policy_type.py | 13 +- senlinclient/v1/profile.py | 90 +- senlinclient/v1/profile_type.py | 12 +- senlinclient/v1/receiver.py | 47 +- senlinclient/v1/shell.py | 318 ++++- setup.cfg | 5 + test-requirements.txt | 8 +- tox.ini | 7 +- 58 files changed, 3092 insertions(+), 1606 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index e0318fe..32e9b0c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +6,0 @@ pbr>=1.6 # Apache-2.0 -cliff!=1.16.0,!=1.17.0,>=1.15.0 # Apache-2.0 @@ -9 +8,2 @@ PrettyTable<0.8,>=0.7 # BSD -openstacksdk>=0.8.6 # Apache-2.0 +openstacksdk>=0.9.4 # Apache-2.0 +osc-lib>=1.0.2 # Apache-2.0 @@ -12,3 +12,2 @@ oslo.serialization>=1.10.0 # Apache-2.0 -oslo.utils>=3.11.0 # Apache-2.0 -python-heatclient>=1.1.0 # Apache-2.0 -python-openstackclient>=2.1.0 # Apache-2.0 +oslo.utils>=3.16.0 # Apache-2.0 +python-heatclient>=1.4.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index c2cf2a4..e2ca68c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8 +7,0 @@ coverage>=3.6 # Apache-2.0 -discover # BSD @@ -10 +9 @@ fixtures>=3.0.0 # Apache-2.0/BSD -requests-mock>=0.7.0 # Apache-2.0 +requests-mock>=1.0 # Apache-2.0 @@ -12 +10,0 @@ mock>=2.0 # BSD -mox3>=0.7.0 # Apache-2.0 @@ -15 +13 @@ oslotest>=1.10.0 # Apache-2.0 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD @@ -19 +17 @@ testtools>=1.4.0 # MIT -reno>=1.6.2 # Apache2 +reno>=1.8.0 # Apache2 __________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
