PureStorage-OpenConnect / rest-client

Pure Storage FlashArray Python REST 1.X Client
BSD 2-Clause "Simplified" License
39 stars 23 forks source link

Version 1.19.0 #21

Closed cc-pure closed 4 years ago

cc-pure commented 4 years ago
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.
CLAassistant commented 4 years ago

CLA assistant check
All committers have signed the CLA.