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

Implement Cpc.get_wwpns() for z14 and higher #1713

Open
andy-maier opened this issue Nov 14, 2024 · 0 comments
Open

Implement Cpc.get_wwpns() for z14 and higher #1713

andy-maier opened this issue Nov 14, 2024 · 0 comments

Comments

@andy-maier
Copy link
Member

In the zhmcclient, we are providing the "Export WWPN List" operation as Cpc.get_wwpns().

The WS-API book states that with the "dpm-storage-management" feature enabled (i.e. z14 and later), the "Export WWPN List" operation fails with HTTP 409 (conflict).

We incorrectly state the supported environments for that method as SE>=2.13, which should actually be SE==2.13 because it is not supported at the WS-API for z14 and later. I think we can actually implement the iterations I described above on z14 and higher, so that the method works on all SE/CPC versions. The approach for getting the WWPNs on z14 and later is to iterate through the storage groups attached to the partition, then through its VSRs, to get the wwpn property of the VSR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant