Skip to content

Added Support For Storage Site API's#2206

Open
vontedduchaithra wants to merge 4 commits into
masterfrom
storagesite
Open

Added Support For Storage Site API's#2206
vontedduchaithra wants to merge 4 commits into
masterfrom
storagesite

Conversation

@vontedduchaithra

Copy link
Copy Markdown
Contributor

No description provided.

@coveralls

coveralls commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 77.373%. first build — storagesite into master

Signed-off-by: Vonteddu Chaithra <Vonteddu.Chaithra1@ibm.com>
Signed-off-by: Vonteddu Chaithra <Vonteddu.Chaithra1@ibm.com>
@andy-maier andy-maier self-requested a review July 5, 2026 04:36
@andy-maier andy-maier added this to the 1.26.0 milestone Jul 5, 2026
Comment thread tests/end2end/test_storage_site.py Outdated
Comment thread docs/appendix.rst Outdated
@@ -0,0 +1,294 @@
# Copyright 2025 IBM Corp. All Rights Reserved.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the copyright year to the current year.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved

Comment thread zhmcclient/_storage_site.py Outdated
Comment thread zhmcclient/_storage_site.py Outdated

# Resource properties that are supported as filter query parameters.
query_props = [
'cpc-uris',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The query parameter for the cpc-uris property is named cpc-uri.
So far, the assumption in the code is that the property has the same name as the query parameter.

That is not the case here, so you need to add special handling of that to the code, and also make sure there is a testcase for that case. The property name here should probably remain cpc-uris because that will be the property that is specified in the filter_args parameter of list(). The special handling is probably in _list_with_operation() or in divide_filter_args(), but these are very generic methods/functions and you don't want to hard code that case there. I think it requires some more class variable in the StorageSiteManager object to provide the necessary data to these functions. You need to work out how you want to handle that, and we can discuss it in the weekly meeting.

Comment thread zhmcclient/_storage_site.py
Vonteddu Chaithra added 2 commits July 9, 2026 12:37
Signed-off-by: Vonteddu Chaithra <Vonteddu.Chaithra1@ibm.com>
Signed-off-by: Vonteddu Chaithra <Vonteddu.Chaithra1@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants