Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements in cpc and partition modules #177

Merged
merged 1 commit into from Oct 23, 2020

Conversation

andy-maier
Copy link
Member

Rolls forward PR #162 into master/1.0.0.
No additional review needed.

@andy-maier andy-maier self-assigned this Oct 23, 2020
@andy-maier andy-maier added this to the 1.0.0 milestone Oct 23, 2020
@andy-maier andy-maier force-pushed the andy/improve-cpc-partition branch 2 times, most recently from 75db1f8 to 4c7f7ad Compare October 23, 2020 15:07
Details:

* zhmc_cpc: Added an artificial property 'storage-groups' to the output
  that shows the storage groups attached to the partition, with only a subset
  of their properties.

* zhmc_partition: Added an artificial property 'storage-groups' to the output
  that shows the storage groups attached to the partition, with all of their
  properties and artificial properties as in the result of zhmc_storage_group.
  This is enabled by the new boolean input parameter 'expand_storage_groups'.

* zhmc_partition: Added an artificial property 'crypto-adapters' to the
  'crypto-configuration' property, showing the adapter properties of the
  crypto adapters attached to the partition, with all of their properties and
  artificial properties as in the result of zhmc_adapter. This is enabled by
  the new boolean input parameter 'expand_crypto_adapters'.

* zhmc_partition: Added artificial properties to the 'nics' property:

  * 'adapter-name': Name of the adapter backing the NIC
  * 'adapter-port': Port index on the adapter backing the NIC
  * 'adapter-id': Adapter ID (PCHID) of the adapter backing the NIC

* In test_func_partition-py, added missing property 'storage-group-uris' to
  faked partition. This is needed for testing the new boolean input parameter
  'expand_storage_groups'.

* Examples: Added an example playbook 'get_cpc_io.yml' which retrieves
  information about a CPC in DPM mode and its I/O configuration and
  creates a markdown file showing the result.

* Extended function and unit tests of zhmc_partition accordingly.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 20.771% when pulling 75c85e9 on andy/improve-cpc-partition into f5c7879 on master.

@andy-maier andy-maier merged commit 5616963 into master Oct 23, 2020
@andy-maier andy-maier deleted the andy/improve-cpc-partition branch October 23, 2020 19:15
@andy-maier andy-maier linked an issue Oct 29, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add new partition properties for z15
2 participants