Skip to content

Commit

Permalink
Version 1.16.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bdissler committed Oct 29, 2018
1 parent 24c465e commit 097d5f2
Show file tree
Hide file tree
Showing 5 changed files with 356 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ This library requires the use of python 2.6 or later and the third-party
library "requests".

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


Capabilities
============
This library supports all functionality offered by REST API versions up to 1.14.
This library supports all functionality offered by REST API versions up to 1.16.

Note that different versions of the REST API offer different functionality, and
some operations may be unusable except on certain versions of the REST API. For
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ Version Date Notes
1.11.3 09/07/2017 Minor setup.py change for new PyPI interface
1.14.0 04/27/2018 Add support for REST 1.12, 1.13, and 1.14
1.14.1 07/09/2018 Add support for managing offload targets.
1.16.0 10/26/2018 Add support for REST 1.15 and 1.16
======= ========== =====
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
# built documents.
#
# The short X.Y version.
version = '1.14'
version = '1.16'
# The full version, including alpha/beta/rc tags.
release = '1.14.1'
release = '1.16.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
Loading

0 comments on commit 097d5f2

Please sign in to comment.