Skip to content

Added support for tape link and virtual tape resource#2103

Open
vontedduchaithra wants to merge 3 commits into
masterfrom
tapelink
Open

Added support for tape link and virtual tape resource#2103
vontedduchaithra wants to merge 3 commits into
masterfrom
tapelink

Conversation

@vontedduchaithra

Copy link
Copy Markdown
Contributor

No description provided.

@coveralls

coveralls commented Apr 9, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 77.234%. first build — tapelink into master

Comment thread zhmcclient/mock/_urihandler.py Outdated

valid_query_parms_get = ['cpc-uri', 'name', 'fulfillment-state']

returned_props = ['object-uri', 'cpc-uri', 'name', 'fulfillment-state']

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 API book also lists tape-library-uri as a returned property.

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/mock/_urihandler.py Outdated
Handler class for HTTP methods on set of TapeLink resources.
"""

valid_query_parms_get = ['cpc-uri', 'name', 'fulfillment-state']

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 API book also lists tape-library-uri as a supported filter query parameter.

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/mock/_urihandler.py Outdated
def post(method, hmc, uri, uri_parms, body, logon_required,
wait_for_completion):
# pylint: disable=unused-argument
"""Operation: Delete Tape Link."""

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 operation is "Modify Tape Link Properties".

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/mock/_urihandler.py Outdated
@staticmethod
def get(method, hmc, uri, uri_parms, logon_required):
# pylint: disable=unused-argument
"""Operation: Get Partitions attached to Tape Link."""

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 operation is called "Get Partitions for a Tape Link".
May sound like a nitpick issue, but the string may be used for searching the operation in the API book.

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/_tape_link.py
query_props = [
'cpc-uri',
'name',
'fulfillment-state',

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 API book also lists tape-library-uri as a supported filter query parameter.

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

Signed-off-by: Vonteddu Chaithra <Vonteddu.Chaithra1@ibm.com>
Vonteddu Chaithra added 2 commits June 28, 2026 14:35
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.

Support for Tape Link resource

3 participants