Skip to content

1.19.0

Latest
Compare
Choose a tag to compare
@cc-pure cc-pure released this 26 Jun 22:29
274dfd3

Adds support for Pure Storage FlashArray REST versions 1.19

New APIs:

  • add_tag_to_volume(self, volume, key, value, **kwargs):
    Add tag to volume and return a dictionary describing it.
    Requires use of REST API 1.19 or later.

  • remove_tag_from_volume(self, volume, key, **kwargs):
    Remove a tag from a volume and return a dictionary describing it.
    Requires use of REST API 1.19 or later.

  • create_pod_replica_link(self, local_pod_name, remote_pod_name, **kwargs):
    Create replica-link.
    Requires use of REST API 1.19 or later.

  • delete_pod_replica_link(self, local_pod_name, remote_pod_name):
    Delete replica-link.
    Requires use of REST API 1.19 or later.

  • list_pod_replica_links(self, **kwargs):
    List replica-link.
    Requires use of REST API 1.19 or later.

  • pause_pod_replica_link(self, local_pod_name, remote_pod_name, **kwargs):
    Create replica-link.
    Requires use of REST API 1.19 or later.

  • resume_pod_replica_link(self, local_pod_name, remote_pod_name, **kwargs):
    Resume replica-link.
    Requires use of REST API 1.19 or later.

  • promote_pod(self, pod, **kwargs):
    Promote pod.
    Requires use of REST API 1.19 or later.

  • demote_pod(self, pod, **kwargs):
    Demote pod
    Requires use of REST API 1.19 or later.

Other:

  • Fixes a bug where an exception raised by requests. It should not
    assume that the error object will always be of PureErr type.