Zhmcclient

Latest version: v1.16.1

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

Scan your dependencies

Page 3 of 8

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.

1.0.0

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

Released: 2021-08-18

**Incompatible changes:**

* Dropped support for Python 3.4. Python 3.4 has had its last release as 3.4.10
on March 18, 2019 and has officially reached its end of life as of that date.
Current Linux distributions no longer support Python 3.4. (issue 185)

* Changed default for option '--usage' of 'storagevolume update' command to
not be changed. Prior default was to set usage to 'data', which required
specifying it with the old value if it was supposed not to be changed.
(part of issue 125)

**Bug fixes:**

* Fixed HTTP errors raised as traceback during various 'list' commands. These
errors are now shown as proper error messages. (issue 215)

**Enhancements:**

* Increased minimum version of zhmcclient to 1.0.0.

* Added defaults to help text of command options with value, where missing.
(issue 125)

* Added a '--secure-boot' option to the 'lpar scsi-dump' and 'partition update'
commands. It had already been supported by the 'lpar scsi-load' command.
(issue 206)

* Added support for setting some properties of lpar, partition and nic resources
to null when specifying an empty string as the option value in create and
update commands. The option help text has been updated accordingly. (issue 2)

* Clarified in help text of '--ssc-dns-servers' option of the 'partition
create' and 'partition update' commands that multiple DNS servers are
specified using a comma-separated list. (issue 216)

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.