• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zhmcclient / python-zhmcclient / test-3513
80%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2025 10:14PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
test-3513

push

github

andy-maier
Fixed and improved methods for FW/API features; Mock support API features

* Added list_firmware_features() to the Cpc and Partition classes. The firmware
  feature data is cached. The method lists the enabled firmware features
  regardless of the HMC/SE version and regardless of whether the firmware
  feature is available. If the HMC/SE version does not support firmware
  features yet (2.14 and HMC API version 2.23), an empty list is returned.

* Added firmware_feature_enabled() to the Cpc and Partition classes, in order
  to test for whether a specific firmware feature is enabled. The firmware
  feature data is cached, and the cache data structure is optimized for fast
  lookup of the feature name.

* Deprecated the feature_enabled() method of the Cpc and Partition classes,
  because it is too complex to use. Use the new firmware_feature_enabled()
  method instead.

* The list_api_features() method of the Cpc and Console classes had cached the
  API feature data. This was a problem because the use of the 'name' filter
  can create different results. The method no longer caches the API feature
  data.

* Added api_feature_enabled() to the Cpc and Console classes, in order
  to test for whether a specific API feature is enabled (=available). The
  API feature data is cached, and the cache data structure is optimized for
  fast lookup of the feature name.

* Added zhmcclient_mock support for the "List CPC API Features" and
  "List Console API Features" operations.

* Changed the data structure of the cached firmware feature data or API
  feature data to be a set of feasture names, for faster lookup when testing
  for features.

* Renamed get_features() in the _utils.py module to get_api_features() and
  optimized its parameters: 'session' and 'base_uri' have been replaced by a
  single 'obj' parameter.

* Added get_firmware_features() in the _utils.py module.

* Extended the unit and end2end testcases accordingly.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
Source Files on build test-3513
Detailed source file information is not available for this build.
  • Back to Repo
  • 9a10f3f1 on github
  • Prev Build on master (#TEST-3489)
  • Next Build on master (#TEST-3527)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc