-
Notifications
You must be signed in to change notification settings - Fork 26
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
Support for Partition Links #1685
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
andy-maier
force-pushed
the
andy/partition-link
branch
2 times, most recently
from
October 24, 2024 08:24
e3498a8
to
3184b41
Compare
andy-maier
force-pushed
the
andy/partition-link
branch
from
October 24, 2024 11:21
3184b41
to
f74db69
Compare
andy-maier
force-pushed
the
andy/partition-link
branch
3 times, most recently
from
October 25, 2024 15:17
2a01040
to
15c7bf0
Compare
andy-maier
force-pushed
the
andy/partition-link
branch
from
October 25, 2024 15:20
15c7bf0
to
eab61e3
Compare
andy-maier
force-pushed
the
andy/partition-link
branch
5 times, most recently
from
January 10, 2025 13:53
bb1e363
to
4b70c5f
Compare
andy-maier
force-pushed
the
andy/partition-link
branch
2 times, most recently
from
January 10, 2025 13:56
5b61c6e
to
f775287
Compare
andy-maier
force-pushed
the
andy/partition-link
branch
2 times, most recently
from
January 22, 2025 03:08
8c74457
to
a4926fc
Compare
andy-maier
changed the title
[WIP] Support for Partition Links
Support for Partition Links
Jan 22, 2025
andy-maier
force-pushed
the
andy/partition-link
branch
from
January 22, 2025 03:16
a4926fc
to
6b5c73f
Compare
simon-spinner
approved these changes
Jan 22, 2025
Details: * Added support for Partition Links with a new 'zhmcclient.PartitionLink' resource class (and corresponding manager class). Added the following methods for partition links to the 'zhmcclient.Partition' class: 'attach_network_link()', 'detach_network_link()', 'attach_ctc_link()', 'detach_ctc_link()', 'list_attached_partition_links()'. * Because the "Create Partition Link" HMC operation does not return the 'object-uri' property of the created partition link, the handling of HTTP POST operations has been enhanced to add the URI returned in the "Location" header field as an artificial property 'location-uri' to the result data, if the "Location" header field is set and the result data does not contain 'object-uri' or 'element-uri'. * Added the following example scripts: examples/list_attached_partition_links.py examples/list_partition_links.py * Added end2end testcases for 'zhmcclient.PartitionLink' and for the new methods addded to 'zhmcclient.Partition'. * Added the following functions to the end2end utils.py: assert_properties(act_obj, exp_obj) skipif_no_partition_link_feature(cpc) pformat_as_dict(dict_) copy_dict(dict_) copy_list(list_) * In the end2end utils.py function standard_partition_props(), improved the performance by retrieving the necessary CPC properties no longer by pulling all properties, but by pulling them selectively. Signed-off-by: Andreas Maier <[email protected]>
andy-maier
force-pushed
the
andy/partition-link
branch
from
January 22, 2025 15:41
6b5c73f
to
8a92f8b
Compare
This was referenced Jan 22, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For details, see the commit message.
The PR is ready to be merged.