Closed andy-maier closed 1 year ago
I have introduced helper functions for the setting of properties from specially handled options. Please re-review.
I looked again at the find_...()
functions and whether they take cpc_name
or cpc_or_name
as an argument. All of them take cpc_or_name
as an argument, except the three new ones for the activation profiles. But none of them uses the ability for Cpc as a resource object, it was just passed through, but never actually called that way.
So we could remove the support for a Cpc resource object in the find_:::() functions and reduce that to just always the CPC name. That would eliminate some other portions of duplicated code.
I'll do that in a separate PR.
Update: That became PR #525
Ready for review. Has been tested on A65. To try this PR yourself, run
make install
after checking out the branch, in order to install the updated "zhmcclient" package.