Skip to content

Added support for tape link and virtual tape resource#2103

Open
vontedduchaithra wants to merge 1 commit into
masterfrom
tapelink
Open

Added support for tape link and virtual tape resource#2103
vontedduchaithra wants to merge 1 commit 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% (+0.04%) from 77.19% — tapelink into master


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.

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.

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".

@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.

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.

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