Skip to content

Commit 097d5f2

Browse files
committed
Version 1.16.0
Adds support for Pure Storage FlashArray REST versions 1.15 and 1.16 New APIs in 1.16: - connect_s3_offload(self, name, **kwargs) Connect an offload S3 target. - disconnect_s3_offload(self, name) Disconnect an S3 offload target. - list_s3_offload(self, **kwargs) Return a list of dictionaries describing connected S3 offload targets. - get_s3_offload(self, name, **kwargs) Return a dictionary describing the connected S3 offload target. - list_directory_service_roles(self, **kwargs) Get directory service groups for roles. - set_directory_service_roles(self, **kwargs) Set directory service groups for roles. - get_global_admin_attributes(self) Return a dictionary describing the existing global admin attributes. - set_global_admin_attributes(self, **kwargs) Set the global admin attributes. - list_locked_admins_lockout_info(self) Return a list of dictionaries describing lockout information for locked admins. - get_admin_lockout_info(self, admin) Return a dictionary describing lockout information for a specific admin. - unlock_admin(self, admin) Unlocks an admin - send_pgroup_snapshot(self, source, **kwargs) Send an existing pgroup snapshot to target(s) - list_app_software(self, **kwargs) List app software. - get_app_software(self, name, **kwargs) List the specified app software. - install_app(self, name, **kwargs) Install the specified app. - uninstall_app(self, name, **kwargs) Uninstall the specified app. - enable_app(self, name) Enable the specified app. - disable_app(self, name) Disable the specified app. Changed APIs: 1.15 changes: - adding support for failover preference: - get_pod() and list_pods() add field “failover_preference” to output - set_pod() and create_pod() accept parameter “failover_preference” - adding support for preferred array: - get_host() and list_hosts() add field “preferred_array” to output - set_host() and create_host() accept parameter “preferred_array” 1.16 changes: - Array Connection: - list_array_connections() the field "type" is now a string, instead of a list of one string. - list_array_connections() the field "window" is now a dictionary instead of a list of dictionaries. - Volume groups: - get_vgroup() now allows parameter “total” with “space” - create_vgroup() now accepts kwargs - adding Qos parameters - NVMe-oF: - get_host() adds field “nqn” to output, a list of nqn addresses - create_hosts() accepts parameter “nqnlist” - set_host accepts parameters “addnqnlist”, “remnqnlist” and “nqnlist” - get_port() adds fields “nqn” and “target_nqn” to output - Pods: - get_pod() and list_pods() accept field “on”, to list pods on remote arrays - get_pod() and list_pods() add field “progress” to output - create_pod() now accepts kwargs - _set_pod() renamed to set_pod() - Directory Service: - Groups are now handled in the new list_directory_service_roles() and set_directory_service_roles() - get_directory_service() no longer accepts parameter “groups” - set_directory_service() no longer accepts parameters "array_admin_group", "readonly_group", "storage_admin_group" and "group_base" - Certificates: - get_kmip() and list_kmip() rename field “URI” to “uri” in output - get_certificate() and list_certificates() add field “common_name” to output
1 parent 24c465e commit 097d5f2

File tree

5 files changed

+356
-34
lines changed

5 files changed

+356
-34
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ This library requires the use of python 2.6 or later and the third-party
1111
library "requests".
1212

1313
Additionally, this library can only be used communicate with Flash Arrays that
14-
support one or more REST API versions between 1.0 and 1.14; currently, this
14+
support one or more REST API versions between 1.0 and 1.16; currently, this
1515
includes any Flash Array running Purity 3.4.0 or later.
1616

1717

1818
Capabilities
1919
============
20-
This library supports all functionality offered by REST API versions up to 1.14.
20+
This library supports all functionality offered by REST API versions up to 1.16.
2121

2222
Note that different versions of the REST API offer different functionality, and
2323
some operations may be unusable except on certain versions of the REST API. For

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ Version Date Notes
1717
1.11.3 09/07/2017 Minor setup.py change for new PyPI interface
1818
1.14.0 04/27/2018 Add support for REST 1.12, 1.13, and 1.14
1919
1.14.1 07/09/2018 Add support for managing offload targets.
20+
1.16.0 10/26/2018 Add support for REST 1.15 and 1.16
2021
======= ========== =====

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@
5252
# built documents.
5353
#
5454
# The short X.Y version.
55-
version = '1.14'
55+
version = '1.16'
5656
# The full version, including alpha/beta/rc tags.
57-
release = '1.14.1'
57+
release = '1.16.0'
5858

5959
# The language for content autogenerated by Sphinx. Refer to documentation
6060
# for a list of supported languages.

0 commit comments

Comments
 (0)