Skip to content

1.16.0

Compare
Choose a tag to compare
@bdissler bdissler released this 29 Oct 23:39
· 12 commits to master since this release

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