Zhmccli

Latest version: v1.12.0

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.6.0

^^^^^^^^^^^^^

This version contains all fixes up to version 1.5.1.

Released: 2023-03-27

**Incompatible changes:**

- cpc command dpm-import: the schema used for validating the adapter mapping file
(issue 362) didn't match the content in the corresponding documentation.
Both, documentation and schema were modified following the naming used
in the "Import DPM configuration" WSAPI endpoint specification.

- cpc command dpm-export: the default behavior when exporting the DPM
configuration has been changed to only include those adapters that are
referenced by other elements of the exported configuration data.
A new flag --include-unused-adapters was added to dpm-export to
allow for running an export that includes all adapters of the CPC. (369)

**Bug fixes:**

* Added tox and virtualenv to dependencies.

* Fixed TypeError exception in Click package when using 'cpc dpm-export' or
'cpc dpm-import' commands. (issue 370)

* Increased minimum version of zhmcclient to 1.7.0 to pick up required fixes.

**Enhancements:**

* Added missing environments to weekly full tests (Python 2.7,3.5,3.6 on Windows
and MacOS).

* Added some critical environments to normal PR tests (Python 3.6/min, 3.10/min).

* Changed to using the 'build' package for building the distribution archives
instead of 'setup.py' commands, following the recommendation of the Python
packaging community
(see https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html).

* Addressed issues reported by safety by increasing package versions. (349)

* Changed JSON output for dpm-export to be sorted and properly indented (363)

* Added support for Python 3.11.

**Cleanup:**

* Increased minimum versions of pip, setuptools, wheel to more recent versions.

1.5.0

^^^^^^^^^^^^^

Released: 2023-03-06

**Bug fixes:**

* Test: Fixed install error of Python 2.7, 3.5, 3.6 on Ubuntu in GitHub Actions.

* Pylint: Migrated config file to pylint 2.14; No longer installing Pylint on
Python 2.7; Enabled running Pylint again on Python 3.5, Increased minimum
version of Pylint to 2.10.0 on Python 3.5 and higher.

* Fixed that cpc dpm-import operation does not show output details if response
code is 200. (issue 342)

**Enhancements:**

* Simplified release process by adding a new GitHub Actions workflow publish.yml
to build and publish to PyPI.

* Docs: Added a section "Setting up firewalls or proxies" that provides
information which ports to open for accessing the HMC. (issue 335)

* Increased zhmcclient to version 1.6.0 to pick up new functionality.

**Cleanup:**

* Addressed issues in test workflow reported by Github Actions. (issue 336)

* Unpinned Click from <8 for Python >=3.6 (issue 331)

1.4.0

^^^^^^^^^^^^^

Released: 2022-10-25

**Enhancements:**

* Added a new command 'zhmc adapter list-nics' for listing the NICs backed
by a network adapter. (issue 110)

* Added commands 'lpar reset-clear' and 'lpar reset-normal'. (issue 111)

* Increased zhmcclient to version 1.5.0 to pick up needed functionality.

1.3.0

^^^^^^^^^^^^^

This version contains all fixes up to version 1.2.3.

Released: 2022-10-23

**Bug fixes:**

* Fixed that --vlan-id could not be omitted in 'zhmc nic create' and
'zhmc nic update'. (issue 291)

* Added a '--vlan-type' option to 'zhmc nic create' and 'zhmc nic update' to
set the VLAN type. (issue 292)

* Fixed a flake8 AttributeError when using importlib-metadata 5.0.0 on
Python >=3.7, by pinning importlib-metadata to <5.0.0 on these Python
versions.

* Fixed that 'user create' passed the 'mfa-types' and
'multi-factor-authentication-required' properties to the HMC even when no
MFA-related options were specified. This caused rejection of the command on
HMC versions 2.14.0 and older. (issue 286)

* Fixed that the --boot-iso option of the 'partition update' command took a
TEXT argument (which was not used). Changed that to a flag option.
(issue 287)

* Fixed a TypeError raised by 'zhmc vstorageresource list' when a
candidate adapter had not yet been discovered. (part of issue 307)

**Enhancements:**

* Help messages now use the actual terminal width up to 160 characters, and
require a minimum terminal width of 80. The automatic detection of the
terminal width can be overridden by setting the env var ZHMCCLI_TERMWIDTH
to the desired terminal width.

* Added support for specifying the 'acceptable-status' property in the
zhmc commands 'partition create' and 'partition update' via a new
--acceptable-status option. Multiple status values can be specified as a
comma-separated list. (issue 285)

* Extended the --acceptable-status option of the zhmc commands 'cpc update'
and 'lpar update' to support multiple status values as a comma-separated
list. (issue 285)

* Added artificial properties to all 'show' commands that show the name of
resources referenced via an URI. (issue 307)

* Added artificial properties to the 'zhmc nic show' command for the backing
adapter and port if the NIC is backed by a vswitch (i.e. for OSA,
Hipersockets). (issue 307)

1.2.0

^^^^^^^^^^^^^

This version contains all fixes up to version 1.1.1.

Released: 2022-04-02

**Bug fixes:**

* Fixed that the "lpar scsi-load" and "lpar scsi-dump" commands defined their
--disk-partition-id option value incorrectly as a string, when it should have
been an integer. (issue 270)

* Fixed that "lpar list --names-only" had an empty "cpc" column. (issue 269)

* Increased minimum version of zhmcclient to 1.2.1 to pick up several fixes,
including the fix for 'lpar scsi-dump' failing due to missing 'secure_boot'
parameter (issue 280)

**Enhancements:**

* Properties in JSON output are now always sorted by property name. (issue 267)

* Added support for the "console" command group, with the following commands:

- get-audit-log - Get the audit log of the targeted HMC.
- get-security-log - Get the security log of the targeted HMC.
- show - Show properties of the console of the targeted HMC.

Issue 277

1.1.0

^^^^^^^^^^^^^

This version contains all fixes up to version 1.0.3.

Released: 2021-12-23

**Bug fixes:**

* Changed development status of zhmccli on Pypi from 4 (Beta) to
5 (Production/Stable). (issue 221)

* Fixed new issues reported by Pylint 2.10.

* Disabled new Pylint issue 'consider-using-f-string', since f-strings were
introduced only in Python 3.6.

* Fixed install error of wrapt 1.13.0 on Python 2.7 on Windows due to lack of
MS Visual C++ 9.0 on GitHub Actions, by pinning it to <1.13.

* Fixed confusing CR in Aborted message when breaking a prompt.

* Fixed an error in the 'partition dump' command when --operation-timeout
was specified, and in 'storagegroup delete' when the email options were used.
(issue 250)

**Enhancements:**

* Added support for managing the auto-start list of a CPC (in DPM mode) via a
new command group 'cpc autostart'. (issue 33)

* Improved error handling so that exceptions raised by zhmcclient now always
result in displaying a proper error message instead of a Python traceback.

* Added support for managing HMC users, user roles, and password rules
via new command groups 'user', 'userrole', 'passwordrule', and
'passwordrule characterrule'. (part of issue 96)

* Added support for exporting and importing a DPM configuration from / to a
CPC via new 'dpm-export' and 'dpm-import' commands of the 'cpc' command
group. (issue 243)

* Increased minimum version of zhmcclient to 1.1.0, and added the jsonschema,
PyYAML and yamllloader packages as new dependencies, as part of issue 243.

* Support for Python 3.10: Added Python 3.10 in GitHub Actions tests, and in
package metadata.

* Added support for a '--like' option when creating users. This will use
certain properties of the like user as defaults for the new user.

**Cleanup:**

* Removed import of the pyreadline package on Windows for enabling history in
interactive mode, and import of the built-in readline module since it no
longer seems to be needed and interactive mode history is available without
them.

* Removed building of the Windows binary install program, since that is no
longer supported by pip/setuptools. It was not used in the package anyway.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.