Zhmcclient

Latest version: v1.19.1

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

Scan your dependencies

Page 3 of 9

1.7.0

Not secure
^^^^^^^^^^^^^

This version contains all fixes up to version 1.6.1.

Released: 2023-05-16

**Bug fixes:**

* Changed versions of packages used by zhmc:

- Increased zhmcclient to 1.8.0 to pick up fixes and functionality
- Increased jsonschema to 3.0.1, urllib3 to 1.26.5, requests to 2.25.0,
all for consistency with zhmcclient.

* Test: Fixed test_info.py test that broke with new urllib3 version 2.0.2.

* Fixed RTD docs build issue with OpenSSL by adding RTD config file that
specifies Ubuntu 22.04 for the OS.

* Fixed the incorrect representation of string values as floating point numbers
in the table output formats. (issue 391)

* Removed the option '--crypto-number' from the 'zhmc adapter update' command.
This is not an incompatible change, since it is not possible to change the
the crypto number of a Crypto Express adapter. (part of issue 108)

**Enhancements:**

* Added 'zhmc unmanaged_cpc' command group for dealing with unmanaged CPCs.

* Added support for changing the crypto type of Crypto Express adapters
and the type of FICON Express adapters to the 'zhmc adapter update'
command. (issue 108)

* Added a troubleshooting section to the docs.

* Added a hidden '--pdb' general option for having the zhmc command break right
before the invocation of the command. This can be used for debugging,
particularly in end2end tests.

* Added 'zhmc ldap' command group for managing LDAP server definitions.
(issue 393)

* Added initial support for end2end tests. For details, see the new
"Running end2end tests" section in the documentation.
A first end2end testcase for the 'zhmc session' command has been added.

* Added new commands to assign/unassign certificates to/from DPM partitions
and classic mode LPARs.

* Added new top level command group 'certificate'.

* Added two new commands 'console list-api-features' and 'cpc list-api-features'
to support the new "API features" concept.

1.6.0

Not secure
^^^^^^^^^^^^^

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

Not secure
^^^^^^^^^^^^^

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

Not secure
^^^^^^^^^^^^^

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

Not secure
^^^^^^^^^^^^^

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

Not secure
^^^^^^^^^^^^^

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

Page 3 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.