Skip to content

Support for storage subsystems #2251

Description

@andy-maier

Add support for storage subsystem objects, as child objects of the Console object. The usual methods for creatable objects should be supported.

Note that the API uses the terminology define/undefine instead of create/delete, but I suggest to use the usual create()/delete() methods for consistency.

The standard list() method should be implemented by invoking the HMC list operation "list subsystems of a site", dependent on which filter arguments are provided: If the artificial filter argument storage-site-uri is provided, use "list subsystems of a site" using that URI. Else, list storage sites (with a CPC filter, if provided to the list() method) and for each site, list the subsystems of the site using "list subsystems of a site".

Add support for the move operation via a special method move_to_site().

Add support for the add/remove connection endpoint operations via special methods that are separate for each endpoint object type: add/remove_connection_adapter(), add/remove_connection_switch_port().

Add unit, function and end2end testcases, consistent with other objects.

Add the corresponding mock support.

Add mock definitions for some storage subsystems for some CPCs.

Add testcases for the mock support.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions