dell / PyU4V

PyU4V is a Python module that simplifies interaction with the Unisphere for PowerMax REST API. It wraps REST calls with simple APIs that abstracts the HTTP request and response handling.
Apache License 2.0
41 stars 37 forks source link

get validate Volumes between Storage Group to a link Storage Group #201

Closed johndanielk closed 3 weeks ago

johndanielk commented 3 weeks ago

I have two storage groups - source and res I created a link from "SG_source" to..."SG_RES" (the SG_RES is a link from "SG_source"

In the bottom line, I try to make a Validation between an existing Volume name (for example 001CD) and a corresponding Volume name

The question is how can I compare volumes between an existing Storage Group and a Linked Storage Group See CLI command

symsnapvx -sid 111 list -linked
Symmetrix ID              : 11111111111    (Microcode Version: 6079)
--------------------------------------------------------------------------------
Sym                                         Link  Flgs
Dev   Snapshot Name                    Gen  Dev   FCMDS Snapshot Timestamp
----- -------------------------------- ---- ----- ----- ------------------------
001BE sg_PMAX_MYName                     0 001D8 .D.X. Sun Sep 29 14:50:12 2024
001BF sg_PMAX_MYName                     0 001D9 .D.X. Sun Sep 29 14:50:12 2024
001CD sg_PMAX_MYName                     0 001CA .D.X. Sun Sep 29 14:50:12 2024
001D3 sg_PMAX_MYName                     0 001D4 .D.X. Sun Sep 29 14:50:12 2024

Here you see that 001CD corresponds to 001CA

Note: I have all the information for both Storage groups of volumes. I want to know if it is possible through a command like the CLI above to perform the same work only through the rest API

THX