#compdef isi

#This file was auto-generated

# Copyright C 2008-2018 by EMC Corporation. All rights not expressly
# granted herein are reserved.
# Created in the United States of America.
#
# This digital media is protected by U.S. and international copyright and
# intellectual property laws. Unless otherwise specified, all information
# and screens appearing as part of this digital medium, including
# software, services, documents, text, images, icons, and logos design;
# the selection, assembly, arrangement, and design thereof; and the code
# that enables its presentation, are the sole property of Isilon Systems,
# Inc.
#
# Except as otherwise required by applicable law, no part of any
# copyrighted material may be reproduced, modified, translated,
# distributed, published, or transmitted by any means, electronic or
# mechanical, for any purpose, without the prior written consent of Isilon
# Systems.
#
# Isilon and Isilon Systems are registered trademarks of Isilon Systems,
# Inc.  Legion is a trademark of Isilon Systems, Inc.  All other
# trademarks and registered trademarks are the property of their
# respective holders.

(( $+functions[__isi] )) ||
_isi() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ audit auth antivirus batterystatus certificate cloud cluster dedupe event devices diagnostics email esrs fc file-filter filepool ftp hdfs healthcheck http job license nfs ndmp ntp network quota remotesupport readonly servicelight smb snapshot snmp storagepool swift sync tape time upgrade worm zone statistics hardening services set config get version status}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == audit ]]; then
      curcontext="${curcontext%:*:*}:isi-audit:"
      _isi_audit
    elif [[ $cmd == auth ]]; then
      curcontext="${curcontext%:*:*}:isi-auth:"
      _isi_auth
    elif [[ $cmd == antivirus ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus:"
      _isi_antivirus
    elif [[ $cmd == batterystatus ]]; then
      curcontext="${curcontext%:*:*}:isi-batterystatus:"
      _isi_batterystatus
    elif [[ $cmd == certificate ]]; then
      curcontext="${curcontext%:*:*}:isi-certificate:"
      _isi_certificate
    elif [[ $cmd == cloud ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud:"
      _isi_cloud
    elif [[ $cmd == cluster ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster:"
      _isi_cluster
    elif [[ $cmd == dedupe ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe:"
      _isi_dedupe
    elif [[ $cmd == event ]]; then
      curcontext="${curcontext%:*:*}:isi-event:"
      _isi_event
    elif [[ $cmd == devices ]]; then
      curcontext="${curcontext%:*:*}:isi-devices:"
      _isi_devices
    elif [[ $cmd == diagnostics ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics:"
      _isi_diagnostics
    elif [[ $cmd == email ]]; then
      curcontext="${curcontext%:*:*}:isi-email:"
      _isi_email
    elif [[ $cmd == esrs ]]; then
      curcontext="${curcontext%:*:*}:isi-esrs:"
      _isi_esrs
    elif [[ $cmd == fc ]]; then
      curcontext="${curcontext%:*:*}:isi-fc:"
      _isi_fc
    elif [[ $cmd == file-filter ]]; then
      curcontext="${curcontext%:*:*}:isi-file-filter:"
      _isi_file-filter
    elif [[ $cmd == filepool ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool:"
      _isi_filepool
    elif [[ $cmd == ftp ]]; then
      curcontext="${curcontext%:*:*}:isi-ftp:"
      _isi_ftp
    elif [[ $cmd == hdfs ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs:"
      _isi_hdfs
    elif [[ $cmd == healthcheck ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck:"
      _isi_healthcheck
    elif [[ $cmd == http ]]; then
      curcontext="${curcontext%:*:*}:isi-http:"
      _isi_http
    elif [[ $cmd == job ]]; then
      curcontext="${curcontext%:*:*}:isi-job:"
      _isi_job
    elif [[ $cmd == license ]]; then
      curcontext="${curcontext%:*:*}:isi-license:"
      _isi_license
    elif [[ $cmd == nfs ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs:"
      _isi_nfs
    elif [[ $cmd == ndmp ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp:"
      _isi_ndmp
    elif [[ $cmd == ntp ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp:"
      _isi_ntp
    elif [[ $cmd == network ]]; then
      curcontext="${curcontext%:*:*}:isi-network:"
      _isi_network
    elif [[ $cmd == quota ]]; then
      curcontext="${curcontext%:*:*}:isi-quota:"
      _isi_quota
    elif [[ $cmd == remotesupport ]]; then
      curcontext="${curcontext%:*:*}:isi-remotesupport:"
      _isi_remotesupport
    elif [[ $cmd == readonly ]]; then
      curcontext="${curcontext%:*:*}:isi-readonly:"
      _isi_readonly
    elif [[ $cmd == servicelight ]]; then
      curcontext="${curcontext%:*:*}:isi-servicelight:"
      _isi_servicelight
    elif [[ $cmd == smb ]]; then
      curcontext="${curcontext%:*:*}:isi-smb:"
      _isi_smb
    elif [[ $cmd == snapshot ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot:"
      _isi_snapshot
    elif [[ $cmd == snmp ]]; then
      curcontext="${curcontext%:*:*}:isi-snmp:"
      _isi_snmp
    elif [[ $cmd == storagepool ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool:"
      _isi_storagepool
    elif [[ $cmd == swift ]]; then
      curcontext="${curcontext%:*:*}:isi-swift:"
      _isi_swift
    elif [[ $cmd == sync ]]; then
      curcontext="${curcontext%:*:*}:isi-sync:"
      _isi_sync
    elif [[ $cmd == tape ]]; then
      curcontext="${curcontext%:*:*}:isi-tape:"
      _isi_tape
    elif [[ $cmd == time ]]; then
      curcontext="${curcontext%:*:*}:isi-time:"
      _isi_time
    elif [[ $cmd == upgrade ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade:"
      _isi_upgrade
    elif [[ $cmd == worm ]]; then
      curcontext="${curcontext%:*:*}:isi-worm:"
      _isi_worm
    elif [[ $cmd == zone ]]; then
      curcontext="${curcontext%:*:*}:isi-zone:"
      _isi_zone
    elif [[ $cmd == statistics ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics:"
      _isi_statistics
    elif [[ $cmd == hardening ]]; then
      curcontext="${curcontext%:*:*}:isi-hardening:"
      _isi_hardening
    elif [[ $cmd == services ]]; then
      curcontext="${curcontext%:*:*}:isi-services:"
      _isi_services
    elif [[ $cmd == set ]]; then
      curcontext="${curcontext%:*:*}:isi-set:"
      _isi_set
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi-config:"
      _isi_config
    elif [[ $cmd == get ]]; then
      curcontext="${curcontext%:*:*}:isi-get:"
      _isi_get
    elif [[ $cmd == version ]]; then
      curcontext="${curcontext%:*:*}:isi-version:"
      _isi_version
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi-status:"
      _isi_status
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_audit] )) ||
_isi_audit() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ progress settings topics}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == progress ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-progress:"
      _isi_audit_progress
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-settings:"
      _isi_audit_settings
    elif [[ $cmd == topics ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-topics:"
      _isi_audit_topics
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_audit_progress] )) ||
_isi_audit_progress() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ global view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == global ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-progress-global:"
      _isi_audit_progress_global
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-progress-view:"
      _isi_audit_progress_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_audit_progress_global] )) ||
_isi_audit_progress_global() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-progress-global-view:"
      _isi_audit_progress_global_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_audit_progress_global_view] )) ||
_isi_audit_progress_global_view() {
}
(( $+functions[_isi_audit_progress_view] )) ||
_isi_audit_progress_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--lnn'=[LNN of the cluster node.]' \
}
(( $+functions[_isi_audit_settings] )) ||
_isi_audit_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ global modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == global ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-settings-global:"
      _isi_audit_settings_global
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-settings-modify:"
      _isi_audit_settings_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-settings-view:"
      _isi_audit_settings_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_audit_settings_global] )) ||
_isi_audit_settings_global() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-settings-global-modify:"
      _isi_audit_settings_global_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-settings-global-view:"
      _isi_audit_settings_global_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_audit_settings_global_modify] )) ||
_isi_audit_settings_global_modify() {
_arguments \
--protocol-auditing-enabled'=[Enables/disables auditing of I/O requests.]:BoolValueType:(true false)' \
--config-auditing-enabled'=[Enables/disables auditing of configuration change requests.]:BoolValueType:(true false)' \
--remove-cee-server-uris'=[Remove items from list of CEE server URIs to which audit logs are forwarded.]' \
--clear-cee-server-uris'[Clear list of CEE server URIs to which audit logs are forwarded.]' \
--config-syslog-enabled'=[Enables/disables forwarding of config audit events to syslog.]:BoolValueType:(true false)' \
--remove-audited-zones'=[Remove items from list of zones which will be audited when protocol auditing is enabled.]' \
--add-cee-server-uris'=[Add items to list of CEE server URIs to which audit logs are forwarded.]' \
--clear-audited-zones'[Clear list of zones which will be audited when protocol auditing is enabled.]' \
--add-audited-zones'=[Add items to list of zones which will be audited when protocol auditing is enabled.]' \
--cee-server-uris'=[Specify a list of CEE server URIs to which audit logs are forwarded.]' \
--syslog-log-time'=[Sets audit syslog forwarder to forward events past a specified date in Topic@YYYY-MM-DD HH:MM:SS format]' \
--audited-zones'=[Specify a list of zones which will be audited when protocol auditing is enabled.]' \
--cee-log-time'=[Sets audit CEE forwarder to forward events past a specified date in Topic@YYYY-MM-DD HH:MM:SS format]' \
--hostname'=[Hostname of this cluster for reporting protocol events, typically the SmartConnect zone name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_audit_settings_global_view] )) ||
_isi_audit_settings_global_view() {
}
(( $+functions[_isi_audit_settings_modify] )) ||
_isi_audit_settings_modify() {
_arguments \
--remove-syslog-audit-events'=[Remove items from list of audit operations]' \
--clear-syslog-audit-events'[Clear list of audit operations]' \
--syslog-forwarding-enabled'=[Enables syslog forwarding of zone audit events.]:BoolValueType:(true false)' \
--add-syslog-audit-events'=[Add items to list of audit operations]' \
--remove-audit-failure'=[Remove items from list of audit operations]' \
--remove-audit-success'=[Remove items from list of audit operations]' \
--clear-audit-failure'[Clear list of audit operations]' \
--clear-audit-success'[Clear list of audit operations]' \
--syslog-audit-events'=[Filter for auditing protocol operations to syslog.  all can be used to indicate all valid filter operations.]' \
--add-audit-failure'=[Add items to list of audit operations]' \
--add-audit-success'=[Add items to list of audit operations]' \
--audit-failure'=[Filter for auditing protocol operations that failed.  all can be used to indicate all valid filter operations.]' \
--audit-success'=[Filter for auditing protocol operations that succeeded.  all can be used to indicate all valid filter operations.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_audit_settings_view] )) ||
_isi_audit_settings_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_audit_topics] )) ||
_isi_audit_topics() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view list modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-topics-view:"
      _isi_audit_topics_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-topics-list:"
      _isi_audit_topics_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-audit-topics-modify:"
      _isi_audit_topics_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_audit_topics_view] )) ||
_isi_audit_topics_view() {
_arguments \
--name'=[Name for the audit topic.]:cmdline_Option_name:_cmdline_Option_shell_name_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_0' \
}
(( $+functions[_isi_audit_topics_list] )) ||
_isi_audit_topics_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display audit topics in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of audit topics to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_audit_topics_modify] )) ||
_isi_audit_topics_modify() {
_arguments \
--max-cached-messages'=[Sets limit on how many audit messages can be cached internally before they are written to persistent store.]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the audit topic.]:cmdline_Option_name:_cmdline_Option_shell_name_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_0' \
}
(( $+functions[_isi_auth] )) ||
_isi_auth() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings users groups roles ads file ldap local krb5 nis mapping netgroups log-level cache error privileges id status access refresh}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings:"
      _isi_auth_settings
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-users:"
      _isi_auth_users
    elif [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups:"
      _isi_auth_groups
    elif [[ $cmd == roles ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles:"
      _isi_auth_roles
    elif [[ $cmd == ads ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads:"
      _isi_auth_ads
    elif [[ $cmd == file ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-file:"
      _isi_auth_file
    elif [[ $cmd == ldap ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ldap:"
      _isi_auth_ldap
    elif [[ $cmd == local ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-local:"
      _isi_auth_local
    elif [[ $cmd == krb5 ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5:"
      _isi_auth_krb5
    elif [[ $cmd == nis ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-nis:"
      _isi_auth_nis
    elif [[ $cmd == mapping ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping:"
      _isi_auth_mapping
    elif [[ $cmd == netgroups ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-netgroups:"
      _isi_auth_netgroups
    elif [[ $cmd == log-level ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-log-level:"
      _isi_auth_log-level
    elif [[ $cmd == cache ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-cache:"
      _isi_auth_cache
    elif [[ $cmd == error ]]; then
      curcontext="${curcontext%:*:*}:isi_classic-auth-error:"
      _isi_classic_auth_error
    elif [[ $cmd == privileges ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-privileges:"
      _isi_auth_privileges
    elif [[ $cmd == id ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-id:"
      _isi_auth_id
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-status:"
      _isi_auth_status
    elif [[ $cmd == access ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-access:"
      _isi_auth_access
    elif [[ $cmd == refresh ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-refresh:"
      _isi_auth_refresh
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_settings] )) ||
_isi_auth_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ acls global krb5 mapping}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == acls ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-acls:"
      _isi_auth_settings_acls
    elif [[ $cmd == global ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-global:"
      _isi_auth_settings_global
    elif [[ $cmd == krb5 ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-krb5:"
      _isi_auth_settings_krb5
    elif [[ $cmd == mapping ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-mapping:"
      _isi_auth_settings_mapping
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_settings_acls] )) ||
_isi_auth_settings_acls() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-acls-view:"
      _isi_auth_settings_acls_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-acls-modify:"
      _isi_auth_settings_acls_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_settings_acls_view] )) ||
_isi_auth_settings_acls_view() {
}
(( $+functions[_isi_auth_settings_acls_modify] )) ||
_isi_auth_settings_acls_modify() {
_arguments \
--group-owner-inheritance'=[Group owner inheritance.]:EnumValidator:(native parent creator)' \
--chmod-inheritable'=[ACLs created on directories by UNIX chmod.]:EnumValidator:(yes no)' \
--synthetic-denies'=[Synthetic deny ACEs.]:EnumValidator:(none remove)' \
--create-over-smb'=[ACL creation over SMB.]:EnumValidator:(allow disallow)' \
--calcmode-group'=[Approximate group mode bits when ACL exists.]:EnumValidator:(group_aces group_only)' \
--calcmode-owner'=[Approximate owner mode bits when ACL exists.]:EnumValidator:(owner_aces owner_only)' \
--chmod-007'=[chmod 007 on files with existing ACLs.]:EnumValidator:(default remove)' \
--calcmode'=[Displayed mode bits.]:EnumValidator:(approx 777)' \
--dos-attr'=[Read only DOS attribute.]:EnumValidator:(deny_smb deny_smb_and_nfs)' \
{-v,--verbose}'[Display more detailed information.]' \
--access'=[Access checks chmod, chown.]:EnumValidator:(unix windows)' \
--utimes'=[Access checks utimes.]:EnumValidator:(only_owner owner_and_write)' \
--chmod'=[chmod on files with existing ACLs.]:EnumValidator:(remove replace replace_users_and_groups merge deny ignore)' \
--chown'=[chown/chgrp on files with existing ACLs.]:EnumValidator:(owner_group_and_acl owner_group_only ignore)' \
{-h,--help}'[Display help for this command.]' \
--rwx'=[Treatment of rwx permissions.]:EnumValidator:(retain full_control)' \
}
(( $+functions[_isi_auth_settings_global] )) ||
_isi_auth_settings_global() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-global-view:"
      _isi_auth_settings_global_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-global-modify:"
      _isi_auth_settings_global_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_settings_global_view] )) ||
_isi_auth_settings_global_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_settings_global_modify] )) ||
_isi_auth_settings_global_modify() {
_arguments \
--revert-user-object-cache-size'[Set value to system default for --user-object-cache-size.]' \
--provider-hostname-lookup'=[Allow hostname lookup via authentication providers. Applies to NIS only.  Options are dns-first, nis-first, and disabled.]:EnumValidator:(dns-first nis-first disabled)' \
--revert-space-replacement'[Set value to system default for --space-replacement.]' \
--revert-on-disk-identity'[Set value to system default for --on-disk-identity.]' \
--revert-rpc-max-requests'[Set value to system default for --rpc-max-requests.]' \
--user-object-cache-size'=[Specifies the maximum size in bytes of the security object cache in the authentication daemon.]' \
--revert-rpc-block-time'[Set value to system default for --rpc-block-time.]' \
--revert-send-ntlmv2'[Set value to system default for --send-ntlmv2.]' \
--revert-unknown-gid'[Set value to system default for --unknown-gid.]' \
--revert-unknown-uid'[Set value to system default for --unknown-uid.]' \
--space-replacement'=[Replacement character when specifying names which include spaces on the CLI.]' \
--on-disk-identity'=[Specifies type of identity stored on disk.]:EnumValidator:(native unix sid)' \
--revert-workgroup'[Set value to system default for --workgroup.]' \
--rpc-max-requests'=[Specifies maximum number of simultaneous ID Mapper requests.]' \
--rpc-block-time'=[Specifies the length of time in milliseconds before an ID mapper request becomes asynchronous.]' \
--send-ntlmv2'=[Specifies whether to send NTLMv2 responses.]:BoolValueType:(true false)' \
--unknown-gid'=[Specifies GID to use for the unknown anonymous group.]' \
--unknown-uid'=[Specifies UID to use for the unknown anonymous, user.]' \
--workgroup'=[Sets NetBIOS workgroup name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_settings_krb5] )) ||
_isi_auth_settings_krb5() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-krb5-view:"
      _isi_auth_settings_krb5_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-krb5-modify:"
      _isi_auth_settings_krb5_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_settings_krb5_view] )) ||
_isi_auth_settings_krb5_view() {
}
(( $+functions[_isi_auth_settings_krb5_modify] )) ||
_isi_auth_settings_krb5_modify() {
_arguments \
--revert-always-send-preauth'[Set value to system default for --always-send-preauth.]' \
--revert-allow-weak-crypto'[Set value to system default for --allow-weak-crypto.]' \
--revert-dns-lookup-realm'[Set value to system default for --dns-lookup-realm.]' \
--revert-dns-lookup-kdc'[Set value to system default for --dns-lookup-kdc.]' \
--always-send-preauth'=[Specifies whether to send preauth.]:BoolValueType:(true false)' \
--allow-weak-crypto'=[Enables DES encryption support.]:BoolValueType:(true false)' \
--dns-lookup-realm'=[Enables use of DNS to find realm names.]:BoolValueType:(true false)' \
--dns-lookup-kdc'=[Enables use of DNS to find KDCs.]:BoolValueType:(true false)' \
--default-realm'=[Specifies the default realm by name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_settings_mapping] )) ||
_isi_auth_settings_mapping() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-mapping-view:"
      _isi_auth_settings_mapping_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-settings-mapping-modify:"
      _isi_auth_settings_mapping_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_settings_mapping_view] )) ||
_isi_auth_settings_mapping_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of access zone in which to view mapping settings.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_settings_mapping_modify] )) ||
_isi_auth_settings_mapping_modify() {
_arguments \
--revert-gid-range-enabled'[Set value to system default for --gid-range-enabled.]' \
--revert-uid-range-enabled'[Set value to system default for --uid-range-enabled.]' \
--revert-gid-range-max'[Set value to system default for --gid-range-max.]' \
--revert-gid-range-min'[Set value to system default for --gid-range-min.]' \
--revert-uid-range-max'[Set value to system default for --uid-range-max.]' \
--revert-uid-range-min'[Set value to system default for --uid-range-min.]' \
--gid-range-enabled'=[Enables allocation of automatic GIDs in the ID mapper.]:BoolValueType:(true false)' \
--uid-range-enabled'=[Enables allocation of automatic UIDs in the ID mapper.]:BoolValueType:(true false)' \
--gid-range-max'=[Specifies ending number for allocating GIDs. Default is 2,000,000.]' \
--gid-range-min'=[Specifies starting number for allocating GIDs. Default is 1,000,000.]' \
--uid-range-max'=[Specifies ending number for allocating UIDs. Default is 2,000,000.]' \
--uid-range-min'=[Specifies starting number for allocating UIDs. Default is 1,000,000.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of access zone in which to modify mapping settings.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_users] )) ||
_isi_auth_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create view list modify delete flush}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-users-create:"
      _isi_auth_users_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-users-view:"
      _isi_auth_users_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-users-list:"
      _isi_auth_users_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-users-modify:"
      _isi_auth_users_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-users-delete:"
      _isi_auth_users_delete
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-users-flush:"
      _isi_auth_users_flush
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_users_create] )) ||
_isi_auth_users_create() {
_arguments \
--prompt-password-change'=[Prompts the user to change their password on next login.]:BoolValueType:(true false)' \
--primary-group-gid'=[Specifies the primary group by GID.]:cmdline_Option_primary_group_gid:_cmdline_Option_shell_primary_group_gid_0' \
--primary-group-sid'=[Specifies the primary group by SID.]' \
--password-expires'=[Specifies whether password is allowed to expire.]:BoolValueType:(true false)' \
--home-directory'=[Specifies users home directory.]' \
--primary-group'=[Specifies the primary group by name.]:cmdline_Option_primary_group:_cmdline_Option_shell_primary_group_0' \
--set-password'[Specify --password interactively]' \
--password'=[Changes users password.]' \
--provider'=[Specifies an authentication provider.]' \
--enabled'=[user is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-x,--expiry}'=[Time at which the user account will expire.]' \
--email'=[Specifies an Email address.]' \
{-f,--force}'[Ignore warnings when creating/modifying users and groups.]' \
--gecos'=[Sets GECOS value usually full name.]' \
--shell'=[Sets path to users shell.]' \
--name'=[Name for the user.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of zone in which to create the user.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[Sets user UID.]' \
}
(( $+functions[_isi_auth_users_view] )) ||
_isi_auth_users_view() {
_arguments \
--resolve-names'[Resolves names of all related groups and related personas.]' \
--show-groups'[Displays group memberships.]' \
--provider'=[Specifies an authentication provider.]' \
--cached'[Make command only return cached information.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_user:_users' \
}
(( $+functions[_isi_auth_users_list] )) ||
_isi_auth_users_list() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
--domain'=[Specifies the provider domain.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display users in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of users to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_users_modify] )) ||
_isi_auth_users_modify() {
_arguments \
--prompt-password-change'=[Prompts the user to change their password on next login.]:BoolValueType:(true false)' \
--primary-group-gid'=[Specifies the primary group by GID.]:cmdline_Option_primary_group_gid:_cmdline_Option_shell_primary_group_gid_0' \
--primary-group-sid'=[Specifies the primary group by SID.]' \
--password-expires'=[Specifies whether password is allowed to expire.]:BoolValueType:(true false)' \
--home-directory'=[Specifies users home directory.]' \
--primary-group'=[Specifies the primary group by name.]:cmdline_Option_primary_group:_cmdline_Option_shell_primary_group_0' \
--remove-group'=[Specifies name of group from which to remove the user.]:cmdline_Option_remove_group:_cmdline_Option_shell_remove_group_0' \
--set-password'[Specify --password interactively]' \
--remove-gid'=[Specifies ID of group from which to remove the user.]:cmdline_Option_remove_gid:_cmdline_Option_shell_remove_gid_0' \
--add-group'=[Add user to a group by group name.]:cmdline_Option_add_group:_cmdline_Option_shell_add_group_0' \
--password'=[Changes users password.]' \
--provider'=[Specifies an authentication provider.]' \
--add-gid'=[Specifies the group ID of the group to which to add the user.]:cmdline_Option_add_gid:_cmdline_Option_shell_add_gid_0' \
--enabled'=[user is enabled.]:BoolValueType:(true false)' \
--new-uid'=[Sets new user UID.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-x,--expiry}'=[Time at which the user account will expire.]' \
--unlock'[Unlocks the users account if locked.]' \
--email'=[Specifies an Email address.]' \
{-f,--force}'[Ignore warnings when creating/modifying users and groups.]' \
--gecos'=[Sets GECOS value usually full name.]' \
--shell'=[Sets path to users shell.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of zone in which to modify the user.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_user:_users' \
}
(( $+functions[_isi_auth_users_delete] )) ||
_isi_auth_users_delete() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of zone in which to delete the user.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_user:_users' \
}
(( $+functions[_isi_auth_users_flush] )) ||
_isi_auth_users_flush() {
}
(( $+functions[_isi_auth_groups] )) ||
_isi_auth_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ members create view list modify delete flush}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == members ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-members:"
      _isi_auth_groups_members
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-create:"
      _isi_auth_groups_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-view:"
      _isi_auth_groups_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-list:"
      _isi_auth_groups_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-modify:"
      _isi_auth_groups_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-delete:"
      _isi_auth_groups_delete
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-flush:"
      _isi_auth_groups_flush
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_groups_members] )) ||
_isi_auth_groups_members() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-groups-members-list:"
      _isi_auth_groups_members_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_groups_members_list] )) ||
_isi_auth_groups_members_list() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display groups in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-l,--limit}'=[Number of groups to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_group:_groups' \
}
(( $+functions[_isi_auth_groups_create] )) ||
_isi_auth_groups_create() {
_arguments \
--add-wellknown'=[Specifies well-known persona to add to the group.]' \
--add-group'=[Specifies the name of the group to add to this group.]:cmdline_Option_add_group:_cmdline_Option_shell_add_group_0' \
--add-user'=[Specifies name of the user to add to the group.]:cmdline_Option_add_user:_cmdline_Option_shell_add_user_0' \
--provider'=[Specifies an authentication provider.]' \
--add-gid'=[Specifies GID of the group to add to this group.]:cmdline_Option_add_gid:_cmdline_Option_shell_add_gid_0' \
--add-sid'=[Specifies SID of the persona to add to the group.]' \
--add-uid'=[Specifies UID of the user to add to the group.]:cmdline_Option_add_uid:_cmdline_Option_shell_add_uid_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Ignore warnings when creating/modifying users and groups.]' \
--name'=[Name for the group.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of zone in which to create the group.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[Sets group GID.]' \
--sid'=[Sets group security identifier SID.]' \
}
(( $+functions[_isi_auth_groups_view] )) ||
_isi_auth_groups_view() {
_arguments \
--show-groups'[Displays groups that have this group as a member.]' \
--provider'=[Specifies an authentication provider.]' \
--cached'[Make command only return cached information.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_group:_groups' \
}
(( $+functions[_isi_auth_groups_list] )) ||
_isi_auth_groups_list() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
--domain'=[Specifies the provider domain.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display groups in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of groups to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_groups_modify] )) ||
_isi_auth_groups_modify() {
_arguments \
--remove-wellknown'=[Specifies well-known persona to remove from the group.]' \
--add-wellknown'=[Specifies well-known persona to add to the group.]' \
--remove-group'=[Specifies the name of the group to remove from this group.]:cmdline_Option_remove_group:_cmdline_Option_shell_remove_group_0' \
--remove-user'=[Specify name of the user to remove from the group.]:cmdline_Option_remove_user:_cmdline_Option_shell_remove_user_0' \
--remove-gid'=[Specifies GID of the group to remove from this group.]:cmdline_Option_remove_gid:_cmdline_Option_shell_remove_gid_0' \
--remove-sid'=[Specifies SID of the persona to remove from the group.]' \
--remove-uid'=[Specifies UID of the user to remove from the group.]:cmdline_Option_remove_uid:_cmdline_Option_shell_remove_uid_0' \
--add-group'=[Specifies the name of the group to add to this group.]:cmdline_Option_add_group:_cmdline_Option_shell_add_group_0' \
--add-user'=[Specifies name of the user to add to the group.]:cmdline_Option_add_user:_cmdline_Option_shell_add_user_0' \
--provider'=[Specifies an authentication provider.]' \
--add-gid'=[Specifies GID of the group to add to this group.]:cmdline_Option_add_gid:_cmdline_Option_shell_add_gid_0' \
--add-sid'=[Specifies SID of the persona to add to the group.]' \
--add-uid'=[Specifies UID of the user to add to the group.]:cmdline_Option_add_uid:_cmdline_Option_shell_add_uid_0' \
--new-gid'=[Sets new group ID.]' \
{-v,--verbose}'[Display more detailed information.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-f,--force}'[Ignore warnings when creating/modifying users and groups.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of zone in which to modify the group.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_group:_groups' \
}
(( $+functions[_isi_auth_groups_delete] )) ||
_isi_auth_groups_delete() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of zone in which to delete the group.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_group:_groups' \
}
(( $+functions[_isi_auth_groups_flush] )) ||
_isi_auth_groups_flush() {
}
(( $+functions[_isi_auth_roles] )) ||
_isi_auth_roles() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ members privileges create view list modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == members ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-members:"
      _isi_auth_roles_members
    elif [[ $cmd == privileges ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-privileges:"
      _isi_auth_roles_privileges
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-create:"
      _isi_auth_roles_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-view:"
      _isi_auth_roles_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-list:"
      _isi_auth_roles_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-modify:"
      _isi_auth_roles_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-delete:"
      _isi_auth_roles_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_roles_members] )) ||
_isi_auth_roles_members() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-members-list:"
      _isi_auth_roles_members_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_roles_members_list] )) ||
_isi_auth_roles_members_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display members in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of members to display.]' \
--role'=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_role:_cmdline_Option_shell_role_0' \
}
(( $+functions[_isi_auth_roles_privileges] )) ||
_isi_auth_roles_privileges() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-roles-privileges-list:"
      _isi_auth_roles_privileges_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_roles_privileges_list] )) ||
_isi_auth_roles_privileges_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display privileges in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of privileges to display.]' \
--role'=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_role:_cmdline_Option_shell_role_0' \
}
(( $+functions[_isi_auth_roles_create] )) ||
_isi_auth_roles_create() {
_arguments \
--description'=[Description for this role.]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the role.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_roles_view] )) ||
_isi_auth_roles_view() {
_arguments \
--role'=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_role:_cmdline_Option_shell_role_0' \
}
(( $+functions[_isi_auth_roles_list] )) ||
_isi_auth_roles_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display roles in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of roles to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_roles_modify] )) ||
_isi_auth_roles_modify() {
_arguments \
--remove-wellknown'=[Specifies well-known persona to remove from the role.]' \
--add-wellknown'=[Specifies well-known persona to add to the role. E.g. Everyone.]' \
--remove-group'=[Specifies the name of the group to remove from the role.]:cmdline_Option_remove_group:_cmdline_Option_shell_remove_group_0' \
--add-priv-ro'=[Specifies a privilege to add to the role as read-only.]:cmdline_Option_add_priv_ro:_cmdline_Option_shell_add_priv_ro_0' \
--description'=[Description for this role.]' \
--remove-priv'=[Specifies a privilege to remove from the role.]:cmdline_Option_remove_priv:_cmdline_Option_shell_remove_priv_0' \
--remove-user'=[Specifies name of the user to remove from the role.]:cmdline_Option_remove_user:_cmdline_Option_shell_remove_user_0' \
--remove-gid'=[Specifies GID of the group to remove from the role.]:cmdline_Option_remove_gid:_cmdline_Option_shell_remove_gid_0' \
--remove-sid'=[Specifies SID of the persona to remove from the role.]' \
--remove-uid'=[Specifies UID of the user to remove from the role.]:cmdline_Option_remove_uid:_cmdline_Option_shell_remove_uid_0' \
--add-group'=[Specifies the name of the group to add to the role.]:cmdline_Option_add_group:_cmdline_Option_shell_add_group_0' \
--add-priv'=[Specifies a privilege to add to the role e.g. ISI_PRIV_NFS.]:cmdline_Option_add_priv:_cmdline_Option_shell_add_priv_0' \
--add-user'=[Specifies name of the user to add to the role.]:cmdline_Option_add_user:_cmdline_Option_shell_add_user_0' \
--add-gid'=[Specifies the GID of the group to add to the role.]:cmdline_Option_add_gid:_cmdline_Option_shell_add_gid_0' \
--add-sid'=[Specifies SID of the persona to add to the role.]' \
--add-uid'=[Specifies UID of the user to add to the role.]:cmdline_Option_add_uid:_cmdline_Option_shell_add_uid_0' \
{-v,--verbose}'[Display more detailed information.]' \
--role'=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the role.]' \
'1:cmdline_Option_role:_cmdline_Option_shell_role_0' \
}
(( $+functions[_isi_auth_roles_delete] )) ||
_isi_auth_roles_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--role'=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_role:_cmdline_Option_shell_role_0' \
}
(( $+functions[_isi_auth_ads] )) ||
_isi_auth_ads() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ trusts spn create view list modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == trusts ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-trusts:"
      _isi_auth_ads_trusts
    elif [[ $cmd == spn ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-spn:"
      _isi_auth_ads_spn
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-create:"
      _isi_auth_ads_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-view:"
      _isi_auth_ads_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-list:"
      _isi_auth_ads_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-modify:"
      _isi_auth_ads_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-delete:"
      _isi_auth_ads_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_ads_trusts] )) ||
_isi_auth_ads_trusts() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ controllers list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == controllers ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-trusts-controllers:"
      _isi_auth_ads_trusts_controllers
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-trusts-list:"
      _isi_auth_ads_trusts_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-trusts-view:"
      _isi_auth_ads_trusts_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_ads_trusts_controllers] )) ||
_isi_auth_ads_trusts_controllers() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-trusts-controllers-list:"
      _isi_auth_ads_trusts_controllers_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_ads_trusts_controllers_list] )) ||
_isi_auth_ads_trusts_controllers_list() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
--dc-site'=[Specifies DC Site]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_ads_trusts_list] )) ||
_isi_auth_ads_trusts_list() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_ads_trusts_view] )) ||
_isi_auth_ads_trusts_view() {
_arguments \
--provider'=[Specifies an authentication provider.]' \
--domain'=[Specifies the trusted domain.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_ads_spn] )) ||
_isi_auth_ads_spn() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list check fix}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-spn-create:"
      _isi_auth_ads_spn_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-spn-delete:"
      _isi_auth_ads_spn_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-spn-list:"
      _isi_auth_ads_spn_list
    elif [[ $cmd == check ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-spn-check:"
      _isi_auth_ads_spn_check
    elif [[ $cmd == fix ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ads-spn-fix:"
      _isi_auth_ads_spn_fix
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_ads_spn_create] )) ||
_isi_auth_ads_spn_create() {
_arguments \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--password'=[Sets password used during SPN modification.]' \
{-h,--help}'[Display help for this command.]' \
--user'=[Specifies a user name with permission to create SPNs in the given Active Directory domain.]' \
--spn'=[Specifies the service principal name.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ads_spn_delete] )) ||
_isi_auth_ads_spn_delete() {
_arguments \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--password'=[Sets password used during SPN modification.]' \
{-h,--help}'[Display help for this command.]' \
--user'=[Specifies a user name with permission to create SPNs in the given Active Directory domain.]' \
--spn'=[Specifies the service principal name.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ads_spn_list] )) ||
_isi_auth_ads_spn_list() {
_arguments \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ads_spn_check] )) ||
_isi_auth_ads_spn_check() {
_arguments \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ads_spn_fix] )) ||
_isi_auth_ads_spn_fix() {
_arguments \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--password'=[Sets password used during SPN modification.]' \
{-h,--help}'[Display help for this command.]' \
--user'=[Specifies a user name with permission to create SPNs in the given Active Directory domain.]' \
--spn'=[Specifies the service principal name.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ads_create] )) ||
_isi_auth_ads_create() {
_arguments \
--machine-password-lifespan'=[Sets maximum age of the machine account password.]' \
--machine-password-changes'=[Enables periodic changes of machine password for security.]:BoolValueType:(true false)' \
--node-dc-affinity-timeout'=[Specifies the timeout for the local node affinity to a domain controller]' \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--ignored-trusted-domains'=[Specifies list of trusted domains to ignore.]' \
--include-trusted-domains'=[Specifies list of trusted domains to include when --ignore-all-trusts is true.]' \
--lookup-normalize-groups'=[Normalizes AD group names to lowercase before lookup.]:BoolValueType:(true false)' \
--lookup-normalize-users'=[Normalize AD user names to lowercase before lookup.]:BoolValueType:(true false)' \
--assume-default-domain'=[Enables lookup of unqualified user names in the primary domain.]:BoolValueType:(true false)' \
--check-online-interval'=[Specifies duration between provider online checks.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--domain-offline-alerts'=[Send an alert if the domain goes offline.]:BoolValueType:(true false)' \
--organizational-unit'=[Specifies organizational unit.]' \
--ldap-sign-and-seal'=[Uses encryption and signing on LDAP requests to a DC.]:BoolValueType:(true false)' \
--store-sfu-mappings'=[Stores SFU mappings permanently in the ID mapper.]:BoolValueType:(true false)' \
--ignore-all-trusts'=[Ignores all trusted domains.]:BoolValueType:(true false)' \
--kerberos-hdfs-spn'=[Adds SPNs for using Kerberized HDFS.]:BoolValueType:(true false)' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--kerberos-nfs-spn'=[Adds SPNs for using Kerberized NFS.]:BoolValueType:(true false)' \
--node-dc-affinity'=[Specifies the domain controller to which the node should affinitize]' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--nss-enumeration'=[Enables the Active Directory provider to respond to getpwent and getgrent requests.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--lookup-domains'=[Specifies a list of AD domains to which user and group lookups are limited when using --lookup-users and --lookup-groups.]' \
--allocate-gids'=[Enables allocation of automatic GIDs for unmapped AD groups.]:BoolValueType:(true false)' \
--allocate-uids'=[Enables allocation of automatic UIDs for unmapped AD users.]:BoolValueType:(true false)' \
--lookup-groups'=[Looks up AD groups in other providers to find matching GID before allocating an internally generated GID.]:BoolValueType:(true false)' \
--lookup-users'=[Looks up AD users in other providers before allocating an internally generated UID.]:BoolValueType:(true false)' \
--machine-name'=[Specifies domain used to qualify user and group names for this provider.]' \
--login-shell'=[Sets pathname of login shell.]' \
--sfu-support'=[Specifies whether to support RFC 2307 attributes for Windows domain controllers.]:EnumValidator:(none rfc2307)' \
--dns-domain'=[Specifies the DNS search domain. Set if DNS search domain differs from required parameter <name>.]' \
--groupnet'=[Specifies a groupnet by name.]' \
--password'=[Sets password used during domain join.]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Specifies fully qualified Active Directory domain name. This will also be used as the provider name.]' \
--user'=[Specifies a user name with permission to join machines to the given domain.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_ads_view] )) ||
_isi_auth_ads_view() {
_arguments \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ads_list] )) ||
_isi_auth_ads_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_ads_modify] )) ||
_isi_auth_ads_modify() {
_arguments \
--remove-ignored-trusted-domains'=[Remove items from list of ignored trusted domains.]' \
--remove-include-trusted-domains'=[Remove items from list of included trusted domains.]' \
--clear-ignored-trusted-domains'[Clear list of ignored trusted domains.]' \
--clear-include-trusted-domains'[Clear list of included trusted domains.]' \
--add-ignored-trusted-domains'=[Add items to list of ignored trusted domains.]' \
--add-include-trusted-domains'=[Add items to list of included trusted domains.]' \
--machine-password-lifespan'=[Sets maximum age of the machine account password.]' \
--machine-password-changes'=[Enables periodic changes of machine password for security.]:BoolValueType:(true false)' \
--node-dc-affinity-timeout'=[Specifies the timeout for the local node affinity to a domain controller]' \
--remove-unfindable-groups'=[Remove items from  list of unfindable groups.]' \
--clear-unfindable-groups'[Clear  list of unfindable groups.]' \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--ignored-trusted-domains'=[Specifies list of trusted domains to ignore.]' \
--include-trusted-domains'=[Specifies list of trusted domains to include when --ignore-all-trusts is true.]' \
--lookup-normalize-groups'=[Normalizes AD group names to lowercase before lookup.]:BoolValueType:(true false)' \
--remove-unfindable-users'=[Remove items from list of unfindable users]' \
--clear-unfindable-users'[Clear list of unfindable users]' \
--lookup-normalize-users'=[Normalize AD user names to lowercase before lookup.]:BoolValueType:(true false)' \
--remove-findable-groups'=[Remove items from list of findable groups.]' \
--add-unfindable-groups'=[Add items to  list of unfindable groups.]' \
--assume-default-domain'=[Enables lookup of unqualified user names in the primary domain.]:BoolValueType:(true false)' \
--check-online-interval'=[Specifies duration between provider online checks.]' \
--clear-findable-groups'[Clear list of findable groups.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--domain-offline-alerts'=[Send an alert if the domain goes offline.]:BoolValueType:(true false)' \
--remove-findable-users'=[Remove items from list of findable users.]' \
--remove-lookup-domains'=[Remove items from list of lookup domains.]' \
--add-unfindable-users'=[Add items to list of unfindable users]' \
--clear-findable-users'[Clear list of findable users.]' \
--clear-lookup-domains'[Clear list of lookup domains.]' \
--add-findable-groups'=[Add items to list of findable groups.]' \
--add-findable-users'=[Add items to list of findable users.]' \
--add-lookup-domains'=[Add items to list of lookup domains.]' \
--ldap-sign-and-seal'=[Uses encryption and signing on LDAP requests to a DC.]:BoolValueType:(true false)' \
--store-sfu-mappings'=[Stores SFU mappings permanently in the ID mapper.]:BoolValueType:(true false)' \
--domain-controller'=[Specifies a preferred domain controller to which the authentication service should send requests.]' \
--ignore-all-trusts'=[Ignores all trusted domains.]:BoolValueType:(true false)' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--node-dc-affinity'=[Specifies the domain controller to which the node should affinitize]' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--nss-enumeration'=[Enables the Active Directory provider to respond to getpwent and getgrent requests.]:BoolValueType:(true false)' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--lookup-domains'=[Specifies a list of AD domains to which user and group lookups are limited when using --lookup-users and --lookup-groups.]' \
--reset-schannel'=[Resets the secure channel to the primary domain.]:BoolValueType:(true false)' \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--allocate-gids'=[Enables allocation of automatic GIDs for unmapped AD groups.]:BoolValueType:(true false)' \
--allocate-uids'=[Enables allocation of automatic UIDs for unmapped AD users.]:BoolValueType:(true false)' \
--lookup-groups'=[Looks up AD groups in other providers to find matching GID before allocating an internally generated GID.]:BoolValueType:(true false)' \
--lookup-users'=[Looks up AD users in other providers before allocating an internally generated UID.]:BoolValueType:(true false)' \
--machine-name'=[Specifies domain used to qualify user and group names for this provider.]' \
--login-shell'=[Sets pathname of login shell.]' \
--sfu-support'=[Specifies whether to support RFC 2307 attributes for Windows domain controllers.]:EnumValidator:(none rfc2307)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ads_delete] )) ||
_isi_auth_ads_delete() {
_arguments \
--provider-name'=[Specifies Active Directory provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_file] )) ||
_isi_auth_file() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create view list modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-file-create:"
      _isi_auth_file_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-file-view:"
      _isi_auth_file_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-file-list:"
      _isi_auth_file_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-file-modify:"
      _isi_auth_file_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-file-delete:"
      _isi_auth_file_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_file_create] )) ||
_isi_auth_file_create() {
_arguments \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--restrict-modifiable'=[Check the provider for filtered lists of modifiable and unmodifiable users and groups.]:BoolValueType:(true false)' \
--unmodifiable-groups'=[Specifies a list of groups in this provider that cannot be modified.]' \
--unmodifiable-users'=[Specifies a list of users in this provider that cannot be modified.]' \
--modifiable-groups'=[Specifies a list of groups in this provider that can be modified.]' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--restrict-listable'=[Check the provider for filtered lists of listable and unlistable users and groups.]:BoolValueType:(true false)' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--unlistable-groups'=[Specifies a list of groups in this provider that cannot be viewed.]' \
--enumerate-groups'=[Enables provider to enumerate groups.]:BoolValueType:(true false)' \
--modifiable-users'=[Specifies a list of users in this provider that can be modified.]' \
--normalize-groups'=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--unlistable-users'=[Specifies a list of users in this provider that cannot be viewed.]' \
--enumerate-users'=[Enables provider to enumerate users.]:BoolValueType:(true false)' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--listable-groups'=[Specifies a list of groups in this provider that can be viewed.]' \
--normalize-users'=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)' \
--provider-domain'=[Domain used to qualify user and group names for this provider.]' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--listable-users'=[Specifies a list of users in this provider that can be viewed.]' \
--netgroup-file'=[Path to a netgroups replacement file.]' \
--password-file'=[Path to a passwd.db replacement file.]' \
--group-domain'=[Domain used to qualify groups for this provider. Default is FILE_GROUPS.]' \
--ntlm-support'=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)' \
--login-shell'=[Sets pathname of login shell.]' \
--user-domain'=[Domain used to qualify users for this provider. Default is FILE_USERS.]' \
--group-file'=[Specifies groups replacement file.]' \
--enabled'=[Enables the file provider.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Specifies file provider name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_file_view] )) ||
_isi_auth_file_view() {
_arguments \
--provider-name'=[Specifies file provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_2' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_2' \
}
(( $+functions[_isi_auth_file_list] )) ||
_isi_auth_file_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_file_modify] )) ||
_isi_auth_file_modify() {
_arguments \
--remove-unmodifiable-groups'=[Remove items from list of unmodifiable groups]' \
--clear-unmodifiable-groups'[Clear list of unmodifiable groups]' \
--remove-unmodifiable-users'=[Remove items from list of unmodifiable users]' \
--clear-unmodifiable-users'[Clear list of unmodifiable users]' \
--remove-modifiable-groups'=[Remove items from list of modifiable groups.]' \
--remove-unfindable-groups'=[Remove items from  list of unfindable groups.]' \
--remove-unlistable-groups'=[Remove items from list of unviewable groups.]' \
--add-unmodifiable-groups'=[Add items to list of unmodifiable groups]' \
--clear-modifiable-groups'[Clear list of modifiable groups.]' \
--clear-unfindable-groups'[Clear  list of unfindable groups.]' \
--clear-unlistable-groups'[Clear list of unviewable groups.]' \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--remove-modifiable-users'=[Remove items from list of modifiable users.]' \
--remove-unfindable-users'=[Remove items from list of unfindable users]' \
--remove-unlistable-users'=[Remove items from list of unviewable users.]' \
--add-unmodifiable-users'=[Add items to list of unmodifiable users]' \
--clear-modifiable-users'[Clear list of modifiable users.]' \
--clear-unfindable-users'[Clear list of unfindable users]' \
--clear-unlistable-users'[Clear list of unviewable users.]' \
--remove-findable-groups'=[Remove items from list of findable groups.]' \
--remove-listable-groups'=[Remove items from list of viewable groups.]' \
--add-modifiable-groups'=[Add items to list of modifiable groups.]' \
--add-unfindable-groups'=[Add items to  list of unfindable groups.]' \
--add-unlistable-groups'=[Add items to list of unviewable groups.]' \
--clear-findable-groups'[Clear list of findable groups.]' \
--clear-listable-groups'[Clear list of viewable groups.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--remove-findable-users'=[Remove items from list of findable users.]' \
--remove-listable-users'=[Remove items from list of viewable users.]' \
--add-modifiable-users'=[Add items to list of modifiable users.]' \
--add-unfindable-users'=[Add items to list of unfindable users]' \
--add-unlistable-users'=[Add items to list of unviewable users.]' \
--clear-findable-users'[Clear list of findable users.]' \
--clear-listable-users'[Clear list of viewable users.]' \
--add-findable-groups'=[Add items to list of findable groups.]' \
--add-listable-groups'=[Add items to list of viewable groups.]' \
--restrict-modifiable'=[Check the provider for filtered lists of modifiable and unmodifiable users and groups.]:BoolValueType:(true false)' \
--unmodifiable-groups'=[Specifies a list of groups in this provider that cannot be modified.]' \
--add-findable-users'=[Add items to list of findable users.]' \
--add-listable-users'=[Add items to list of viewable users.]' \
--unmodifiable-users'=[Specifies a list of users in this provider that cannot be modified.]' \
--modifiable-groups'=[Specifies a list of groups in this provider that can be modified.]' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--restrict-listable'=[Check the provider for filtered lists of listable and unlistable users and groups.]:BoolValueType:(true false)' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--unlistable-groups'=[Specifies a list of groups in this provider that cannot be viewed.]' \
--enumerate-groups'=[Enables provider to enumerate groups.]:BoolValueType:(true false)' \
--modifiable-users'=[Specifies a list of users in this provider that can be modified.]' \
--normalize-groups'=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--unlistable-users'=[Specifies a list of users in this provider that cannot be viewed.]' \
--enumerate-users'=[Enables provider to enumerate users.]:BoolValueType:(true false)' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--listable-groups'=[Specifies a list of groups in this provider that can be viewed.]' \
--normalize-users'=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)' \
--provider-domain'=[Domain used to qualify user and group names for this provider.]' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--listable-users'=[Specifies a list of users in this provider that can be viewed.]' \
--provider-name'=[Specifies file provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_2' \
--netgroup-file'=[Path to a netgroups replacement file.]' \
--password-file'=[Path to a passwd.db replacement file.]' \
--group-domain'=[Domain used to qualify groups for this provider. Default is FILE_GROUPS.]' \
--ntlm-support'=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)' \
--login-shell'=[Sets pathname of login shell.]' \
--user-domain'=[Domain used to qualify users for this provider. Default is FILE_USERS.]' \
--group-file'=[Specifies groups replacement file.]' \
--enabled'=[Enables the file provider.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Specifies new file provider name.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_2' \
}
(( $+functions[_isi_auth_file_delete] )) ||
_isi_auth_file_delete() {
_arguments \
--provider-name'=[Specifies file provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_2' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_2' \
}
(( $+functions[_isi_auth_ldap] )) ||
_isi_auth_ldap() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create view list modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ldap-create:"
      _isi_auth_ldap_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ldap-view:"
      _isi_auth_ldap_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ldap-list:"
      _isi_auth_ldap_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ldap-modify:"
      _isi_auth_ldap_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-ldap-delete:"
      _isi_auth_ldap_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_ldap_create] )) ||
_isi_auth_ldap_create() {
_arguments \
--alternate-security-identities-attribute'=[Specifies attribute name used when searching for alternate security identities.]' \
--unique-group-members-attribute'=[Sets the attribute name used when searching for Unique Group Members.]' \
--shadow-last-change-attribute'=[Sets the attribute name that indicates the last change of the shadow information.]' \
--certificate-authority-file'=[Sets path to root certificates file.]' \
--netgroup-members-attribute'=[Sets the attribute name used when searching for Netgroup Members.]' \
--netgroup-triple-attribute'=[Sets the attribute name used when searching for Netgroup Triple.]' \
--require-secure-connection'=[Specifies whether to require a secure TLS connection.]:BoolValueType:(true false)' \
--shadow-inactive-attribute'=[Sets the attribute name that indicates the number of days of inactivity that is allowed for the user.]' \
--crypt-password-attribute'=[Sets attribute name used when searching for hashed password value.]' \
--shadow-warning-attribute'=[Sets the attribute name that indicates the number of days before the password expires to warn the user.]' \
--group-members-attribute'=[Sets the attribute name used when searching for Group Members.]' \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--shadow-expire-attribute'=[Sets the attribute name that indicates the absolute date to expire the account.]' \
--check-online-interval'=[Specifies duration between provider online checks.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--netgroup-search-scope'=[Defines the depth from the base DN to perform LDAP searches for netgroups.]:EnumValidator:(default base onelevel subtree children)' \
--nt-password-attribute'=[Sets the attribute name used when searching for NT Password.]' \
--shadow-flag-attribute'=[Sets the attribute name that indicates the section of the shadow map that is used to store the flag value.]' \
--shadow-max-attribute'=[Sets the attribute name that indicates the maximum number of days a password can be valid.]' \
--shadow-min-attribute'=[Sets the attribute name that indicates the minimum number of days between shadow changes.]' \
--member-of-attribute'=[Sets the attribute name used when searching reverse memberships in LDAP.]' \
--group-search-scope'=[Defines the depth from the base DN to perform LDAP searches for groups.]:EnumValidator:(default base onelevel subtree children)' \
--shadow-user-filter'=[Sets LDAP filter for shadow user objects.]' \
--homedir-attribute'=[Sets the attribute name used when searching for Home Directory.]' \
--ignore-tls-errors'=[Continues over secure connection even if identity checks fail.]:BoolValueType:(true false)' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--restrict-listable'=[Check the provider for filtered lists of listable and unlistable users and groups.]:BoolValueType:(true false)' \
--set-bind-password'[Specify --bind-password interactively]' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--unlistable-groups'=[Specifies a list of groups in this provider that cannot be viewed.]' \
--user-search-scope'=[Defines the depth from the base DN to perform LDAP searches for users.]:EnumValidator:(default base onelevel subtree children)' \
--enumerate-groups'=[Enables provider to enumerate groups.]:BoolValueType:(true false)' \
--netgroup-base-dn'=[Sets distinguished name of the entry at which to start the LDAP search for netgroups.]' \
--normalize-groups'=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--unlistable-users'=[Specifies a list of users in this provider that cannot be viewed.]' \
--balance-servers'=[Makes provider connect to a random server on each request.]:BoolValueType:(true false)' \
--email-attribute'=[Sets attribute name used when searching for the LDAP Email.]' \
--enumerate-users'=[Enables provider to enumerate users.]:BoolValueType:(true false)' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--gecos-attribute'=[Sets the attribute name used when searching for GECOS data.]' \
--listable-groups'=[Specifies a list of groups in this provider that can be viewed.]' \
--netgroup-filter'=[Sets LDAP filter for netgroup objects.]' \
--normalize-users'=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)' \
--provider-domain'=[Domain used to qualify user and group names for this provider.]' \
--shell-attribute'=[Sets the attribute name used when searching for the users shell.]' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--listable-users'=[Specifies a list of users in this provider that can be viewed.]' \
--name-attribute'=[Sets the attribute name used when searching for UID, which is used as the login name.]' \
--search-timeout'=[Sets search timeout period in seconds.]' \
--bind-password'=[Sets password for distinguished name used when binding to the LDAP server.]' \
--gid-attribute'=[Sets the attribute name used when searching for LDAP GID.]' \
--group-base-dn'=[Sets distinguished name of the entry at which to start LDAP searches for groups.]' \
--uid-attribute'=[Sets the attribute name used when searching for LDAP UID Number.]' \
--bind-timeout'=[Sets timeout in seconds when binding to LDAP server.]' \
--cn-attribute'=[Specifies attribute name used when searching for canonical name.]' \
--group-domain'=[Domain used to qualify groups for this provider. Default is LDAP_GROUPS.]' \
--group-filter'=[Sets LDAP filter for group objects.]' \
--ntlm-support'=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)' \
--search-scope'=[Defines the default depth from the base DN to perform LDAP searches.]:EnumValidator:(base onelevel subtree children)' \
--user-base-dn'=[Sets distinguished name of the entry at which to start LDAP searches for users.]' \
--login-shell'=[Sets pathname of login shell.]' \
--server-uris'=[Specifies a list of LDAP server URIs to use when accessing the LDAP server.]' \
--user-domain'=[Domain used to qualify users for this provider. Default is LDAP_USERS.]' \
--user-filter'=[Sets LDAP filter for user objects.]' \
--groupnet'=[Specifies a groupnet by name.]' \
--template'=[Specifies a template to be used to create the LDAP provider.]:EnumValidator:(default rfc2307 ad-idmu ldapsam)' \
--base-dn'=[Sets root of tree in which to search for identities.]' \
--bind-dn'=[Sets distinguished name used when binding to LDAP server.]' \
--enabled'=[Enables the LDAP provider.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Ignore warnings when creating/modifying an LDAP provider]' \
--name'=[Specifies the name of the new LDAP provider.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_ldap_view] )) ||
_isi_auth_ldap_view() {
_arguments \
--provider-name'=[Specifies the LDAP provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ldap_list] )) ||
_isi_auth_ldap_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_ldap_modify] )) ||
_isi_auth_ldap_modify() {
_arguments \
--alternate-security-identities-attribute'=[Specifies attribute name used when searching for alternate security identities.]' \
--unique-group-members-attribute'=[Sets the attribute name used when searching for Unique Group Members.]' \
--shadow-last-change-attribute'=[Sets the attribute name that indicates the last change of the shadow information.]' \
--certificate-authority-file'=[Sets path to root certificates file.]' \
--netgroup-members-attribute'=[Sets the attribute name used when searching for Netgroup Members.]' \
--netgroup-triple-attribute'=[Sets the attribute name used when searching for Netgroup Triple.]' \
--require-secure-connection'=[Specifies whether to require a secure TLS connection.]:BoolValueType:(true false)' \
--shadow-inactive-attribute'=[Sets the attribute name that indicates the number of days of inactivity that is allowed for the user.]' \
--crypt-password-attribute'=[Sets attribute name used when searching for hashed password value.]' \
--remove-unfindable-groups'=[Remove items from  list of unfindable groups.]' \
--remove-unlistable-groups'=[Remove items from list of unviewable groups.]' \
--shadow-warning-attribute'=[Sets the attribute name that indicates the number of days before the password expires to warn the user.]' \
--clear-unfindable-groups'[Clear  list of unfindable groups.]' \
--clear-unlistable-groups'[Clear list of unviewable groups.]' \
--group-members-attribute'=[Sets the attribute name used when searching for Group Members.]' \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--remove-unfindable-users'=[Remove items from list of unfindable users]' \
--remove-unlistable-users'=[Remove items from list of unviewable users.]' \
--shadow-expire-attribute'=[Sets the attribute name that indicates the absolute date to expire the account.]' \
--clear-unfindable-users'[Clear list of unfindable users]' \
--clear-unlistable-users'[Clear list of unviewable users.]' \
--remove-findable-groups'=[Remove items from list of findable groups.]' \
--remove-listable-groups'=[Remove items from list of viewable groups.]' \
--add-unfindable-groups'=[Add items to  list of unfindable groups.]' \
--add-unlistable-groups'=[Add items to list of unviewable groups.]' \
--check-online-interval'=[Specifies duration between provider online checks.]' \
--clear-findable-groups'[Clear list of findable groups.]' \
--clear-listable-groups'[Clear list of viewable groups.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--netgroup-search-scope'=[Defines the depth from the base DN to perform LDAP searches for netgroups.]:EnumValidator:(default base onelevel subtree children)' \
--nt-password-attribute'=[Sets the attribute name used when searching for NT Password.]' \
--remove-findable-users'=[Remove items from list of findable users.]' \
--remove-listable-users'=[Remove items from list of viewable users.]' \
--shadow-flag-attribute'=[Sets the attribute name that indicates the section of the shadow map that is used to store the flag value.]' \
--add-unfindable-users'=[Add items to list of unfindable users]' \
--add-unlistable-users'=[Add items to list of unviewable users.]' \
--clear-findable-users'[Clear list of findable users.]' \
--clear-listable-users'[Clear list of viewable users.]' \
--shadow-max-attribute'=[Sets the attribute name that indicates the maximum number of days a password can be valid.]' \
--shadow-min-attribute'=[Sets the attribute name that indicates the minimum number of days between shadow changes.]' \
--add-findable-groups'=[Add items to list of findable groups.]' \
--add-listable-groups'=[Add items to list of viewable groups.]' \
--member-of-attribute'=[Sets the attribute name used when searching reverse memberships in LDAP.]' \
--add-findable-users'=[Add items to list of findable users.]' \
--add-listable-users'=[Add items to list of viewable users.]' \
--group-search-scope'=[Defines the depth from the base DN to perform LDAP searches for groups.]:EnumValidator:(default base onelevel subtree children)' \
--remove-server-uris'=[Remove items from list of LDAP server URIs.]' \
--shadow-user-filter'=[Sets LDAP filter for shadow user objects.]' \
--homedir-attribute'=[Sets the attribute name used when searching for Home Directory.]' \
--ignore-tls-errors'=[Continues over secure connection even if identity checks fail.]:BoolValueType:(true false)' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--restrict-listable'=[Check the provider for filtered lists of listable and unlistable users and groups.]:BoolValueType:(true false)' \
--set-bind-password'[Specify --bind-password interactively]' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--unlistable-groups'=[Specifies a list of groups in this provider that cannot be viewed.]' \
--user-search-scope'=[Defines the depth from the base DN to perform LDAP searches for users.]:EnumValidator:(default base onelevel subtree children)' \
--enumerate-groups'=[Enables provider to enumerate groups.]:BoolValueType:(true false)' \
--netgroup-base-dn'=[Sets distinguished name of the entry at which to start the LDAP search for netgroups.]' \
--normalize-groups'=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--unlistable-users'=[Specifies a list of users in this provider that cannot be viewed.]' \
--add-server-uris'=[Add items to list of LDAP server URIs.]' \
--balance-servers'=[Makes provider connect to a random server on each request.]:BoolValueType:(true false)' \
--email-attribute'=[Sets attribute name used when searching for the LDAP Email.]' \
--enumerate-users'=[Enables provider to enumerate users.]:BoolValueType:(true false)' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--gecos-attribute'=[Sets the attribute name used when searching for GECOS data.]' \
--listable-groups'=[Specifies a list of groups in this provider that can be viewed.]' \
--netgroup-filter'=[Sets LDAP filter for netgroup objects.]' \
--normalize-users'=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)' \
--provider-domain'=[Domain used to qualify user and group names for this provider.]' \
--shell-attribute'=[Sets the attribute name used when searching for the users shell.]' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--listable-users'=[Specifies a list of users in this provider that can be viewed.]' \
--name-attribute'=[Sets the attribute name used when searching for UID, which is used as the login name.]' \
--search-timeout'=[Sets search timeout period in seconds.]' \
--provider-name'=[Specifies the LDAP provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--bind-password'=[Sets password for distinguished name used when binding to the LDAP server.]' \
--gid-attribute'=[Sets the attribute name used when searching for LDAP GID.]' \
--group-base-dn'=[Sets distinguished name of the entry at which to start LDAP searches for groups.]' \
--uid-attribute'=[Sets the attribute name used when searching for LDAP UID Number.]' \
--bind-timeout'=[Sets timeout in seconds when binding to LDAP server.]' \
--cn-attribute'=[Specifies attribute name used when searching for canonical name.]' \
--group-domain'=[Domain used to qualify groups for this provider. Default is LDAP_GROUPS.]' \
--group-filter'=[Sets LDAP filter for group objects.]' \
--ntlm-support'=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)' \
--search-scope'=[Defines the default depth from the base DN to perform LDAP searches.]:EnumValidator:(base onelevel subtree children)' \
--user-base-dn'=[Sets distinguished name of the entry at which to start LDAP searches for users.]' \
--login-shell'=[Sets pathname of login shell.]' \
--server-uris'=[Specifies a list of LDAP server URIs to use when accessing the LDAP server.]' \
--user-domain'=[Domain used to qualify users for this provider. Default is LDAP_USERS.]' \
--user-filter'=[Sets LDAP filter for user objects.]' \
--template'=[Specifies a template to be used to create the LDAP provider.]:EnumValidator:(default rfc2307 ad-idmu ldapsam)' \
--base-dn'=[Sets root of tree in which to search for identities.]' \
--bind-dn'=[Sets distinguished name used when binding to LDAP server.]' \
--enabled'=[Enables the LDAP provider.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Ignore warnings when creating/modifying an LDAP provider]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Specifies the new name of the new LDAP provider.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_ldap_delete] )) ||
_isi_auth_ldap_delete() {
_arguments \
--provider-name'=[Specifies the LDAP provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_local] )) ||
_isi_auth_local() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view list modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-local-view:"
      _isi_auth_local_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-local-list:"
      _isi_auth_local_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-local-modify:"
      _isi_auth_local_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_local_view] )) ||
_isi_auth_local_view() {
_arguments \
--provider-name'=[Specifies local provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_3' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_3' \
}
(( $+functions[_isi_auth_local_list] )) ||
_isi_auth_local_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_local_modify] )) ||
_isi_auth_local_modify() {
_arguments \
--remove-password-complexity'=[Remove items from list of parameters against which to validate new passwords]:EnumValidator:(lowercase uppercase numeric symbol)' \
--clear-password-complexity'[Clear list of parameters against which to validate new passwords]' \
--add-password-complexity'=[Add items to list of parameters against which to validate new passwords]:EnumValidator:(lowercase uppercase numeric symbol)' \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--password-history-length'=[Number of previous passwords stored]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--password-prompt-time'=[Specifies duration of time remaining before prompting user for password change.]' \
--min-password-length'=[Sets minimum password length.]' \
--password-complexity'=[Parameters against which to validate new passwords]:EnumValidator:(lowercase uppercase numeric symbol)' \
--lockout-threshold'=[Sets the number of failed login attempts necessary for an account to be locked out.]' \
--lockout-duration'=[Sets duration of time that an account will be inaccessible after multiple failed login attempts.]' \
--max-password-age'=[Sets maximum password age.]' \
--min-password-age'=[Sets minimum password age.]' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--lockout-window'=[Sets the duration of time in which --lockout-threshold failed attempts must be made for an account to be locked out.]' \
--provider-name'=[Specifies local provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_3' \
--machine-name'=[Specifies domain used to qualify user and group names for this provider.]' \
--login-shell'=[Sets pathname of login shell.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_3' \
}
(( $+functions[_isi_auth_krb5] )) ||
_isi_auth_krb5() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ realm domain spn create delete list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == realm ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-realm:"
      _isi_auth_krb5_realm
    elif [[ $cmd == domain ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-domain:"
      _isi_auth_krb5_domain
    elif [[ $cmd == spn ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-spn:"
      _isi_auth_krb5_spn
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-create:"
      _isi_auth_krb5_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-delete:"
      _isi_auth_krb5_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-list:"
      _isi_auth_krb5_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-view:"
      _isi_auth_krb5_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_krb5_realm] )) ||
_isi_auth_krb5_realm() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create list view modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-realm-create:"
      _isi_auth_krb5_realm_create
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-realm-list:"
      _isi_auth_krb5_realm_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-realm-view:"
      _isi_auth_krb5_realm_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-realm-modify:"
      _isi_auth_krb5_realm_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-realm-delete:"
      _isi_auth_krb5_realm_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_krb5_realm_create] )) ||
_isi_auth_krb5_realm_create() {
_arguments \
--is-default-realm'=[Specifies whether realm will be treated as the default]:BoolValueType:(true false)' \
--default-domain'=[Default domain for this realm, used for translating v4 principal names]' \
--admin-server'=[Administrative server master KDC hostname/IP.]' \
{-v,--verbose}'[Display more detailed information.]' \
--realm'=[Name of the realm.]' \
{-h,--help}'[Display help for this command.]' \
--kdc'=[Kdc hostname/IP.]' \
}
(( $+functions[_isi_auth_krb5_realm_list] )) ||
_isi_auth_krb5_realm_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_realm_view] )) ||
_isi_auth_krb5_realm_view() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--realm'=[Specifies realm name]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_realm_modify] )) ||
_isi_auth_krb5_realm_modify() {
_arguments \
--is-default-realm'=[Specifies whether realm will be treated as the default]:BoolValueType:(true false)' \
--default-domain'=[Default domain for this realm, used for translating v4 principal names]' \
--admin-server'=[Administrative server master KDC hostname/IP.]' \
--remove-kdc'=[Remove kdc hostname/IP.]' \
--clear-kdc'[Clear value for kdc hostname/IP.]' \
--add-kdc'=[Add kdc hostname/IP.]' \
{-v,--verbose}'[Display more detailed information.]' \
--realm'=[Specifies realm name]' \
{-h,--help}'[Display help for this command.]' \
--kdc'=[Kdc hostname/IP.]' \
}
(( $+functions[_isi_auth_krb5_realm_delete] )) ||
_isi_auth_krb5_realm_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--realm'=[Specifies realm name]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_domain] )) ||
_isi_auth_krb5_domain() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-domain-create:"
      _isi_auth_krb5_domain_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-domain-delete:"
      _isi_auth_krb5_domain_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-domain-list:"
      _isi_auth_krb5_domain_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-domain-modify:"
      _isi_auth_krb5_domain_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-domain-view:"
      _isi_auth_krb5_domain_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_krb5_domain_create] )) ||
_isi_auth_krb5_domain_create() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--domain'=[Name of the domain.]' \
--realm'=[Name of the realm.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_domain_delete] )) ||
_isi_auth_krb5_domain_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--domain'=[Name of the domain.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_domain_list] )) ||
_isi_auth_krb5_domain_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_domain_modify] )) ||
_isi_auth_krb5_domain_modify() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--domain'=[Name of the domain.]' \
--realm'=[Name of the realm.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_domain_view] )) ||
_isi_auth_krb5_domain_view() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--domain'=[Name of the domain.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_spn] )) ||
_isi_auth_krb5_spn() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create check fix list delete import}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-spn-create:"
      _isi_auth_krb5_spn_create
    elif [[ $cmd == check ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-spn-check:"
      _isi_auth_krb5_spn_check
    elif [[ $cmd == fix ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-spn-fix:"
      _isi_auth_krb5_spn_fix
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-spn-list:"
      _isi_auth_krb5_spn_list
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-spn-delete:"
      _isi_auth_krb5_spn_delete
    elif [[ $cmd == import ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-krb5-spn-import:"
      _isi_auth_krb5_spn_import
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_krb5_spn_create] )) ||
_isi_auth_krb5_spn_create() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--password'=[Specifies password used during realm modification.]' \
--user'=[Specifies a user name with permission to create SPNs in the given Kerberos realm.]' \
{-h,--help}'[Display help for this command.]' \
--spn'=[Specifies the service principal name.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_krb5_spn_check] )) ||
_isi_auth_krb5_spn_check() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_krb5_spn_fix] )) ||
_isi_auth_krb5_spn_fix() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--password'=[Specifies password used during realm modification.]' \
{-f,--force}'[Do not ask confirmation.]' \
--user'=[Specifies a user name with permission to join machines to the given domain.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_krb5_spn_list] )) ||
_isi_auth_krb5_spn_list() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_krb5_spn_delete] )) ||
_isi_auth_krb5_spn_delete() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--kvno'=[Key version number.]' \
{-h,--help}'[Display help for this command.]' \
--spn'=[Specifies the service principal name.]' \
--all'[Delete all key versions.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_krb5_spn_import] )) ||
_isi_auth_krb5_spn_import() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
--keytab-file'=[Specifies keytab file to import.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_krb5_create] )) ||
_isi_auth_krb5_create() {
_arguments \
--is-default-realm'=[Specifies whether realm will be treated as the default]:BoolValueType:(true false)' \
--default-domain'=[Default domain for this realm, used for translating v4 principal names]' \
--admin-server'=[Administrative server master KDC hostname/IP.]' \
--keytab-file'=[Specifies keytab file to import.]' \
--groupnet'=[Specifies a groupnet by name.]' \
--password'=[Specifies password used during realm join.]' \
{-v,--verbose}'[Display more detailed information.]' \
--realm'=[Name of the realm.]' \
--user'=[Specifies a user name with permission to create SPNs in the given Kerberos realm.]' \
{-h,--help}'[Display help for this command.]' \
--kdc'=[Kdc hostname/IP.]' \
--spn'=[Service principal name to register.]' \
}
(( $+functions[_isi_auth_krb5_delete] )) ||
_isi_auth_krb5_delete() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_krb5_list] )) ||
_isi_auth_krb5_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_krb5_view] )) ||
_isi_auth_krb5_view() {
_arguments \
--provider-name'=[Specifies the Kerberos provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_1' \
}
(( $+functions[_isi_auth_nis] )) ||
_isi_auth_nis() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create view list modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-nis-create:"
      _isi_auth_nis_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-nis-view:"
      _isi_auth_nis_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-nis-list:"
      _isi_auth_nis_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-nis-modify:"
      _isi_auth_nis_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-nis-delete:"
      _isi_auth_nis_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_nis_create] )) ||
_isi_auth_nis_create() {
_arguments \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--check-online-interval'=[Specifies duration between provider online checks.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--restrict-listable'=[Check the provider for filtered lists of listable and unlistable users and groups.]:BoolValueType:(true false)' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--unlistable-groups'=[Specifies a list of groups in this provider that cannot be viewed.]' \
--ypmatch-using-tcp'=[Uses TCP for YP Match operations.]:BoolValueType:(true false)' \
--enumerate-groups'=[Enables provider to enumerate groups.]:BoolValueType:(true false)' \
--normalize-groups'=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--unlistable-users'=[Specifies a list of users in this provider that cannot be viewed.]' \
--balance-servers'=[Makes provider connect to a random server on each request.]:BoolValueType:(true false)' \
--enumerate-users'=[Enables provider to enumerate users.]:BoolValueType:(true false)' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--hostname-lookup'=[Enables host name lookups. This option is ignored if --provider-hostname-lookup is set to disabled.]:BoolValueType:(true false)' \
--listable-groups'=[Specifies a list of groups in this provider that can be viewed.]' \
--normalize-users'=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)' \
--provider-domain'=[Domain used to qualify user and group names for this provider.]' \
--request-timeout'=[Specifies the request timeout interval in seconds.]' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--listable-users'=[Specifies a list of users in this provider that can be viewed.]' \
--group-domain'=[Domain used to qualify groups for this provider. Default is NIS_GROUPS.]' \
--ntlm-support'=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)' \
--login-shell'=[Sets pathname of login shell.]' \
--user-domain'=[Domain used to qualify users for this provider. Default is NIS_USERS.]' \
--nis-domain'=[Specifies NIS domain name.]' \
--retry-time'=[Sets timeout period in seconds after which a request will be retried.]' \
--groupnet'=[Specifies a groupnet by name.]' \
--enabled'=[Enables NIS provider.]:BoolValueType:(true false)' \
--servers'=[Specifies a list of NIS servers to be used by this provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Specifies NIS provider name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_nis_view] )) ||
_isi_auth_nis_view() {
_arguments \
--provider-name'=[Specifies NIS provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_4' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_4' \
}
(( $+functions[_isi_auth_nis_list] )) ||
_isi_auth_nis_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display providers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of providers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_nis_modify] )) ||
_isi_auth_nis_modify() {
_arguments \
--remove-unfindable-groups'=[Remove items from  list of unfindable groups.]' \
--remove-unlistable-groups'=[Remove items from list of unviewable groups.]' \
--clear-unfindable-groups'[Clear  list of unfindable groups.]' \
--clear-unlistable-groups'[Clear list of unviewable groups.]' \
--home-directory-template'=[Specifies a template path used when creating user home directories.]' \
--remove-unfindable-users'=[Remove items from list of unfindable users]' \
--remove-unlistable-users'=[Remove items from list of unviewable users.]' \
--clear-unfindable-users'[Clear list of unfindable users]' \
--clear-unlistable-users'[Clear list of unviewable users.]' \
--remove-findable-groups'=[Remove items from list of findable groups.]' \
--remove-listable-groups'=[Remove items from list of viewable groups.]' \
--add-unfindable-groups'=[Add items to  list of unfindable groups.]' \
--add-unlistable-groups'=[Add items to list of unviewable groups.]' \
--check-online-interval'=[Specifies duration between provider online checks.]' \
--clear-findable-groups'[Clear list of findable groups.]' \
--clear-listable-groups'[Clear list of viewable groups.]' \
--create-home-directory'=[Automatically create user home directory on first login.]:BoolValueType:(true false)' \
--remove-findable-users'=[Remove items from list of findable users.]' \
--remove-listable-users'=[Remove items from list of viewable users.]' \
--add-unfindable-users'=[Add items to list of unfindable users]' \
--add-unlistable-users'=[Add items to list of unviewable users.]' \
--clear-findable-users'[Clear list of findable users.]' \
--clear-listable-users'[Clear list of viewable users.]' \
--add-findable-groups'=[Add items to list of findable groups.]' \
--add-listable-groups'=[Add items to list of viewable groups.]' \
--add-findable-users'=[Add items to list of findable users.]' \
--add-listable-users'=[Add items to list of viewable users.]' \
--restrict-findable'=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)' \
--restrict-listable'=[Check the provider for filtered lists of listable and unlistable users and groups.]:BoolValueType:(true false)' \
--unfindable-groups'=[Specifies a list of groups that cannot be resolved by this provider.]' \
--unlistable-groups'=[Specifies a list of groups in this provider that cannot be viewed.]' \
--ypmatch-using-tcp'=[Uses TCP for YP Match operations.]:BoolValueType:(true false)' \
--enumerate-groups'=[Enables provider to enumerate groups.]:BoolValueType:(true false)' \
--normalize-groups'=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)' \
--unfindable-users'=[Specifies a list of users that cannot be resolved by this provider.]' \
--unlistable-users'=[Specifies a list of users in this provider that cannot be viewed.]' \
--balance-servers'=[Makes provider connect to a random server on each request.]:BoolValueType:(true false)' \
--enumerate-users'=[Enables provider to enumerate users.]:BoolValueType:(true false)' \
--findable-groups'=[Specifies a list of groups in this provider that can be resolved.]' \
--hostname-lookup'=[Enables host name lookups. This option is ignored if --provider-hostname-lookup is set to disabled.]:BoolValueType:(true false)' \
--listable-groups'=[Specifies a list of groups in this provider that can be viewed.]' \
--normalize-users'=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)' \
--provider-domain'=[Domain used to qualify user and group names for this provider.]' \
--request-timeout'=[Specifies the request timeout interval in seconds.]' \
--authentication'=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)' \
--findable-users'=[Specifies a list of users in this provider that can be resolved.]' \
--listable-users'=[Specifies a list of users in this provider that can be viewed.]' \
--remove-servers'=[Remove items from NIS server list.]' \
--provider-name'=[Specifies NIS provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_4' \
--group-domain'=[Domain used to qualify groups for this provider. Default is NIS_GROUPS.]' \
--ntlm-support'=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)' \
--add-servers'=[Add items to NIS server list.]' \
--login-shell'=[Sets pathname of login shell.]' \
--user-domain'=[Domain used to qualify users for this provider. Default is NIS_USERS.]' \
--nis-domain'=[Specifies NIS domain name.]' \
--retry-time'=[Sets timeout period in seconds after which a request will be retried.]' \
--enabled'=[Enables NIS provider.]:BoolValueType:(true false)' \
--servers'=[Specifies a list of NIS servers to be used by this provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Specifies new NIS provider name.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_4' \
}
(( $+functions[_isi_auth_nis_delete] )) ||
_isi_auth_nis_delete() {
_arguments \
--provider-name'=[Specifies NIS provider name.]:cmdline_Option_name:_cmdline_Option_shell_name_4' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_4' \
}
(( $+functions[_isi_auth_mapping] )) ||
_isi_auth_mapping() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete dump flush import list modify token view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-create:"
      _isi_auth_mapping_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-delete:"
      _isi_auth_mapping_delete
    elif [[ $cmd == dump ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-dump:"
      _isi_auth_mapping_dump
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-flush:"
      _isi_auth_mapping_flush
    elif [[ $cmd == import ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-import:"
      _isi_auth_mapping_import
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-list:"
      _isi_auth_mapping_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-modify:"
      _isi_auth_mapping_modify
    elif [[ $cmd == token ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-token:"
      _isi_auth_mapping_token
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-mapping-view:"
      _isi_auth_mapping_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_mapping_create] )) ||
_isi_auth_mapping_create() {
_arguments \
--source-uid'=[Specify mapping source by UID.]' \
--source-gid'=[Specify mapping source by GID.]' \
--source-sid'=[Specify mapping source by SID.]' \
--target-gid'=[Specify mapping target by GID.]' \
--target-sid'=[Specify mapping target by SID.]' \
--target-uid'=[Specify mapping target by UID.]' \
--on-disk'[Target persona should be used to represent the source on disk.]' \
--source'=[Specify mapping source by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
--target'=[Specify mapping target by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
--2way'[Include reverse mapping as well.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'[Generate/retrieve the mapped GID.]' \
--sid'[Generate/retrieve the mapped SID.]' \
--uid'[Generate/retrieve the mapped UID.]' \
}
(( $+functions[_isi_auth_mapping_delete] )) ||
_isi_auth_mapping_delete() {
_arguments \
--only-generated'[Only delete automatically created identity mappings that include a generated UID or GID from internal UID/GID range.  Used with --all.]' \
--only-external'[Only delete automatically created identity mappings that include a mapping to a UID or GID from an external authentication source.  Used with --all.]' \
--source-uid'=[Specify mapping source by UID.]' \
--source-gid'=[Specify mapping source by GID.]' \
--source-sid'=[Specify mapping source by SID.]' \
--target-gid'=[Specify mapping target by GID.]' \
--target-sid'=[Specify mapping target by SID.]' \
--target-uid'=[Specify mapping target by UID.]' \
--source'=[Specify mapping source by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
--target'=[Specify mapping target by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
{-f,--force}'[Do not ask confirmation.]' \
--2way'[Include reverse mapping as well.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--all'[Delete all identity mappings in access zone.  Filters --only-external and --only-generated can also be used to restrict group of identity mappings to be deleted.]' \
}
(( $+functions[_isi_auth_mapping_dump] )) ||
_isi_auth_mapping_dump() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--file}'=[Local file to dump mappings to. File will be created if it doesnt exist. If it does its contents will be overwritten. Must be under /ifs.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_mapping_flush] )) ||
_isi_auth_mapping_flush() {
_arguments \
--source-gid'=[Specify mapping source by GID.]' \
--source-sid'=[Specify mapping source by SID.]' \
--source-uid'=[Specify mapping source by UID.]' \
--source'=[Specify mapping source by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access Zone. A source argument must also be specified to use this option.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--all'[Flush all mappings.]' \
}
(( $+functions[_isi_auth_mapping_import] )) ||
_isi_auth_mapping_import() {
_arguments \
{-r,--replace}'[Replace existing mapping entries.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--file}'=[Local file to import mappings from. File must exist under /ifs.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_mapping_list] )) ||
_isi_auth_mapping_list() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_mapping_modify] )) ||
_isi_auth_mapping_modify() {
_arguments \
--source-uid'=[Specify mapping source by UID.]' \
--source-gid'=[Specify mapping source by GID.]' \
--source-sid'=[Specify mapping source by SID.]' \
--target-uid'=[Specify mapping target by UID.]' \
--target-gid'=[Specify mapping target by GID.]' \
--target-sid'=[Specify mapping target by SID.]' \
--on-disk'[Target persona should be used to represent the source on disk.]' \
--source'=[Specify mapping source by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
--target'=[Specify mapping target by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
--2way'[Include reverse mapping as well.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_mapping_token] )) ||
_isi_auth_mapping_token() {
_arguments \
--kerberos-principal'=[Specify user by kerberos principal: e.g. user@realm.com]' \
--primary-gid'=[Specify the primary GID.]' \
--user'=[User name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[Specify user by UID.]' \
--gid'=[Specify token GIDs.]' \
'1:cmdline_Option_user:_users' \
}
(( $+functions[_isi_auth_mapping_view] )) ||
_isi_auth_mapping_view() {
_arguments \
--nocreate'[Do not create non-existent mappings.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[Specify mapping source by UID.]' \
--gid'=[Specify mapping source by GID.]' \
--sid'=[Specify mapping source by SID.]' \
--id'=[Specify mapping source by persona.  A valid persona is of the form UID:<uid>, GID:<gid>, SID:<sid>.]' \
}
(( $+functions[_isi_auth_netgroups] )) ||
_isi_auth_netgroups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-netgroups-view:"
      _isi_auth_netgroups_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_netgroups_view] )) ||
_isi_auth_netgroups_view() {
_arguments \
--ignore-errors'=[Ignore errors/unresolvable netgroups. Default: false.]:BoolValueType:(true false)' \
--recursive'=[Recursively resolve nested netgroups. Default: true.]:BoolValueType:(true false)' \
--netgroup'=[Specifies NIS netgroup.]' \
--provider'=[Specifies an authentication provider.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_log-level] )) ||
_isi_auth_log-level() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-log-level-modify:"
      _isi_auth_log-level_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-log-level-view:"
      _isi_auth_log-level_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_log-level_modify] )) ||
_isi_auth_log-level_modify() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-l,--level}'=[Valid logging levels are always, error, warning, info, verbose, debug, and trace]:EnumValidator:(always error warning info verbose debug trace)' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(always error warning info verbose debug trace)' \
}
(( $+functions[_isi_auth_log-level_view] )) ||
_isi_auth_log-level_view() {
}
(( $+functions[_isi_auth_cache] )) ||
_isi_auth_cache() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ flush}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi-auth-cache-flush:"
      _isi_auth_cache_flush
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_auth_cache_flush] )) ||
_isi_auth_cache_flush() {
_arguments \
--group-name'=[Flush objects in cache for access zone specified by group name.]' \
--user-name'=[Flush objects in cache for access zone specified by user name.]' \
--provider'=[Flush objects in cache for access zone specified by provider.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Specifies name of zone in which to flush the security objects cache.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--all'[Flush all objects in cache for access zone.]' \
--uid'=[Flush objects in cache for access zone specified by UID.]' \
--gid'=[Flush objects in cache for access zone specified by GID.]' \
--sid'=[Flush objects in cache for access zone specified by SID.]' \
}
(( $+functions[_isi_auth_privileges] )) ||
_isi_auth_privileges() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display privileges in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_auth_id] )) ||
_isi_auth_id() {
}
(( $+functions[_isi_auth_status] )) ||
_isi_auth_status() {
_arguments \
--groupnet'=[Specifies a groupnet by name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display auths in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of auths to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_auth_access] )) ||
_isi_auth_access() {
_arguments \
{-n,--numeric}'[Show users numeric identifier]' \
--share'=[SMB share name]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--path'=[Path of the file. Must be within /ifs.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_user:_users' \
'2:cmdline_Option_path:_files' \
}
(( $+functions[_isi_auth_refresh] )) ||
_isi_auth_refresh() {
}
(( $+functions[_isi_antivirus] )) ||
_isi_antivirus() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ servers settings policies reports scan status quarantine release}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == servers ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-servers:"
      _isi_antivirus_servers
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-settings:"
      _isi_antivirus_settings
    elif [[ $cmd == policies ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-policies:"
      _isi_antivirus_policies
    elif [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports:"
      _isi_antivirus_reports
    elif [[ $cmd == scan ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-scan:"
      _isi_antivirus_scan
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-status:"
      _isi_antivirus_status
    elif [[ $cmd == quarantine ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-quarantine:"
      _isi_antivirus_quarantine
    elif [[ $cmd == release ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-release:"
      _isi_antivirus_release
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_antivirus_servers] )) ||
_isi_antivirus_servers() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-servers-list:"
      _isi_antivirus_servers_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-servers-view:"
      _isi_antivirus_servers_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-servers-create:"
      _isi_antivirus_servers_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-servers-modify:"
      _isi_antivirus_servers_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-servers-delete:"
      _isi_antivirus_servers_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_antivirus_servers_list] )) ||
_isi_antivirus_servers_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display antivirus servers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of antivirus servers to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(url description enabled)' \
}
(( $+functions[_isi_antivirus_servers_view] )) ||
_isi_antivirus_servers_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
{-u,--url}'=[The url for the antivirus server.]:cmdline_Option_url:_cmdline_Option_shell_url_0' \
'1:cmdline_Option_url:_cmdline_Option_shell_url_0' \
}
(( $+functions[_isi_antivirus_servers_create] )) ||
_isi_antivirus_servers_create() {
_arguments \
--description'=[A description of the antivirus server.]' \
{-n,--enabled}'=[Whether the server is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
{-u,--url}'=[The url for the antivirus server.]' \
}
(( $+functions[_isi_antivirus_servers_modify] )) ||
_isi_antivirus_servers_modify() {
_arguments \
--description'=[A description of the antivirus server.]' \
{-n,--enabled}'=[Whether the server is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
{-u,--url}'=[The url for the antivirus server.]:cmdline_Option_url:_cmdline_Option_shell_url_0' \
{-i,--id}'=[The url for the antivirus server.]:cmdline_Option_id:_cmdline_Option_shell_id_0' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_0' \
}
(( $+functions[_isi_antivirus_servers_delete] )) ||
_isi_antivirus_servers_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
{-u,--url}'=[The url for the antivirus server.]:cmdline_Option_url:_cmdline_Option_shell_url_0' \
--all'[delete all antivirus servers.]' \
'1:cmdline_Option_url:_cmdline_Option_shell_url_0' \
}
(( $+functions[_isi_antivirus_settings] )) ||
_isi_antivirus_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-settings-view:"
      _isi_antivirus_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-settings-modify:"
      _isi_antivirus_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_antivirus_settings_view] )) ||
_isi_antivirus_settings_view() {
}
(( $+functions[_isi_antivirus_settings_modify] )) ||
_isi_antivirus_settings_modify() {
_arguments \
--glob-filters-enabled'=[Enable glob filters.]:BoolValueType:(true false)' \
--glob-filters-include'=[If true, only scan files matching a glob filter. If false, only scan files that dont match a glob filter.]:BoolValueType:(true false)' \
--remove-path-prefixes'=[Remove paths to include in realtime scans.]' \
--clear-path-prefixes'[Clear value for paths to include in realtime scans.]' \
--remove-glob-filters'=[Remove glob patterns for leaf filenames.]' \
--clear-glob-filters'[Clear value for glob patterns for leaf filenames.]' \
--add-path-prefixes'=[Add paths to include in realtime scans.]' \
--scan-size-maximum'=[Skip scanning files larger than this.]' \
--add-glob-filters'=[Add glob patterns for leaf filenames.]' \
--path-prefixes'=[Paths to include in realtime scans.]' \
--report-expiry'=[Amount of time in seconds until old reporting data is purged.]' \
--scan-on-close'=[Scan files when apps close them.]:BoolValueType:(true false)' \
--glob-filters'=[Glob patterns for leaf filenames.]' \
--scan-on-open'=[Scan files on access.]:BoolValueType:(true false)' \
--quarantine'=[Try to quarantine files when threats are found.]:BoolValueType:(true false)' \
--fail-open'=[Allow access when scanning fails.]:BoolValueType:(true false)' \
--truncate'=[Try to truncate files when threats are found.]:BoolValueType:(true false)' \
--service'=[Whether the antivirus service is running.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--repair'=[Try to repair files when threats are found.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_antivirus_policies] )) ||
_isi_antivirus_policies() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete start}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-policies-list:"
      _isi_antivirus_policies_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-policies-view:"
      _isi_antivirus_policies_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-policies-create:"
      _isi_antivirus_policies_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-policies-modify:"
      _isi_antivirus_policies_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-policies-delete:"
      _isi_antivirus_policies_delete
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-policies-start:"
      _isi_antivirus_policies_start
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_antivirus_policies_list] )) ||
_isi_antivirus_policies_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display antivirus policies in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of antivirus policies to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(name description enabled)' \
}
(( $+functions[_isi_antivirus_policies_view] )) ||
_isi_antivirus_policies_view() {
_arguments \
{-n,--name}'=[The name of the policy.]:cmdline_Option_name:_cmdline_Option_shell_name_5' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_5' \
}
(( $+functions[_isi_antivirus_policies_create] )) ||
_isi_antivirus_policies_create() {
_arguments \
--recursion-depth'=[The depth to recurse in directories. The default of -1 gives unlimited recursion.]' \
--description'=[A description for the policy.]' \
{-r,--force-run}'=[Forces the scan to run regardless of whether the files were recently scanned.]:BoolValueType:(true false)' \
{-s,--schedule}'=[The schedule for running scans in isi date format.  Examples include: every Friday or every day at 4:00.]' \
{-e,--enabled}'=[Whether the policy is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-i,--impact}'=[The priority of the antivirus scan job.  Possibilities include HIGH, MEDIUM, LOW, OFF_HOURS, or a pre-defined custom value.]' \
--paths'=[Paths to include in the scan.]' \
{-n,--name}'=[The name of the policy.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_antivirus_policies_modify] )) ||
_isi_antivirus_policies_modify() {
_arguments \
--recursion-depth'=[The depth to recurse in directories. The default of -1 gives unlimited recursion.]' \
--clear-schedule'[Clear value for the schedule for running scans in isi date format.  Examples include: every Friday or every day at 4:00.]' \
--clear-impact'[Clear value for the priority of the antivirus scan job.  Possibilities include HIGH, MEDIUM, LOW, OFF_HOURS, or a pre-defined custom value.]' \
--remove-paths'=[Remove paths to include in the scan.]' \
--clear-paths'[Clear value for paths to include in the scan.]' \
--description'=[A description for the policy.]' \
--add-paths'=[Add paths to include in the scan.]' \
{-r,--force-run}'=[Forces the scan to run regardless of whether the files were recently scanned.]:BoolValueType:(true false)' \
{-s,--schedule}'=[The schedule for running scans in isi date format.  Examples include: every Friday or every day at 4:00.]' \
{-e,--enabled}'=[Whether the policy is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-i,--impact}'=[The priority of the antivirus scan job.  Possibilities include HIGH, MEDIUM, LOW, OFF_HOURS, or a pre-defined custom value.]' \
--paths'=[Paths to include in the scan.]' \
{-h,--help}'[Display help for this command.]' \
{-n,--name}'=[The name of the policy.]:cmdline_Option_name:_cmdline_Option_shell_name_5' \
--id'=[A unique identifier for the policy.]:cmdline_Option_id:_cmdline_Option_shell_id_1' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_1' \
}
(( $+functions[_isi_antivirus_policies_delete] )) ||
_isi_antivirus_policies_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-n,--name}'=[The name of the policy.]:cmdline_Option_name:_cmdline_Option_shell_name_5' \
{-h,--help}'[Display help for this command.]' \
--all'[delete all antivirus policies.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_5' \
}
(( $+functions[_isi_antivirus_policies_start] )) ||
_isi_antivirus_policies_start() {
_arguments \
{-r,--force-run}'=[Forces the scan to run regardless of whether the files were recently scanned.]:BoolValueType:(true false)' \
--report-id'=[The ID of the report generated. One will be generated if not provided.]' \
--policy'=[A name or an ID of a policy.]:cmdline_Option_policy:_cmdline_Option_shell_policy_0' \
--update'=[Whether to update the last run time for the policy when running it.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_0' \
}
(( $+functions[_isi_antivirus_reports] )) ||
_isi_antivirus_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ scans threats delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == scans ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports-scans:"
      _isi_antivirus_reports_scans
    elif [[ $cmd == threats ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports-threats:"
      _isi_antivirus_reports_threats
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports-delete:"
      _isi_antivirus_reports_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_antivirus_reports_scans] )) ||
_isi_antivirus_reports_scans() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports-scans-list:"
      _isi_antivirus_reports_scans_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports-scans-view:"
      _isi_antivirus_reports_scans_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_antivirus_reports_scans_list] )) ||
_isi_antivirus_reports_scans_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
--policy-id'=[The id of the policy that this scan job executed.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display antivirus reports scans in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--status'=[The state of the job.]:EnumValidator:(Finish Succeeded Failed Cancelled Started Paused Resumed Pending)' \
{-l,--limit}'=[Number of antivirus reports scans to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id policy_id status start files infections)' \
}
(( $+functions[_isi_antivirus_reports_scans_view] )) ||
_isi_antivirus_reports_scans_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[A unique identifier for the scan report.]:cmdline_Option_id:_cmdline_Option_shell_id_2' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_2' \
}
(( $+functions[_isi_antivirus_reports_threats] )) ||
_isi_antivirus_reports_threats() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports-threats-list:"
      _isi_antivirus_reports_threats_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-antivirus-reports-threats-view:"
      _isi_antivirus_reports_threats_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_antivirus_reports_threats_list] )) ||
_isi_antivirus_reports_threats_list() {
_arguments \
--remediation'=[The action that was taken to remediate the threat.]' \
{-d,--descending}'[Sort data in descending order.]' \
--scan-id'=[A unique identifier for the scan report.]:cmdline_Option_scan_id:_cmdline_Option_shell_scan_id_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display antivirus reports threats in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of antivirus reports threats to display.]' \
--file'=[The file that contained the threat.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(scan_id file remediation threat time)' \
}
(( $+functions[_isi_antivirus_reports_threats_view] )) ||
_isi_antivirus_reports_threats_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[A unique identifier for the threat report.]:cmdline_Option_id:_cmdline_Option_shell_id_3' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_3' \
}
(( $+functions[_isi_antivirus_reports_delete] )) ||
_isi_antivirus_reports_delete() {
_arguments \
--scan-id'=[A unique identifier for the scan report.]:cmdline_Option_scan_id:_cmdline_Option_shell_scan_id_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--all'[delete all antivirus reports.]' \
--age'=[Reports older than this optional argument will be deleted, and reports newer than this will be kept.]' \
'1:cmdline_Option_scan_id:_cmdline_Option_shell_scan_id_0' \
}
(( $+functions[_isi_antivirus_scan] )) ||
_isi_antivirus_scan() {
_arguments \
--force-run'=[Force the scan even if it conflicts with the policy. The default is True.]:BoolValueType:(true false)' \
--report-id'=[The ID of the report generated. One will be generated if not provided.]' \
--policy'=[The policy associated with the scan. The default is the MANUAL policy.]:cmdline_Option_policy:_cmdline_Option_shell_policy_1' \
--file'=[The file to scan.]:cmdline_Option_file:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_file:_files' \
}
(( $+functions[_isi_antivirus_status] )) ||
_isi_antivirus_status() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--file'=[Path of the file to view the status of. Must be a regular file within /ifs.]:cmdline_Option_file:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_file:_files' \
}
(( $+functions[_isi_antivirus_quarantine] )) ||
_isi_antivirus_quarantine() {
_arguments \
{-v,--verbose}'[Show a confirmation that the file was quarantined.]' \
--file'=[Path of the file to quarantine. Must be a regular file within /ifs.]:cmdline_Option_file:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_file:_files' \
}
(( $+functions[_isi_antivirus_release] )) ||
_isi_antivirus_release() {
_arguments \
{-v,--verbose}'[Show a confirmation that the file was released.]' \
--file'=[Path of the file to release from quarantine. Must be a regular file within /ifs.]:cmdline_Option_file:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_file:_files' \
}
(( $+functions[_isi_batterystatus] )) ||
_isi_batterystatus() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-batterystatus-view:"
      _isi_batterystatus_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-batterystatus-list:"
      _isi_batterystatus_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_batterystatus_view] )) ||
_isi_batterystatus_view() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_batterystatus_list] )) ||
_isi_batterystatus_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display batterystatus in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_certificate] )) ||
_isi_certificate() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ server}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == server ]]; then
      curcontext="${curcontext%:*:*}:isi-certificate-server:"
      _isi_certificate_server
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_certificate_server] )) ||
_isi_certificate_server() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ delete list import modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-certificate-server-delete:"
      _isi_certificate_server_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-certificate-server-list:"
      _isi_certificate_server_list
    elif [[ $cmd == import ]]; then
      curcontext="${curcontext%:*:*}:isi-certificate-server-import:"
      _isi_certificate_server_import
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-certificate-server-modify:"
      _isi_certificate_server_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-certificate-server-view:"
      _isi_certificate_server_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_certificate_server_delete] )) ||
_isi_certificate_server_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[Certificate identifier]' \
}
(( $+functions[_isi_certificate_server_list] )) ||
_isi_certificate_server_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display certificate servers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of certificate servers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_certificate_server_import] )) ||
_isi_certificate_server_import() {
_arguments \
--certificate-key-path'=[Local path to the TLS certificate key file in PEM format import.  The certificate key file will be copied into the system certificate store and should be removed after importing for security reasons.]' \
--certificate-path'=[Local path to the TLS certificate file in PEM format.  The certificate file will be copied into the system certificate store and can be removed after import.]' \
--description'=[Description field for administrative convenience.]' \
--default'[Defines the certificate that will be used when connecting to a TLS enabled service over a SmartConnect zone if no other server certificate matches the FQDN of that SmartConnect zone.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_certificate_server_modify] )) ||
_isi_certificate_server_modify() {
_arguments \
--description'=[Description field for administrative convenience.]' \
--default'[Defines the certificate that will be used when connecting to a TLS enabled service over a SmartConnect zone if no other server certificate matches the FQDN of that SmartConnect zone.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[Certificate identifier]' \
}
(( $+functions[_isi_certificate_server_view] )) ||
_isi_certificate_server_view() {
_arguments \
--format'=[Display certificate servers in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
--id'=[Certificate identifier]' \
}
(( $+functions[_isi_cloud] )) ||
_isi_cloud() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ accounts pools jobs settings access proxies recall archive restore_coi}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == accounts ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-accounts:"
      _isi_cloud_accounts
    elif [[ $cmd == pools ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-pools:"
      _isi_cloud_pools
    elif [[ $cmd == jobs ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs:"
      _isi_cloud_jobs
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-settings:"
      _isi_cloud_settings
    elif [[ $cmd == access ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-access:"
      _isi_cloud_access
    elif [[ $cmd == proxies ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-proxies:"
      _isi_cloud_proxies
    elif [[ $cmd == recall ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-recall:"
      _isi_cloud_recall
    elif [[ $cmd == archive ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-archive:"
      _isi_cloud_archive
    elif [[ $cmd == restore_coi ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-restore_coi:"
      _isi_cloud_restore_coi
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_accounts] )) ||
_isi_cloud_accounts() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-accounts-list:"
      _isi_cloud_accounts_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-accounts-view:"
      _isi_cloud_accounts_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-accounts-create:"
      _isi_cloud_accounts_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-accounts-modify:"
      _isi_cloud_accounts_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-accounts-delete:"
      _isi_cloud_accounts_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_accounts_list] )) ||
_isi_cloud_accounts_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display cloud accounts in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of cloud accounts to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name type account_username uri state bucket)' \
}
(( $+functions[_isi_cloud_accounts_view] )) ||
_isi_cloud_accounts_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud account]' \
}
(( $+functions[_isi_cloud_accounts_create] )) ||
_isi_cloud_accounts_create() {
_arguments \
--skip-ssl-validation'=[Indicates whether to skip SSL certificate validation when connecting to the cloud]:BoolValueType:(true false)' \
{-u,--account-username}'=[Username for the cloud account]' \
--telemetry-bucket'=[S3 only Cloud account bucket where usage reports are stored]' \
--storage-region'=[A target region for the account as defined by the cloud service provider e.g., us-west-1]' \
--account-id'=[S3 only Account ID of the S3 account]' \
--enabled'=[Whether this account is explicitly enabled or disabled by a user]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--proxy'=[The name or id of a proxy to be used with this account]' \
{-n,--name}'=[Name of cloud account]' \
{-t,--type}'=[Type of cloud account. One of isilon for EMC Isilon, ecs for EMC ECS Appliance, virtustream for Virtustream Storage Cloud, azure for Microsoft Azure, s3 for Amazon S3 and "google" for Google Cloud Platform using interoperability access]:EnumValidator:(isilon ecs virtustream azure s3 google ran ecs2)' \
{-h,--help}'[Display help for this command.]' \
--uri'=[Cloud account URI]' \
--key'=[Cloud account access key or password]' \
'2:EnumValidator:(isilon ecs virtustream azure s3 google ran ecs2)' \
}
(( $+functions[_isi_cloud_accounts_modify] )) ||
_isi_cloud_accounts_modify() {
_arguments \
--skip-ssl-validation'=[Indicates whether to skip SSL certificate validation when connecting to the cloud]:BoolValueType:(true false)' \
--skip-account-check'=[Not recommended Indicates whether to skip validation that the cloud account is still accessible]:BoolValueType:(true false)' \
{-u,--account-username}'=[Username for the cloud account]' \
--telemetry-bucket'=[S3 only Cloud account bucket where usage reports are stored]' \
--storage-region'=[A target region for the account as defined by the cloud service provider e.g., us-west-1]' \
--clear-proxy'[Remove the proxy from this account]' \
--account-id'=[S3 only Account ID of the S3 account]' \
--enabled'=[Whether this account is explicitly enabled or disabled by a user]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--proxy'=[The name or id of a proxy to be used with this account]' \
{-h,--help}'[Display help for this command.]' \
{-n,--name}'=[Name of cloud account]' \
--key'=[Cloud account access key or password]' \
--uri'=[Cloud account URI]' \
--id'=[An ID for a cloud account]' \
}
(( $+functions[_isi_cloud_accounts_delete] )) ||
_isi_cloud_accounts_delete() {
_arguments \
--acknowledge'=[Acknowledge account delete]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud account]' \
}
(( $+functions[_isi_cloud_pools] )) ||
_isi_cloud_pools() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-pools-list:"
      _isi_cloud_pools_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-pools-view:"
      _isi_cloud_pools_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-pools-create:"
      _isi_cloud_pools_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-pools-modify:"
      _isi_cloud_pools_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-pools-delete:"
      _isi_cloud_pools_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_pools_list] )) ||
_isi_cloud_pools_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display cloud pools in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of cloud pools to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name type description vendor)' \
}
(( $+functions[_isi_cloud_pools_view] )) ||
_isi_cloud_pools_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud pool]' \
}
(( $+functions[_isi_cloud_pools_create] )) ||
_isi_cloud_pools_create() {
_arguments \
{-d,--description}'=[Description of this cloud pool]' \
--accounts'=[Cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]' \
{-v,--verbose}'[Display more detailed information.]' \
--vendor'=[Name of the vendor for this cloud pool]' \
{-n,--name}'=[Name for this cloud pool]' \
{-t,--type}'=[Type of cloud account. One of isilon for EMC Isilon, ecs for EMC ECS Appliance, virtustream for Virtustream Storage Cloud, azure for Microsoft Azure, s3 for Amazon S3 and "google" for Google Cloud Platform using interoperability access]:EnumValidator:(isilon ecs virtustream azure s3 google ran ecs2)' \
{-h,--help}'[Display help for this command.]' \
'2:EnumValidator:(isilon ecs virtustream azure s3 google ran ecs2)' \
}
(( $+functions[_isi_cloud_pools_modify] )) ||
_isi_cloud_pools_modify() {
_arguments \
--remove-accounts'=[Remove cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]' \
--clear-accounts'[Clear value for cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]' \
--add-accounts'=[Add cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]' \
{-d,--description}'=[Description of this cloud pool]' \
--accounts'=[Cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]' \
{-v,--verbose}'[Display more detailed information.]' \
--vendor'=[Name of the vendor for this cloud pool]' \
{-h,--help}'[Display help for this command.]' \
{-n,--name}'=[Name for this cloud pool]' \
--id'=[An ID for a cloud pool]' \
}
(( $+functions[_isi_cloud_pools_delete] )) ||
_isi_cloud_pools_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud pool]' \
}
(( $+functions[_isi_cloud_jobs] )) ||
_isi_cloud_jobs() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ files list view create cancel pause resume}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == files ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-files:"
      _isi_cloud_jobs_files
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-list:"
      _isi_cloud_jobs_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-view:"
      _isi_cloud_jobs_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-create:"
      _isi_cloud_jobs_create
    elif [[ $cmd == cancel ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-cancel:"
      _isi_cloud_jobs_cancel
    elif [[ $cmd == pause ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-pause:"
      _isi_cloud_jobs_pause
    elif [[ $cmd == resume ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-resume:"
      _isi_cloud_jobs_resume
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_jobs_files] )) ||
_isi_cloud_jobs_files() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-jobs-files-list:"
      _isi_cloud_jobs_files_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_jobs_files_list] )) ||
_isi_cloud_jobs_files_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--job-id'=[An ID for a cloud job]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display cloud jobs files in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--offset'=[Specifies the starting file ID number to display.]' \
{-l,--limit}'=[Number of cloud jobs files to display.]' \
{-h,--help}'[Display help for this command.]' \
--page'=[Used with limit option. If present, specifies the starting page number to display where page size is specified by limit. This option will be deprecated; please use offset option instead.]' \
--id'=[Adds an ID number in display before each file.]:BoolValueType:(true false)' \
}
(( $+functions[_isi_cloud_jobs_list] )) ||
_isi_cloud_jobs_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display cloud jobs in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of cloud jobs to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id job_state operation_state effective_state type state_change_time completion_time create_time description)' \
}
(( $+functions[_isi_cloud_jobs_view] )) ||
_isi_cloud_jobs_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud job]' \
}
(( $+functions[_isi_cloud_jobs_create] )) ||
_isi_cloud_jobs_create() {
_arguments \
--expiration-date'=[The expiration date for orphan objects.]' \
{-r,--recursive}'=[Whether the recall/archive should apply recursively to nested directories]:BoolValueType:(true false)' \
--account'=[The name for the cloud account.]' \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[Policy to be used with archiving]' \
--files'=[File names to be acted on.]:cmdline_Option_files:_files' \
{-t,--type}'=[Type of cloud job. One of the given]:EnumValidator:(archive recall restore-coi)' \
{-h,--help}'[Display help for this command.]' \
{-a,--all}'=[Whether to apply command to individual jobs or an entire operation]:BoolValueType:(true false)' \
'1:EnumValidator:(archive recall restore-coi)' \
'2:cmdline_Option_files:_files' \
}
(( $+functions[_isi_cloud_jobs_cancel] )) ||
_isi_cloud_jobs_cancel() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud job]' \
}
(( $+functions[_isi_cloud_jobs_pause] )) ||
_isi_cloud_jobs_pause() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud job]' \
}
(( $+functions[_isi_cloud_jobs_resume] )) ||
_isi_cloud_jobs_resume() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[An ID for a cloud job]' \
}
(( $+functions[_isi_cloud_settings] )) ||
_isi_cloud_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify regenerate-encryption-key}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-settings-view:"
      _isi_cloud_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-settings-modify:"
      _isi_cloud_settings_modify
    elif [[ $cmd == regenerate-encryption-key ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-settings-regenerate-encryption-key:"
      _isi_cloud_settings_regenerate-encryption-key
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_settings_view] )) ||
_isi_cloud_settings_view() {
}
(( $+functions[_isi_cloud_settings_modify] )) ||
_isi_cloud_settings_modify() {
_arguments \
--default-incremental-backup-retention'=[Used with SyncIQ and NDMP backups.  The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup]' \
--default-archive-snapshot-files'=[Whether or not policies should archive files with snapshots]:BoolValueType:(true false)' \
--default-full-backup-retention'=[Used with NDMP backups only.  Not applicable to SyncIQ. The minimum amount of time cloud files will be retained after the creation of a full NDMP backup]' \
--default-compression-enabled'=[Compress data moved to the cloud]:BoolValueType:(true false)' \
--default-writeback-frequency'=[The minimum amount of time to wait before updating cloud data with local changes]' \
--default-encryption-enabled'=[Encrypt data moved to the cloud]:BoolValueType:(true false)' \
--default-cache-expiration'=[Number of days until the cache expires]' \
--default-data-retention'=[The minimum amount of time archived data will be retained in the cloud after deletion]' \
--default-accessibility'=[Accessibility of archived files one of "cached" or"no-cache"]:EnumValidator:(cached no-cache)' \
--default-read-ahead'=[Cache readahead strategy for cloud files one of partial, full]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cloud_settings_regenerate-encryption-key] )) ||
_isi_cloud_settings_regenerate-encryption-key() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cloud_access] )) ||
_isi_cloud_access() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view add remove}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-access-list:"
      _isi_cloud_access_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-access-view:"
      _isi_cloud_access_view
    elif [[ $cmd == add ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-access-add:"
      _isi_cloud_access_add
    elif [[ $cmd == remove ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-access-remove:"
      _isi_cloud_access_remove
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_access_list] )) ||
_isi_cloud_access_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display cloud access in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of cloud access to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(name guid state)' \
}
(( $+functions[_isi_cloud_access_view] )) ||
_isi_cloud_access_view() {
_arguments \
--guid'=[The guid of a cluster where accounts or policies have been created]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cloud_access_add] )) ||
_isi_cloud_access_add() {
_arguments \
--expiration-date'=[An expiration date and time indicating when stale data in the cloud should be removed]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--guid'=[The guid of a cluster where accounts or policies have been created]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cloud_access_remove] )) ||
_isi_cloud_access_remove() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--guid'=[The guid of a cluster where accounts or policies have been created]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cloud_proxies] )) ||
_isi_cloud_proxies() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-proxies-list:"
      _isi_cloud_proxies_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-proxies-view:"
      _isi_cloud_proxies_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-proxies-create:"
      _isi_cloud_proxies_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-proxies-modify:"
      _isi_cloud_proxies_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud-proxies-delete:"
      _isi_cloud_proxies_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cloud_proxies_list] )) ||
_isi_cloud_proxies_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display cloud proxies in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of cloud proxies to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name host type port)' \
}
(( $+functions[_isi_cloud_proxies_view] )) ||
_isi_cloud_proxies_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[The unique ID or name for this proxy]' \
}
(( $+functions[_isi_cloud_proxies_create] )) ||
_isi_cloud_proxies_create() {
_arguments \
{-p,--password}'=[Password for authenticating against a proxy]' \
{-u,--username}'=[Username for authenticating against a proxy]' \
{-v,--verbose}'[Display more detailed information.]' \
{-n,--name}'=[Name of proxy]' \
--host'=[Host name or network address of proxy]' \
{-t,--type}'=[Type of proxy connection]:EnumValidator:(socks_4 socks_5 http)' \
--port'=[Port to use for proxy connection]' \
{-h,--help}'[Display help for this command.]' \
'3:EnumValidator:(socks_4 socks_5 http)' \
}
(( $+functions[_isi_cloud_proxies_modify] )) ||
_isi_cloud_proxies_modify() {
_arguments \
--clear-password'[Remove the password from this proxy]' \
--clear-username'[Remove the username from this proxy]' \
{-p,--password}'=[Password for authenticating against a proxy]' \
{-u,--username}'=[Username for authenticating against a proxy]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--host'=[Host name or network address of proxy]' \
{-n,--name}'=[Name of proxy]' \
--port'=[Port to use for proxy connection]' \
{-t,--type}'=[Type of proxy connection]:EnumValidator:(socks_4 socks_5 http)' \
--id'=[The unique ID or name for this proxy]' \
}
(( $+functions[_isi_cloud_proxies_delete] )) ||
_isi_cloud_proxies_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[The unique ID or name for this proxy]' \
}
(( $+functions[_isi_cloud_recall] )) ||
_isi_cloud_recall() {
_arguments \
{-r,--recursive}'=[Whether the recall/archive should apply recursively to nested directories]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--files'=[File names to be acted on.]:cmdline_Option_files:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_files:_files' \
}
(( $+functions[_isi_cloud_archive] )) ||
_isi_cloud_archive() {
_arguments \
{-r,--recursive}'=[Whether the recall/archive should apply recursively to nested directories]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[Policy to be used with archiving]' \
--files'=[File names to be acted on.]:cmdline_Option_files:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_files:_files' \
}
(( $+functions[_isi_cloud_restore_coi] )) ||
_isi_cloud_restore_coi() {
_arguments \
--expiration-date'=[The expiration date for orphan objects.]' \
--account'=[The name for the cloud account.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cluster] )) ||
_isi_cluster() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ contact identity atime}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == contact ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-contact:"
      _isi_cluster_contact
    elif [[ $cmd == identity ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-identity:"
      _isi_cluster_identity
    elif [[ $cmd == atime ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-atime:"
      _isi_cluster_atime
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cluster_contact] )) ||
_isi_cluster_contact() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-contact-modify:"
      _isi_cluster_contact_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-contact-view:"
      _isi_cluster_contact_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cluster_contact_modify] )) ||
_isi_cluster_contact_modify() {
_arguments \
{-s,--secondary-phone1}'=[Set first phone number for secondary administrator contact.]' \
{-S,--secondary-phone2}'=[Set second phone number for secondary administrator contact.]' \
{-E,--secondary-email}'=[Set email address for secondary adminstrator contact.]' \
{-p,--primary-phone1}'=[Set first phone number for primary adminstrator contact.]' \
{-P,--primary-phone2}'=[Set second phone number for primary administrator contact.]' \
{-N,--secondary-name}'=[Set name for secondary administrator contact.]' \
{-e,--primary-email}'=[Set email address for primary administrator contact.]' \
{-n,--primary-name}'=[Set name for primary administrator contact.]' \
{-o,--location}'=[Set company location for contact information.]' \
{-c,--company}'=[Set company name for contact information.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cluster_contact_view] )) ||
_isi_cluster_contact_view() {
_arguments \
--format'=[Display cluster contacts in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cluster_identity] )) ||
_isi_cluster_identity() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-identity-view:"
      _isi_cluster_identity_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-identity-modify:"
      _isi_cluster_identity_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cluster_identity_view] )) ||
_isi_cluster_identity_view() {
_arguments \
--format'=[Display cluster identitys in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cluster_identity_modify] )) ||
_isi_cluster_identity_modify() {
_arguments \
{-d,--description}'=[Set the cluster description text.]' \
{-M,--motd-header}'=[Set the cluster Message Of The Day MOTD header text.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
{-m,--motd}'=[Set the cluster Message Of The Day MOTD text.]' \
{-n,--name}'=[Set the name of this cluster.]' \
}
(( $+functions[_isi_cluster_atime] )) ||
_isi_cluster_atime() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-atime-modify:"
      _isi_cluster_atime_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-cluster-atime-view:"
      _isi_cluster_atime_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_cluster_atime_modify] )) ||
_isi_cluster_atime_modify() {
_arguments \
--precision'=[Specifies the amount of time between updating access time of files.]' \
--enabled'=[Specifies whether the access time grace period is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_cluster_atime_view] )) ||
_isi_cluster_atime_view() {
}
(( $+functions[_isi_dedupe] )) ||
_isi_dedupe() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings reports stats}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe-settings:"
      _isi_dedupe_settings
    elif [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe-reports:"
      _isi_dedupe_reports
    elif [[ $cmd == stats ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe-stats:"
      _isi_dedupe_stats
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_dedupe_settings] )) ||
_isi_dedupe_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe-settings-view:"
      _isi_dedupe_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe-settings-modify:"
      _isi_dedupe_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_dedupe_settings_view] )) ||
_isi_dedupe_settings_view() {
}
(( $+functions[_isi_dedupe_settings_modify] )) ||
_isi_dedupe_settings_modify() {
_arguments \
--remove-assess-paths'=[Remove paths for dedupe assessment.]' \
--clear-assess-paths'[Clear value for paths for dedupe assessment.]' \
--add-assess-paths'=[Add paths for dedupe assessment.]' \
--assess-paths'=[Paths for dedupe assessment.]:cmdline_Option_assess_paths:_files' \
--remove-paths'=[Remove paths to dedupe.]' \
--clear-paths'[Clear value for paths to dedupe.]' \
--add-paths'=[Add paths to dedupe.]' \
{-v,--verbose}'[Display more detailed information.]' \
--paths'=[Paths to dedupe.]:cmdline_Option_paths:_files' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_dedupe_reports] )) ||
_isi_dedupe_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe-reports-list:"
      _isi_dedupe_reports_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-dedupe-reports-view:"
      _isi_dedupe_reports_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_dedupe_reports_list] )) ||
_isi_dedupe_reports_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display dedupe reports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of dedupe reports to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_dedupe_reports_view] )) ||
_isi_dedupe_reports_view() {
_arguments \
{-j,--job-id}'=[View the dedupe report specified by job ID.]:cmdline_Option_job_id:_cmdline_Option_shell_job_id_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_job_id:_cmdline_Option_shell_job_id_0' \
}
(( $+functions[_isi_dedupe_stats] )) ||
_isi_dedupe_stats() {
}
(( $+functions[_isi_event] )) ||
_isi_event() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ alerts channels events settings groups test categories types list view modify bulk}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == alerts ]]; then
      curcontext="${curcontext%:*:*}:isi-event-alerts:"
      _isi_event_alerts
    elif [[ $cmd == channels ]]; then
      curcontext="${curcontext%:*:*}:isi-event-channels:"
      _isi_event_channels
    elif [[ $cmd == events ]]; then
      curcontext="${curcontext%:*:*}:isi-event-events:"
      _isi_event_events
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-event-settings:"
      _isi_event_settings
    elif [[ $cmd == groups ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups:"
      _isi_event_groups
    elif [[ $cmd == test ]]; then
      curcontext="${curcontext%:*:*}:isi-event-test:"
      _isi_event_test
    elif [[ $cmd == categories ]]; then
      curcontext="${curcontext%:*:*}:isi-event-categories:"
      _isi_event_categories
    elif [[ $cmd == types ]]; then
      curcontext="${curcontext%:*:*}:isi-event-types:"
      _isi_event_types
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-list:"
      _isi_event_groups_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-view:"
      _isi_event_groups_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-modify:"
      _isi_event_groups_modify
    elif [[ $cmd == bulk ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-bulk:"
      _isi_event_groups_bulk
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_alerts] )) ||
_isi_event_alerts() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-event-alerts-list:"
      _isi_event_alerts_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-event-alerts-view:"
      _isi_event_alerts_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-event-alerts-create:"
      _isi_event_alerts_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-event-alerts-modify:"
      _isi_event_alerts_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-event-alerts-delete:"
      _isi_event_alerts_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_alerts_list] )) ||
_isi_event_alerts_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-c,--channel}'=[Retrieve alert conditions for this channel only.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display event alerts in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of event alerts to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(condition interval)' \
}
(( $+functions[_isi_event_alerts_view] )) ||
_isi_event_alerts_view() {
_arguments \
{-n,--name}'=[Alert condition name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_alerts_create] )) ||
_isi_event_alerts_create() {
_arguments \
--eventgroup'=[Eventgroup to alert on.]' \
--condition'=[Condition under which alert is sent.]:EnumValidator:(NEW NEW_EVENTS ONGOING SEVERITY_INCREASE SEVERITY_DECREASE RESOLVED)' \
--transient'=[Any eventgroup lasting less than this is deemed transient and will not be reported under this alert condition.]' \
--category'=[Eventgroup category to alert on.]:EnumValidator:(all)' \
--interval'=[Period in seconds between reports on ongoing eventgroups.]' \
--severity'=[Severities for which an alert is sent]:EnumValidator:(emergency critical warning information)' \
{-c,--channel}'=[Channel to deliver alert over.]' \
{-v,--verbose}'[Display more detailed information.]' \
--limit'=[Maximum number of reports to send for NEW_EVENTS.]' \
{-n,--name}'=[Alert condition name.]' \
{-h,--help}'[Display help for this command.]' \
'2:EnumValidator:(NEW NEW_EVENTS ONGOING SEVERITY_INCREASE SEVERITY_DECREASE RESOLVED)' \
}
(( $+functions[_isi_event_alerts_modify] )) ||
_isi_event_alerts_modify() {
_arguments \
--remove-eventgroup'=[Remove eventgroup to alert on.]' \
--clear-eventgroup'[Clear value for eventgroup to alert on.]' \
--remove-category'=[Remove eventgroup category to alert on.]:EnumValidator:(all)' \
--remove-severity'=[Remove severities for which an alert is sent]:EnumValidator:(emergency critical warning information)' \
--add-eventgroup'=[Add eventgroup to alert on.]' \
--clear-category'[Clear value for eventgroup category to alert on.]' \
--clear-severity'[Clear value for severities for which an alert is sent]' \
--remove-channel'=[Remove channel to deliver alert over.]' \
--clear-channel'[Clear value for channel to deliver alert over.]' \
--add-category'=[Add eventgroup category to alert on.]:EnumValidator:(all)' \
--add-severity'=[Add severities for which an alert is sent]:EnumValidator:(emergency critical warning information)' \
--add-channel'=[Add channel to deliver alert over.]' \
--eventgroup'=[Eventgroup to alert on.]' \
--condition'=[Condition under which alert is sent.]:EnumValidator:(NEW NEW_EVENTS ONGOING SEVERITY_INCREASE SEVERITY_DECREASE RESOLVED)' \
--transient'=[Any eventgroup lasting less than this is deemed transient and will not be reported under this alert condition.]' \
--category'=[Eventgroup category to alert on.]:EnumValidator:(all)' \
--interval'=[Period in seconds between reports on ongoing eventgroups.]' \
--severity'=[Severities for which an alert is sent]:EnumValidator:(emergency critical warning information)' \
{-c,--channel}'=[Channel to deliver alert over.]' \
{-v,--verbose}'[Display more detailed information.]' \
--limit'=[Maximum number of reports to send for NEW_EVENTS.]' \
{-n,--name}'=[Alert condition name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_alerts_delete] )) ||
_isi_event_alerts_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-n,--name}'=[Alert condition name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_channels] )) ||
_isi_event_channels() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-event-channels-list:"
      _isi_event_channels_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-event-channels-view:"
      _isi_event_channels_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-event-channels-create:"
      _isi_event_channels_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-event-channels-modify:"
      _isi_event_channels_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-event-channels-delete:"
      _isi_event_channels_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_channels_list] )) ||
_isi_event_channels_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display event channels in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of event channels to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name type enabled allowed_nodes excluded_nodes address send_as subject smtp_host smtp_port smtp_use_auth smtp_username smtp_password smtp_security batch batch_period host community use_snmp_trap)' \
}
(( $+functions[_isi_event_channels_view] )) ||
_isi_event_channels_view() {
_arguments \
{-n,--name}'=[Channel name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_channels_create] )) ||
_isi_event_channels_create() {
_arguments \
--excluded-nodes'=[Nodes LNNs that cannot be a channel master.]' \
--allowed-nodes'=[Nodes LNNs that can be a channel master.]' \
--smtp-password'=[Password for SMTP authentication. Default value is Global SMTP server settings.]' \
--smtp-security'=[Encryption for SMTP.]:EnumValidator:(STARTTLS NONE)' \
--smtp-use-auth'=[Use SMTP authentication. Default value is global email SMTP server settings.]:BoolValueType:(true false)' \
--smtp-username'=[Username for SMTP authentication. Default value is global email SMTP server settings.]' \
--use-snmp-trap'=[Use snmptrap instead of snmpinform for this channel.]:BoolValueType:(true false)' \
--batch-period'=[Batching period for SMTP channels.]' \
--community'=[SNMP community.]' \
--smtp-host'=[SMTP relay host. Default value is global email SMTP server settings.]' \
--smtp-port'=[SMTP relay port. Default value is global email SMTP server settings.]' \
--address'=[Destination address for smtp channels.]' \
--enabled'=[Enable the event channel. Default value is Yes.]:BoolValueType:(true false)' \
--send-as'=[From address for smtp channels.]' \
--subject'=[Subject for smtp channels.]' \
{-v,--verbose}'[Display more detailed information.]' \
--batch'=[Batching control SMTP channels.]:EnumValidator:(NONE ALL CATEGORY SEVERITY)' \
{-n,--name}'=[Channel name.]' \
{-t,--type}'=[Channel mechanism.]:EnumValidator:(smtp snmp connectemc)' \
{-h,--help}'[Display help for this command.]' \
--host'=[SNMP host.]' \
'2:EnumValidator:(smtp snmp connectemc)' \
}
(( $+functions[_isi_event_channels_modify] )) ||
_isi_event_channels_modify() {
_arguments \
--remove-excluded-nodes'=[Remove nodes LNNs that cannot be a channel master.]' \
--clear-excluded-nodes'[Clear value for nodes LNNs that cannot be a channel master.]' \
--remove-allowed-nodes'=[Remove nodes LNNs that can be a channel master.]' \
--clear-allowed-nodes'[Clear value for nodes LNNs that can be a channel master.]' \
--add-excluded-nodes'=[Add nodes LNNs that cannot be a channel master.]' \
--add-allowed-nodes'=[Add nodes LNNs that can be a channel master.]' \
--excluded-nodes'=[Nodes LNNs that cannot be a channel master.]' \
--remove-address'=[Remove destination address for smtp channels.]' \
--allowed-nodes'=[Nodes LNNs that can be a channel master.]' \
--clear-address'[Clear value for destination address for smtp channels.]' \
--smtp-password'=[Password for SMTP authentication.]' \
--smtp-security'=[Encryption for SMTP.]:EnumValidator:(STARTTLS NONE)' \
--smtp-use-auth'=[Use SMTP authentication.]:BoolValueType:(true false)' \
--smtp-username'=[Username for SMTP authentication.]' \
--use-snmp-trap'=[Use snmptrap instead of snmpinform for this channel.]:BoolValueType:(true false)' \
--batch-period'=[Batching period for SMTP channels.]' \
--add-address'=[Add destination address for smtp channels.]' \
--community'=[SNMP community.]' \
--smtp-host'=[SMTP relay host.]' \
--smtp-port'=[SMTP relay port.]' \
--address'=[Destination address for smtp channels.]' \
--enabled'=[event channel is enabled.]:BoolValueType:(true false)' \
--send-as'=[From address for smtp channels.]' \
--subject'=[Subject for smtp channels.]' \
{-v,--verbose}'[Display more detailed information.]' \
--batch'=[Batching control SMTP channels.]:EnumValidator:(NONE ALL CATEGORY SEVERITY)' \
{-n,--name}'=[Channel name.]' \
{-h,--help}'[Display help for this command.]' \
--host'=[SNMP host.]' \
{-t,--type}'=[Channel mechanism.]:EnumValidator:(smtp snmp connectemc)' \
}
(( $+functions[_isi_event_channels_delete] )) ||
_isi_event_channels_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-n,--name}'=[Channel name.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_events] )) ||
_isi_event_events() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-event-events-list:"
      _isi_event_events_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-event-events-view:"
      _isi_event_events_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_events_list] )) ||
_isi_event_events_list() {
_arguments \
--eventgroup-id'=[Event Group Instance.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display events in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_events_view] )) ||
_isi_event_events_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[Event Id eg 1.143]' \
}
(( $+functions[_isi_event_settings] )) ||
_isi_event_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-event-settings-view:"
      _isi_event_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-event-settings-modify:"
      _isi_event_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_settings_view] )) ||
_isi_event_settings_view() {
}
(( $+functions[_isi_event_settings_modify] )) ||
_isi_event_settings_modify() {
_arguments \
--clear-maintenance-start'[Clear value for start date and time of maintenance window.]' \
--maintenance-duration'=[Duration of maintenance window.]' \
--heartbeat-interval'=[Interval between heartbeat events: the given]:EnumValidator:(daily weekly monthly)' \
--maintenance-start'=[Start date and time of maintenance window.]' \
{-r,--retention-days}'=[Retention of resolved event group data in days.]' \
{-s,--storage-limit}'=[Storage limit in millionths of available storage 1-100.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_groups] )) ||
_isi_event_groups() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view modify bulk}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-list:"
      _isi_event_groups_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-view:"
      _isi_event_groups_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-modify:"
      _isi_event_groups_modify
    elif [[ $cmd == bulk ]]; then
      curcontext="${curcontext%:*:*}:isi-event-groups-bulk:"
      _isi_event_groups_bulk
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_groups_list] )) ||
_isi_event_groups_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
--resolved'=[Event Group has been marked resolved.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--events'=[Number of events recorded against this eventgroup.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display event groups in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--ignore'=[Event Group has been marked ignore and will not be alerted.]:BoolValueType:(true false)' \
{-b,--begin}'=[Limit to event groups after this date and time.]' \
--cause'=[Show only occurrences with this eventgroup as cause]' \
{-l,--limit}'=[Number of event groups to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id started causes_long lnn devid last_event ignore ignore_time resolved resolve_time ended events severity)' \
{-e,--end}'=[Limit to event groups before this date and time.]' \
}
(( $+functions[_isi_event_groups_view] )) ||
_isi_event_groups_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[Event Group ID.]' \
}
(( $+functions[_isi_event_groups_modify] )) ||
_isi_event_groups_modify() {
_arguments \
--resolved'=[Event Group has been marked resolved.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--ignore'=[Event Group has been marked ignore and will not be alerted.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
--id'=[Event Group ID.]' \
}
(( $+functions[_isi_event_groups_bulk] )) ||
_isi_event_groups_bulk() {
_arguments \
--resolved'=[Event Group has been marked resolved.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--ignore'=[Event Group has been marked ignore and will not be alerted.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_test] )) ||
_isi_event_test() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-event-test-create:"
      _isi_event_test_create
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_test_create] )) ||
_isi_event_test_create() {
_arguments \
{-m,--message}'=[Event message.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_categories] )) ||
_isi_event_categories() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-event-categories-list:"
      _isi_event_categories_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_categories_list] )) ||
_isi_event_categories_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display event categories in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_event_types] )) ||
_isi_event_types() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-event-types-list:"
      _isi_event_types_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_event_types_list] )) ||
_isi_event_types_list() {
_arguments \
--category'=[Category.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display event types in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices] )) ||
_isi_devices() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ drive node firmware config view list add format smartfail stopfail purpose suspend purposelist}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == drive ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive:"
      _isi_devices_drive
    elif [[ $cmd == node ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-node:"
      _isi_devices_node
    elif [[ $cmd == firmware ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware:"
      _isi_devices_drive_firmware
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-config:"
      _isi_devices_drive_config
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-view:"
      _isi_devices_drive_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-list:"
      _isi_devices_drive_list
    elif [[ $cmd == add ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-add:"
      _isi_devices_drive_add
    elif [[ $cmd == format ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-format:"
      _isi_devices_drive_format
    elif [[ $cmd == smartfail ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-smartfail:"
      _isi_devices_drive_smartfail
    elif [[ $cmd == stopfail ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-stopfail:"
      _isi_devices_drive_stopfail
    elif [[ $cmd == purpose ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-purpose:"
      _isi_devices_drive_purpose
    elif [[ $cmd == suspend ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-suspend:"
      _isi_devices_drive_suspend
    elif [[ $cmd == purposelist ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-purposelist:"
      _isi_devices_drive_purposelist
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_devices_drive] )) ||
_isi_devices_drive() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ firmware config view list add format smartfail stopfail purpose suspend purposelist}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == firmware ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware:"
      _isi_devices_drive_firmware
    elif [[ $cmd == config ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-config:"
      _isi_devices_drive_config
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-view:"
      _isi_devices_drive_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-list:"
      _isi_devices_drive_list
    elif [[ $cmd == add ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-add:"
      _isi_devices_drive_add
    elif [[ $cmd == format ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-format:"
      _isi_devices_drive_format
    elif [[ $cmd == smartfail ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-smartfail:"
      _isi_devices_drive_smartfail
    elif [[ $cmd == stopfail ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-stopfail:"
      _isi_devices_drive_stopfail
    elif [[ $cmd == purpose ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-purpose:"
      _isi_devices_drive_purpose
    elif [[ $cmd == suspend ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-suspend:"
      _isi_devices_drive_suspend
    elif [[ $cmd == purposelist ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-purposelist:"
      _isi_devices_drive_purposelist
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_devices_drive_firmware] )) ||
_isi_devices_drive_firmware() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ update view list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == update ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware-update:"
      _isi_devices_drive_firmware_update
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware-view:"
      _isi_devices_drive_firmware_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware-list:"
      _isi_devices_drive_firmware_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_devices_drive_firmware_update] )) ||
_isi_devices_drive_firmware_update() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view list start}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware-update-view:"
      _isi_devices_drive_firmware_update_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware-update-list:"
      _isi_devices_drive_firmware_update_list
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-firmware-update-start:"
      _isi_devices_drive_firmware_update_start
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_devices_drive_firmware_update_view] )) ||
_isi_devices_drive_firmware_update_view() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_drive_firmware_update_list] )) ||
_isi_devices_drive_firmware_update_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display devices drive firmware updates in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_drive_firmware_update_start] )) ||
_isi_devices_drive_firmware_update_start() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. May be "all". If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis. May be "all".]:cmdline_Option_bay:_cmdline_Option_shell_bay_0' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_0' \
}
(( $+functions[_isi_devices_drive_firmware_view] )) ||
_isi_devices_drive_firmware_view() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
--lnum'=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
}
(( $+functions[_isi_devices_drive_firmware_list] )) ||
_isi_devices_drive_firmware_list() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. May be "all". If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_1' \
{-s,--summary}'[Display a summary of drive firmware counts by model and revision]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display devices drive firmwares in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--sled'=[Sled letter in node.]:cmdline_Option_sled:_cmdline_Option_shell_sled_0' \
}
(( $+functions[_isi_devices_drive_config] )) ||
_isi_devices_drive_config() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-config-view:"
      _isi_devices_drive_config_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-drive-config-modify:"
      _isi_devices_drive_config_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_devices_drive_config_view] )) ||
_isi_devices_drive_config_view() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. May be "all". If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_1' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_drive_config_modify] )) ||
_isi_devices_drive_config_modify() {
_arguments \
--automatic-replacement-recognition'=[Enable or disable Automatic Replacement Recognition ARR support to the drive subsystem. "Yes" enables ARR support while "no" disables ARR support.]' \
--node-lnn'=[Specifies which node LNN to use. Can be "all". If omitted, "all" is used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_1' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_drive_view] )) ||
_isi_devices_drive_view() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
--lnum'=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
}
(( $+functions[_isi_devices_drive_list] )) ||
_isi_devices_drive_list() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. May be "all". If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_1' \
{-V,--override}'[Print legacy bay numbers instead of grid XY values.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display devices drives in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--sled'=[Sled letter in node.]:cmdline_Option_sled:_cmdline_Option_shell_sled_0' \
}
(( $+functions[_isi_devices_drive_add] )) ||
_isi_devices_drive_add() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--sled'=[Sled letter in node.]:cmdline_Option_sled:_cmdline_Option_shell_sled_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis. May be "all".]:cmdline_Option_bay:_cmdline_Option_shell_bay_0' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_0' \
}
(( $+functions[_isi_devices_drive_format] )) ||
_isi_devices_drive_format() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
--purpose'=[Purpose to assign the new drive. If not specified, formatting node will automatically determine purpose. To see a list a possible purposes, please run isi devices drive purposelist]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--sled'=[Sled letter in node.]:cmdline_Option_sled:_cmdline_Option_shell_sled_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
}
(( $+functions[_isi_devices_drive_smartfail] )) ||
_isi_devices_drive_smartfail() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--lnum'=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0' \
--sled'=[Sled letter in node.]:cmdline_Option_sled:_cmdline_Option_shell_sled_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
}
(( $+functions[_isi_devices_drive_stopfail] )) ||
_isi_devices_drive_stopfail() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--lnum'=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0' \
--sled'=[Sled letter in node.]:cmdline_Option_sled:_cmdline_Option_shell_sled_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
}
(( $+functions[_isi_devices_drive_purpose] )) ||
_isi_devices_drive_purpose() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
--purpose'=[Purpose to assign the new drive. To see a list a possible purposes, please run isi devices drive purposelist]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--lnum'=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
}
(( $+functions[_isi_devices_drive_suspend] )) ||
_isi_devices_drive_suspend() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--lnum'=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0' \
--sled'=[Sled letter in node.]:cmdline_Option_sled:_cmdline_Option_shell_sled_0' \
{-h,--help}'[Display help for this command.]' \
--bay'=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
'1:cmdline_Option_bay:_cmdline_Option_shell_bay_1' \
}
(( $+functions[_isi_devices_drive_purposelist] )) ||
_isi_devices_drive_purposelist() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display devices drives in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_node] )) ||
_isi_devices_node() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list add smartfail stopfail}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-node-list:"
      _isi_devices_node_list
    elif [[ $cmd == add ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-node-add:"
      _isi_devices_node_add
    elif [[ $cmd == smartfail ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-node-smartfail:"
      _isi_devices_node_smartfail
    elif [[ $cmd == stopfail ]]; then
      curcontext="${curcontext%:*:*}:isi-devices-node-stopfail:"
      _isi_devices_node_stopfail
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_devices_node_list] )) ||
_isi_devices_node_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display devices nodes in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_node_add] )) ||
_isi_devices_node_add() {
_arguments \
--serial-number'=[Serial number of node.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_node_smartfail] )) ||
_isi_devices_node_smartfail() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_devices_node_stopfail] )) ||
_isi_devices_node_stopfail() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_diagnostics] )) ||
_isi_diagnostics() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ gather netlogger}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == gather ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-gather:"
      _isi_diagnostics_gather
    elif [[ $cmd == netlogger ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-netlogger:"
      _isi_diagnostics_netlogger
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_diagnostics_gather] )) ||
_isi_diagnostics_gather() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings start stop status}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-gather-settings:"
      _isi_diagnostics_gather_settings
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-gather-start:"
      _isi_diagnostics_gather_start
    elif [[ $cmd == stop ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-gather-stop:"
      _isi_diagnostics_gather_stop
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-gather-status:"
      _isi_diagnostics_gather_status
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_diagnostics_gather_settings] )) ||
_isi_diagnostics_gather_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-gather-settings-view:"
      _isi_diagnostics_gather_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-gather-settings-modify:"
      _isi_diagnostics_gather_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_diagnostics_gather_settings_view] )) ||
_isi_diagnostics_gather_settings_view() {
}
(( $+functions[_isi_diagnostics_gather_settings_modify] )) ||
_isi_diagnostics_gather_settings_modify() {
_arguments \
--http-upload-proxy-port'=[Proxy port to use for HTTP Upload.]' \
--ftp-upload-proxy-port'=[Port for proxy server for FTP.]' \
--set-ftp-upload-pass'[Specify --ftp-upload-pass interactively]' \
--http-upload-proxy'=[Proxy to use for HTTP upload.]' \
--ftp-upload-proxy'=[Proxy server for FTP.]' \
--http-upload-host'=[HTTP host to upload to.]' \
--http-upload-path'=[Path for the upload.]' \
--ftp-upload-host'=[FTP host to upload to.]' \
--ftp-upload-pass'=[FTP users password.]' \
--ftp-upload-path'=[Path on FTP server for the upload.]' \
--ftp-upload-user'=[FTP user.]' \
--gather-mode'=[Type of gather: incremental, or full.]:EnumValidator:(incremental full)' \
--http-upload'=[Whether or not to use HTTP upload on completed gather.]:BoolValueType:(true false)' \
--ftp-upload'=[Whether or not to use FTP upload on completed gather.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--upload'=[Enable gather upload.]:BoolValueType:(true false)' \
--esrs'=[Use ESRS for gather upload.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_diagnostics_gather_start] )) ||
_isi_diagnostics_gather_start() {
_arguments \
--http-upload-proxy-port'=[Proxy port to use for HTTP Upload.]' \
--ftp-upload-proxy-port'=[Port for proxy server for FTP.]' \
--set-ftp-upload-pass'[Specify --ftp-upload-pass interactively]' \
--http-upload-proxy'=[Proxy to use for HTTP upload.]' \
--ftp-upload-proxy'=[Proxy server for FTP.]' \
--http-upload-host'=[HTTP host to upload to.]' \
--http-upload-path'=[Path for the upload.]' \
--ftp-upload-host'=[FTP host to upload to.]' \
--ftp-upload-pass'=[FTP users password.]' \
--ftp-upload-path'=[Path on FTP server for the upload.]' \
--ftp-upload-user'=[FTP user.]' \
--gather-mode'=[Type of gather: incremental, or full.]:EnumValidator:(incremental full)' \
--http-upload'=[Whether or not to use HTTP upload on completed gather.]:BoolValueType:(true false)' \
--ftp-upload'=[Whether or not to use FTP upload on completed gather.]:BoolValueType:(true false)' \
--upload'=[Enable gather upload.]:BoolValueType:(true false)' \
--esrs'=[Use ESRS for gather upload.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_diagnostics_gather_stop] )) ||
_isi_diagnostics_gather_stop() {
}
(( $+functions[_isi_diagnostics_gather_status] )) ||
_isi_diagnostics_gather_status() {
}
(( $+functions[_isi_diagnostics_netlogger] )) ||
_isi_diagnostics_netlogger() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings start stop status}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-netlogger-settings:"
      _isi_diagnostics_netlogger_settings
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-netlogger-start:"
      _isi_diagnostics_netlogger_start
    elif [[ $cmd == stop ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-netlogger-stop:"
      _isi_diagnostics_netlogger_stop
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-netlogger-status:"
      _isi_diagnostics_netlogger_status
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_diagnostics_netlogger_settings] )) ||
_isi_diagnostics_netlogger_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-netlogger-settings-modify:"
      _isi_diagnostics_netlogger_settings_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-diagnostics-netlogger-settings-view:"
      _isi_diagnostics_netlogger_settings_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_diagnostics_netlogger_settings_modify] )) ||
_isi_diagnostics_netlogger_settings_modify() {
_arguments \
--interfaces'=[Specify the network interfaces to capture on.]' \
--snaplength'=[Snap length.  Default is 320 bytes. Valid range is 64 to 9100 bytes.]' \
--protocols'=[Protocols to filter for.]' \
--duration'=[How long to run the capture before rotating the capture file.  Default 10 minutes.]' \
--nodelist'=[List of nodes specified by LNN to run the capture on.]' \
--clients'=[Client IP address or addresses to filter for.]' \
{-v,--verbose}'[Display more detailed information.]' \
--count'=[The number of capture files to keep after they reach the duration limit.  Defaults to the latest 3 files.]' \
--ports'=[TCP or UDP port or ports to filter for.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_diagnostics_netlogger_settings_view] )) ||
_isi_diagnostics_netlogger_settings_view() {
}
(( $+functions[_isi_diagnostics_netlogger_start] )) ||
_isi_diagnostics_netlogger_start() {
_arguments \
--interfaces'=[Specify the network interfaces to capture on.]' \
--snaplength'=[Snap length.  Default is 320 bytes. Valid range is 64 to 9100 bytes.]' \
--protocols'=[Protocols to filter for.]' \
--duration'=[How long to run the capture before rotating the capture file.  Default 10 minutes.]' \
--nodelist'=[List of nodes specified by LNN to run the capture on.]' \
--clients'=[Client IP address or addresses to filter for.]' \
--count'=[The number of capture files to keep after they reach the duration limit.  Defaults to the latest 3 files.]' \
--ports'=[TCP or UDP port or ports to filter for.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_diagnostics_netlogger_stop] )) ||
_isi_diagnostics_netlogger_stop() {
}
(( $+functions[_isi_diagnostics_netlogger_status] )) ||
_isi_diagnostics_netlogger_status() {
}
(( $+functions[_isi_email] )) ||
_isi_email() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-email-settings:"
      _isi_email_settings
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-email-settings-view:"
      _isi_email_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-email-settings-modify:"
      _isi_email_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_email_settings] )) ||
_isi_email_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-email-settings-view:"
      _isi_email_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-email-settings-modify:"
      _isi_email_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_email_settings_view] )) ||
_isi_email_settings_view() {
}
(( $+functions[_isi_email_settings_modify] )) ||
_isi_email_settings_modify() {
_arguments \
--clear-smtp-auth-passwd'[Clear value for set SMTP Auth password.]' \
--set-smtp-auth-passwd'[Specify --smtp-auth-passwd interactively]' \
--clear-user-template'[Clear value for path for custom email template.]' \
{-u,--smtp-auth-username}'=[Set SMTP Auth username.]' \
{-p,--smtp-auth-passwd}'=[Set SMTP Auth password.]' \
--use-encryption'=[Use encryption TLS for SMTP Auth.]:BoolValueType:(true false)' \
--use-smtp-auth'=[Use SMTP Auth.]:BoolValueType:(true false)' \
--user-template'=[Path for custom email template.]' \
--mail-subject'=[Set the prefix string for email subject.]' \
--mail-sender'=[Set the originator email address.]' \
--batch-mode'=[This setting determines how notifications will be batched together to be sent by email.]:EnumValidator:(all severity category none)' \
--mail-relay'=[Set the SMTP relay address.]' \
--smtp-port'=[Set the SMTP port. Default is 25.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_esrs] )) ||
_isi_esrs() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ download modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == download ]]; then
      curcontext="${curcontext%:*:*}:isi-esrs-download:"
      _isi_esrs_download
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-esrs-modify:"
      _isi_esrs_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-esrs-view:"
      _isi_esrs_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_esrs_download] )) ||
_isi_esrs_download() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ start list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-esrs-download-start:"
      _isi_esrs_download_start
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-esrs-download-list:"
      _isi_esrs_download_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-esrs-download-view:"
      _isi_esrs_download_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_esrs_download_start] )) ||
_isi_esrs_download_start() {
_arguments \
--file'=[The file name as shown in the ESRS File Locker.]' \
--path'=[The path the file will be placed in after successfully downloading a file]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_esrs_download_list] )) ||
_isi_esrs_download_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display esrs downloads in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of esrs downloads to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_esrs_download_view] )) ||
_isi_esrs_download_view() {
_arguments \
--file'=[The file name as shown in the ESRS File Locker.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_esrs_modify] )) ||
_isi_esrs_modify() {
_arguments \
--remove-gateway-access-pools'=[Remove items from list of pool identifiers]' \
--clear-gateway-access-pools'[Clear list of pool identifiers]' \
--connectivity-check-period'=[Gateway connectivity check period in seconds.]' \
--download-filesystem-limit'=[This control sets the threshold after which downloads are disallowed, measured in percentage of used filesystem resources. The default threshold is 80% of total filesystem resources.]' \
--add-gateway-access-pools'=[Add items to list of pool identifiers]' \
--download-timeout-period'=[This control specifies the timeout period for ESRS file download requests, in seconds. The default period is 50 seconds per chunk.]' \
--download-error-retries'=[This control specifies how many requests the system will submit after experiencing an error or timeout during a download. The default number of retry requests is 3 per chunk.]' \
--secondary-esrs-gateway'=[The hostname or IP address of the secondary ESRS gateway.]' \
--gateway-access-pools'=[A list of identifiers for pools that are able to access the gateways.]' \
--primary-esrs-gateway'=[The hostname or IP address of the primary ESRS gateway.]' \
--alert-on-disconnect'=[Whether to generate a CELOG alert if on-cluster ESRS is disconnected from the ESRS gateways.]:BoolValueType:(true false)' \
--download-chunk-size'=[This control specifies the maximum number of bytes per chunk of a download request.  The default value is 1000000 bytes 1 MB per chunk.]' \
--ui-reporting-period'=[License Usage Intelligence reporting period in seconds.]' \
--download-enabled'=[This control enables or disables the ESRS file download feature. The default state is False.]:BoolValueType:(true false)' \
--password'=[The users Dell EMC password associated with the given username.]' \
--username'=[The users Dell EMC username/email. This is required to enable ESRS.]' \
--enabled'=[Whether ESRS is enabled.]:BoolValueType:(true false)' \
--force'=[Force ESRS deprovisioning. Normally ESRS deprovisioning requires communication with ESRS. This option allows for deprovisioning when communication with ESRS Gateway or ESRS is not working. Default is false.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_esrs_view] )) ||
_isi_esrs_view() {
}
(( $+functions[_isi_fc] )) ||
_isi_fc() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-fc-settings:"
      _isi_fc_settings
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_fc_settings] )) ||
_isi_fc_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-fc-settings-list:"
      _isi_fc_settings_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-fc-settings-view:"
      _isi_fc_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-fc-settings-modify:"
      _isi_fc_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_fc_settings_list] )) ||
_isi_fc_settings_list() {
_arguments \
--format'=[Display fc settings in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_fc_settings_view] )) ||
_isi_fc_settings_view() {
_arguments \
--format'=[Display fc settings in the given format]:EnumValidator:(list json)' \
--port'=[A FC port identified in form of <lnn>.<fc port>]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_fc_settings_modify] )) ||
_isi_fc_settings_modify() {
_arguments \
--topology'=[topology auto | loop | ptp]:EnumValidator:(auto loop ptp)' \
--state'=[enable or disable a port]:EnumValidator:(enable disable)' \
--port'=[A FC port identified in form of <lnn>.<fc port>]' \
{-h,--help}'[Display help for this command.]' \
--rate'=[rate auto | 1 | 2 | 4 | 8]:EnumValidator:(auto 1 2 4 8)' \
--wwnn'=[world wide node name]' \
--wwpn'=[world wide port name]' \
}
(( $+functions[_isi_file-filter] )) ||
_isi_file-filter() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-file-filter-settings:"
      _isi_file-filter_settings
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-file-filter-settings-view:"
      _isi_file-filter_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-file-filter-settings-modify:"
      _isi_file-filter_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_file-filter_settings] )) ||
_isi_file-filter_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-file-filter-settings-view:"
      _isi_file-filter_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-file-filter-settings-modify:"
      _isi_file-filter_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_file-filter_settings_view] )) ||
_isi_file-filter_settings_view() {
_arguments \
--format'=[Display file-filter settings in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_file-filter_settings_modify] )) ||
_isi_file-filter_settings_modify() {
_arguments \
--remove-file-filter-extensions'=[Remove items from list of file extensions]' \
--revert-file-filtering-enabled'[Set value to system default for --file-filtering-enabled.]' \
--clear-file-filter-extensions'[Clear list of file extensions]' \
--add-file-filter-extensions'=[Add items to list of file extensions]' \
--revert-file-filter-type'[Set value to system default for --file-filter-type.]' \
--file-filter-extensions'=[Specifies the list of file extensions.]' \
--file-filtering-enabled'=[Enables file filtering on this zone.]:BoolValueType:(true false)' \
--file-filter-type'=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_filepool] )) ||
_isi_filepool() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ default-policy policies templates apply}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == default-policy ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-default-policy:"
      _isi_filepool_default-policy
    elif [[ $cmd == policies ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-policies:"
      _isi_filepool_policies
    elif [[ $cmd == templates ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-templates:"
      _isi_filepool_templates
    elif [[ $cmd == apply ]]; then
      curcontext="${curcontext%:*:*}:isi-apply:"
      _isi_apply
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_filepool_default-policy] )) ||
_isi_filepool_default-policy() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-default-policy-view:"
      _isi_filepool_default-policy_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-default-policy-modify:"
      _isi_filepool_default-policy_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_filepool_default-policy_view] )) ||
_isi_filepool_default-policy_view() {
}
(( $+functions[_isi_filepool_default-policy_modify] )) ||
_isi_filepool_default-policy_modify() {
_arguments \
--cloud-incremental-backup-retention'=[Used with SyncIQ and NDMP backups.  The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup]' \
--cloud-archive-snapshot-files'=[Whether or not this policy should archive files with snapshots]:BoolValueType:(true false)' \
--cloud-full-backup-retention'=[Used with NDMP backups only.  Not applicable to SyncIQ. The minimum amount of time cloud files will be retained after the creation of a full NDMP backup]' \
--cloud-compression-enabled'=[Compress data moved to the cloud]:BoolValueType:(true false)' \
--cloud-writeback-frequency'=[The minimum amount of time to wait before updating cloud data with local changes]' \
--cloud-encryption-enabled'=[Encrypt data moved to the cloud]:BoolValueType:(true false)' \
--set-requested-protection'=[Set a requested protection for matching files]:EnumValidator:(default +1 +1n +2\:1 +2d\:1n +2 +2n +3\:1 +3d\:1n +3d\:1n1d +3 +3n +4 +4n +4\:1 +4d\:1n +4\:2 +4d\:2n 2x 3x 4x 5x 6x 7x 8x)' \
--snapshot-storage-target'=[Name of a storage pool or anywhere]' \
--cloud-cache-expiration'=[Number of days until the cache expires]' \
--snapshot-ssd-strategy'=[SSD strategy of snapshot diskpool policy. metadata stores a single metadata mirror on SSD; metadata-write stores all metadata on SSD; data stores all metadata and data on SSD and avoid stores no data or metadata on SSD]:EnumValidator:(metadata metadata-write data avoid)' \
--cloud-data-retention'=[The minimum amount of time archived data will be retained in the cloud after deletion]' \
--cloud-accessibility'=[Accessibility of archived files one of "cached" or "no-cache"]' \
--data-access-pattern'=[data access pattern random, streaming or concurrent]:EnumValidator:(random concurrency streaming)' \
--data-storage-target'=[Name of a storage pool or anywhere]' \
--data-ssd-strategy'=[SSD strategy of diskpool policy action. metadata stores a single metadata mirror on SSD; metadata-write stores all metadata on SSD; data stores all metadata and data on SSD and avoid stores no data or metadata on SSD]:EnumValidator:(metadata metadata-write data avoid)' \
--cloud-read-ahead'=[Cache read ahead strategy for cloud files one of partial, full]' \
--enable-coalescer'=[Enable the coalescer]:BoolValueType:(true false)' \
--enable-packing'=[Enable packing]:BoolValueType:(true false)' \
--cloud-pool'=[Move to the cloud pool with the given ID]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_filepool_policies] )) ||
_isi_filepool_policies() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-policies-list:"
      _isi_filepool_policies_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-policies-view:"
      _isi_filepool_policies_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-policies-create:"
      _isi_filepool_policies_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-policies-modify:"
      _isi_filepool_policies_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-policies-delete:"
      _isi_filepool_policies_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_filepool_policies_list] )) ||
_isi_filepool_policies_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display filepool policies in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of filepool policies to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_filepool_policies_view] )) ||
_isi_filepool_policies_view() {
_arguments \
--name'=[Policy name]:cmdline_Option_name:_cmdline_Option_shell_name_6' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_6' \
}
(( $+functions[_isi_filepool_policies_create] )) ||
_isi_filepool_policies_create() {
_arguments \
--cloud-incremental-backup-retention'=[Used with SyncIQ and NDMP backups.  The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup]' \
--cloud-archive-snapshot-files'=[Whether or not this policy should archive files with snapshots]:BoolValueType:(true false)' \
--cloud-full-backup-retention'=[Used with NDMP backups only.  Not applicable to SyncIQ. The minimum amount of time cloud files will be retained after the creation of a full NDMP backup]' \
--cloud-compression-enabled'=[Compress data moved to the cloud]:BoolValueType:(true false)' \
--cloud-writeback-frequency'=[The minimum amount of time to wait before updating cloud data with local changes]' \
--cloud-encryption-enabled'=[Encrypt data moved to the cloud]:BoolValueType:(true false)' \
--set-requested-protection'=[Set a requested protection for matching files]:EnumValidator:(default +1 +1n +2\:1 +2d\:1n +2 +2n +3\:1 +3d\:1n +3d\:1n1d +3 +3n +4 +4n +4\:1 +4d\:1n +4\:2 +4d\:2n 2x 3x 4x 5x 6x 7x 8x)' \
--snapshot-storage-target'=[Name of a storage pool or anywhere]' \
--cloud-cache-expiration'=[Number of days until the cache expires]' \
--snapshot-ssd-strategy'=[SSD strategy of snapshot diskpool policy. metadata stores a single metadata mirror on SSD; metadata-write stores all metadata on SSD; data stores all metadata and data on SSD and avoid stores no data or metadata on SSD]:EnumValidator:(metadata metadata-write data avoid)' \
--cloud-data-retention'=[The minimum amount of time archived data will be retained in the cloud after deletion]' \
--cloud-accessibility'=[Accessibility of archived files one of "cached" or "no-cache"]' \
--data-access-pattern'=[data access pattern random, streaming or concurrent]:EnumValidator:(random concurrency streaming)' \
--data-storage-target'=[Name of a storage pool or anywhere]' \
--data-ssd-strategy'=[SSD strategy of diskpool policy action. metadata stores a single metadata mirror on SSD; metadata-write stores all metadata on SSD; data stores all metadata and data on SSD and avoid stores no data or metadata on SSD]:EnumValidator:(metadata metadata-write data avoid)' \
--cloud-read-ahead'=[Cache read ahead strategy for cloud files one of partial, full]' \
--enable-coalescer'=[Enable the coalescer]:BoolValueType:(true false)' \
--enable-packing'=[Enable packing]:BoolValueType:(true false)' \
--apply-order'=[The order index for the execution of this policy]' \
--description'=[Policy description]' \
--cloud-pool'=[Move to the cloud pool with the given ID]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Policy name]:cmdline_Option_name:_cmdline_Option_shell_name_6' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_6' \
}
(( $+functions[_isi_filepool_policies_modify] )) ||
_isi_filepool_policies_modify() {
_arguments \
--cloud-incremental-backup-retention'=[Used with SyncIQ and NDMP backups.  The minimum amount of time cloud files will be retained after the creation of a SyncIQ backup or an incremental NDMP backup]' \
--cloud-archive-snapshot-files'=[Whether or not this policy should archive files with snapshots]:BoolValueType:(true false)' \
--cloud-full-backup-retention'=[Used with NDMP backups only.  Not applicable to SyncIQ. The minimum amount of time cloud files will be retained after the creation of a full NDMP backup]' \
--cloud-compression-enabled'=[Compress data moved to the cloud]:BoolValueType:(true false)' \
--cloud-writeback-frequency'=[The minimum amount of time to wait before updating cloud data with local changes]' \
--cloud-encryption-enabled'=[Encrypt data moved to the cloud]:BoolValueType:(true false)' \
--set-requested-protection'=[Set a requested protection for matching files]:EnumValidator:(default +1 +1n +2\:1 +2d\:1n +2 +2n +3\:1 +3d\:1n +3d\:1n1d +3 +3n +4 +4n +4\:1 +4d\:1n +4\:2 +4d\:2n 2x 3x 4x 5x 6x 7x 8x)' \
--snapshot-storage-target'=[Name of a storage pool or anywhere]' \
--cloud-cache-expiration'=[Number of days until the cache expires]' \
--snapshot-ssd-strategy'=[SSD strategy of snapshot diskpool policy. metadata stores a single metadata mirror on SSD; metadata-write stores all metadata on SSD; data stores all metadata and data on SSD and avoid stores no data or metadata on SSD]:EnumValidator:(metadata metadata-write data avoid)' \
--cloud-data-retention'=[The minimum amount of time archived data will be retained in the cloud after deletion]' \
--cloud-accessibility'=[Accessibility of archived files one of "cached" or "no-cache"]' \
--data-access-pattern'=[data access pattern random, streaming or concurrent]:EnumValidator:(random concurrency streaming)' \
--data-storage-target'=[Name of a storage pool or anywhere]' \
--data-ssd-strategy'=[SSD strategy of diskpool policy action. metadata stores a single metadata mirror on SSD; metadata-write stores all metadata on SSD; data stores all metadata and data on SSD and avoid stores no data or metadata on SSD]:EnumValidator:(metadata metadata-write data avoid)' \
--cloud-read-ahead'=[Cache read ahead strategy for cloud files one of partial, full]' \
--enable-coalescer'=[Enable the coalescer]:BoolValueType:(true false)' \
--enable-packing'=[Enable packing]:BoolValueType:(true false)' \
--apply-order'=[The order index for the execution of this policy]' \
--description'=[Policy description]' \
--cloud-pool'=[Move to the cloud pool with the given ID]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Policy name]:cmdline_Option_name:_cmdline_Option_shell_name_6' \
--id'=[An ID for a filepool policy]:cmdline_Option_id:_cmdline_Option_shell_id_4' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_4' \
}
(( $+functions[_isi_filepool_policies_delete] )) ||
_isi_filepool_policies_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Policy name]:cmdline_Option_name:_cmdline_Option_shell_name_6' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_6' \
}
(( $+functions[_isi_filepool_templates] )) ||
_isi_filepool_templates() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-templates-list:"
      _isi_filepool_templates_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-filepool-templates-view:"
      _isi_filepool_templates_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_filepool_templates_list] )) ||
_isi_filepool_templates_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display filepool templates in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of filepool templates to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:()' \
}
(( $+functions[_isi_filepool_templates_view] )) ||
_isi_filepool_templates_view() {
_arguments \
--name'=[Policy name]:cmdline_Option_name:_cmdline_Option_shell_name_6' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_6' \
}
(( $+functions[_isi_ftp] )) ||
_isi_ftp() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-ftp-settings:"
      _isi_ftp_settings
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ftp-settings-view:"
      _isi_ftp_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ftp-settings-modify:"
      _isi_ftp_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ftp_settings] )) ||
_isi_ftp_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ftp-settings-view:"
      _isi_ftp_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ftp-settings-modify:"
      _isi_ftp_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ftp_settings_view] )) ||
_isi_ftp_settings_view() {
}
(( $+functions[_isi_ftp_settings_modify] )) ||
_isi_ftp_settings_modify() {
_arguments \
--remove-chroot-exception-list'=[Remove items from list of user names that are exceptions to --chroot-local-mode settings]' \
--revert-chroot-exception-list'[Set value to system default for --chroot-exception-list.]' \
--clear-chroot-exception-list'[Clear list of user names that are exceptions to --chroot-local-mode settings]' \
--revert-always-chdir-homedir'[Set value to system default for --always-chdir-homedir.]' \
--revert-limit-anon-passwords'[Set value to system default for --limit-anon-passwords.]' \
--revert-anon-chown-username'[Set value to system default for --anon-chown-username.]' \
--add-chroot-exception-list'=[Add items to list of user names that are exceptions to --chroot-local-mode settings]' \
--remove-anon-password-list'=[Remove items from list of passwords for anonymous users]' \
--revert-allow-local-access'[Set value to system default for --allow-local-access.]' \
--revert-anon-password-list'[Set value to system default for --anon-password-list.]' \
--clear-anon-password-list'[Clear list of passwords for anonymous users]' \
--revert-allow-anon-access'[Set value to system default for --allow-anon-access.]' \
--revert-allow-anon-upload'[Set value to system default for --allow-anon-upload.]' \
--revert-chroot-local-mode'[Set value to system default for --chroot-local-mode.]' \
--revert-dirlist-localtime'[Set value to system default for --dirlist-localtime.]' \
--remove-denied-user-list'=[Remove items from list of users that are denied access]' \
--revert-denied-user-list'[Set value to system default for --denied-user-list.]' \
--revert-file-create-perm'[Set value to system default for --file-create-perm.]' \
--revert-server-to-server'[Set value to system default for --server-to-server.]' \
--add-anon-password-list'=[Add items to list of passwords for anonymous users]' \
--clear-denied-user-list'[Clear list of users that are denied access]' \
--revert-allow-downloads'[Set value to system default for --allow-downloads.]' \
--revert-connect-timeout'[Set value to system default for --connect-timeout.]' \
--revert-local-root-path'[Set value to system default for --local-root-path.]' \
--revert-session-support'[Set value to system default for --session-support.]' \
--revert-session-timeout'[Set value to system default for --session-timeout.]' \
--revert-user-config-dir'[Set value to system default for --user-config-dir.]' \
--chroot-exception-list'=[Specifies list of user names that are exceptions to --chroot-local-mode setting.]' \
--revert-accept-timeout'[Set value to system default for --accept-timeout.]' \
--revert-allow-dirlists'[Set value to system default for --allow-dirlists.]' \
--revert-anon-root-path'[Set value to system default for --anon-root-path.]' \
--add-denied-user-list'=[Add items to list of users that are denied access]' \
--always-chdir-homedir'=[Always change to the users home directory on login.]:BoolValueType:(true false)' \
--limit-anon-passwords'=[Limit anonymous passwords.]:BoolValueType:(true false)' \
--revert-dirlist-names'[Set value to system default for --dirlist-names.]' \
--anon-chown-username'=[Name of the user who is given ownership of anonymously uploaded files.]' \
--revert-allow-writes'[Set value to system default for --allow-writes.]' \
--revert-data-timeout'[Set value to system default for --data-timeout.]' \
--allow-local-access'=[Allow local logins.]:BoolValueType:(true false)' \
--anon-password-list'=[Passwords for anonymous users.]' \
--revert-local-umask'[Set value to system default for --local-umask.]' \
--allow-anon-access'=[Allow logins for anonymous users.]:BoolValueType:(true false)' \
--allow-anon-upload'=[Allow anonymous users to upload files.]:BoolValueType:(true false)' \
--chroot-local-mode'=[Sets chroot behavior for local users.]:EnumValidator:(all none all-with-exceptions none-with-exceptions)' \
--dirlist-localtime'=[Show directory listings with the local time instead of GMT.]:BoolValueType:(true false)' \
--revert-anon-umask'[Set value to system default for --anon-umask.]' \
--revert-ascii-mode'[Set value to system default for --ascii-mode.]' \
--denied-user-list'=[Users that are denied access.]' \
--file-create-perm'=[Permissions with which uploaded files are created.]' \
--server-to-server'=[Allow server-to-server FXP transfers.]:BoolValueType:(true false)' \
--allow-downloads'=[Allow users to download files.]:BoolValueType:(true false)' \
--connect-timeout'=[Timeout for a remote client to respond to a PORT style data connection.]' \
--local-root-path'=[Initial directory for local login.]' \
--session-support'=[Maintain login sessions for each user through Pluggable Authentication Modules PAM.]:BoolValueType:(true false)' \
--session-timeout'=[Timeout for sessions with no activity.]' \
--user-config-dir'=[Directory where per-user config overrides can be found.]' \
--accept-timeout'=[Timeout for establishing a PASV style connection.]' \
--allow-dirlists'=[Allow users to list directories.]:BoolValueType:(true false)' \
--anon-root-path'=[Initial directory for anonymous users.]' \
--dirlist-names'=[Show textual, show numeric, or hide user info in directory listings.]:EnumValidator:(numeric textual hide)' \
--allow-writes'=[Allow writes to the filesystem.]:BoolValueType:(true false)' \
--data-timeout'=[Timeout for a data transfer to stall with no progress.]' \
--local-umask'=[Umask for file creation by local users.]' \
--anon-umask'=[Value for umask of files created by anonymous users.]' \
--ascii-mode'=[Allow ASCII mode data transfers for the given request type.]:EnumValidator:(off upload download both)' \
--service'=[FTP Service is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_hdfs] )) ||
_isi_hdfs() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings racks proxyusers log-level ranger-plugin fsimage inotify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-settings:"
      _isi_hdfs_settings
    elif [[ $cmd == racks ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-racks:"
      _isi_hdfs_racks
    elif [[ $cmd == proxyusers ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers:"
      _isi_hdfs_proxyusers
    elif [[ $cmd == log-level ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-log-level:"
      _isi_hdfs_log-level
    elif [[ $cmd == ranger-plugin ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-ranger-plugin:"
      _isi_hdfs_ranger-plugin
    elif [[ $cmd == fsimage ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage:"
      _isi_hdfs_fsimage
    elif [[ $cmd == inotify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-inotify:"
      _isi_hdfs_inotify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_settings] )) ||
_isi_hdfs_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-settings-view:"
      _isi_hdfs_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-settings-modify:"
      _isi_hdfs_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_settings_view] )) ||
_isi_hdfs_settings_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_settings_modify] )) ||
_isi_hdfs_settings_modify() {
_arguments \
--ambari-metrics-collector'=[A valid hostname, FQDN, IPv4 address, or IPv6 address of the Ambari metrics collector.]' \
--default-checksum-type'=[Specifies the checksum type reported by HDFS service.]' \
--data-transfer-cipher'=[Specifies the cipher to use for data transfer if any.]' \
--authentication-mode'=[Specifies allowed authentication type for HDFS protocol]:EnumValidator:(all simple_only kerberos_only)' \
--default-block-size'=[Specifies the block size in bytes reported by HDFS service. You may use suffices: k, M, G for instance: 64M, 512M, 1G.]' \
--ambari-namenode'=[The SmartConnect name of this cluster that will be used for the HDFS service.]' \
--webhdfs-enabled'=[Enables WebHDFS on the zone]:BoolValueType:(true false)' \
--root-directory'=[Sets the root directory for HDFS protocol]' \
--ambari-server'=[A valid hostname, FQDN, IPv4 address, or IPv6 address of the Ambari server.]' \
--odp-version'=[The dot version of the ODP stack repository including build number if one exists.]' \
--service'=[Enables HDFS service on the zone]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_racks] )) ||
_isi_hdfs_racks() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-racks-list:"
      _isi_hdfs_racks_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-racks-view:"
      _isi_hdfs_racks_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-racks-create:"
      _isi_hdfs_racks_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-racks-modify:"
      _isi_hdfs_racks_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-racks-delete:"
      _isi_hdfs_racks_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_racks_list] )) ||
_isi_hdfs_racks_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display hdfs racks in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_racks_view] )) ||
_isi_hdfs_racks_view() {
_arguments \
--rack'=[Specifies rack id name.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_racks_create] )) ||
_isi_hdfs_racks_create() {
_arguments \
--client-ip-ranges'=[External IP range.]' \
--ip-pools'=[IP pool name.]' \
{-v,--verbose}'[Display more detailed information.]' \
--rack'=[Specifies rack id name.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_racks_modify] )) ||
_isi_hdfs_racks_modify() {
_arguments \
--remove-client-ip-ranges'=[Remove external IP range.]' \
--clear-client-ip-ranges'[Clear value for external IP range.]' \
--add-client-ip-ranges'=[Add external IP range.]' \
--client-ip-ranges'=[External IP range.]' \
--remove-ip-pools'=[Remove IP pool name.]' \
--clear-ip-pools'[Clear value for IP pool name.]' \
--add-ip-pools'=[Add IP pool name.]' \
--ip-pools'=[IP pool name.]' \
{-v,--verbose}'[Display more detailed information.]' \
--rack'=[Specifies rack id name.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Specifies new rack name. Rack name must start with /.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_racks_delete] )) ||
_isi_hdfs_racks_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--rack'=[Specifies rack id name.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_proxyusers] )) ||
_isi_hdfs_proxyusers() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ members create delete list modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == members ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers-members:"
      _isi_hdfs_proxyusers_members
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers-create:"
      _isi_hdfs_proxyusers_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers-delete:"
      _isi_hdfs_proxyusers_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers-list:"
      _isi_hdfs_proxyusers_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers-modify:"
      _isi_hdfs_proxyusers_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers-view:"
      _isi_hdfs_proxyusers_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_proxyusers_members] )) ||
_isi_hdfs_proxyusers_members() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-proxyusers-members-list:"
      _isi_hdfs_proxyusers_members_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_proxyusers_members_list] )) ||
_isi_hdfs_proxyusers_members_list() {
_arguments \
--proxyuser'=[Specifies proxyuser name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display members in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_proxyusers_create] )) ||
_isi_hdfs_proxyusers_create() {
_arguments \
--add-wellknown'=[Specifies well-known persona to add to the proxyuser. E.g. Everyone.]' \
--proxyuser'=[Specifies proxyuser name.]' \
--add-group'=[Specifies the name of the group to add to the proxyuser.]' \
--add-user'=[Specifies name of the user to add to the proxyuser.]' \
--add-gid'=[Specifies the GID of the group to add to the proxyuser.]' \
--add-sid'=[Specifies SID of the persona to add to the proxyuser.]' \
--add-uid'=[Specifies UID of the user to add to the proxyuser.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_proxyusers_delete] )) ||
_isi_hdfs_proxyusers_delete() {
_arguments \
--proxyuser'=[Specifies proxyuser name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_proxyusers_list] )) ||
_isi_hdfs_proxyusers_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display hdfs proxyusers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_proxyusers_modify] )) ||
_isi_hdfs_proxyusers_modify() {
_arguments \
--remove-wellknown'=[Specifies well-known persona to remove from the proxyuser.]' \
--add-wellknown'=[Specifies well-known persona to add to the proxyuser. E.g. Everyone.]' \
--remove-group'=[Specifies the name of the group to remove from the proxyuser]' \
--remove-user'=[Specifies name of the user to remove from the proxyuser.]' \
--remove-gid'=[Specifies GID of the group to remove from the proxyuser.]' \
--remove-sid'=[Specifies SID of the persona to remove from the proxyuser.]' \
--remove-uid'=[Specifies UID of the user to remove from the proxyuser.]' \
--proxyuser'=[Specifies proxyuser name.]' \
--add-group'=[Specifies the name of the group to add to the proxyuser.]' \
--add-user'=[Specifies name of the user to add to the proxyuser.]' \
--add-gid'=[Specifies the GID of the group to add to the proxyuser.]' \
--add-sid'=[Specifies SID of the persona to add to the proxyuser.]' \
--add-uid'=[Specifies UID of the user to add to the proxyuser.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_proxyusers_view] )) ||
_isi_hdfs_proxyusers_view() {
_arguments \
--proxyuser'=[Specifies proxyuser name.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_log-level] )) ||
_isi_hdfs_log-level() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-log-level-view:"
      _isi_hdfs_log-level_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-log-level-modify:"
      _isi_hdfs_log-level_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_log-level_view] )) ||
_isi_hdfs_log-level_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_hdfs_log-level_modify] )) ||
_isi_hdfs_log-level_modify() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--set'=[Specifies the log-level for the HDFS Service]' \
}
(( $+functions[_isi_hdfs_ranger-plugin] )) ||
_isi_hdfs_ranger-plugin() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-ranger-plugin-settings:"
      _isi_hdfs_ranger-plugin_settings
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_ranger-plugin_settings] )) ||
_isi_hdfs_ranger-plugin_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-ranger-plugin-settings-view:"
      _isi_hdfs_ranger-plugin_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-ranger-plugin-settings-modify:"
      _isi_hdfs_ranger-plugin_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_ranger-plugin_settings_view] )) ||
_isi_hdfs_ranger-plugin_settings_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_ranger-plugin_settings_modify] )) ||
_isi_hdfs_ranger-plugin_settings_modify() {
_arguments \
--policy-manager-url'=[The scheme, hostname, and port of the Apache Ranger server e.g. http://ranger.com:6080]' \
--repository-name'=[The HDFS repository name that is registered with Apache Ranger server]' \
--enabled'=[Enable the HDFS ranger-plugin]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_fsimage] )) ||
_isi_hdfs_fsimage() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings job latest}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-settings:"
      _isi_hdfs_fsimage_settings
    elif [[ $cmd == job ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-job:"
      _isi_hdfs_fsimage_job
    elif [[ $cmd == latest ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-latest:"
      _isi_hdfs_fsimage_latest
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_fsimage_settings] )) ||
_isi_hdfs_fsimage_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-settings-view:"
      _isi_hdfs_fsimage_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-settings-modify:"
      _isi_hdfs_fsimage_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_fsimage_settings_view] )) ||
_isi_hdfs_fsimage_settings_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_fsimage_settings_modify] )) ||
_isi_hdfs_fsimage_settings_modify() {
_arguments \
--enabled'=[Allow access to FSImage and start FSImage generation]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_fsimage_job] )) ||
_isi_hdfs_fsimage_job() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-job-settings:"
      _isi_hdfs_fsimage_job_settings
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-job-view:"
      _isi_hdfs_fsimage_job_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_fsimage_job_settings] )) ||
_isi_hdfs_fsimage_job_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-job-settings-view:"
      _isi_hdfs_fsimage_job_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-job-settings-modify:"
      _isi_hdfs_fsimage_job_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_fsimage_job_settings_view] )) ||
_isi_hdfs_fsimage_job_settings_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_fsimage_job_settings_modify] )) ||
_isi_hdfs_fsimage_job_settings_modify() {
_arguments \
--generation-interval'=[The interval between successive FSImages.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_fsimage_job_view] )) ||
_isi_hdfs_fsimage_job_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_fsimage_latest] )) ||
_isi_hdfs_fsimage_latest() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-latest-view:"
      _isi_hdfs_fsimage_latest_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-fsimage-latest-delete:"
      _isi_hdfs_fsimage_latest_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_fsimage_latest_view] )) ||
_isi_hdfs_fsimage_latest_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_fsimage_latest_delete] )) ||
_isi_hdfs_fsimage_latest_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_inotify] )) ||
_isi_hdfs_inotify() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings stream}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-inotify-settings:"
      _isi_hdfs_inotify_settings
    elif [[ $cmd == stream ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-inotify-stream:"
      _isi_hdfs_inotify_stream
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_inotify_settings] )) ||
_isi_hdfs_inotify_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-inotify-settings-view:"
      _isi_hdfs_inotify_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-inotify-settings-modify:"
      _isi_hdfs_inotify_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_inotify_settings_view] )) ||
_isi_hdfs_inotify_settings_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_inotify_settings_modify] )) ||
_isi_hdfs_inotify_settings_modify() {
_arguments \
--maximum-delay'=[The maximum duration until an edit event is reported in INotify.]' \
--retention'=[The minimum duration edits will be retained.]' \
--enabled'=[Enable the collection of edits over HDFS and access to the edits via HDFS INotify stream.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_inotify_stream] )) ||
_isi_hdfs_inotify_stream() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view reset}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-inotify-stream-view:"
      _isi_hdfs_inotify_stream_view
    elif [[ $cmd == reset ]]; then
      curcontext="${curcontext%:*:*}:isi-hdfs-inotify-stream-reset:"
      _isi_hdfs_inotify_stream_reset
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hdfs_inotify_stream_view] )) ||
_isi_hdfs_inotify_stream_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_hdfs_inotify_stream_reset] )) ||
_isi_hdfs_inotify_stream_reset() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_healthcheck] )) ||
_isi_healthcheck() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ checklists items evaluations parameters list view run cancel pause resume}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == checklists ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-checklists:"
      _isi_healthcheck_checklists
    elif [[ $cmd == items ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-items:"
      _isi_healthcheck_items
    elif [[ $cmd == evaluations ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations:"
      _isi_healthcheck_evaluations
    elif [[ $cmd == parameters ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-parameters:"
      _isi_healthcheck_parameters
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-list:"
      _isi_healthcheck_evaluations_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-view:"
      _isi_healthcheck_evaluations_view
    elif [[ $cmd == run ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-run:"
      _isi_healthcheck_evaluations_run
    elif [[ $cmd == cancel ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-cancel:"
      _isi_healthcheck_evaluations_cancel
    elif [[ $cmd == pause ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-pause:"
      _isi_healthcheck_evaluations_pause
    elif [[ $cmd == resume ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-resume:"
      _isi_healthcheck_evaluations_resume
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_healthcheck_checklists] )) ||
_isi_healthcheck_checklists() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-checklists-list:"
      _isi_healthcheck_checklists_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-checklists-view:"
      _isi_healthcheck_checklists_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_healthcheck_checklists_list] )) ||
_isi_healthcheck_checklists_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display healthcheck checklists in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of healthcheck checklists to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_healthcheck_checklists_view] )) ||
_isi_healthcheck_checklists_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[Checklist name]' \
}
(( $+functions[_isi_healthcheck_items] )) ||
_isi_healthcheck_items() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-items-list:"
      _isi_healthcheck_items_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-items-view:"
      _isi_healthcheck_items_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_healthcheck_items_list] )) ||
_isi_healthcheck_items_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display healthcheck items in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of healthcheck items to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_healthcheck_items_view] )) ||
_isi_healthcheck_items_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[Item name]' \
}
(( $+functions[_isi_healthcheck_evaluations] )) ||
_isi_healthcheck_evaluations() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view run cancel pause resume}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-list:"
      _isi_healthcheck_evaluations_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-view:"
      _isi_healthcheck_evaluations_view
    elif [[ $cmd == run ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-run:"
      _isi_healthcheck_evaluations_run
    elif [[ $cmd == cancel ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-cancel:"
      _isi_healthcheck_evaluations_cancel
    elif [[ $cmd == pause ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-pause:"
      _isi_healthcheck_evaluations_pause
    elif [[ $cmd == resume ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-evaluations-resume:"
      _isi_healthcheck_evaluations_resume
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_healthcheck_evaluations_list] )) ||
_isi_healthcheck_evaluations_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display healthcheck evaluations in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of healthcheck evaluations to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_healthcheck_evaluations_view] )) ||
_isi_healthcheck_evaluations_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[Evaluation ID]' \
}
(( $+functions[_isi_healthcheck_evaluations_run] )) ||
_isi_healthcheck_evaluations_run() {
_arguments \
--override-thresholds'=[Override thresholds for an item. consists of three numbers representing the lower bound values for CRITICAL, WARNING and OK status - EMERGENCY is anything below the CRITICAL lower bound.  eg. client_count:10:20:30]' \
--override-fresh'=[Override freshness requirement for an item. eg client_count:7200]' \
--override-pass'=[Override pass status for an item. eg client_count:WARNING]' \
--checklist'=[Checklist for evaluation.]' \
--parameter'=[Parameter for evaluation.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_healthcheck_evaluations_cancel] )) ||
_isi_healthcheck_evaluations_cancel() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[Evaluation ID]' \
}
(( $+functions[_isi_healthcheck_evaluations_pause] )) ||
_isi_healthcheck_evaluations_pause() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[Evaluation ID]' \
}
(( $+functions[_isi_healthcheck_evaluations_resume] )) ||
_isi_healthcheck_evaluations_resume() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[Evaluation ID]' \
}
(( $+functions[_isi_healthcheck_parameters] )) ||
_isi_healthcheck_parameters() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view set delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-parameters-list:"
      _isi_healthcheck_parameters_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-parameters-view:"
      _isi_healthcheck_parameters_view
    elif [[ $cmd == set ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-parameters-set:"
      _isi_healthcheck_parameters_set
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-healthcheck-parameters-delete:"
      _isi_healthcheck_parameters_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_healthcheck_parameters_list] )) ||
_isi_healthcheck_parameters_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display healthcheck parameters in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of healthcheck parameters to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_healthcheck_parameters_view] )) ||
_isi_healthcheck_parameters_view() {
_arguments \
--name'=[Parameter name]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_healthcheck_parameters_set] )) ||
_isi_healthcheck_parameters_set() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--value'=[Parameter value]' \
--name'=[Parameter name]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_healthcheck_parameters_delete] )) ||
_isi_healthcheck_parameters_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Parameter name]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_http] )) ||
_isi_http() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-http-settings:"
      _isi_http_settings
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-http-settings-view:"
      _isi_http_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-http-settings-modify:"
      _isi_http_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_http_settings] )) ||
_isi_http_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-http-settings-view:"
      _isi_http_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-http-settings-modify:"
      _isi_http_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_http_settings_view] )) ||
_isi_http_settings_view() {
}
(( $+functions[_isi_http_settings_modify] )) ||
_isi_http_settings_modify() {
_arguments \
--integrated-authentication'=[Enable Integrated Authentication.]:BoolValueType:(true false)' \
--basic-authentication'=[Enable Basic Authentication.]:BoolValueType:(true false)' \
--enable-access-log'=[Enable writing to a log when the HTTP server is accessed.]:BoolValueType:(true false)' \
--access-control'=[Enable Access Control Authentication.  Access Control Authentication requires at least one type of authentication to be enabled.]:BoolValueType:(true false)' \
--server-root'=[Document root directory. Must be within /ifs.]' \
--service'=[Enable/disable HTTP Service or redirect to the WebUI.]:EnumValidator:(enabled disabled redirect)' \
{-v,--verbose}'[Display more detailed information.]' \
--https'=[Enable HTTPS transport protocol.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
--dav'=[Comply with Class 1 and 2 of the DAV specification RFC 2518.  All DAV clients must go through a single node.  DAV compliance is NOT met if you go through SmartConnect, or via 2 or more node IPs.]:BoolValueType:(true false)' \
}
(( $+functions[_isi_job] )) ||
_isi_job() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ types policies jobs reports events statistics status list view start pause resume cancel modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == types ]]; then
      curcontext="${curcontext%:*:*}:isi-job-types:"
      _isi_job_types
    elif [[ $cmd == policies ]]; then
      curcontext="${curcontext%:*:*}:isi-job-policies:"
      _isi_job_policies
    elif [[ $cmd == jobs ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs:"
      _isi_job_jobs
    elif [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-job-reports:"
      _isi_job_reports
    elif [[ $cmd == events ]]; then
      curcontext="${curcontext%:*:*}:isi-job-events:"
      _isi_job_events
    elif [[ $cmd == statistics ]]; then
      curcontext="${curcontext%:*:*}:isi-job-statistics:"
      _isi_job_statistics
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi-job-status:"
      _isi_job_status
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-list:"
      _isi_job_jobs_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-view:"
      _isi_job_jobs_view
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-start:"
      _isi_job_jobs_start
    elif [[ $cmd == pause ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-pause:"
      _isi_job_jobs_pause
    elif [[ $cmd == resume ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-resume:"
      _isi_job_jobs_resume
    elif [[ $cmd == cancel ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-cancel:"
      _isi_job_jobs_cancel
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-modify:"
      _isi_job_jobs_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_job_types] )) ||
_isi_job_types() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-job-types-list:"
      _isi_job_types_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-job-types-view:"
      _isi_job_types_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-job-types-modify:"
      _isi_job_types_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_job_types_list] )) ||
_isi_job_types_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display job types in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id policy priority)' \
--all'[Show all jobs]' \
}
(( $+functions[_isi_job_types_view] )) ||
_isi_job_types_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[Job type ID.]:cmdline_Option_id:_cmdline_Option_shell_id_5' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_5' \
}
(( $+functions[_isi_job_types_modify] )) ||
_isi_job_types_modify() {
_arguments \
--clear-schedule'[Clear value for recurring date pattern at which job runs.]' \
--priority'=[Priority of job lower is more important]' \
--schedule'=[Recurring date pattern at which job runs.]' \
--enabled'=[job type is enabled.]:BoolValueType:(true false)' \
--policy'=[Set job policy. See isi job policies for more info.]:cmdline_Option_policy:_cmdline_Option_shell_policy_2' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[Job type ID.]:cmdline_Option_id:_cmdline_Option_shell_id_5' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_5' \
}
(( $+functions[_isi_job_policies] )) ||
_isi_job_policies() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-job-policies-list:"
      _isi_job_policies_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-job-policies-view:"
      _isi_job_policies_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-job-policies-create:"
      _isi_job_policies_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-job-policies-modify:"
      _isi_job_policies_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-job-policies-delete:"
      _isi_job_policies_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_job_policies_list] )) ||
_isi_job_policies_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display job policies in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of job policies to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_job_policies_view] )) ||
_isi_job_policies_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[Job policy ID.]:cmdline_Option_id:_cmdline_Option_shell_id_6' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_6' \
}
(( $+functions[_isi_job_policies_create] )) ||
_isi_job_policies_create() {
_arguments \
--description'=[Description for this job policy.]' \
--impact'=[Job policy interval impact: the given.]:EnumValidator:(Low Medium High Paused)' \
--begin'=[Interval begin.]' \
--name'=[Name for the job policy.]' \
{-h,--help}'[Display help for this command.]' \
--end'=[Interval end.]' \
}
(( $+functions[_isi_job_policies_modify] )) ||
_isi_job_policies_modify() {
_arguments \
--reset-intervals'[Clear all policy intervals and set defaults.]' \
--remove-impact'=[Remove job policy interval impact: the given.]:EnumValidator:(Low Medium High Paused)' \
--clear-impact'[Clear value for job policy interval impact: the given.]' \
--remove-begin'=[Remove interval begin.]' \
--clear-begin'[Clear value for interval begin.]' \
--description'=[Description for this job policy.]' \
--add-impact'=[Add job policy interval impact: the given.]:EnumValidator:(Low Medium High Paused)' \
--remove-end'=[Remove interval end.]' \
--add-begin'=[Add interval begin.]' \
--clear-end'[Clear value for interval end.]' \
--add-end'=[Add interval end.]' \
--impact'=[Job policy interval impact: the given.]:EnumValidator:(Low Medium High Paused)' \
--begin'=[Interval begin.]' \
{-h,--help}'[Display help for this command.]' \
--end'=[Interval end.]' \
--id'=[Job policy ID.]:cmdline_Option_id:_cmdline_Option_shell_id_6' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_6' \
}
(( $+functions[_isi_job_policies_delete] )) ||
_isi_job_policies_delete() {
_arguments \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[Job policy ID.]:cmdline_Option_id:_cmdline_Option_shell_id_6' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_6' \
}
(( $+functions[_isi_job_jobs] )) ||
_isi_job_jobs() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view start pause resume cancel modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-list:"
      _isi_job_jobs_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-view:"
      _isi_job_jobs_view
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-start:"
      _isi_job_jobs_start
    elif [[ $cmd == pause ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-pause:"
      _isi_job_jobs_pause
    elif [[ $cmd == resume ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-resume:"
      _isi_job_jobs_resume
    elif [[ $cmd == cancel ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-cancel:"
      _isi_job_jobs_cancel
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-job-jobs-modify:"
      _isi_job_jobs_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_job_jobs_list] )) ||
_isi_job_jobs_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display jobs in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of jobs to display.]' \
--state'=[State of job: the given.]:EnumValidator:(paused_priority running paused_user paused_policy paused_system)' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id type state impact policy priority start_time running_time)' \
}
(( $+functions[_isi_job_jobs_view] )) ||
_isi_job_jobs_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--job'=[Specifies a job.  May be a job ID or a job type; if a job type is specified, there must be only one running or queued instance of that type.]:cmdline_Option_job:_cmdline_Option_shell_job_0' \
'1:cmdline_Option_job:_cmdline_Option_shell_job_0' \
}
(( $+functions[_isi_job_jobs_start] )) ||
_isi_job_jobs_start() {
_arguments \
--directory-only'[Skip processing of regular files.]' \
--download-path'=[The path to write the downloaded file]' \
--mapping-type'=[The type of permissions.  Used only with --mode convert.]:EnumValidator:(global sid unix native)' \
--newer-snapid'=[Newer snapshot ID.]' \
--older-snapid'=[Older snapshot ID.]' \
--policy-only'[Apply policies but skip restriping.]' \
--av-policy'=[AVScan policy for job.]' \
--force-run'[Force files to be scanned, even if excluded by the policy.]' \
--report-id'=[AVScan report ID.]' \
--checksum'=[The SHA256 checksum for a file as shown in the ESRS File Locker.]' \
{-p,--priority}'=[Job priority.]' \
--template'=[File or directory to use as a template.  Must be within /ifs.  Required for --mode clone or --mode inherit.]:cmdline_Option_template:_files' \
--dm-type'=[The type of domain mark.]:EnumValidator:(SnapRevert SyncIQ Worm)' \
--recurse'[Process children, recursively.]' \
{-v,--verbose}'[Display more detailed information.]' \
--delete'[Whether to delete the domain mark.]' \
--ingest'[Fast mode for quickly setting policies on directories.  Alias for --directory-only --policy-only.]' \
{-o,--policy}'=[Policy to use.]:cmdline_Option_policy:_cmdline_Option_shell_policy_2' \
--snapid'=[Snapshot to revert.]' \
--update'=[Update the last run time for the AVScan policy.]:BoolValueType:(true false)' \
--paths'=[Path of the job. Must be within /ifs. Valid only for the following job types: CloudPoolsTreewalk, PermissionRepair, SmartPoolsTree, TreeDelete, Undedupe.]:cmdline_Option_paths:_files' \
--type'=[Type of job.]:cmdline_Option_type:_cmdline_Option_shell_type_0' \
--file'=[The file name as shown in the ESRS File Locker.]' \
{-h,--help}'[Display help for this command.]' \
--mode'=[The type of PermissionRepair operation.]:EnumValidator:(clone inherit convert)' \
--root'=[Base path to associate with the domain.  Must be within /ifs.]:cmdline_Option_root:_path_files -/' \
--size'=[The files size as shown in the ESRS File Locker.]' \
--zone'=[Access zone.  Used only with --mode convert.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
{-n,--no-dup}'[Do not allow the job to start if another is running or queued.]' \
--nop'[Dry run, calculate what would be done.]' \
'1:cmdline_Option_type:_cmdline_Option_shell_type_0' \
}
(( $+functions[_isi_job_jobs_pause] )) ||
_isi_job_jobs_pause() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--job'=[Specifies a job.  May be a job ID or a job type; if a job type is specified, there must be only one running or queued instance of that type.]:cmdline_Option_job:_cmdline_Option_shell_job_0' \
'1:cmdline_Option_job:_cmdline_Option_shell_job_0' \
}
(( $+functions[_isi_job_jobs_resume] )) ||
_isi_job_jobs_resume() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--job'=[Specifies a job.  May be a job ID or a job type; if a job type is specified, there must be only one running or queued instance of that type.]:cmdline_Option_job:_cmdline_Option_shell_job_0' \
'1:cmdline_Option_job:_cmdline_Option_shell_job_0' \
}
(( $+functions[_isi_job_jobs_cancel] )) ||
_isi_job_jobs_cancel() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--job'=[Specifies a job.  May be a job ID or a job type; if a job type is specified, there must be only one running or queued instance of that type.]:cmdline_Option_job:_cmdline_Option_shell_job_0' \
'1:cmdline_Option_job:_cmdline_Option_shell_job_0' \
}
(( $+functions[_isi_job_jobs_modify] )) ||
_isi_job_jobs_modify() {
_arguments \
{-p,--priority}'=[Job priority.]' \
{-o,--policy}'=[Policy to use.]:cmdline_Option_policy:_cmdline_Option_shell_policy_2' \
{-h,--help}'[Display help for this command.]' \
--job'=[Specifies a job.  May be a job ID or a job type; if a job type is specified, there must be only one running or queued instance of that type.]:cmdline_Option_job:_cmdline_Option_shell_job_0' \
'1:cmdline_Option_job:_cmdline_Option_shell_job_0' \
}
(( $+functions[_isi_job_reports] )) ||
_isi_job_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-job-reports-list:"
      _isi_job_reports_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-job-reports-view:"
      _isi_job_reports_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_job_reports_list] )) ||
_isi_job_reports_list() {
_arguments \
--job-type'=[Job type name.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display job reports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--job-id'=[Job ID.]' \
{-b,--begin}'=[Limit to job reports after this date and time.]' \
{-l,--limit}'=[Number of job reports to display.]' \
{-h,--help}'[Display help for this command.]' \
{-e,--end}'=[Limit to job reports before this date and time.]' \
}
(( $+functions[_isi_job_reports_view] )) ||
_isi_job_reports_view() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the job report to view.]' \
}
(( $+functions[_isi_job_events] )) ||
_isi_job_events() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-job-events-list:"
      _isi_job_events_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_job_events_list] )) ||
_isi_job_events_list() {
_arguments \
--job-type'=[Job type name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display job events in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--job-id'=[Job ID.]' \
{-b,--begin}'=[Limit to job events after this date and time.]' \
{-l,--limit}'=[Number of job events to display.]' \
--state'=[Event state.]:EnumValidator:(succeeded unknown paused_priority cancelled_system failed running cancelled_user paused_user paused_policy paused_system)' \
{-h,--help}'[Display help for this command.]' \
{-e,--end}'=[Limit to job events before this date and time.]' \
}
(( $+functions[_isi_job_statistics] )) ||
_isi_job_statistics() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-job-statistics-list:"
      _isi_job_statistics_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-job-statistics-view:"
      _isi_job_statistics_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_job_statistics_list] )) ||
_isi_job_statistics_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display job statistics in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_job_statistics_view] )) ||
_isi_job_statistics_view() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--job-id'=[Job ID.]' \
--devid'=[Node devid.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_job_status] )) ||
_isi_job_status() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_license] )) ||
_isi_license() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ add list view generate}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == add ]]; then
      curcontext="${curcontext%:*:*}:isi-license-add:"
      _isi_license_add
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-license-list:"
      _isi_license_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-license-view:"
      _isi_license_view
    elif [[ $cmd == generate ]]; then
      curcontext="${curcontext%:*:*}:isi-license-generate:"
      _isi_license_generate
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_license_add] )) ||
_isi_license_add() {
_arguments \
--evaluation'=[License to evaluate.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--path'=[License file path. File must be located under /ifs. Can be relative or absolute path]:cmdline_Option_license_file_path:_files' \
}
(( $+functions[_isi_license_list] )) ||
_isi_license_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display licenses in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of licenses to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(name module licensed_node_count licensed_for used_node_count licensed_for status expiration)' \
}
(( $+functions[_isi_license_view] )) ||
_isi_license_view() {
_arguments \
--format'=[Display licenses in the given format]:EnumValidator:(list json)' \
--name'=[Name for the license.]:cmdline_Option_name:_cmdline_Option_shell_name_7' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_name:_cmdline_Option_shell_name_7' \
}
(( $+functions[_isi_license_generate] )) ||
_isi_license_generate() {
_arguments \
--exclude'=[License to omit from activation file.]:cmdline_Option_licenses_to_exclude:_cmdline_Option_shell_licenses_to_exclude_0' \
--include'=[License to include in activation file.]:cmdline_Option_licenses_to_include:_cmdline_Option_shell_licenses_to_include_0' \
{-v,--verbose}'[Display more detailed information.]' \
--action'=[Generate an activation file or return a list of activated licenses.]:EnumValidator:(license_list_only generate_activation)' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display licenses in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--file'=[Specify the location where you want to generate the new license activation file.]:cmdline_Option_file:_files' \
{-h,--help}'[Display help for this command.]' \
--only'=[License to include.]:cmdline_Option_only_these_licenses:_cmdline_Option_shell_only_these_licenses_0' \
}
(( $+functions[_isi_nfs] )) ||
_isi_nfs() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ exports nlm settings netgroup aliases log-level}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == exports ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports:"
      _isi_nfs_exports
    elif [[ $cmd == nlm ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm:"
      _isi_nfs_nlm
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings:"
      _isi_nfs_settings
    elif [[ $cmd == netgroup ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-netgroup:"
      _isi_nfs_netgroup
    elif [[ $cmd == aliases ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-aliases:"
      _isi_nfs_aliases
    elif [[ $cmd == log-level ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-log-level:"
      _isi_nfs_log-level
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_exports] )) ||
_isi_nfs_exports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list check view create delete modify reload}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports-list:"
      _isi_nfs_exports_list
    elif [[ $cmd == check ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports-check:"
      _isi_nfs_exports_check
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports-view:"
      _isi_nfs_exports_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports-create:"
      _isi_nfs_exports_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports-delete:"
      _isi_nfs_exports_delete
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports-modify:"
      _isi_nfs_exports_modify
    elif [[ $cmd == reload ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-exports-reload:"
      _isi_nfs_exports_reload
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_exports_list] )) ||
_isi_nfs_exports_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display nfs exports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of nfs exports to display.]' \
{-h,--help}'[Display help for this command.]' \
--path'=[Only show exports defined for the given path.]:cmdline_Option_path:_files' \
--zone'=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id paths description)' \
}
(( $+functions[_isi_nfs_exports_check] )) ||
_isi_nfs_exports_check() {
_arguments \
--ignore-unresolvable-hosts'[Do not error out on unresolvable hosts while creating/modifying the export.]' \
--ignore-bad-paths'[Do not error out on bad paths while creating/modifying the export.]' \
--ignore-bad-auth'[Ignore bad authentication for mapping options while creating/modifying the export.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display nfs exports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of nfs exports to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_exports_view] )) ||
_isi_nfs_exports_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--id'=[ID of the nfs export to view.]' \
}
(( $+functions[_isi_nfs_exports_create] )) ||
_isi_nfs_exports_create() {
_arguments \
--ignore-unresolvable-hosts'[Do not error out on unresolvable hosts while creating/modifying the export.]' \
--directory-transfer-size'=[Preferred directory transfer size.]' \
--write-transfer-max-size'=[Maximum NFSv3/4 write transfer size.]' \
--write-transfer-multiple'=[NFSv3/4 write transfer multiplier.]' \
--read-transfer-max-size'=[Maximum NFSv3/4 read transfer size.]' \
--read-transfer-multiple'=[NFSv3/4 read transfer multiplier.]' \
--return-32bit-file-ids'=[Return 32-bit file identifiers from NFSv3/4 readdir may require remount.]:BoolValueType:(true false)' \
--write-datasync-action'=[Specify alternate NFSv3/4 datasync write method.]:EnumValidator:(datasync filesync unstable)' \
--write-filesync-action'=[Specify alternate NFSv3/4 filesync write method.]:EnumValidator:(datasync filesync unstable)' \
--write-unstable-action'=[Specify alternate NFSv3/4 unstable write method.]:EnumValidator:(datasync filesync unstable)' \
--map-non-root-enabled'=[Enable/disable mapping incoming non-root users to a specific account.]:BoolValueType:(true false)' \
--readdirplus-prefetch'=[Deprecated. This option currently does nothing.]' \
--setattr-asynchronous'=[Perform set attributes operations asynchronously.]:BoolValueType:(true false)' \
--write-datasync-reply'=[Specify alternate NFSv3/4 datasync reply method.]:EnumValidator:(datasync filesync)' \
--write-filesync-reply'=[Specify alternate NFSv3/4 filesync reply method.]:EnumValidator:(filesync)' \
--write-unstable-reply'=[Specify alternate unstable reply method.]:EnumValidator:(datasync filesync unstable)' \
--commit-asynchronous'=[Perform commit data operations asynchronously.]:BoolValueType:(true false)' \
--map-failure-enabled'=[Enable/disable mapping users a specific account after failing an auth lookup.]:BoolValueType:(true false)' \
--write-transfer-size'=[Preferred NFSv3/4 write transfer size.]' \
--read-transfer-size'=[Preferred NFSv3/4 read transfer size.]' \
--read-write-clients'=[Replaces list of clients to be allowed read and write access via this export. When applied to a read-only export, takes precedence over --clients and will provide read and write access. Otherwise will behave as normal clients.]' \
--read-only-clients'=[Replaces list of clients to be allowed read-only access via this export. When applied to a non-read-only export, takes precedence over --clients and will provide read-only access. Otherwise will behave as normal clients.]' \
--case-insensitive'=[Report that the server ignores case for file names.]:BoolValueType:(true false)' \
--chown-restricted'=[Report that only the superuser may change file ownership.]:BoolValueType:(true false)' \
--ignore-bad-paths'[Do not error out on bad paths while creating/modifying the export.]' \
--ignore-conflicts'[Ignore conflicts between the new/modified export and the existing configuration.]' \
--map-root-enabled'=[Enable/disable mapping incoming root users to a specific account.]:BoolValueType:(true false)' \
--security-flavors'=[Replaces list of supported security flavors.]' \
--case-preserving'=[Report that the server always preserves case for file names.]:BoolValueType:(true false)' \
--ignore-bad-auth'[Ignore bad authentication for mapping options while creating/modifying the export.]' \
--map-lookup-uid'=[Lookup incoming UIDs using local authentication database.]:BoolValueType:(true false)' \
--max-file-size'=[Maximum file size.]' \
--name-max-size'=[The reported maximum length of a filename.]' \
--can-set-time'=[Report that file times can be set via this export.]:BoolValueType:(true false)' \
--map-non-root'=[Map non-root users to a specific user and/or group ID.]' \
--root-clients'=[Replaces list of clients to be allowed root access via this export. Takes precedence over --clients and can be combined with --read-only-clients or --read-write-clients.]' \
--description'=[Description for this nfs export.]' \
--map-failure'=[Map users to a specific user and/or group ID after a failed auth attempt.]' \
--no-truncate'=[Report that too-long file names result in an error.]:BoolValueType:(true false)' \
--readdirplus'=[Enable NFSv3 readdirplus.]:BoolValueType:(true false)' \
--block-size'=[Block size.]' \
--time-delta'=[Server time granularity in seconds.]' \
--map-retry'=[Retry failed user mapping lookups.]:BoolValueType:(true false)' \
--read-only'=[Set nfs export as read-only.]:BoolValueType:(true false)' \
--all-dirs'=[Implicitly export all subdirectories below the rules path.]:BoolValueType:(true false)' \
--encoding'=[Character encoding of filenames via this export.]' \
--link-max'=[The reported maximum number of links to a file.]' \
--map-full'=[Use full identity mapping resolution of mapped user.]:BoolValueType:(true false)' \
--map-root'=[Map incoming root users to a specific user and/or group ID.]' \
--snapshot'=[Use this snapshot for all mounts.]' \
--symlinks'=[Advertise support for symlinks.]:BoolValueType:(true false)' \
--clients'=[Replaces list of clients to be allowed access via this export.]' \
--map-all'=[Map all incoming users to a specific user and/or group ID.]' \
{-v,--verbose}'[Display more detailed information.]' \
--paths'=[Path of the nfs export. Must be within /ifs.]:cmdline_Option_paths:_files' \
{-f,--force}'[Ignore conflicts and checks while creating/modifying the export.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the export should be created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'1:cmdline_Option_paths:_files' \
}
(( $+functions[_isi_nfs_exports_delete] )) ||
_isi_nfs_exports_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--id'=[ID of the nfs export to delete.]' \
}
(( $+functions[_isi_nfs_exports_modify] )) ||
_isi_nfs_exports_modify() {
_arguments \
--revert-directory-transfer-size'[Set value to system default for --directory-transfer-size.]' \
--revert-write-transfer-max-size'[Set value to system default for --write-transfer-max-size.]' \
--revert-write-transfer-multiple'[Set value to system default for --write-transfer-multiple.]' \
--revert-read-transfer-max-size'[Set value to system default for --read-transfer-max-size.]' \
--revert-read-transfer-multiple'[Set value to system default for --read-transfer-multiple.]' \
--revert-return-32bit-file-ids'[Set value to system default for --return-32bit-file-ids.]' \
--revert-write-datasync-action'[Set value to system default for --write-datasync-action.]' \
--revert-write-filesync-action'[Set value to system default for --write-filesync-action.]' \
--revert-write-unstable-action'[Set value to system default for --write-unstable-action.]' \
--revert-map-non-root-enabled'[Set value to system default for --map-non-root-enabled.]' \
--revert-readdirplus-prefetch'[Set value to system default for --readdirplus-prefetch.]' \
--revert-setattr-asynchronous'[Set value to system default for --setattr-asynchronous.]' \
--revert-write-datasync-reply'[Set value to system default for --write-datasync-reply.]' \
--revert-write-unstable-reply'[Set value to system default for --write-unstable-reply.]' \
--revert-commit-asynchronous'[Set value to system default for --commit-asynchronous.]' \
--revert-map-failure-enabled'[Set value to system default for --map-failure-enabled.]' \
--revert-write-transfer-size'[Set value to system default for --write-transfer-size.]' \
--ignore-unresolvable-hosts'[Do not error out on unresolvable hosts while creating/modifying the export.]' \
--remove-read-write-clients'=[Remove items from list of clients to be allowed read and write access via this export.]' \
--revert-read-transfer-size'[Set value to system default for --read-transfer-size.]' \
--clear-read-write-clients'[Clear list of clients to be allowed read and write access via this export.]' \
--remove-read-only-clients'=[Remove items from list of clients to be allowed read-only access via this export.]' \
--clear-read-only-clients'[Clear list of clients to be allowed read-only access via this export.]' \
--directory-transfer-size'=[Preferred directory transfer size.]' \
--remove-security-flavors'=[Remove items from list of supported security flavors.]' \
--revert-case-insensitive'[Set value to system default for --case-insensitive.]' \
--revert-chown-restricted'[Set value to system default for --chown-restricted.]' \
--revert-map-root-enabled'[Set value to system default for --map-root-enabled.]' \
--revert-security-flavors'[Set value to system default for --security-flavors.]' \
--write-transfer-max-size'=[Maximum NFSv3/4 write transfer size.]' \
--write-transfer-multiple'=[NFSv3/4 write transfer multiplier.]' \
--add-read-write-clients'=[Add items to list of clients to be allowed read and write access via this export.]' \
--clear-security-flavors'[Clear list of supported security flavors.]' \
--read-transfer-max-size'=[Maximum NFSv3/4 read transfer size.]' \
--read-transfer-multiple'=[NFSv3/4 read transfer multiplier.]' \
--revert-case-preserving'[Set value to system default for --case-preserving.]' \
--add-read-only-clients'=[Add items to list of clients to be allowed read-only access via this export.]' \
--return-32bit-file-ids'=[Return 32-bit file identifiers from NFSv3/4 readdir may require remount.]:BoolValueType:(true false)' \
--revert-map-lookup-uid'[Set value to system default for --map-lookup-uid.]' \
--write-datasync-action'=[Specify alternate NFSv3/4 datasync write method.]:EnumValidator:(datasync filesync unstable)' \
--write-filesync-action'=[Specify alternate NFSv3/4 filesync write method.]:EnumValidator:(datasync filesync unstable)' \
--write-unstable-action'=[Specify alternate NFSv3/4 unstable write method.]:EnumValidator:(datasync filesync unstable)' \
--add-security-flavors'=[Add items to list of supported security flavors.]' \
--map-non-root-enabled'=[Enable/disable mapping incoming non-root users to a specific account.]:BoolValueType:(true false)' \
--readdirplus-prefetch'=[Deprecated. This option currently does nothing.]' \
--revert-max-file-size'[Set value to system default for --max-file-size.]' \
--revert-name-max-size'[Set value to system default for --name-max-size.]' \
--setattr-asynchronous'=[Perform set attributes operations asynchronously.]:BoolValueType:(true false)' \
--write-datasync-reply'=[Specify alternate NFSv3/4 datasync reply method.]:EnumValidator:(datasync filesync)' \
--write-filesync-reply'=[Specify alternate NFSv3/4 filesync reply method.]:EnumValidator:(filesync)' \
--write-unstable-reply'=[Specify alternate unstable reply method.]:EnumValidator:(datasync filesync unstable)' \
--commit-asynchronous'=[Perform commit data operations asynchronously.]:BoolValueType:(true false)' \
--map-failure-enabled'=[Enable/disable mapping users a specific account after failing an auth lookup.]:BoolValueType:(true false)' \
--remove-root-clients'=[Remove items from list of clients to be allowed root access via this export.]' \
--revert-can-set-time'[Set value to system default for --can-set-time.]' \
--revert-map-non-root'[Set value to system default for --map-non-root.]' \
--write-transfer-size'=[Preferred NFSv3/4 write transfer size.]' \
--clear-root-clients'[Clear list of clients to be allowed root access via this export.]' \
--read-transfer-size'=[Preferred NFSv3/4 read transfer size.]' \
--read-write-clients'=[Replaces list of clients to be allowed read and write access via this export. When applied to a read-only export, takes precedence over --clients and will provide read and write access. Otherwise will behave as normal clients.]' \
--revert-map-failure'[Set value to system default for --map-failure.]' \
--revert-no-truncate'[Set value to system default for --no-truncate.]' \
--revert-readdirplus'[Set value to system default for --readdirplus.]' \
--read-only-clients'=[Replaces list of clients to be allowed read-only access via this export. When applied to a non-read-only export, takes precedence over --clients and will provide read-only access. Otherwise will behave as normal clients.]' \
--revert-block-size'[Set value to system default for --block-size.]' \
--revert-time-delta'[Set value to system default for --time-delta.]' \
--add-root-clients'=[Add items to list of clients to be allowed root access via this export.]' \
--case-insensitive'=[Report that the server ignores case for file names.]:BoolValueType:(true false)' \
--chown-restricted'=[Report that only the superuser may change file ownership.]:BoolValueType:(true false)' \
--ignore-bad-paths'[Do not error out on bad paths while creating/modifying the export.]' \
--ignore-conflicts'[Ignore conflicts between the new/modified export and the existing configuration.]' \
--map-root-enabled'=[Enable/disable mapping incoming root users to a specific account.]:BoolValueType:(true false)' \
--revert-map-retry'[Set value to system default for --map-retry.]' \
--revert-read-only'[Set value to system default for --read-only.]' \
--security-flavors'=[Replaces list of supported security flavors.]' \
--case-preserving'=[Report that the server always preserves case for file names.]:BoolValueType:(true false)' \
--ignore-bad-auth'[Ignore bad authentication for mapping options while creating/modifying the export.]' \
--revert-all-dirs'[Set value to system default for --all-dirs.]' \
--revert-encoding'[Set value to system default for --encoding.]' \
--revert-link-max'[Set value to system default for --link-max.]' \
--revert-map-full'[Set value to system default for --map-full.]' \
--revert-map-root'[Set value to system default for --map-root.]' \
--revert-snapshot'[Set value to system default for --snapshot.]' \
--revert-symlinks'[Set value to system default for --symlinks.]' \
--map-lookup-uid'=[Lookup incoming UIDs using local authentication database.]:BoolValueType:(true false)' \
--remove-clients'=[Remove items from list of clients to be allowed access via this export.]' \
--revert-map-all'[Set value to system default for --map-all.]' \
--clear-clients'[Clear list of clients to be allowed access via this export.]' \
--max-file-size'=[Maximum file size.]' \
--name-max-size'=[The reported maximum length of a filename.]' \
--can-set-time'=[Report that file times can be set via this export.]:BoolValueType:(true false)' \
--map-non-root'=[Map non-root users to a specific user and/or group ID.]' \
--remove-paths'=[Remove items from list of NFS export paths]' \
--root-clients'=[Replaces list of clients to be allowed root access via this export. Takes precedence over --clients and can be combined with --read-only-clients or --read-write-clients.]' \
--add-clients'=[Add items to list of clients to be allowed access via this export.]' \
--clear-paths'[Clear list of NFS export paths]' \
--description'=[Description for this nfs export.]' \
--map-failure'=[Map users to a specific user and/or group ID after a failed auth attempt.]' \
--no-truncate'=[Report that too-long file names result in an error.]:BoolValueType:(true false)' \
--readdirplus'=[Enable NFSv3 readdirplus.]:BoolValueType:(true false)' \
--block-size'=[Block size.]' \
--time-delta'=[Server time granularity in seconds.]' \
--add-paths'=[Add items to list of NFS export paths]' \
--map-retry'=[Retry failed user mapping lookups.]:BoolValueType:(true false)' \
--read-only'=[Set nfs export as read-only.]:BoolValueType:(true false)' \
--all-dirs'=[Implicitly export all subdirectories below the rules path.]:BoolValueType:(true false)' \
--encoding'=[Character encoding of filenames via this export.]' \
--link-max'=[The reported maximum number of links to a file.]' \
--map-full'=[Use full identity mapping resolution of mapped user.]:BoolValueType:(true false)' \
--map-root'=[Map incoming root users to a specific user and/or group ID.]' \
--new-zone'=[New access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--snapshot'=[Use this snapshot for all mounts.]' \
--symlinks'=[Advertise support for symlinks.]:BoolValueType:(true false)' \
--clients'=[Replaces list of clients to be allowed access via this export.]' \
--map-all'=[Map all incoming users to a specific user and/or group ID.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Ignore conflicts and checks while creating/modifying the export.]' \
--paths'=[Path of the nfs export. Must be within /ifs.]:cmdline_Option_paths:_files' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--id'=[ID of the nfs export to modify.]' \
}
(( $+functions[_isi_nfs_exports_reload] )) ||
_isi_nfs_exports_reload() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_nlm] )) ||
_isi_nfs_nlm() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ locks sessions}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == locks ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-locks:"
      _isi_nfs_nlm_locks
    elif [[ $cmd == sessions ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-sessions:"
      _isi_nfs_nlm_sessions
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_nlm_locks] )) ||
_isi_nfs_nlm_locks() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list waiters}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-locks-list:"
      _isi_nfs_nlm_locks_list
    elif [[ $cmd == waiters ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-locks-waiters:"
      _isi_nfs_nlm_locks_waiters
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_nlm_locks_list] )) ||
_isi_nfs_nlm_locks_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display nfs nlm locks in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of nfs nlm locks to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(client path lock_type range created)' \
}
(( $+functions[_isi_nfs_nlm_locks_waiters] )) ||
_isi_nfs_nlm_locks_waiters() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display nfs nlm locks in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of nfs nlm locks to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(client path lock_type range created)' \
}
(( $+functions[_isi_nfs_nlm_sessions] )) ||
_isi_nfs_nlm_sessions() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view refresh delete check}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-sessions-list:"
      _isi_nfs_nlm_sessions_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-sessions-view:"
      _isi_nfs_nlm_sessions_view
    elif [[ $cmd == refresh ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-sessions-refresh:"
      _isi_nfs_nlm_sessions_refresh
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-sessions-delete:"
      _isi_nfs_nlm_sessions_delete
    elif [[ $cmd == check ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-nlm-sessions-check:"
      _isi_nfs_nlm_sessions_check
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_nlm_sessions_list] )) ||
_isi_nfs_nlm_sessions_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display nfs nlm sessions in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of nfs nlm sessions to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(hostname cluster_ip is_active notify_attempts_remaining)' \
}
(( $+functions[_isi_nfs_nlm_sessions_view] )) ||
_isi_nfs_nlm_sessions_view() {
_arguments \
--cluster-ip'=[Cluster IP address to which the client is connected]' \
--hostname'=[Name of the client that initiated this session]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display nfs nlm sessions in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of nfs nlm sessions to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_nlm_sessions_refresh] )) ||
_isi_nfs_nlm_sessions_refresh() {
_arguments \
--cluster-ip'=[Cluster IP address to which the client is connected]' \
--hostname'=[Name of the client that initiated this session]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_nlm_sessions_delete] )) ||
_isi_nfs_nlm_sessions_delete() {
_arguments \
--cluster-ip'=[Cluster IP address to which the client is connected]' \
--hostname'=[Name of the client that initiated this session]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_nlm_sessions_check] )) ||
_isi_nfs_nlm_sessions_check() {
_arguments \
--cluster-ip'=[Cluster IP address to which the client is connected]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_settings] )) ||
_isi_nfs_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ global export zone}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == global ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-global:"
      _isi_nfs_settings_global
    elif [[ $cmd == export ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-export:"
      _isi_nfs_settings_export
    elif [[ $cmd == zone ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-zone:"
      _isi_nfs_settings_zone
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_settings_global] )) ||
_isi_nfs_settings_global() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-global-view:"
      _isi_nfs_settings_global_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-global-modify:"
      _isi_nfs_settings_global_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_settings_global_view] )) ||
_isi_nfs_settings_global_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_nfs_settings_global_modify] )) ||
_isi_nfs_settings_global_modify() {
_arguments \
--nfsv3-enabled'=[NFSv3 enabled.]:BoolValueType:(true false)' \
--nfsv4-enabled'=[NFSv4 enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_nfs_settings_export] )) ||
_isi_nfs_settings_export() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-export-view:"
      _isi_nfs_settings_export_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-export-modify:"
      _isi_nfs_settings_export_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_settings_export_view] )) ||
_isi_nfs_settings_export_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_settings_export_modify] )) ||
_isi_nfs_settings_export_modify() {
_arguments \
--revert-directory-transfer-size'[Set value to system default for --directory-transfer-size.]' \
--revert-write-transfer-max-size'[Set value to system default for --write-transfer-max-size.]' \
--revert-write-transfer-multiple'[Set value to system default for --write-transfer-multiple.]' \
--revert-read-transfer-max-size'[Set value to system default for --read-transfer-max-size.]' \
--revert-read-transfer-multiple'[Set value to system default for --read-transfer-multiple.]' \
--revert-return-32bit-file-ids'[Set value to system default for --return-32bit-file-ids.]' \
--revert-write-datasync-action'[Set value to system default for --write-datasync-action.]' \
--revert-write-filesync-action'[Set value to system default for --write-filesync-action.]' \
--revert-write-unstable-action'[Set value to system default for --write-unstable-action.]' \
--revert-map-non-root-enabled'[Set value to system default for --map-non-root-enabled.]' \
--revert-readdirplus-prefetch'[Set value to system default for --readdirplus-prefetch.]' \
--revert-setattr-asynchronous'[Set value to system default for --setattr-asynchronous.]' \
--revert-write-datasync-reply'[Set value to system default for --write-datasync-reply.]' \
--revert-write-unstable-reply'[Set value to system default for --write-unstable-reply.]' \
--revert-commit-asynchronous'[Set value to system default for --commit-asynchronous.]' \
--revert-map-failure-enabled'[Set value to system default for --map-failure-enabled.]' \
--revert-write-transfer-size'[Set value to system default for --write-transfer-size.]' \
--revert-read-transfer-size'[Set value to system default for --read-transfer-size.]' \
--directory-transfer-size'=[Preferred directory transfer size.]' \
--remove-security-flavors'=[Remove items from list of supported security flavors.]' \
--revert-case-insensitive'[Set value to system default for --case-insensitive.]' \
--revert-chown-restricted'[Set value to system default for --chown-restricted.]' \
--revert-map-root-enabled'[Set value to system default for --map-root-enabled.]' \
--revert-security-flavors'[Set value to system default for --security-flavors.]' \
--write-transfer-max-size'=[Maximum NFSv3/4 write transfer size.]' \
--write-transfer-multiple'=[NFSv3/4 write transfer multiplier.]' \
--clear-security-flavors'[Clear list of supported security flavors.]' \
--read-transfer-max-size'=[Maximum NFSv3/4 read transfer size.]' \
--read-transfer-multiple'=[NFSv3/4 read transfer multiplier.]' \
--revert-case-preserving'[Set value to system default for --case-preserving.]' \
--return-32bit-file-ids'=[Return 32-bit file identifiers from NFSv3/4 readdir may require remount.]:BoolValueType:(true false)' \
--revert-map-lookup-uid'[Set value to system default for --map-lookup-uid.]' \
--write-datasync-action'=[Specify alternate NFSv3/4 datasync write method.]:EnumValidator:(datasync filesync unstable)' \
--write-filesync-action'=[Specify alternate NFSv3/4 filesync write method.]:EnumValidator:(datasync filesync unstable)' \
--write-unstable-action'=[Specify alternate NFSv3/4 unstable write method.]:EnumValidator:(datasync filesync unstable)' \
--add-security-flavors'=[Add items to list of supported security flavors.]' \
--map-non-root-enabled'=[Enable/disable mapping incoming non-root users to a specific account.]:BoolValueType:(true false)' \
--readdirplus-prefetch'=[Deprecated. This option currently does nothing.]' \
--revert-max-file-size'[Set value to system default for --max-file-size.]' \
--revert-name-max-size'[Set value to system default for --name-max-size.]' \
--setattr-asynchronous'=[Perform set attributes operations asynchronously.]:BoolValueType:(true false)' \
--write-datasync-reply'=[Specify alternate NFSv3/4 datasync reply method.]:EnumValidator:(datasync filesync)' \
--write-filesync-reply'=[Specify alternate NFSv3/4 filesync reply method.]:EnumValidator:(filesync)' \
--write-unstable-reply'=[Specify alternate unstable reply method.]:EnumValidator:(datasync filesync unstable)' \
--commit-asynchronous'=[Perform commit data operations asynchronously.]:BoolValueType:(true false)' \
--map-failure-enabled'=[Enable/disable mapping users a specific account after failing an auth lookup.]:BoolValueType:(true false)' \
--revert-can-set-time'[Set value to system default for --can-set-time.]' \
--revert-map-non-root'[Set value to system default for --map-non-root.]' \
--write-transfer-size'=[Preferred NFSv3/4 write transfer size.]' \
--read-transfer-size'=[Preferred NFSv3/4 read transfer size.]' \
--revert-map-failure'[Set value to system default for --map-failure.]' \
--revert-no-truncate'[Set value to system default for --no-truncate.]' \
--revert-readdirplus'[Set value to system default for --readdirplus.]' \
--revert-block-size'[Set value to system default for --block-size.]' \
--revert-time-delta'[Set value to system default for --time-delta.]' \
--case-insensitive'=[Report that the server ignores case for file names.]:BoolValueType:(true false)' \
--chown-restricted'=[Report that only the superuser may change file ownership.]:BoolValueType:(true false)' \
--map-root-enabled'=[Enable/disable mapping incoming root users to a specific account.]:BoolValueType:(true false)' \
--revert-map-retry'[Set value to system default for --map-retry.]' \
--revert-read-only'[Set value to system default for --read-only.]' \
--security-flavors'=[Replaces list of supported security flavors.]' \
--case-preserving'=[Report that the server always preserves case for file names.]:BoolValueType:(true false)' \
--revert-all-dirs'[Set value to system default for --all-dirs.]' \
--revert-encoding'[Set value to system default for --encoding.]' \
--revert-link-max'[Set value to system default for --link-max.]' \
--revert-map-full'[Set value to system default for --map-full.]' \
--revert-map-root'[Set value to system default for --map-root.]' \
--revert-snapshot'[Set value to system default for --snapshot.]' \
--revert-symlinks'[Set value to system default for --symlinks.]' \
--map-lookup-uid'=[Lookup incoming UIDs using local authentication database.]:BoolValueType:(true false)' \
--revert-map-all'[Set value to system default for --map-all.]' \
--max-file-size'=[Maximum file size.]' \
--name-max-size'=[The reported maximum length of a filename.]' \
--can-set-time'=[Report that file times can be set via this export.]:BoolValueType:(true false)' \
--map-non-root'=[Map non-root users to a specific user and/or group ID.]' \
--map-failure'=[Map users to a specific user and/or group ID after a failed auth attempt.]' \
--no-truncate'=[Report that too-long file names result in an error.]:BoolValueType:(true false)' \
--readdirplus'=[Enable NFSv3 readdirplus.]:BoolValueType:(true false)' \
--block-size'=[Block size.]' \
--time-delta'=[Server time granularity in seconds.]' \
--map-retry'=[Retry failed user mapping lookups.]:BoolValueType:(true false)' \
--read-only'=[Set nfs export setting as read-only.]:BoolValueType:(true false)' \
--all-dirs'=[Implicitly export all subdirectories below the rules path.]:BoolValueType:(true false)' \
--encoding'=[Character encoding of filenames via this export.]' \
--link-max'=[The reported maximum number of links to a file.]' \
--map-full'=[Use full identity mapping resolution of mapped user.]:BoolValueType:(true false)' \
--map-root'=[Map incoming root users to a specific user and/or group ID.]' \
--snapshot'=[Use this snapshot for all mounts.]' \
--symlinks'=[Advertise support for symlinks.]:BoolValueType:(true false)' \
--map-all'=[Map all incoming users to a specific user and/or group ID.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Ignore conflicts and checks while creating/modifying the export.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_settings_zone] )) ||
_isi_nfs_settings_zone() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-zone-view:"
      _isi_nfs_settings_zone_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-settings-zone-modify:"
      _isi_nfs_settings_zone_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_settings_zone_view] )) ||
_isi_nfs_settings_zone_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_settings_zone_modify] )) ||
_isi_nfs_settings_zone_modify() {
_arguments \
--revert-nfsv4-allow-numeric-ids'[Set value to system default for --nfsv4-allow-numeric-ids.]' \
--revert-nfsv4-no-domain-uids'[Set value to system default for --nfsv4-no-domain-uids.]' \
--revert-nfsv4-replace-domain'[Set value to system default for --nfsv4-replace-domain.]' \
--nfsv4-allow-numeric-ids'=[Send owners/groups as UIDs/GIDs when lookups fail or if no_names=1 v4]:BoolValueType:(true false)' \
--revert-nfsv4-no-domain'[Set value to system default for --nfsv4-no-domain.]' \
--revert-nfsv4-no-names'[Set value to system default for --nfsv4-no-names.]' \
--nfsv4-no-domain-uids'=[Send UIDs/GIDs without domainname v4]:BoolValueType:(true false)' \
--nfsv4-replace-domain'=[Replace owner/group domain with nfs domainname. v4]:BoolValueType:(true false)' \
--revert-nfsv4-domain'[Set value to system default for --nfsv4-domain.]' \
--nfsv4-no-domain'=[Send owners/groups without domainname v4]:BoolValueType:(true false)' \
--nfsv4-no-names'=[Always send owners/groups as UIDs/GIDs v4]:BoolValueType:(true false)' \
--nfsv4-domain'=[NFSv4 domain name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_netgroup] )) ||
_isi_nfs_netgroup() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ check flush modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == check ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-netgroup-check:"
      _isi_nfs_netgroup_check
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-netgroup-flush:"
      _isi_nfs_netgroup_flush
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-netgroup-modify:"
      _isi_nfs_netgroup_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-netgroup-view:"
      _isi_nfs_netgroup_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_netgroup_check] )) ||
_isi_nfs_netgroup_check() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--host'=[IP address of the node to check. Defaults is localhost.]' \
}
(( $+functions[_isi_nfs_netgroup_flush] )) ||
_isi_nfs_netgroup_flush() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--host'=[IP address of the node to flush. Defaults is all nodes.]' \
}
(( $+functions[_isi_nfs_netgroup_modify] )) ||
_isi_nfs_netgroup_modify() {
_arguments \
{-e,--expiration}'=[Set the netgroup expiration time.]' \
{-l,--lifetime}'=[Set the netgroup lifetime.]' \
{-w,--bgwrite}'=[Set the to disk backup interval.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-r,--retry}'=[Set the retry interval.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_nfs_netgroup_view] )) ||
_isi_nfs_netgroup_view() {
}
(( $+functions[_isi_nfs_aliases] )) ||
_isi_nfs_aliases() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create delete modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-aliases-list:"
      _isi_nfs_aliases_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-aliases-view:"
      _isi_nfs_aliases_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-aliases-create:"
      _isi_nfs_aliases_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-aliases-delete:"
      _isi_nfs_aliases_delete
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-aliases-modify:"
      _isi_nfs_aliases_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_aliases_list] )) ||
_isi_nfs_aliases_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display nfs aliases in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--check'[Check alias health]' \
{-l,--limit}'=[Number of nfs aliases to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the alias is active.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--sort'=[Sort data by the specified field.]:EnumValidator:(zone name path health)' \
}
(( $+functions[_isi_nfs_aliases_view] )) ||
_isi_nfs_aliases_view() {
_arguments \
--check'[Check alias health]' \
--name'=[Name by which the alias is referenced.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the alias is active.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_aliases_create] )) ||
_isi_nfs_aliases_create() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Name by which the alias is referenced.]' \
--path'=[On-disk path to which the alias points.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the alias is active.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'2:cmdline_Option_path:_files' \
}
(( $+functions[_isi_nfs_aliases_delete] )) ||
_isi_nfs_aliases_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Name by which the alias is referenced.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone in which the alias is active.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_aliases_modify] )) ||
_isi_nfs_aliases_modify() {
_arguments \
--new-zone'=[New access zone for alias.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
{-v,--verbose}'[Display more detailed information.]' \
--alias'=[Name by which the alias is referenced.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[New name for the alias.]' \
--path'=[On-disk path to which the alias points.]:cmdline_Option_path:_files' \
--zone'=[Access zone in which the alias is active.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_nfs_log-level] )) ||
_isi_nfs_log-level() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-log-level-modify:"
      _isi_nfs_log-level_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-nfs-log-level-view:"
      _isi_nfs_log-level_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_nfs_log-level_modify] )) ||
_isi_nfs_log-level_modify() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-l,--level}'=[Valid logging levels are always, error, warning, info, verbose, debug, and trace]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_nfs_log-level_view] )) ||
_isi_nfs_log-level_view() {
}
(( $+functions[_isi_ndmp] )) ||
_isi_ndmp() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings dumpdates contexts sessions users}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings:"
      _isi_ndmp_settings
    elif [[ $cmd == dumpdates ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-dumpdates:"
      _isi_ndmp_dumpdates
    elif [[ $cmd == contexts ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-contexts:"
      _isi_ndmp_contexts
    elif [[ $cmd == sessions ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-sessions:"
      _isi_ndmp_sessions
    elif [[ $cmd == users ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-users:"
      _isi_ndmp_users
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_settings] )) ||
_isi_ndmp_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ global diagnostics variables preferred-ips}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == global ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-global:"
      _isi_ndmp_settings_global
    elif [[ $cmd == diagnostics ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-diagnostics:"
      _isi_ndmp_settings_diagnostics
    elif [[ $cmd == variables ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-variables:"
      _isi_ndmp_settings_variables
    elif [[ $cmd == preferred-ips ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-preferred-ips:"
      _isi_ndmp_settings_preferred-ips
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_settings_global] )) ||
_isi_ndmp_settings_global() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-global-view:"
      _isi_ndmp_settings_global_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-global-modify:"
      _isi_ndmp_settings_global_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_settings_global_view] )) ||
_isi_ndmp_settings_global_view() {
_arguments \
--format'=[Display ndmp global settings in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_settings_global_modify] )) ||
_isi_ndmp_settings_global_modify() {
_arguments \
--msb-context-retention-duration'=[Multi-stream backup context retention duration.  Default is 2m 2 minutes. Duration expressed as <integer>YMWDHms.]' \
--msr-context-retention-duration'=[Multi-stream restore context retention duration.  Default is 10m 10 minutes. Duration expressed as <integer>YMWDHms.]' \
--bre-max-num-contexts'=[Maximum number of Restartable Backup contexts. Default is 64; system maximum limit is 1024. Restartable backup will be disabled when the number is set to 0.]' \
{-s,--service}'=[Enable or disable NDMP service.  When setting it to True, all other fields in the same command are applicable. When setting to False, all other fields in the same command are ignored.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
{-p,--port}'=[The  TCP/IP  port  number  on  which the NDMP daemon listens for incoming connections.  Default: 10000.]' \
{-d,--dma}'=[DMA Data Management Application which controls the NDMP sessions.]:EnumValidator:(generic atempo bakbone commvault emc symantec tivoli symantec-netbackup symantec-backupexec)' \
}
(( $+functions[_isi_ndmp_settings_diagnostics] )) ||
_isi_ndmp_settings_diagnostics() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-diagnostics-view:"
      _isi_ndmp_settings_diagnostics_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-diagnostics-modify:"
      _isi_ndmp_settings_diagnostics_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_settings_diagnostics_view] )) ||
_isi_ndmp_settings_diagnostics_view() {
_arguments \
--format'=[Display ndmp diagnostics settings in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_settings_diagnostics_modify] )) ||
_isi_ndmp_settings_diagnostics_modify() {
_arguments \
--protocol-version'=[the version of the ndmp protocol. Can be 3 or 4.]' \
--trace-level'=[trace level: NDMP trace log level none: no log standard: NDMP protocol tracing default include-file-history: Log FH info into trace file log-file-history: Log FH into FH log node<node>-<pid>-fh.log]:EnumValidator:(none standard include-file-history log-file-history)' \
--diag-level'=[diagnostics level for ndmp]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_settings_variables] )) ||
_isi_ndmp_settings_variables() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-variables-list:"
      _isi_ndmp_settings_variables_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-variables-create:"
      _isi_ndmp_settings_variables_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-variables-modify:"
      _isi_ndmp_settings_variables_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-variables-delete:"
      _isi_ndmp_settings_variables_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_settings_variables_list] )) ||
_isi_ndmp_settings_variables_list() {
_arguments \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display ndmp variables settings in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--path'=[Path of the ndmp variables setting. Must be within /ifs.]:cmdline_Option_path:_files' \
}
(( $+functions[_isi_ndmp_settings_variables_create] )) ||
_isi_ndmp_settings_variables_create() {
_arguments \
--value'=[The value of the environment variable]' \
--path'=[Path of the ndmp variables setting. Must be within /ifs.]:cmdline_Option_path:_files' \
--name'=[the name of the environment variable.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_path:_files' \
}
(( $+functions[_isi_ndmp_settings_variables_modify] )) ||
_isi_ndmp_settings_variables_modify() {
_arguments \
--value'=[The value of the environment variable]' \
--path'=[Path of the ndmp variables setting. Must be within /ifs.]:cmdline_Option_path:_files' \
--name'=[the name of the environment variable.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_path:_files' \
}
(( $+functions[_isi_ndmp_settings_variables_delete] )) ||
_isi_ndmp_settings_variables_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--path'=[Path of the ndmp variables setting. Must be within /ifs.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
--name'=[variable name to be deleted. If name is not specified, all environment variables of the path are deleted.]' \
'1:cmdline_Option_path:_files' \
}
(( $+functions[_isi_ndmp_settings_preferred-ips] )) ||
_isi_ndmp_settings_preferred-ips() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-preferred-ips-list:"
      _isi_ndmp_settings_preferred-ips_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-preferred-ips-view:"
      _isi_ndmp_settings_preferred-ips_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-preferred-ips-create:"
      _isi_ndmp_settings_preferred-ips_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-preferred-ips-modify:"
      _isi_ndmp_settings_preferred-ips_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-settings-preferred-ips-delete:"
      _isi_ndmp_settings_preferred-ips_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_settings_preferred-ips_list] )) ||
_isi_ndmp_settings_preferred-ips_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display ndmp preferred-ips settings in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of ndmp preferred-ips settings to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_settings_preferred-ips_view] )) ||
_isi_ndmp_settings_preferred-ips_view() {
_arguments \
--format'=[Display ndmp preferred-ips settings in the given format]:EnumValidator:(list json)' \
--scope'=[Scope of this preference. Can be cluster or a network subnet defined in OneFs.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_settings_preferred-ips_create] )) ||
_isi_ndmp_settings_preferred-ips_create() {
_arguments \
--data-subnets'=[A network subnet.]' \
{-v,--verbose}'[Display more detailed information.]' \
--scope'=[Scope of this preference. Can be cluster or a network subnet defined in OneFs.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_settings_preferred-ips_modify] )) ||
_isi_ndmp_settings_preferred-ips_modify() {
_arguments \
--remove-data-subnets'=[Remove a network subnet.]' \
--add-data-subnets'=[Add a network subnet.]' \
--data-subnets'=[A network subnet.]' \
{-v,--verbose}'[Display more detailed information.]' \
--scope'=[Scope of this preference. Can be cluster or a network subnet defined in OneFs.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_settings_preferred-ips_delete] )) ||
_isi_ndmp_settings_preferred-ips_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--scope'=[Scope of this preference. Can be cluster or a network subnet defined in OneFs.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_dumpdates] )) ||
_isi_ndmp_dumpdates() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-dumpdates-list:"
      _isi_ndmp_dumpdates_list
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-dumpdates-delete:"
      _isi_ndmp_dumpdates_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_dumpdates_list] )) ||
_isi_ndmp_dumpdates_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display ndmp dumpdates in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--level'=[Display entries of the specified level]' \
{-l,--limit}'=[Number of ndmp dumpdates to display.]' \
{-h,--help}'[Display help for this command.]' \
--path'=[Path of the ndmp dumpdate. Must be within /ifs.]:cmdline_Option_path:_files' \
--sort'=[Sort data by the specified field.]:EnumValidator:(path level)' \
}
(( $+functions[_isi_ndmp_dumpdates_delete] )) ||
_isi_ndmp_dumpdates_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--level'=[Display entries of the specified level]' \
--path'=[Path of the ndmp dumpdate. Must be within /ifs.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_path:_files' \
}
(( $+functions[_isi_ndmp_contexts] )) ||
_isi_ndmp_contexts() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-contexts-list:"
      _isi_ndmp_contexts_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-contexts-view:"
      _isi_ndmp_contexts_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-contexts-delete:"
      _isi_ndmp_contexts_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_contexts_list] )) ||
_isi_ndmp_contexts_list() {
_arguments \
--format'=[Display ndmp contexts in the given format]:EnumValidator:(table json csv list)' \
{-h,--help}'[Display help for this command.]' \
{-t,--type}'=[Display entries of the specified level]:EnumValidator:(bre backup restore)' \
}
(( $+functions[_isi_ndmp_contexts_view] )) ||
_isi_ndmp_contexts_view() {
_arguments \
--format'=[Display ndmp contexts in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
--id'=[The context ID string]' \
}
(( $+functions[_isi_ndmp_contexts_delete] )) ||
_isi_ndmp_contexts_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[The context ID string]' \
}
(( $+functions[_isi_ndmp_sessions] )) ||
_isi_ndmp_sessions() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-sessions-list:"
      _isi_ndmp_sessions_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-sessions-view:"
      _isi_ndmp_sessions_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-sessions-delete:"
      _isi_ndmp_sessions_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_sessions_list] )) ||
_isi_ndmp_sessions_list() {
_arguments \
{-c,--consolidate}'[Consolidate sessions of a multi-stream context]' \
{-s,--session}'=[NDMP session identifier <lnn>.<pid>]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display ndmp sessions in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of ndmp sessions to display.]' \
{-h,--help}'[Display help for this command.]' \
{-n,--node}'=[Display only sessions of the specified node.]' \
}
(( $+functions[_isi_ndmp_sessions_view] )) ||
_isi_ndmp_sessions_view() {
_arguments \
{-s,--session}'=[NDMP session identifier <lnn>.<pid>]' \
--format'=[Display ndmp sessions in the given format]:EnumValidator:(list json)' \
--probe'[View probe information of the NDMP session]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_sessions_delete] )) ||
_isi_ndmp_sessions_delete() {
_arguments \
{-s,--session}'=[NDMP session identifier <lnn>.<pid>]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_users] )) ||
_isi_ndmp_users() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-users-list:"
      _isi_ndmp_users_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-users-view:"
      _isi_ndmp_users_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-users-create:"
      _isi_ndmp_users_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-users-modify:"
      _isi_ndmp_users_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-ndmp-users-delete:"
      _isi_ndmp_users_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ndmp_users_list] )) ||
_isi_ndmp_users_list() {
_arguments \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display ndmp users in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_users_view] )) ||
_isi_ndmp_users_view() {
_arguments \
--format'=[Display ndmp users in the given format]:EnumValidator:(list json)' \
--name'=[Name of the user.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_users_create] )) ||
_isi_ndmp_users_create() {
_arguments \
--password'=[Password for the user. If a password is not specified, the administrator is prompted to enter a password and then prompted to confirm the password by entering it a second time. The command fails if the specified user already exists.]' \
--name'=[Name of the user.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_users_modify] )) ||
_isi_ndmp_users_modify() {
_arguments \
--password'=[Password for the user. If a password is not specified, the administrator is prompted to enter a password and then prompted to confirm the password by entering it a second time. The command fails if the specified user already exists.]' \
--name'=[Name of the user.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ndmp_users_delete] )) ||
_isi_ndmp_users_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Name of the user.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ntp] )) ||
_isi_ntp() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings servers view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-settings:"
      _isi_ntp_settings
    elif [[ $cmd == servers ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-servers:"
      _isi_ntp_servers
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-settings-view:"
      _isi_ntp_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-settings-modify:"
      _isi_ntp_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ntp_settings] )) ||
_isi_ntp_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-settings-view:"
      _isi_ntp_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-settings-modify:"
      _isi_ntp_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ntp_settings_view] )) ||
_isi_ntp_settings_view() {
}
(( $+functions[_isi_ntp_settings_modify] )) ||
_isi_ntp_settings_modify() {
_arguments \
--remove-excluded'=[Remove items from list of logical node numbers LNNs excluded from chimer duty]' \
--clear-excluded'[Clear list of logical node numbers LNNs excluded from chimer duty]' \
--clear-key-file'[Clear value for path to NTP key file within /ifs.]' \
--add-excluded'=[Add items to list of logical node numbers LNNs excluded from chimer duty]' \
{-x,--excluded}'=[Node number LNN for nodes excluded from chimer duty.]' \
{-k,--key-file}'=[Path to NTP key file within /ifs.]' \
{-c,--chimers}'=[Number of chimer nodes that contact NTP servers.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ntp_servers] )) ||
_isi_ntp_servers() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-servers-list:"
      _isi_ntp_servers_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-servers-view:"
      _isi_ntp_servers_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-servers-create:"
      _isi_ntp_servers_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-servers-modify:"
      _isi_ntp_servers_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-ntp-servers-delete:"
      _isi_ntp_servers_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_ntp_servers_list] )) ||
_isi_ntp_servers_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display ntp servers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of ntp servers to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(name key)' \
}
(( $+functions[_isi_ntp_servers_view] )) ||
_isi_ntp_servers_view() {
_arguments \
{-n,--name}'=[Hostname of the NTP server.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_ntp_servers_create] )) ||
_isi_ntp_servers_create() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-n,--name}'=[Hostname of the NTP server.]' \
{-h,--help}'[Display help for this command.]' \
{-k,--key}'=[Value that maps the NTP server to a key in the key file.]' \
}
(( $+functions[_isi_ntp_servers_modify] )) ||
_isi_ntp_servers_modify() {
_arguments \
--clear-key'[Clear value for value that maps the NTP server to a key in the key file.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-n,--name}'=[Hostname of the NTP server.]' \
{-h,--help}'[Display help for this command.]' \
{-k,--key}'=[Value that maps the NTP server to a key in the key file.]' \
}
(( $+functions[_isi_ntp_servers_delete] )) ||
_isi_ntp_servers_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-n,--name}'=[Hostname of the NTP server.]' \
{-h,--help}'[Display help for this command.]' \
--all'[delete all ntp servers.]' \
}
(( $+functions[_isi_network] )) ||
_isi_network() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ dnscache external groupnets interfaces pools rules subnets sc-rebalance-all}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == dnscache ]]; then
      curcontext="${curcontext%:*:*}:isi-network-dnscache:"
      _isi_network_dnscache
    elif [[ $cmd == external ]]; then
      curcontext="${curcontext%:*:*}:isi-network-external:"
      _isi_network_external
    elif [[ $cmd == groupnets ]]; then
      curcontext="${curcontext%:*:*}:isi-network-groupnets:"
      _isi_network_groupnets
    elif [[ $cmd == interfaces ]]; then
      curcontext="${curcontext%:*:*}:isi-network-interfaces:"
      _isi_network_interfaces
    elif [[ $cmd == pools ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools:"
      _isi_network_pools
    elif [[ $cmd == rules ]]; then
      curcontext="${curcontext%:*:*}:isi-network-rules:"
      _isi_network_rules
    elif [[ $cmd == subnets ]]; then
      curcontext="${curcontext%:*:*}:isi-network-subnets:"
      _isi_network_subnets
    elif [[ $cmd == sc-rebalance-all ]]; then
      curcontext="${curcontext%:*:*}:isi-network-sc-rebalance-all:"
      _isi_network_sc-rebalance-all
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_dnscache] )) ||
_isi_network_dnscache() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view flush}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-network-dnscache-modify:"
      _isi_network_dnscache_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-network-dnscache-view:"
      _isi_network_dnscache_view
    elif [[ $cmd == flush ]]; then
      curcontext="${curcontext%:*:*}:isi-network-dnscache-flush:"
      _isi_network_dnscache_flush
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_dnscache_modify] )) ||
_isi_network_dnscache_modify() {
_arguments \
--revert-cache-entry-limit'[Set value to system default for --cache-entry-limit.]' \
--revert-ttl-max-nxdomain'[Set value to system default for --ttl-max-nxdomain.]' \
--revert-ttl-max-servfail'[Set value to system default for --ttl-max-servfail.]' \
--revert-ttl-min-nxdomain'[Set value to system default for --ttl-min-nxdomain.]' \
--revert-ttl-min-servfail'[Set value to system default for --ttl-min-servfail.]' \
--revert-cluster-timeout'[Set value to system default for --cluster-timeout.]' \
--revert-ttl-max-noerror'[Set value to system default for --ttl-max-noerror.]' \
--revert-ttl-min-noerror'[Set value to system default for --ttl-min-noerror.]' \
--revert-testping-delta'[Set value to system default for --testping-delta.]' \
--revert-eager-refresh'[Set value to system default for --eager-refresh.]' \
--revert-ttl-max-other'[Set value to system default for --ttl-max-other.]' \
--revert-ttl-min-other'[Set value to system default for --ttl-min-other.]' \
--revert-dns-timeout'[Set value to system default for --dns-timeout.]' \
--cache-entry-limit'=[DNS cache entry limit; default is 65536 1024 <= n <= 1048576]' \
--ttl-max-nxdomain'=[Upper bound on ttl for nxdomain; default is 3600 0 <= n <= 3600]' \
--ttl-max-servfail'=[Upper bound on ttl for server failures; default is 3600 0 <= n <= 3600]' \
--ttl-min-nxdomain'=[Lower bound on ttl for nxdomain; default is 15 0 <= n <= 3600]' \
--ttl-min-servfail'=[Lower bound on ttl for server failures; default is 300 0 <= n <= 3600]' \
--cluster-timeout'=[Timeout value for calls made to other nodes in the cluster; default is 5 0 <= n <= 60]' \
--ttl-max-noerror'=[Upper bound on ttl for cache hits; default is 3600 0 <= n <= 3600]' \
--ttl-min-noerror'=[Lower bound on ttl for cache hits; default is 30 0 <= n <= 3600]' \
--testping-delta'=[Deltas for checking cbind cluster health; default is 30 0 <= n <= 60]' \
--eager-refresh'=[Lead time to refresh cache entries nearing expiration; default is  0 0 <= n <= 30]' \
--ttl-max-other'=[Upper bound on ttl for non-nxdomain failures; default is 60 0 <= n <= 3600]' \
--ttl-min-other'=[Lower bound on ttl for non-nxdomain failures; default is 0 0 <= n <= 3600]' \
--dns-timeout'=[Timeout value for calls made to the dns resolver; default is 5 0 <= n <= 60]' \
--timeout'=[Number of seconds for a command timeout specified as isi --timeout NNN <command>.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_network_dnscache_view] )) ||
_isi_network_dnscache_view() {
}
(( $+functions[_isi_network_dnscache_flush] )) ||
_isi_network_dnscache_flush() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_network_external] )) ||
_isi_network_external() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-network-external-modify:"
      _isi_network_external_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-network-external-view:"
      _isi_network_external_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_external_modify] )) ||
_isi_network_external_modify() {
_arguments \
--revert-sc-rebalance-delay'[Set value to system default for --sc-rebalance-delay.]' \
--sc-rebalance-delay'=[IP rebalance delay in seconds.]' \
--remove-tcp-ports'=[Remove items from list of TCP ports]' \
--revert-tcp-ports'[Set value to system default for --tcp-ports.]' \
--clear-tcp-ports'[Clear list of TCP ports]' \
--add-tcp-ports'=[Add items to list of TCP ports]' \
--revert-sbr'[Set value to system default for --sbr.]' \
--tcp-ports'=[List of client TCP ports. Maximum supported port number is 65535.]' \
--timeout'=[Number of seconds for a command timeout specified as isi --timeout NNN <command>.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--sbr'=[Enable or disable Source Based Routing. Default is False.]:BoolValueType:(true false)' \
}
(( $+functions[_isi_network_external_view] )) ||
_isi_network_external_view() {
}
(( $+functions[_isi_network_groupnets] )) ||
_isi_network_groupnets() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-network-groupnets-create:"
      _isi_network_groupnets_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-network-groupnets-delete:"
      _isi_network_groupnets_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-network-groupnets-list:"
      _isi_network_groupnets_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-network-groupnets-modify:"
      _isi_network_groupnets_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-network-groupnets-view:"
      _isi_network_groupnets_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_groupnets_create] )) ||
_isi_network_groupnets_create() {
_arguments \
--server-side-dns-search'=[Enable or disable appending node DNS search lists to client DNS inquiries directed at SmartConnect service IPs. Defaults to True.]:BoolValueType:(true false)' \
--dns-cache-enabled'=[DNS caching is enabled or disabled. Defaults to True.]:BoolValueType:(true false)' \
--description'=[A descriptive comment about the groupnet. It can be no more than 128 bytes.]' \
--dns-options'=[A list of DNS resolver options. Currently the only valid option is rotate.]' \
--dns-servers'=[A list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]' \
--dns-search'=[A list of DNS search suffixes. The maximum number of DNS search domains is limited to 6.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_7' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_7' \
}
(( $+functions[_isi_network_groupnets_delete] )) ||
_isi_network_groupnets_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_7' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_7' \
}
(( $+functions[_isi_network_groupnets_list] )) ||
_isi_network_groupnets_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display network groupnets in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of network groupnets to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(description dns_cache_enabled id name server_side_dns_search)' \
}
(( $+functions[_isi_network_groupnets_modify] )) ||
_isi_network_groupnets_modify() {
_arguments \
--revert-server-side-dns-search'[Set value to system default for --server-side-dns-search.]' \
--revert-dns-cache-enabled'[Set value to system default for --dns-cache-enabled.]' \
--server-side-dns-search'=[Enable or disable appending node DNS search lists to client DNS inquiries directed at SmartConnect service IPs. Defaults to True.]:BoolValueType:(true false)' \
--remove-dns-options'=[Remove a list of DNS resolver options. Currently the only valid option is rotate.]' \
--remove-dns-servers'=[Remove a list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]' \
--clear-description'[Clear value for a descriptive comment about the groupnet. It can be no more than 128 bytes.]' \
--clear-dns-options'[Clear value for a list of DNS resolver options. Currently the only valid option is rotate.]' \
--clear-dns-servers'[Clear value for a list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]' \
--dns-cache-enabled'=[DNS caching is enabled or disabled. Defaults to True.]:BoolValueType:(true false)' \
--remove-dns-search'=[Remove a list of DNS search suffixes. The maximum number of DNS search domains is limited to 6.]' \
--clear-dns-search'[Clear value for a list of DNS search suffixes. The maximum number of DNS search domains is limited to 6.]' \
--add-dns-options'=[Add a list of DNS resolver options. Currently the only valid option is rotate.]' \
--add-dns-servers'=[Add a list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]' \
--add-dns-search'=[Add a list of DNS search suffixes. The maximum number of DNS search domains is limited to 6.]' \
--description'=[A descriptive comment about the groupnet. It can be no more than 128 bytes.]' \
--dns-options'=[A list of DNS resolver options. Currently the only valid option is rotate.]' \
--dns-servers'=[A list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]' \
--dns-search'=[A list of DNS search suffixes. The maximum number of DNS search domains is limited to 6.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name of the groupnet.]:cmdline_Option_name:_cmdline_Option_shell_name_8' \
--id'=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_7' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_7' \
}
(( $+functions[_isi_network_groupnets_view] )) ||
_isi_network_groupnets_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_7' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_7' \
}
(( $+functions[_isi_network_interfaces] )) ||
_isi_network_interfaces() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-network-interfaces-list:"
      _isi_network_interfaces_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_interfaces_list] )) ||
_isi_network_interfaces_list() {
_arguments \
--show-inactive'[Show inactive interfaces suppressed by default]' \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display network interfaces in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of network interfaces to display.]' \
{-n,--nodes}'=[Only list interfaces from the specified nodes.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(lnn name status)' \
}
(( $+functions[_isi_network_pools] )) ||
_isi_network_pools() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list modify rebalance-ips sc-suspend-nodes sc-resume-nodes view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-create:"
      _isi_network_pools_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-delete:"
      _isi_network_pools_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-list:"
      _isi_network_pools_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-modify:"
      _isi_network_pools_modify
    elif [[ $cmd == rebalance-ips ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-rebalance-ips:"
      _isi_network_pools_rebalance-ips
    elif [[ $cmd == sc-suspend-nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-sc-suspend-nodes:"
      _isi_network_pools_sc-suspend-nodes
    elif [[ $cmd == sc-resume-nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-sc-resume-nodes:"
      _isi_network_pools_sc-resume-nodes
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-network-pools-view:"
      _isi_network_pools_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_pools_create] )) ||
_isi_network_pools_create() {
_arguments \
--sc-auto-unsuspend-delay'=[Time delay in seconds after a node has been rebooted before  a node becomes usable in SmartConnect rebalances and responses.  Defaults to 0.]' \
--sc-dns-zone-aliases'=[List of alternate SmartConnect DNS zone names for the pool.]' \
--sc-failover-policy'=[SmartConnect IP failover policy.]:EnumValidator:(round_robin conn_count throughput cpu_usage)' \
--sc-connect-policy'=[SmartConnect client connection balancing policy.]:EnumValidator:(round_robin conn_count throughput cpu_usage)' \
--aggregation-mode'=[Type of NIC aggregation.  Supported types are roundrobin, failover, lacp and fec.]:EnumValidator:(roundrobin failover lacp fec)' \
--rebalance-policy'=[Rebalance after failback policy. Can be manual or auto. Defaults to auto.]:EnumValidator:(manual auto)' \
--static-routes'=[List of static routes to pool.]' \
--alloc-method'=[Pool allocation method: static or dynamic.]:EnumValidator:(dynamic static)' \
--access-zone'=[Name of access zone associated with IP pool.]' \
--description'=[A descriptive comment about the pool. It can be no more than 128 bytes.]' \
--sc-dns-zone'=[SmartConnect DNS zone name for the pool.]' \
--sc-subnet'=[Name of SmartConnect subnet that will handle DNS queries for this pool.]' \
{-v,--verbose}'[Display more detailed information.]' \
--ifaces'=[A list of node interface members in this pool.]' \
--ranges'=[A list of IP address ranges in the pool.]' \
--sc-ttl'=[Time to live value for SmartConnect DNS query responses in seconds. Maximum value is limited to 2147483647. Default to 0.]' \
{-f,--force}'[Ignore conflicts.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[A <pool_id> for the new pool. The groupnet and subnet the pool is under must exist.]:cmdline_Option_id:_cmdline_Option_shell_id_8' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_8' \
}
(( $+functions[_isi_network_pools_delete] )) ||
_isi_network_pools_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[The <pool_id> of the pool to delete.]:cmdline_Option_id:_cmdline_Option_shell_id_8' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_8' \
}
(( $+functions[_isi_network_pools_list] )) ||
_isi_network_pools_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
--subnet-id'=[The <subnet_id> of the subnet to list pools in.]' \
{-g,--groupnet}'=[Only list pools under the specified groupnet.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display network pools in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-s,--subnet}'=[Only list pools under the specified subnet.]' \
{-l,--limit}'=[Number of network pools to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(aggregation_mode alloc_method description id name rebalance_policy sc_auto_unsuspend_delay sc_connect_policy sc_dns_zone sc_failover_policy sc_subnet sc_ttl)' \
}
(( $+functions[_isi_network_pools_modify] )) ||
_isi_network_pools_modify() {
_arguments \
--revert-sc-auto-unsuspend-delay'[Set value to system default for --sc-auto-unsuspend-delay.]' \
--remove-sc-dns-zone-aliases'=[Remove list of alternate SmartConnect DNS zone names for the pool.]' \
--clear-sc-dns-zone-aliases'[Clear value for list of alternate SmartConnect DNS zone names for the pool.]' \
--revert-sc-failover-policy'[Set value to system default for --sc-failover-policy.]' \
--revert-sc-connect-policy'[Set value to system default for --sc-connect-policy.]' \
--add-sc-dns-zone-aliases'=[Add list of alternate SmartConnect DNS zone names for the pool.]' \
--revert-aggregation-mode'[Set value to system default for --aggregation-mode.]' \
--revert-rebalance-policy'[Set value to system default for --rebalance-policy.]' \
--sc-auto-unsuspend-delay'=[Time delay in seconds after a node has been rebooted before  a node becomes usable in SmartConnect rebalances and responses.  Defaults to 0.]' \
--remove-static-routes'=[Remove list of static routes to pool.]' \
--clear-static-routes'[Clear value for list of static routes to pool.]' \
--revert-alloc-method'[Set value to system default for --alloc-method.]' \
--sc-dns-zone-aliases'=[List of alternate SmartConnect DNS zone names for the pool.]' \
--revert-access-zone'[Set value to system default for --access-zone.]' \
--sc-failover-policy'=[SmartConnect IP failover policy.]:EnumValidator:(round_robin conn_count throughput cpu_usage)' \
--add-static-routes'=[Add list of static routes to pool.]' \
--clear-description'[Clear value for a descriptive comment about the pool. It can be no more than 128 bytes.]' \
--sc-connect-policy'=[SmartConnect client connection balancing policy.]:EnumValidator:(round_robin conn_count throughput cpu_usage)' \
--aggregation-mode'=[Type of NIC aggregation.  Supported types are roundrobin, failover, lacp and fec.]:EnumValidator:(roundrobin failover lacp fec)' \
--rebalance-policy'=[Rebalance after failback policy. Can be manual or auto. Defaults to auto.]:EnumValidator:(manual auto)' \
--remove-ifaces'=[Remove a list of node interface members in this pool.]' \
--remove-ranges'=[Remove a list of IP address ranges in the pool.]' \
--revert-sc-ttl'[Set value to system default for --sc-ttl.]' \
--static-routes'=[List of static routes to pool.]' \
--alloc-method'=[Pool allocation method: static or dynamic.]:EnumValidator:(dynamic static)' \
--clear-ifaces'[Clear value for a list of node interface members in this pool.]' \
--clear-ranges'[Clear value for a list of IP address ranges in the pool.]' \
--access-zone'=[Name of access zone associated with IP pool.]' \
--description'=[A descriptive comment about the pool. It can be no more than 128 bytes.]' \
--sc-dns-zone'=[SmartConnect DNS zone name for the pool.]' \
--add-ifaces'=[Add a list of node interface members in this pool.]' \
--add-ranges'=[Add a list of IP address ranges in the pool.]' \
--sc-subnet'=[Name of SmartConnect subnet that will handle DNS queries for this pool.]' \
{-v,--verbose}'[Display more detailed information.]' \
--ifaces'=[A list of node interface members in this pool.]' \
--ranges'=[A list of IP address ranges in the pool.]' \
--sc-ttl'=[Time to live value for SmartConnect DNS query responses in seconds. Maximum value is limited to 2147483647. Default to 0.]' \
{-f,--force}'[Ignore conflicts.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name of the pool.]:cmdline_Option_name:_cmdline_Option_shell_name_9' \
--id'=[The <pool_id> of the pool to modify.]:cmdline_Option_id:_cmdline_Option_shell_id_9' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_9' \
}
(( $+functions[_isi_network_pools_rebalance-ips] )) ||
_isi_network_pools_rebalance-ips() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[The <pool_id> of the pool to rebalance.]:cmdline_Option_id:_cmdline_Option_shell_id_8' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_8' \
}
(( $+functions[_isi_network_pools_sc-suspend-nodes] )) ||
_isi_network_pools_sc-suspend-nodes() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
{-l,--lnn}'=[A Logical Node Number representing a node in the cluster.]' \
--id'=[A <pool_id> for the new pool. The groupnet and subnet the pool is under must exist.]:cmdline_Option_id:_cmdline_Option_shell_id_8' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_8' \
}
(( $+functions[_isi_network_pools_sc-resume-nodes] )) ||
_isi_network_pools_sc-resume-nodes() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
{-l,--lnn}'=[A Logical Node Number representing a node in the cluster.]' \
--id'=[A <pool_id> for the new pool. The groupnet and subnet the pool is under must exist.]:cmdline_Option_id:_cmdline_Option_shell_id_8' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_8' \
}
(( $+functions[_isi_network_pools_view] )) ||
_isi_network_pools_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[The <pool_id> of the pool to view.]:cmdline_Option_id:_cmdline_Option_shell_id_8' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_8' \
}
(( $+functions[_isi_network_rules] )) ||
_isi_network_rules() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-network-rules-create:"
      _isi_network_rules_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-network-rules-delete:"
      _isi_network_rules_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-network-rules-list:"
      _isi_network_rules_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-network-rules-modify:"
      _isi_network_rules_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-network-rules-view:"
      _isi_network_rules_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_rules_create] )) ||
_isi_network_rules_create() {
_arguments \
--description'=[Description for the provisioning rule. It can be no more than 128 bytes.]' \
--node-type'=[Node types to which the provisioning rule applies. Supported values are any, storage, accelerator, backup-accelerator]' \
{-v,--verbose}'[Display more detailed information.]' \
--iface'=[The <node_interface> the provisioning rule applies to.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[The <rule_id> of the rule to create.]:cmdline_Option_id:_cmdline_Option_shell_id_10' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_10' \
}
(( $+functions[_isi_network_rules_delete] )) ||
_isi_network_rules_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[The <rule_id> of the rule to delete.]:cmdline_Option_id:_cmdline_Option_shell_id_10' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_10' \
}
(( $+functions[_isi_network_rules_list] )) ||
_isi_network_rules_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-g,--groupnet}'=[Only list rules under the specified groupnet.]' \
--pool-id'=[The <pool_id> of the pool to list rules in.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display network rules in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-s,--subnet}'=[Only list rules under the specified subnet.]' \
{-l,--limit}'=[Number of network rules to display.]' \
{-h,--help}'[Display help for this command.]' \
{-p,--pool}'=[Only list rules under the specified pools.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id description iface node_type name)' \
}
(( $+functions[_isi_network_rules_modify] )) ||
_isi_network_rules_modify() {
_arguments \
--clear-description'[Clear value for description for the provisioning rule. It can be no more than 128 bytes.]' \
--revert-node-type'[Set value to system default for --node-type.]' \
--description'=[Description for the provisioning rule. It can be no more than 128 bytes.]' \
--node-type'=[Node types to which the provisioning rule applies. Supported values are any, storage, accelerator, backup-accelerator]' \
{-v,--verbose}'[Display more detailed information.]' \
--iface'=[The <node_interface> the provisioning rule applies to.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name of the rule.]:cmdline_Option_name:_cmdline_Option_shell_name_10' \
--id'=[The <rule_id> of the rule to modify.]:cmdline_Option_id:_cmdline_Option_shell_id_10' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_10' \
}
(( $+functions[_isi_network_rules_view] )) ||
_isi_network_rules_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[The <rule_id> of the rule to view.]:cmdline_Option_id:_cmdline_Option_shell_id_10' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_10' \
}
(( $+functions[_isi_network_subnets] )) ||
_isi_network_subnets() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-network-subnets-create:"
      _isi_network_subnets_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-network-subnets-delete:"
      _isi_network_subnets_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-network-subnets-list:"
      _isi_network_subnets_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-network-subnets-modify:"
      _isi_network_subnets_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-network-subnets-view:"
      _isi_network_subnets_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_network_subnets_create] )) ||
_isi_network_subnets_create() {
_arguments \
--gateway-priority'=[Priority of subnet gateway, where lowest number is highest priority.]' \
--sc-service-addr'=[An IP address in subnet which will receive incoming DNS requests.]' \
--sc-service-name'=[Domain name corresponding to the SmartConnect service address]' \
--vlan-enabled'=[Enable VLAN tagging.]:BoolValueType:(true false)' \
--addr-family'=[IP address format used by subnet, IPv4 or IPv6.]' \
--description'=[A descriptive comment about the subnet. It can be no more than 128 bytes.]' \
--prefixlen'=[The prefix size for this subnet.]' \
--dsr-addrs'=[A list of IP addresses that use Direct Server Return DSR.]' \
--gateway'=[The IP address of the subnet gateway.]' \
{-v,--verbose}'[Display more detailed information.]' \
--vlan-id'=[VLAN id of subnet.]' \
{-h,--help}'[Display help for this command.]' \
--mtu'=[Size of the Maximum Transmission Units the cluster uses in network communication.]' \
--id'=[A <subnet_id> for the new subnet.]:cmdline_Option_id:_cmdline_Option_shell_id_11' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_11' \
}
(( $+functions[_isi_network_subnets_delete] )) ||
_isi_network_subnets_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[The <subnet_id> of the subnet to view. If the subnet ID is not in the default groupnet, the groupnet must exist.]:cmdline_Option_id:_cmdline_Option_shell_id_11' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_11' \
}
(( $+functions[_isi_network_subnets_list] )) ||
_isi_network_subnets_list() {
_arguments \
--groupnet-id'=[The <groupnet_id> of the groupnet in which to list subnets.]' \
{-d,--descending}'[Sort data in descending order.]' \
{-g,--groupnet}'=[Only list subnets under the specified groupnet.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display network subnets in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of network subnets to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name addr_family base_addr description gateway gateway_priority mtu prefixlen sc_service_addr sc_service_name vlan_enabled vlan_id)' \
}
(( $+functions[_isi_network_subnets_modify] )) ||
_isi_network_subnets_modify() {
_arguments \
--revert-vlan-enabled'[Set value to system default for --vlan-enabled.]' \
--clear-description'[Clear value for a descriptive comment about the subnet. It can be no more than 128 bytes.]' \
--gateway-priority'=[Priority of subnet gateway, where lowest number is highest priority.]' \
--remove-dsr-addrs'=[Remove a list of IP addresses that use Direct Server Return DSR.]' \
--revert-dsr-addrs'[Set value to system default for --dsr-addrs.]' \
--clear-dsr-addrs'[Clear value for a list of IP addresses that use Direct Server Return DSR.]' \
--sc-service-addr'=[An IP address in subnet which will receive incoming DNS requests.]' \
--sc-service-name'=[Domain name corresponding to the SmartConnect service address]' \
--add-dsr-addrs'=[Add a list of IP addresses that use Direct Server Return DSR.]' \
--vlan-enabled'=[Enable VLAN tagging.]:BoolValueType:(true false)' \
--description'=[A descriptive comment about the subnet. It can be no more than 128 bytes.]' \
--revert-mtu'[Set value to system default for --mtu.]' \
--dsr-addrs'=[A list of IP addresses that use Direct Server Return DSR.]' \
--prefixlen'=[The prefix size for this subnet.]' \
--gateway'=[The IP address of the subnet gateway.]' \
{-v,--verbose}'[Display more detailed information.]' \
--vlan-id'=[VLAN id of subnet.]' \
{-f,--force}'[Ignore conflicts.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name of the subnet.]:cmdline_Option_name:_cmdline_Option_shell_name_11' \
--mtu'=[Size of the Maximum Transmission Units the cluster uses in network communication.]' \
--id'=[The <subnet_id> of the subnet to modify.]:cmdline_Option_id:_cmdline_Option_shell_id_12' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_12' \
}
(( $+functions[_isi_network_subnets_view] )) ||
_isi_network_subnets_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[The <subnet_id> of the subnet to view. If the subnet ID is not in the default groupnet, the groupnet must exist.]:cmdline_Option_id:_cmdline_Option_shell_id_11' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_11' \
}
(( $+functions[_isi_network_sc-rebalance-all] )) ||
_isi_network_sc-rebalance-all() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_quota] )) ||
_isi_quota() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ quotas reports settings notifications list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == quotas ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas:"
      _isi_quota_quotas
    elif [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-reports:"
      _isi_quota_reports
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings:"
      _isi_quota_settings
    elif [[ $cmd == notifications ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications:"
      _isi_quota_quotas_notifications
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-list:"
      _isi_quota_quotas_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-view:"
      _isi_quota_quotas_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-create:"
      _isi_quota_quotas_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-modify:"
      _isi_quota_quotas_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-delete:"
      _isi_quota_quotas_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_quotas] )) ||
_isi_quota_quotas() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ notifications list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == notifications ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications:"
      _isi_quota_quotas_notifications
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-list:"
      _isi_quota_quotas_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-view:"
      _isi_quota_quotas_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-create:"
      _isi_quota_quotas_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-modify:"
      _isi_quota_quotas_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-delete:"
      _isi_quota_quotas_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_quotas_notifications] )) ||
_isi_quota_quotas_notifications() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete clear disable}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications-list:"
      _isi_quota_quotas_notifications_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications-view:"
      _isi_quota_quotas_notifications_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications-create:"
      _isi_quota_quotas_notifications_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications-modify:"
      _isi_quota_quotas_notifications_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications-delete:"
      _isi_quota_quotas_notifications_delete
    elif [[ $cmd == clear ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications-clear:"
      _isi_quota_quotas_notifications_clear
    elif [[ $cmd == disable ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-quotas-notifications-disable:"
      _isi_quota_quotas_notifications_disable
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_quotas_notifications_list] )) ||
_isi_quota_quotas_notifications_list() {
_arguments \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display notification rules in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-l,--limit}'=[Number of notification rules to display.]' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
}
(( $+functions[_isi_quota_quotas_notifications_view] )) ||
_isi_quota_quotas_notifications_view() {
_arguments \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
'3:EnumValidator:(hard soft advisory)' \
'4:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_quotas_notifications_create] )) ||
_isi_quota_quotas_notifications_create() {
_arguments \
--action-email-address'=[Address of user to notify.]' \
--action-email-owner'=[Email user when threshold is crossed.]:BoolValueType:(true false)' \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--email-template'=[Path in /ifs to the email template.]' \
--action-alert'=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)' \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
--schedule'=[Date pattern at which recurring notifications are made.]' \
--holdoff'=[A length of time to holdoff before generating a notification.]' \
{-v,--verbose}'[Display more detailed information.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
'3:EnumValidator:(hard soft advisory)' \
'4:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_quotas_notifications_modify] )) ||
_isi_quota_quotas_notifications_modify() {
_arguments \
--action-email-address'=[Address of user to notify.]' \
--clear-email-template'[Clear value for path in /ifs to the email template.]' \
--action-email-owner'=[Email user when threshold is crossed.]:BoolValueType:(true false)' \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--email-template'=[Path in /ifs to the email template.]' \
--clear-holdoff'[Clear value for a length of time to holdoff before generating a notification.]' \
--action-alert'=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)' \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
--schedule'=[Date pattern at which recurring notifications are made.]' \
--holdoff'=[A length of time to holdoff before generating a notification.]' \
{-v,--verbose}'[Display more detailed information.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
'3:EnumValidator:(hard soft advisory)' \
'4:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_quotas_notifications_delete] )) ||
_isi_quota_quotas_notifications_delete() {
_arguments \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
'3:EnumValidator:(hard soft advisory)' \
'4:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_quotas_notifications_clear] )) ||
_isi_quota_quotas_notifications_clear() {
_arguments \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-f,--force}'[Do not ask confirmation.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
}
(( $+functions[_isi_quota_quotas_notifications_disable] )) ||
_isi_quota_quotas_notifications_disable() {
_arguments \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-f,--force}'[Do not ask confirmation.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
}
(( $+functions[_isi_quota_quotas_list] )) ||
_isi_quota_quotas_list() {
_arguments \
--recurse-path-children'[Search child paths for quotas.]' \
--recurse-path-parents'[Search parent paths for quotas.]' \
--include-snapshots'=[Search for quotas that include snapshot data usage.]:BoolValueType:(true false)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
--enforced'=[Search for quotas that have an enforced threshold.]:BoolValueType:(true false)' \
--exceeded'[Search only for quotas that have an exceeded threshold.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display quotas in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-l,--limit}'=[Number of quotas to display.]' \
{-h,--help}'[Display help for this command.]' \
--path'=[Display quotas set on the specified path.]:cmdline_Option_path:_files' \
--type'=[Display quotas of the specified type.]:EnumValidator:(directory user group default-user default-group)' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--zone'=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
}
(( $+functions[_isi_quota_quotas_view] )) ||
_isi_quota_quotas_view() {
_arguments \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--zone'=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
}
(( $+functions[_isi_quota_quotas_create] )) ||
_isi_quota_quotas_create() {
_arguments \
--thresholds-include-overhead'=[OneFS storage overhead counts towards usage.]:BoolValueType:(true false)' \
--advisory-threshold'=[Advisory threshold.]' \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--hard-threshold'=[Hard threshold.]' \
--soft-threshold'=[Soft threshold.]' \
--soft-grace'=[Soft threshold grace period.]' \
--container'=[Show hard threshold as the available space on the SMB share, instead of the whole cluster.]:BoolValueType:(true false)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
--enforced'=[Enforce this quota.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not fail when creating quota on root /ifs directory.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota. Must be within /ifs.]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--zone'=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
}
(( $+functions[_isi_quota_quotas_modify] )) ||
_isi_quota_quotas_modify() {
_arguments \
--thresholds-include-overhead'=[OneFS storage overhead counts towards usage.]:BoolValueType:(true false)' \
--clear-advisory-threshold'[Clear value for advisory threshold.]' \
--clear-hard-threshold'[Clear value for hard threshold.]' \
--clear-soft-threshold'[Clear value for soft threshold.]' \
--advisory-threshold'=[Advisory threshold.]' \
--include-snapshots'=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)' \
--hard-threshold'=[Hard threshold.]' \
--soft-threshold'=[Soft threshold.]' \
--soft-grace'=[Soft threshold grace period.]' \
--container'=[Show hard threshold as the available space on the SMB share, instead of the whole cluster.]:BoolValueType:(true false)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
--enforced'=[Enforce this quota.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--linked'=[Unlink an automatically created quota.]:BoolValueType:(true false)' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--path'=[Path of the quota. Must be within /ifs.]:cmdline_Option_path:_files' \
--type'=[Quota type.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
--zone'=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
--uid'=[A numeric user identifier.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
}
(( $+functions[_isi_quota_quotas_delete] )) ||
_isi_quota_quotas_delete() {
_arguments \
--recurse-path-children'[Search child paths for quotas.]' \
--recurse-path-parents'[Search parent paths for quotas.]' \
--include-snapshots'=[Delete quotas that include snapshot data usage.]:BoolValueType:(true false)' \
--wellknown'=[Delete quotas associated with the well-known persona.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--group'=[Delete quotas associated with the group identified by name.]:cmdline_Option_group:_groups' \
--path'=[Delete quotas set on the specified path. Argument must be specified with --type.]:cmdline_Option_path:_files' \
--type'=[Delete quotas of the specified type. Argument must be specified with --path.]:EnumValidator:(directory user group default-user default-group)' \
{-h,--help}'[Display help for this command.]' \
--user'=[Delete quotas associated with the user identified by name.]:cmdline_Option_user:_users' \
--zone'=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--all'[delete all quotas. Flag may not be specified with --type or --path.]' \
--gid'=[Delete quotas associated with the group identified by GID.]' \
--sid'=[Delete quotas associated with the persona identified by SID.]' \
--uid'=[Delete quotas associated with the user identified by UID.]' \
'1:cmdline_Option_path:_files' \
'2:EnumValidator:(directory user group default-user default-group)' \
}
(( $+functions[_isi_quota_reports] )) ||
_isi_quota_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-reports-list:"
      _isi_quota_reports_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-reports-create:"
      _isi_quota_reports_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-reports-delete:"
      _isi_quota_reports_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_reports_list] )) ||
_isi_quota_reports_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display quota reports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of quota reports to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_quota_reports_create] )) ||
_isi_quota_reports_create() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_quota_reports_delete] )) ||
_isi_quota_reports_delete() {
_arguments \
--generated'=[Report was created the given]:EnumValidator:(live scheduled manual)' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--time'=[Report timestamp.]' \
--type'=[Report type.]:EnumValidator:(summary detail)' \
{-h,--help}'[Display help for this command.]' \
'2:EnumValidator:(live scheduled manual)' \
'3:EnumValidator:(summary detail)' \
}
(( $+functions[_isi_quota_settings] )) ||
_isi_quota_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ notifications reports mappings}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == notifications ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-notifications:"
      _isi_quota_settings_notifications
    elif [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-reports:"
      _isi_quota_settings_reports
    elif [[ $cmd == mappings ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-mappings:"
      _isi_quota_settings_mappings
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_settings_notifications] )) ||
_isi_quota_settings_notifications() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete clear}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-notifications-list:"
      _isi_quota_settings_notifications_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-notifications-view:"
      _isi_quota_settings_notifications_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-notifications-create:"
      _isi_quota_settings_notifications_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-notifications-modify:"
      _isi_quota_settings_notifications_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-notifications-delete:"
      _isi_quota_settings_notifications_delete
    elif [[ $cmd == clear ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-notifications-clear:"
      _isi_quota_settings_notifications_clear
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_settings_notifications_list] )) ||
_isi_quota_settings_notifications_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display quota notifications settings in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of quota notifications settings to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_quota_settings_notifications_view] )) ||
_isi_quota_settings_notifications_view() {
_arguments \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(hard soft advisory)' \
'2:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_settings_notifications_create] )) ||
_isi_quota_settings_notifications_create() {
_arguments \
--action-email-address'=[Address of user to notify.]' \
--action-email-owner'=[Email user when threshold is crossed.]:BoolValueType:(true false)' \
--email-template'=[Path in /ifs to the email template.]' \
--action-alert'=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)' \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
--schedule'=[Date pattern at which recurring notifications are made.]' \
--holdoff'=[A length of time to holdoff before generating a notification.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(hard soft advisory)' \
'2:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_settings_notifications_modify] )) ||
_isi_quota_settings_notifications_modify() {
_arguments \
--action-email-address'=[Address of user to notify.]' \
--clear-email-template'[Clear value for path in /ifs to the email template.]' \
--action-email-owner'=[Email user when threshold is crossed.]:BoolValueType:(true false)' \
--email-template'=[Path in /ifs to the email template.]' \
--clear-holdoff'[Clear value for a length of time to holdoff before generating a notification.]' \
--action-alert'=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)' \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
--schedule'=[Date pattern at which recurring notifications are made.]' \
--holdoff'=[A length of time to holdoff before generating a notification.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(hard soft advisory)' \
'2:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_settings_notifications_delete] )) ||
_isi_quota_settings_notifications_delete() {
_arguments \
--threshold'=[Type of threshold.]:EnumValidator:(hard soft advisory)' \
--condition'=[Notification condition.]:EnumValidator:(exceeded denied violated expired)' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(hard soft advisory)' \
'2:EnumValidator:(exceeded denied violated expired)' \
}
(( $+functions[_isi_quota_settings_notifications_clear] )) ||
_isi_quota_settings_notifications_clear() {
_arguments \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_quota_settings_reports] )) ||
_isi_quota_settings_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-reports-view:"
      _isi_quota_settings_reports_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-reports-modify:"
      _isi_quota_settings_reports_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_settings_reports_view] )) ||
_isi_quota_settings_reports_view() {
}
(( $+functions[_isi_quota_settings_reports_modify] )) ||
_isi_quota_settings_reports_modify() {
_arguments \
--revert-scheduled-retain'[Set value to system default for --scheduled-retain.]' \
--revert-scheduled-dir'[Set value to system default for --scheduled-dir.]' \
--revert-live-retain'[Set value to system default for --live-retain.]' \
--scheduled-retain'=[Maximum number of scheduled reports to keep.]' \
--revert-live-dir'[Set value to system default for --live-dir.]' \
--revert-schedule'[Set value to system default for --schedule.]' \
--scheduled-dir'=[Location where scheduled quota reports are stored.]' \
--live-retain'=[Maximum number of live quota reports to keep.]' \
--live-dir'=[Location where live quota reports are stored.]' \
--schedule'=[Frequency at which quota reports are generated.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_quota_settings_mappings] )) ||
_isi_quota_settings_mappings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-mappings-list:"
      _isi_quota_settings_mappings_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-mappings-view:"
      _isi_quota_settings_mappings_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-mappings-create:"
      _isi_quota_settings_mappings_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-mappings-modify:"
      _isi_quota_settings_mappings_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-quota-settings-mappings-delete:"
      _isi_quota_settings_mappings_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_quota_settings_mappings_list] )) ||
_isi_quota_settings_mappings_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display quota mappings settings in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of quota mappings settings to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_quota_settings_mappings_view] )) ||
_isi_quota_settings_mappings_view() {
_arguments \
{-d,--domain}'=[FQDN of the source domain to map.]' \
{-t,--type}'=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(ad local nis ldap)' \
}
(( $+functions[_isi_quota_settings_mappings_create] )) ||
_isi_quota_settings_mappings_create() {
_arguments \
{-m,--mapping}'=[FQDN of the destination domain to map to.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-d,--domain}'=[FQDN of the source domain to map.]' \
{-t,--type}'=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(ad local nis ldap)' \
}
(( $+functions[_isi_quota_settings_mappings_modify] )) ||
_isi_quota_settings_mappings_modify() {
_arguments \
{-m,--mapping}'=[FQDN of the destination domain to map to.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-d,--domain}'=[FQDN of the source domain to map.]' \
{-t,--type}'=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(ad local nis ldap)' \
}
(( $+functions[_isi_quota_settings_mappings_delete] )) ||
_isi_quota_settings_mappings_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-d,--domain}'=[FQDN of the source domain to map.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-t,--type}'=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)' \
{-h,--help}'[Display help for this command.]' \
--all'[Delete all mapping rules.]' \
'1:EnumValidator:(ad local nis ldap)' \
}
(( $+functions[_isi_remotesupport] )) ||
_isi_remotesupport() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ connectemc}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == connectemc ]]; then
      curcontext="${curcontext%:*:*}:isi-remotesupport-connectemc:"
      _isi_remotesupport_connectemc
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_remotesupport_connectemc] )) ||
_isi_remotesupport_connectemc() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-remotesupport-connectemc-modify:"
      _isi_remotesupport_connectemc_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-remotesupport-connectemc-view:"
      _isi_remotesupport_connectemc_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_remotesupport_connectemc_modify] )) ||
_isi_remotesupport_connectemc_modify() {
_arguments \
--remove-gateway-access-pools'=[Remove list of network pools that are able to connect to the ESRS gateway.]' \
--clear-gateway-access-pools'[Clear value for list of network pools that are able to connect to the ESRS gateway.]' \
--email-customer-on-failure'=[Email the customer if all transmission methods fail.]:BoolValueType:(true false)' \
--add-gateway-access-pools'=[Add list of network pools that are able to connect to the ESRS gateway.]' \
--secondary-esrs-gateway'=[Secondary ESRS Gateway.]' \
--gateway-access-pools'=[List of network pools that are able to connect to the ESRS gateway.]' \
--primary-esrs-gateway'=[Primary ESRS Gateway.]' \
--use-smtp-failover'=[Use SMTP on ESRS transmission failure.]:BoolValueType:(true false)' \
--enabled'=[Enable ConnectEMC.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_remotesupport_connectemc_view] )) ||
_isi_remotesupport_connectemc_view() {
}
(( $+functions[_isi_readonly] )) ||
_isi_readonly() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view list modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-readonly-view:"
      _isi_readonly_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-readonly-list:"
      _isi_readonly_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-readonly-modify:"
      _isi_readonly_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_readonly_view] )) ||
_isi_readonly_view() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_readonly_list] )) ||
_isi_readonly_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display readonlys in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_readonly_modify] )) ||
_isi_readonly_modify() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. May be "all". If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_1' \
--allowed'=[The current read-only mode allowed status for a node.]:BoolValueType:(true false)' \
--enabled'=[The current read-only user mode status for a node. NOTE: If read-only mode is currently disallowed for a node, it will remain read/write until read-only mode is allowed again. This value only sets or clears any user-specified requests for read-only mode. If a node has been placed into read-only mode by the system, it will remain in read-only mode until the system conditions which triggered read-only mode have cleared.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_servicelight] )) ||
_isi_servicelight() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view list modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-servicelight-view:"
      _isi_servicelight_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-servicelight-list:"
      _isi_servicelight_list
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-servicelight-modify:"
      _isi_servicelight_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_servicelight_view] )) ||
_isi_servicelight_view() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_servicelight_list] )) ||
_isi_servicelight_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display servicelights in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_servicelight_modify] )) ||
_isi_servicelight_modify() {
_arguments \
--node-lnn'=[Specifies which node LNN to use. If omitted, the local node will be used.]:cmdline_Option_node_lnn:_cmdline_Option_shell_node_lnn_0' \
--enabled'=[Enable a nodes service LED.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb] )) ||
_isi_smb() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ shares settings openfiles sessions log-level}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == shares ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares:"
      _isi_smb_shares
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings:"
      _isi_smb_settings
    elif [[ $cmd == openfiles ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-openfiles:"
      _isi_smb_openfiles
    elif [[ $cmd == sessions ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-sessions:"
      _isi_smb_sessions
    elif [[ $cmd == log-level ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level:"
      _isi_smb_log-level
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_shares] )) ||
_isi_smb_shares() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ permission list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == permission ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-permission:"
      _isi_smb_shares_permission
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-list:"
      _isi_smb_shares_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-view:"
      _isi_smb_shares_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-create:"
      _isi_smb_shares_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-modify:"
      _isi_smb_shares_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-delete:"
      _isi_smb_shares_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_shares_permission] )) ||
_isi_smb_shares_permission() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create modify view delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-permission-list:"
      _isi_smb_shares_permission_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-permission-create:"
      _isi_smb_shares_permission_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-permission-modify:"
      _isi_smb_shares_permission_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-permission-view:"
      _isi_smb_shares_permission_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-shares-permission-delete:"
      _isi_smb_shares_permission_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_shares_permission_list] )) ||
_isi_smb_shares_permission_list() {
_arguments \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display smb shares permissions in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
}
(( $+functions[_isi_smb_shares_permission_create] )) ||
_isi_smb_shares_permission_create() {
_arguments \
{-d,--permission-type}'=[Allow or deny access.]:EnumValidator:(allow deny)' \
--run-as-root'[Allow account to run as root.]' \
{-p,--permission}'=[Permission level.]:EnumValidator:(full change read)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-v,--verbose}'[Display more detailed information.]' \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--uid'=[A numeric user identifier.]' \
--gid'=[A numeric group identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
'2:cmdline_Option_user:_users' \
}
(( $+functions[_isi_smb_shares_permission_modify] )) ||
_isi_smb_shares_permission_modify() {
_arguments \
{-d,--permission-type}'=[Allow or deny access.]:EnumValidator:(allow deny)' \
--run-as-root'[Allow account to run as root.]' \
{-p,--permission}'=[Permission level.]:EnumValidator:(full change read)' \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-v,--verbose}'[Display more detailed information.]' \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
'2:cmdline_Option_user:_users' \
}
(( $+functions[_isi_smb_shares_permission_view] )) ||
_isi_smb_shares_permission_view() {
_arguments \
--wellknown'=[A well-known user, group, machine or account name.]' \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
'2:cmdline_Option_user:_users' \
}
(( $+functions[_isi_smb_shares_permission_delete] )) ||
_isi_smb_shares_permission_delete() {
_arguments \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-v,--verbose}'[Display more detailed information.]' \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-f,--force}'[Do not ask confirmation.]' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--gid'=[A numeric group identifier.]' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
'2:cmdline_Option_user:_users' \
}
(( $+functions[_isi_smb_shares_list] )) ||
_isi_smb_shares_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display smb shares in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of smb shares to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name path description)' \
}
(( $+functions[_isi_smb_shares_view] )) ||
_isi_smb_shares_view() {
_arguments \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
}
(( $+functions[_isi_smb_shares_create] )) ||
_isi_smb_shares_create() {
_arguments \
--access-based-enumeration-root-only'=[Access-based enumeration on only the root directory of the share.]:BoolValueType:(true false)' \
--access-based-enumeration'=[Only enumerate files and folders the requesting user has access to.]:BoolValueType:(true false)' \
{-a,--allow-variable-expansion}'=[Allow automatic expansion of variables for home directories.]:BoolValueType:(true false)' \
--smb3-encryption-enabled'=[Enables SMB3 encryption on the share.]:BoolValueType:(true false)' \
--continuously-available'=[Support persistent opens on the share.]:BoolValueType:(true false)' \
--file-filter-extensions'=[Specifies the list of file extensions.]' \
--file-filtering-enabled'=[Enables file filtering on this share.]:BoolValueType:(true false)' \
--allow-delete-readonly'=[Allow deletion of read-only files in the share.]:BoolValueType:(true false)' \
{-d,--auto-create-directory}'=[Automatically create home directories.]:BoolValueType:(true false)' \
--directory-create-mask'=[Directory create mask bits.]' \
--directory-create-mode'=[Directory create mode bits.]' \
--allow-execute-always'=[Allows users to execute files they have read rights for.]:BoolValueType:(true false)' \
{-i,--inheritable-path-acl}'=[Set the inheritable ACL on the share path.]:BoolValueType:(true false)' \
--ca-write-integrity'=[Specify the level of write-integrity on continuously available shares.]:EnumValidator:(none write-read-coherent full)' \
--create-permissions'=[Set the create permissions for new files and directories in share.]:EnumValidator:(default acl inherit mode bits use create mask and mode)' \
--impersonate-guest'=[Specify the condition in which user access is done as the guest account.]:EnumValidator:(always bad user never)' \
--mangle-byte-start'=[Specifies the wchar_t starting point for automatic byte mangling.]' \
--strict-ca-lockout'=[Support strict lockout of persistent opens.]:BoolValueType:(true false)' \
--file-create-mask'=[File create mask bits.]' \
--file-create-mode'=[File create mode bits.]' \
--file-filter-type'=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)' \
--impersonate-user'=[User account to be used as guest account.]' \
--ntfs-acl-support'=[Support NTFS ACLs on files and directories.]:BoolValueType:(true false)' \
--hide-dot-files'=[Hide files and directories that begin with a period .]:BoolValueType:(true false)' \
--strict-locking'=[Specifies whether byte range locks contend against SMB I/O.]:BoolValueType:(true false)' \
--change-notify'=[Specify level of change notification alerts on the share.]:EnumValidator:(all norecurse none)' \
--strict-flush'=[Handle SMB flush operations.]:BoolValueType:(true false)' \
--create-path'[Create SMB share path if it doesnt already exist.]' \
--description'=[Description for this smb share.]' \
--ca-timeout'=[Persistent open timeout for the share.]' \
{-C,--csc-policy}'=[Client-side caching policy for the shares.]:EnumValidator:(manual documents programs none)' \
--mangle-map'=[Replaces the character mangle map settings.]' \
{-b,--browsable}'=[Share is visible in net view and the browse list.]:BoolValueType:(true false)' \
--host-acl'=[An ACL expressing which hosts are allowed access.]' \
--oplocks'=[Support oplocks.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the smb share.]' \
--path'=[Path of the smb share. Must be within /ifs.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'2:cmdline_Option_path:_files' \
}
(( $+functions[_isi_smb_shares_modify] )) ||
_isi_smb_shares_modify() {
_arguments \
--revert-access-based-enumeration-root-only'[Set value to system default for --access-based-enumeration-root-only.]' \
--access-based-enumeration-root-only'=[Access-based enumeration on only the root directory of the share.]:BoolValueType:(true false)' \
--revert-access-based-enumeration'[Set value to system default for --access-based-enumeration.]' \
--revert-allow-variable-expansion'[Set value to system default for --allow-variable-expansion.]' \
--revert-smb3-encryption-enabled'[Set value to system default for --smb3-encryption-enabled.]' \
--remove-file-filter-extensions'=[Remove items from list of file extensions]' \
--revert-file-filter-extensions'[Set value to system default for --file-filter-extensions.]' \
--revert-file-filtering-enabled'[Set value to system default for --file-filtering-enabled.]' \
--clear-file-filter-extensions'[Clear list of file extensions]' \
--revert-allow-delete-readonly'[Set value to system default for --allow-delete-readonly.]' \
--revert-auto-create-directory'[Set value to system default for --auto-create-directory.]' \
--revert-directory-create-mask'[Set value to system default for --directory-create-mask.]' \
--revert-directory-create-mode'[Set value to system default for --directory-create-mode.]' \
--revert-allow-execute-always'[Set value to system default for --allow-execute-always.]' \
--add-file-filter-extensions'=[Add items to list of file extensions]' \
--revert-ca-write-integrity'[Set value to system default for --ca-write-integrity.]' \
--revert-create-permissions'[Set value to system default for --create-permissions.]' \
--access-based-enumeration'=[Only enumerate files and folders the requesting user has access to.]:BoolValueType:(true false)' \
{-a,--allow-variable-expansion}'=[Allow automatic expansion of variables for home directories.]:BoolValueType:(true false)' \
--revert-impersonate-guest'[Set value to system default for --impersonate-guest.]' \
--revert-mangle-byte-start'[Set value to system default for --mangle-byte-start.]' \
--revert-strict-ca-lockout'[Set value to system default for --strict-ca-lockout.]' \
--revert-file-create-mask'[Set value to system default for --file-create-mask.]' \
--revert-file-create-mode'[Set value to system default for --file-create-mode.]' \
--revert-file-filter-type'[Set value to system default for --file-filter-type.]' \
--revert-impersonate-user'[Set value to system default for --impersonate-user.]' \
--revert-ntfs-acl-support'[Set value to system default for --ntfs-acl-support.]' \
--smb3-encryption-enabled'=[Enables SMB3 encryption on the share.]:BoolValueType:(true false)' \
--file-filter-extensions'=[Specifies the list of file extensions.]' \
--file-filtering-enabled'=[Enables file filtering on this share.]:BoolValueType:(true false)' \
--allow-delete-readonly'=[Allow deletion of read-only files in the share.]:BoolValueType:(true false)' \
{-d,--auto-create-directory}'=[Automatically create home directories.]:BoolValueType:(true false)' \
--directory-create-mask'=[Directory create mask bits.]' \
--directory-create-mode'=[Directory create mode bits.]' \
--revert-hide-dot-files'[Set value to system default for --hide-dot-files.]' \
--revert-strict-locking'[Set value to system default for --strict-locking.]' \
--allow-execute-always'=[Allows users to execute files they have read rights for.]:BoolValueType:(true false)' \
--revert-change-notify'[Set value to system default for --change-notify.]' \
--revert-strict-flush'[Set value to system default for --strict-flush.]' \
--ca-write-integrity'=[Specify the level of write-integrity on continuously available shares.]:EnumValidator:(none write-read-coherent full)' \
--create-permissions'=[Set the create permissions for new files and directories in share.]:EnumValidator:(default acl inherit mode bits use create mask and mode)' \
--impersonate-guest'=[Specify the condition in which user access is done as the guest account.]:EnumValidator:(always bad user never)' \
--mangle-byte-start'=[Specifies the wchar_t starting point for automatic byte mangling.]' \
--remove-mangle-map'=[Remove items from character mangle map.]' \
--revert-ca-timeout'[Set value to system default for --ca-timeout.]' \
--revert-csc-policy'[Set value to system default for --csc-policy.]' \
--revert-mangle-map'[Set value to system default for --mangle-map.]' \
--strict-ca-lockout'=[Support strict lockout of persistent opens.]:BoolValueType:(true false)' \
--clear-mangle-map'[Clear character mangle map.]' \
--file-create-mask'=[File create mask bits.]' \
--file-create-mode'=[File create mode bits.]' \
--file-filter-type'=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)' \
--impersonate-user'=[User account to be used as guest account.]' \
--ntfs-acl-support'=[Support NTFS ACLs on files and directories.]:BoolValueType:(true false)' \
--revert-browsable'[Set value to system default for --browsable.]' \
--remove-host-acl'=[Remove items from Host ACL list]' \
--revert-host-acl'[Set value to system default for --host-acl.]' \
--add-mangle-map'=[Add items to character mangle map.]' \
--clear-host-acl'[Clear Host ACL list]' \
--hide-dot-files'=[Hide files and directories that begin with a period .]:BoolValueType:(true false)' \
--revert-oplocks'[Set value to system default for --oplocks.]' \
--strict-locking'=[Specifies whether byte range locks contend against SMB I/O.]:BoolValueType:(true false)' \
--change-notify'=[Specify level of change notification alerts on the share.]:EnumValidator:(all norecurse none)' \
--add-host-acl'=[Add items to Host ACL list]' \
--strict-flush'=[Handle SMB flush operations.]:BoolValueType:(true false)' \
--description'=[Description for this smb share.]' \
--ca-timeout'=[Persistent open timeout for the share.]' \
{-C,--csc-policy}'=[Client-side caching policy for the shares.]:EnumValidator:(manual documents programs none)' \
--mangle-map'=[Replaces the character mangle map settings.]' \
{-b,--browsable}'=[Share is visible in net view and the browse list.]:BoolValueType:(true false)' \
--host-acl'=[An ACL expressing which hosts are allowed access.]' \
--new-zone'=[New access zone to which to move share.]' \
--oplocks'=[Support oplocks.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the smb share.]' \
--path'=[Path of the smb share. Must be within /ifs.]:cmdline_Option_path:_files' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
}
(( $+functions[_isi_smb_shares_delete] )) ||
_isi_smb_shares_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--share'=[An SMB share name.]:cmdline_Option_share:_cmdline_Option_shell_share_0' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'1:cmdline_Option_share:_cmdline_Option_shell_share_0' \
}
(( $+functions[_isi_smb_settings] )) ||
_isi_smb_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ global shares zone}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == global ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-global:"
      _isi_smb_settings_global
    elif [[ $cmd == shares ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-shares:"
      _isi_smb_settings_shares
    elif [[ $cmd == zone ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-zone:"
      _isi_smb_settings_zone
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_settings_global] )) ||
_isi_smb_settings_global() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-global-view:"
      _isi_smb_settings_global_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-global-modify:"
      _isi_smb_settings_global_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_settings_global_view] )) ||
_isi_smb_settings_global_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb_settings_global_modify] )) ||
_isi_smb_settings_global_modify() {
_arguments \
--revert-require-security-signatures'[Set value to system default for --require-security-signatures.]' \
--revert-enable-security-signatures'[Set value to system default for --enable-security-signatures.]' \
--revert-dot-snap-accessible-child'[Set value to system default for --dot-snap-accessible-child.]' \
--revert-reject-unencrypted-access'[Set value to system default for --reject-unencrypted-access.]' \
--revert-dot-snap-accessible-root'[Set value to system default for --dot-snap-accessible-root.]' \
--revert-access-based-share-enum'[Set value to system default for --access-based-share-enum.]' \
--revert-support-smb3-encryption'[Set value to system default for --support-smb3-encryption.]' \
--revert-dot-snap-visible-child'[Set value to system default for --dot-snap-visible-child.]' \
--revert-dot-snap-visible-root'[Set value to system default for --dot-snap-visible-root.]' \
--require-security-signatures'=[Indicates whether the server requires signed SMB packets.]:BoolValueType:(true false)' \
--revert-onefs-cpu-multiplier'[Set value to system default for --onefs-cpu-multiplier.]' \
--revert-support-multichannel'[Set value to system default for --support-multichannel.]' \
--enable-security-signatures'=[Indicates whether the server supports signed SMB packets.]:BoolValueType:(true false)' \
--dot-snap-accessible-child'=[Allow access to .snapshot directories in share subdirectories.]:BoolValueType:(true false)' \
--reject-unencrypted-access'=[Reject client sessions which are not encrypted]:BoolValueType:(true false)' \
--dot-snap-accessible-root'=[Allow access to the .snapshot directory in the root of the share.]:BoolValueType:(true false)' \
--revert-onefs-num-workers'[Set value to system default for --onefs-num-workers.]' \
--access-based-share-enum'=[Only enumerate shares to which the requesting user has access.]:BoolValueType:(true false)' \
--revert-server-side-copy'[Set value to system default for --server-side-copy.]' \
--support-smb3-encryption'=[Support the SMB3 encryption on the server.]:BoolValueType:(true false)' \
--dot-snap-visible-child'=[Show .snapshot directories in share subdirectories.]:BoolValueType:(true false)' \
--revert-support-netbios'[Set value to system default for --support-netbios.]' \
--dot-snap-visible-root'=[Show the .snapshot directory in the root of a share. ]:BoolValueType:(true false)' \
--onefs-cpu-multiplier'=[Specify the number of OneFS driver worker threads per CPU.]' \
--revert-server-string'[Set value to system default for --server-string.]' \
--support-multichannel'=[Support multichannel.]:BoolValueType:(true false)' \
--revert-support-smb2'[Set value to system default for --support-smb2.]' \
--onefs-num-workers'=[Set the maximum number of OneFS driver worker threads.]' \
--revert-guest-user'[Set value to system default for --guest-user.]' \
--revert-ignore-eas'[Set value to system default for --ignore-eas.]' \
--server-side-copy'=[Enable SMB Server Side Copy on the server.]:BoolValueType:(true false)' \
--support-netbios'=[Support NetBIOS.]:BoolValueType:(true false)' \
--server-string'=[Provides a description of the server.]' \
--support-smb2'=[Support the SMB2 protocol on the server.]:BoolValueType:(true false)' \
--guest-user'=[Specifies the fully-qualified user to use for guest access.]' \
--ignore-eas'=[Specify whether to ignore EAs on files.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb_settings_shares] )) ||
_isi_smb_settings_shares() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-shares-view:"
      _isi_smb_settings_shares_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-shares-modify:"
      _isi_smb_settings_shares_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_settings_shares_view] )) ||
_isi_smb_settings_shares_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_smb_settings_shares_modify] )) ||
_isi_smb_settings_shares_modify() {
_arguments \
--revert-access-based-enumeration-root-only'[Set value to system default for --access-based-enumeration-root-only.]' \
--access-based-enumeration-root-only'=[Access-based enumeration on only the root directory of the share.]:BoolValueType:(true false)' \
--revert-access-based-enumeration'[Set value to system default for --access-based-enumeration.]' \
--revert-smb3-encryption-enabled'[Set value to system default for --smb3-encryption-enabled.]' \
--remove-file-filter-extensions'=[Remove items from list of file extensions]' \
--revert-file-filter-extensions'[Set value to system default for --file-filter-extensions.]' \
--revert-file-filtering-enabled'[Set value to system default for --file-filtering-enabled.]' \
--clear-file-filter-extensions'[Clear list of file extensions]' \
--revert-allow-delete-readonly'[Set value to system default for --allow-delete-readonly.]' \
--revert-directory-create-mask'[Set value to system default for --directory-create-mask.]' \
--revert-directory-create-mode'[Set value to system default for --directory-create-mode.]' \
--revert-allow-execute-always'[Set value to system default for --allow-execute-always.]' \
--add-file-filter-extensions'=[Add items to list of file extensions]' \
--revert-ca-write-integrity'[Set value to system default for --ca-write-integrity.]' \
--revert-create-permissions'[Set value to system default for --create-permissions.]' \
--access-based-enumeration'=[Only enumerate files and folders to which the requesting user has access.]:BoolValueType:(true false)' \
--revert-impersonate-guest'[Set value to system default for --impersonate-guest.]' \
--revert-mangle-byte-start'[Set value to system default for --mangle-byte-start.]' \
--revert-strict-ca-lockout'[Set value to system default for --strict-ca-lockout.]' \
--revert-file-create-mask'[Set value to system default for --file-create-mask.]' \
--revert-file-create-mode'[Set value to system default for --file-create-mode.]' \
--revert-file-filter-type'[Set value to system default for --file-filter-type.]' \
--revert-impersonate-user'[Set value to system default for --impersonate-user.]' \
--revert-ntfs-acl-support'[Set value to system default for --ntfs-acl-support.]' \
--smb3-encryption-enabled'=[Enables SMB3 encryption on the share.]:BoolValueType:(true false)' \
--file-filter-extensions'=[Specifies the list of file extensions.]' \
--file-filtering-enabled'=[Enables file filtering on this share.]:BoolValueType:(true false)' \
--allow-delete-readonly'=[Allow deletion of read-only files in the share.]:BoolValueType:(true false)' \
--directory-create-mask'=[Directory create mask bits.]' \
--directory-create-mode'=[Directory create mode bits.]' \
--revert-hide-dot-files'[Set value to system default for --hide-dot-files.]' \
--revert-strict-locking'[Set value to system default for --strict-locking.]' \
--allow-execute-always'=[Allows users to execute files they have read rights for.]:BoolValueType:(true false)' \
--revert-change-notify'[Set value to system default for --change-notify.]' \
--revert-strict-flush'[Set value to system default for --strict-flush.]' \
--ca-write-integrity'=[Specify the level of write-integrity on continuously available shares.]:EnumValidator:(none write-read-coherent full)' \
--create-permissions'=[Set the create permissions for new files and directories in share.]:EnumValidator:(default acl inherit mode bits use create mask and mode)' \
--impersonate-guest'=[Specify the condition in which user access is done as the guest account.]:EnumValidator:(always bad user never)' \
--mangle-byte-start'=[Specifies the wchar_t starting point for automatic byte mangling.]' \
--remove-mangle-map'=[Remove items from character mangle map.]' \
--revert-ca-timeout'[Set value to system default for --ca-timeout.]' \
--revert-mangle-map'[Set value to system default for --mangle-map.]' \
--strict-ca-lockout'=[Support strict lockout of persistent opens.]:BoolValueType:(true false)' \
--clear-mangle-map'[Clear character mangle map.]' \
--file-create-mask'=[File create mask bits.]' \
--file-create-mode'=[File create mode bits.]' \
--file-filter-type'=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)' \
--impersonate-user'=[User account to be used as guest account.]' \
--ntfs-acl-support'=[Support NTFS ACLs on files and directories.]:BoolValueType:(true false)' \
--remove-host-acl'=[Remove items from Host ACL list]' \
--revert-host-acl'[Set value to system default for --host-acl.]' \
--add-mangle-map'=[Add items to character mangle map.]' \
--clear-host-acl'[Clear Host ACL list]' \
--hide-dot-files'=[Hide files and directories that begin with a period .]:BoolValueType:(true false)' \
--revert-oplocks'[Set value to system default for --oplocks.]' \
--strict-locking'=[Specifies whether byte range locks contend against SMB I/O.]:BoolValueType:(true false)' \
--change-notify'=[Specify level of change notification alerts on the share.]:EnumValidator:(all norecurse none)' \
--add-host-acl'=[Add items to Host ACL list]' \
--strict-flush'=[Handle SMB flush operations.]:BoolValueType:(true false)' \
--ca-timeout'=[Persistent open timeout for the share.]' \
--mangle-map'=[Replaces the character mangle map settings.]' \
--host-acl'=[An ACL expressing which hosts are allowed access.]' \
--oplocks'=[Allow oplock requests.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_smb_settings_zone] )) ||
_isi_smb_settings_zone() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-zone-view:"
      _isi_smb_settings_zone_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-settings-zone-modify:"
      _isi_smb_settings_zone_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_settings_zone_view] )) ||
_isi_smb_settings_zone_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_smb_settings_zone_modify] )) ||
_isi_smb_settings_zone_modify() {
_arguments \
--revert-require-security-signatures'[Set value to system default for --require-security-signatures.]' \
--revert-enable-security-signatures'[Set value to system default for --enable-security-signatures.]' \
--revert-reject-unencrypted-access'[Set value to system default for --reject-unencrypted-access.]' \
--revert-access-based-share-enum'[Set value to system default for --access-based-share-enum.]' \
--revert-support-smb3-encryption'[Set value to system default for --support-smb3-encryption.]' \
--require-security-signatures'=[Indicates whether the server requires signed SMB packets.]:BoolValueType:(true false)' \
--revert-support-multichannel'[Set value to system default for --support-multichannel.]' \
--enable-security-signatures'=[Indicates whether the server supports signed SMB packets.]:BoolValueType:(true false)' \
--reject-unencrypted-access'=[Reject client sessions which are not encrypted]:BoolValueType:(true false)' \
--access-based-share-enum'=[Only enumerate shares to which the requesting user has access.]:BoolValueType:(true false)' \
--revert-server-side-copy'[Set value to system default for --server-side-copy.]' \
--support-smb3-encryption'=[Support the SMB3 encryption on the server.]:BoolValueType:(true false)' \
--support-multichannel'=[Support multichannel.]:BoolValueType:(true false)' \
--revert-support-smb2'[Set value to system default for --support-smb2.]' \
--server-side-copy'=[Enable SMB Server Side Copy on the server.]:BoolValueType:(true false)' \
--support-smb2'=[Support the SMB2 protocol on the server.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_smb_openfiles] )) ||
_isi_smb_openfiles() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list close}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-openfiles-list:"
      _isi_smb_openfiles_list
    elif [[ $cmd == close ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-openfiles-close:"
      _isi_smb_openfiles_close
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_openfiles_list] )) ||
_isi_smb_openfiles_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display smb openfiles in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of smb openfiles to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb_openfiles_close] )) ||
_isi_smb_openfiles_close() {
_arguments \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the smb openfile to close.]' \
}
(( $+functions[_isi_smb_sessions] )) ||
_isi_smb_sessions() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list delete delete-user}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-sessions-list:"
      _isi_smb_sessions_list
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-sessions-delete:"
      _isi_smb_sessions_delete
    elif [[ $cmd == delete-user ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-sessions-delete-user:"
      _isi_smb_sessions_delete-user
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_sessions_list] )) ||
_isi_smb_sessions_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display smb sessions in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of smb sessions to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb_sessions_delete] )) ||
_isi_smb_sessions_delete() {
_arguments \
{-C,--computer-name}'=[Disconnect all sessions associated with the specified computer.]' \
{-U,--user-name}'=[Delete all sessions associated with this user]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb_sessions_delete-user] )) ||
_isi_smb_sessions_delete-user() {
_arguments \
{-C,--computer-name}'=[Disconnect all sessions associated with the specified computer.]' \
{-U,--user-name}'=[Delete all sessions associated with this user]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb_log-level] )) ||
_isi_smb_log-level() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ filters modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == filters ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level-filters:"
      _isi_smb_log-level_filters
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level-modify:"
      _isi_smb_log-level_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level-view:"
      _isi_smb_log-level_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_log-level_filters] )) ||
_isi_smb_log-level_filters() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ create delete list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level-filters-create:"
      _isi_smb_log-level_filters_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level-filters-delete:"
      _isi_smb_log-level_filters_delete
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level-filters-list:"
      _isi_smb_log-level_filters_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-smb-log-level-filters-view:"
      _isi_smb_log-level_filters_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_smb_log-level_filters_create] )) ||
_isi_smb_log-level_filters_create() {
_arguments \
{-i,--ip-addrs}'=[List of IP addresses to filter against.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-l,--level}'=[Logging level for new filter. Valid logging levels are always, error, warning, info, verbose, debug, and trace.]:EnumValidator:(always error warning info verbose debug trace)' \
{-h,--help}'[Display help for this command.]' \
{-o,--ops}'=[List of SMB operations to filter against.]' \
'1:EnumValidator:(always error warning info verbose debug trace)' \
}
(( $+functions[_isi_smb_log-level_filters_delete] )) ||
_isi_smb_log-level_filters_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--level'=[Delete all SMB log filters at level]:cmdline_Option_level:_cmdline_Option_shell_level_0' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--all'[delete all smb log-level filters.]' \
--id'=[ID of SMB log filter to delete]:cmdline_Option_id:_cmdline_Option_shell_id_13' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_13' \
}
(( $+functions[_isi_smb_log-level_filters_list] )) ||
_isi_smb_log-level_filters_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display smb log-level filters in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of smb log-level filters to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_smb_log-level_filters_view] )) ||
_isi_smb_log-level_filters_view() {
_arguments \
--level'=[Logging level of SMB log filters to view]:cmdline_Option_level:_cmdline_Option_shell_level_0' \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of SMB log filter to view]:cmdline_Option_id:_cmdline_Option_shell_id_13' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_13' \
}
(( $+functions[_isi_smb_log-level_modify] )) ||
_isi_smb_log-level_modify() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-l,--level}'=[Valid logging levels are always, error, warning, info, verbose, debug, and trace]:EnumValidator:(always error warning info verbose debug trace)' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(always error warning info verbose debug trace)' \
}
(( $+functions[_isi_smb_log-level_view] )) ||
_isi_smb_log-level_view() {
}
(( $+functions[_isi_snapshot] )) ||
_isi_snapshot() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ snapshots schedules locks settings aliases list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == snapshots ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots:"
      _isi_snapshot_snapshots
    elif [[ $cmd == schedules ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules:"
      _isi_snapshot_schedules
    elif [[ $cmd == locks ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-locks:"
      _isi_snapshot_locks
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-settings:"
      _isi_snapshot_settings
    elif [[ $cmd == aliases ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-aliases:"
      _isi_snapshot_aliases
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-list:"
      _isi_snapshot_snapshots_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-view:"
      _isi_snapshot_snapshots_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-create:"
      _isi_snapshot_snapshots_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-modify:"
      _isi_snapshot_snapshots_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-delete:"
      _isi_snapshot_snapshots_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snapshot_snapshots] )) ||
_isi_snapshot_snapshots() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-list:"
      _isi_snapshot_snapshots_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-view:"
      _isi_snapshot_snapshots_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-create:"
      _isi_snapshot_snapshots_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-modify:"
      _isi_snapshot_snapshots_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-snapshots-delete:"
      _isi_snapshot_snapshots_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snapshot_snapshots_list] )) ||
_isi_snapshot_snapshots_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display snapshots in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of snapshots to display.]' \
--state'=[List snapshots in a particular state]:EnumValidator:(all active deleting)' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name path has_locks schedule target_id target_name created expires size shadow_bytes pct_reserve pct_filesystem state)' \
}
(( $+functions[_isi_snapshot_snapshots_view] )) ||
_isi_snapshot_snapshots_view() {
_arguments \
--snapshot'=[Snapshot name or ID]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_snapshots_create] )) ||
_isi_snapshot_snapshots_create() {
_arguments \
{-x,--expires}'=[Duration until or time at which the snapshot will expire.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--alias}'=[Alternate name for this snapshot.]' \
--path'=[Path of the snapshot. Must be within /ifs.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the snapshot. If this field is omitted, the snapshot will be named automatically by the system.]' \
'1:cmdline_Option_path:_files' \
}
(( $+functions[_isi_snapshot_snapshots_modify] )) ||
_isi_snapshot_snapshots_modify() {
_arguments \
--clear-expires'[Clear value for duration until or time at which the snapshot will expire.]' \
--snapshot'=[Snapshot name or ID]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
{-x,--expires}'=[Duration until or time at which the snapshot will expire.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--alias}'=[Alternate name for this snapshot.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the snapshot.]' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_snapshots_delete] )) ||
_isi_snapshot_snapshots_delete() {
_arguments \
--snapshot'=[Delete a single snapshot.]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
--schedule'=[Delete all snapshots created by the given schedule]:cmdline_Option_schedule:_cmdline_Option_shell_schedule_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--type'=[Delete all snapshots of the specified type]:EnumValidator:(alias real)' \
{-h,--help}'[Display help for this command.]' \
--all'[delete all snapshots.]' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_schedules] )) ||
_isi_snapshot_schedules() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ pending list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == pending ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules-pending:"
      _isi_snapshot_schedules_pending
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules-list:"
      _isi_snapshot_schedules_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules-view:"
      _isi_snapshot_schedules_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules-create:"
      _isi_snapshot_schedules_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules-modify:"
      _isi_snapshot_schedules_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules-delete:"
      _isi_snapshot_schedules_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snapshot_schedules_pending] )) ||
_isi_snapshot_schedules_pending() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-schedules-pending-list:"
      _isi_snapshot_schedules_pending_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snapshot_schedules_pending_list] )) ||
_isi_snapshot_schedules_pending_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display scheduled snapshots in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-b,--begin}'=[Limit to scheduled snapshots after this date and time.]' \
{-l,--limit}'=[Number of scheduled snapshots to display.]' \
{-h,--help}'[Display help for this command.]' \
{-e,--end}'=[Limit to scheduled snapshots before this date and time.]' \
}
(( $+functions[_isi_snapshot_schedules_list] )) ||
_isi_snapshot_schedules_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display snapshot schedules in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of snapshot schedules to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name path pattern schedule duration alias next_run next_snapshot)' \
}
(( $+functions[_isi_snapshot_schedules_view] )) ||
_isi_snapshot_schedules_view() {
_arguments \
--schedule-name'=[Snapshot schedule name]:cmdline_Option_schedule_name:_cmdline_Option_shell_schedule_name_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_schedule_name:_cmdline_Option_shell_schedule_name_0' \
}
(( $+functions[_isi_snapshot_schedules_create] )) ||
_isi_snapshot_schedules_create() {
_arguments \
--schedule'=[Recurring date pattern at which snapshots are created]:cmdline_Option_schedule:_cmdline_Option_shell_schedule_0' \
{-x,--duration}'=[Duration until created snapshots expire]' \
--pattern'=[Format string pattern for naming created snapshots]' \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--alias}'=[Alias for created snapshots]' \
--name'=[Name for the snapshot schedule.]' \
--path'=[Path of the snapshot schedule.  Must be in /ifs]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
'2:cmdline_Option_path:_files' \
'4:cmdline_Option_schedule:_cmdline_Option_shell_schedule_0' \
}
(( $+functions[_isi_snapshot_schedules_modify] )) ||
_isi_snapshot_schedules_modify() {
_arguments \
--clear-duration'[Clear value for duration until created snapshots expire]' \
--schedule-name'=[Snapshot schedule name]:cmdline_Option_schedule_name:_cmdline_Option_shell_schedule_name_0' \
{-x,--duration}'=[Duration until created snapshots expire]' \
--schedule'=[Recurring date pattern at which snapshots are created]:cmdline_Option_schedule:_cmdline_Option_shell_schedule_0' \
--pattern'=[Format string pattern for naming created snapshots]' \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--alias}'=[Alias for created snapshots]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the snapshot schedule.]' \
--path'=[Path of the snapshot schedule.  Must be in /ifs]:cmdline_Option_path:_files' \
'1:cmdline_Option_schedule_name:_cmdline_Option_shell_schedule_name_0' \
}
(( $+functions[_isi_snapshot_schedules_delete] )) ||
_isi_snapshot_schedules_delete() {
_arguments \
--schedule-name'=[Snapshot schedule name]:cmdline_Option_schedule_name:_cmdline_Option_shell_schedule_name_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--all'[delete all snapshot schedules.]' \
'1:cmdline_Option_schedule_name:_cmdline_Option_shell_schedule_name_0' \
}
(( $+functions[_isi_snapshot_locks] )) ||
_isi_snapshot_locks() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create delete view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-locks-list:"
      _isi_snapshot_locks_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-locks-create:"
      _isi_snapshot_locks_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-locks-delete:"
      _isi_snapshot_locks_delete
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-locks-view:"
      _isi_snapshot_locks_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-locks-modify:"
      _isi_snapshot_locks_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snapshot_locks_list] )) ||
_isi_snapshot_locks_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
--snapshot'=[Snapshot name or ID]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display locks in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of locks to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id comment expires count)' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_locks_create] )) ||
_isi_snapshot_locks_create() {
_arguments \
--snapshot'=[Snapshot name or ID]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
--comment'=[A comment to describe this lock.]' \
{-x,--expires}'=[Duration until or time at which the lock will expire.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_locks_delete] )) ||
_isi_snapshot_locks_delete() {
_arguments \
--snapshot'=[Snapshot name or ID]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the lock to delete.]' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_locks_view] )) ||
_isi_snapshot_locks_view() {
_arguments \
--snapshot'=[Snapshot name or ID]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the lock to view.]' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_locks_modify] )) ||
_isi_snapshot_locks_modify() {
_arguments \
--clear-expires'[Clear value for duration until or time at which the lock will expire.]' \
--snapshot'=[Snapshot name or ID]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
{-x,--expires}'=[Duration until or time at which the lock will expire.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the lock to modify.]' \
'1:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_settings] )) ||
_isi_snapshot_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ modify view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-settings-modify:"
      _isi_snapshot_settings_modify
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-settings-view:"
      _isi_snapshot_settings_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snapshot_settings_modify] )) ||
_isi_snapshot_settings_modify() {
_arguments \
--global-visible-accessible'=[Enable all other visibility and accessibility settings]:BoolValueType:(true false)' \
--local-subdir-accessible'=[Allow the local file system to access subdirectories of the snapshot directory.]:BoolValueType:(true false)' \
--local-root-accessible'=[Allow local file system access to the snapshot directory.]:BoolValueType:(true false)' \
--nfs-subdir-accessible'=[Allow NFS clients to access subdirectories of the snapshot directory.]:BoolValueType:(true false)' \
--smb-subdir-accessible'=[Allow SMB clients to access subdirectories of the snapshot directory.]:BoolValueType:(true false)' \
--nfs-root-accessible'=[Allow NFS clients to access to the snapshot directory.]:BoolValueType:(true false)' \
--smb-root-accessible'=[Allow SMB clients to access the snapshot directory.]:BoolValueType:(true false)' \
--local-root-visible'=[Allow the local file system to see the snapshot directory.]:BoolValueType:(true false)' \
--nfs-root-visible'=[Allow NFS clients to see the snapshot directory.]:BoolValueType:(true false)' \
--smb-root-visible'=[Allow SMB clients to see the snapshot directory.]:BoolValueType:(true false)' \
--autocreate'=[Enable automatic creation of scheduled snapshots.]:BoolValueType:(true false)' \
--autodelete'=[Enable automatic deletion of expired locks and snapshots.]:BoolValueType:(true false)' \
--reserve'=[Percentage of /ifs to reserve for use by snapshot data.]' \
--service'=[Enable or disable all manual and scheduled snapshot creation]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_snapshot_settings_view] )) ||
_isi_snapshot_settings_view() {
}
(( $+functions[_isi_snapshot_aliases] )) ||
_isi_snapshot_aliases() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-aliases-list:"
      _isi_snapshot_aliases_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-aliases-view:"
      _isi_snapshot_aliases_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-aliases-create:"
      _isi_snapshot_aliases_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-aliases-modify:"
      _isi_snapshot_aliases_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-snapshot-aliases-delete:"
      _isi_snapshot_aliases_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snapshot_aliases_list] )) ||
_isi_snapshot_aliases_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display snapshot aliases in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of snapshot aliases to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name target_id target_name created)' \
}
(( $+functions[_isi_snapshot_aliases_view] )) ||
_isi_snapshot_aliases_view() {
_arguments \
--alias'=[Snapshot alias name or ID]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_snapshot_aliases_create] )) ||
_isi_snapshot_aliases_create() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--target'=[Target snapshot name or ID; or LIVE to target the live file system]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
--name'=[Name for the snapshot alias]' \
{-h,--help}'[Display help for this command.]' \
'2:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
}
(( $+functions[_isi_snapshot_aliases_modify] )) ||
_isi_snapshot_aliases_modify() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--target'=[Target snapshot name or ID; or LIVE to target the live file system]:cmdline_Option_snapshot:_cmdline_Option_shell_snapshot_0' \
--alias'=[Snapshot alias name or ID]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the snapshot alias]' \
}
(( $+functions[_isi_snapshot_aliases_delete] )) ||
_isi_snapshot_aliases_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--alias'=[Delete a snapshot alias.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--all'[Delete all snapshot aliases.]' \
}
(( $+functions[_isi_snmp] )) ||
_isi_snmp() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-snmp-settings:"
      _isi_snmp_settings
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snmp-settings-view:"
      _isi_snmp_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snmp-settings-modify:"
      _isi_snmp_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snmp_settings] )) ||
_isi_snmp_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-snmp-settings-view:"
      _isi_snmp_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-snmp-settings-modify:"
      _isi_snmp_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_snmp_settings_view] )) ||
_isi_snmp_settings_view() {
}
(( $+functions[_isi_snmp_settings_modify] )) ||
_isi_snmp_settings_modify() {
_arguments \
--revert-snmp-v3-read-only-user'[Set value to system default for --snmp-v3-read-only-user.]' \
--revert-snmp-v3-priv-password'[Set value to system default for --snmp-v3-priv-password.]' \
--revert-read-only-community'[Set value to system default for --read-only-community.]' \
--revert-snmp-v1-v2c-access'[Set value to system default for --snmp-v1-v2c-access.]' \
--set-snmp-v3-priv-password'[Specify --snmp-v3-priv-password interactively]' \
--revert-snmp-v3-password'[Set value to system default for --snmp-v3-password.]' \
--revert-system-location'[Set value to system default for --system-location.]' \
{-u,--snmp-v3-read-only-user}'=[Set read-only user for SNMP v3 read requests.]' \
--snmp-v3-security-level'=[Set SNMP v3 security level: noAuthNoPriv, authNoPriv, authPriv. Default: authNoPriv]' \
--revert-snmp-v3-access'[Set value to system default for --snmp-v3-access.]' \
--revert-system-contact'[Set value to system default for --system-contact.]' \
--snmp-v3-auth-protocol'=[Set SNMP v3 authentication algorithm SHA | MD5. Default: MD5]' \
--snmp-v3-priv-password'=[Set SNMP v3 privacy password.]' \
--snmp-v3-priv-protocol'=[Set SNMP v3 encryption algorithm AES | DES. Default: AES]' \
--set-snmp-v3-password'[Specify --snmp-v3-password interactively]' \
{-c,--read-only-community}'=[Set read-only community name.]' \
--snmp-v1-v2c-access'=[Enable or disable SNMP v1 and v2c protocols.]:BoolValueType:(true false)' \
{-p,--snmp-v3-password}'=[Set SNMP v3 authentication password.]' \
--system-location'=[Set location name for the SNMP system.]' \
--snmp-v3-access'=[Enable or disable SNMP v3 protocol.]:BoolValueType:(true false)' \
--system-contact'=[Set contact information for the system owner.  This must be a valid email address.]' \
--service'=[Enable or disable SNMP service.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool] )) ||
_isi_storagepool() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ tiers nodepools settings compatibilities unprovisioned list health}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == tiers ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-tiers:"
      _isi_storagepool_tiers
    elif [[ $cmd == nodepools ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-nodepools:"
      _isi_storagepool_nodepools
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-settings:"
      _isi_storagepool_settings
    elif [[ $cmd == compatibilities ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities:"
      _isi_storagepool_compatibilities
    elif [[ $cmd == unprovisioned ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-unprovisioned:"
      _isi_storagepool_unprovisioned
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-list:"
      _isi_storagepool_list
    elif [[ $cmd == health ]]; then
      curcontext="${curcontext%:*:*}:isi-smartpools-health:"
      _isi_smartpools_health
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_tiers] )) ||
_isi_storagepool_tiers() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create modify delete view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-tiers-list:"
      _isi_storagepool_tiers_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-tiers-create:"
      _isi_storagepool_tiers_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-tiers-modify:"
      _isi_storagepool_tiers_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-tiers-delete:"
      _isi_storagepool_tiers_delete
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-tiers-view:"
      _isi_storagepool_tiers_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_tiers_list] )) ||
_isi_storagepool_tiers_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display storagepool tiers in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of storagepool tiers to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_tiers_create] )) ||
_isi_storagepool_tiers_create() {
_arguments \
{-c,--children}'=[Node pools that are children of the tier.]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the storagepool tier. Name must:     1. Be under 256 characters.     2. Begin with a letter or underscore.     3. Contain only letters, numbers, hyphens, underscores or periods.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_tiers_modify] )) ||
_isi_storagepool_tiers_modify() {
_arguments \
--remove-children'=[Remove node pools that are children of the tier.]' \
--clear-children'[Clear value for node pools that are children of the tier.]' \
--add-children'=[Add node pools that are children of the tier.]' \
{-c,--children}'=[Node pools that are children of the tier.]' \
{-s,--set-name}'=[New name for the tier. Name must:     1. Be under 256 characters.     2. Begin with a letter or underscore.     3. Contain only letters, numbers, hyphens, underscores or periods.]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the storagepool tier.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_tiers_delete] )) ||
_isi_storagepool_tiers_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Name for the storagepool tier.]' \
{-h,--help}'[Display help for this command.]' \
--all'[delete all storagepool tiers.]' \
}
(( $+functions[_isi_storagepool_tiers_view] )) ||
_isi_storagepool_tiers_view() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the storagepool tier.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_nodepools] )) ||
_isi_storagepool_nodepools() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create modify delete view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-nodepools-list:"
      _isi_storagepool_nodepools_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-nodepools-create:"
      _isi_storagepool_nodepools_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-nodepools-modify:"
      _isi_storagepool_nodepools_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-nodepools-delete:"
      _isi_storagepool_nodepools_delete
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-nodepools-view:"
      _isi_storagepool_nodepools_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_nodepools_list] )) ||
_isi_storagepool_nodepools_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display storagepool nodepools in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of storagepool nodepools to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_nodepools_create] )) ||
_isi_storagepool_nodepools_create() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the storagepool nodepool. Name must:     1. Be under 256 characters.     2. Begin with a letter or underscore.     3. Contain only letters, numbers, hyphens, underscores or periods.]' \
{-h,--help}'[Display help for this command.]' \
{-n,--lnns}'=[Nodes for the manually managed node pool.]' \
}
(( $+functions[_isi_storagepool_nodepools_modify] )) ||
_isi_storagepool_nodepools_modify() {
_arguments \
{-p,--protection-policy}'=[Requested protection for the node pool.]' \
--remove-lnns'=[Remove nodes for the manually managed node pool.]' \
--clear-tier'[Clear value for set parent for the node pool.]' \
--add-lnns'=[Add nodes for the manually managed node pool.]' \
{-s,--set-name}'=[New name for the manually managed node pool.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Name for the storagepool nodepool.]' \
{-h,--help}'[Display help for this command.]' \
{-n,--lnns}'=[Nodes for the manually managed node pool.]' \
{-t,--tier}'=[Set parent for the node pool.]' \
{-3,--l3}'=[Use SSDs in this node pool for L3 Cache.]:BoolValueType:(true false)' \
}
(( $+functions[_isi_storagepool_nodepools_delete] )) ||
_isi_storagepool_nodepools_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Name for the storagepool nodepool.]' \
{-h,--help}'[Display help for this command.]' \
--all'[Delete all manual nodepools.]' \
}
(( $+functions[_isi_storagepool_nodepools_view] )) ||
_isi_storagepool_nodepools_view() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the storagepool nodepool.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_settings] )) ||
_isi_storagepool_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-settings-view:"
      _isi_storagepool_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-settings-modify:"
      _isi_storagepool_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_settings_view] )) ||
_isi_storagepool_settings_view() {
}
(( $+functions[_isi_storagepool_settings_modify] )) ||
_isi_storagepool_settings_modify() {
_arguments \
--global-namespace-acceleration-enabled'=[Global namespace acceleration enabled]:BoolValueType:(true false)' \
--automatically-manage-io-optimization'=[Set whether SmartPools manages files I/O optimization settings]:EnumValidator:(all files_at_default none)' \
--protect-directories-one-level-higher'=[Protect directories at one level higher]:BoolValueType:(true false)' \
--automatically-manage-protection'=[Set whether SmartPools manages files protection settings]:EnumValidator:(all files_at_default none)' \
--virtual-hot-spare-limit-percent'=[Virtual hot spare: percent of total storage]' \
--virtual-hot-spare-limit-drives'=[Virtual hot spare: number of virtual drives]' \
--virtual-hot-spare-deny-writes'=[Virtual hot spare: deny new data writes]:BoolValueType:(true false)' \
--ssd-l3-cache-default-enabled'=[Default setting for enabling L3 on new Node Pools]:BoolValueType:(true false)' \
--virtual-hot-spare-hide-spare'=[Virtual hot spare: reduce amount of available space]:BoolValueType:(true false)' \
--ssd-system-btree-mirrors'=[Controls number of mirrors of system B-tree blocks to place on SSDs.]:EnumValidator:(one all)' \
--ssd-system-delta-mirrors'=[Controls number of mirrors of system delta blocks to place on SSDs.]:EnumValidator:(one all)' \
--spillover-anywhere'[Set global spillover to anywhere]' \
--spillover-enabled'=[Spill writes into pools within spillover_target as needed.]:BoolValueType:(true false)' \
--spillover-target'=[Spillover target]' \
--ssd-qab-mirrors'=[Controls number of mirrors of QAB blocks to place on SSDs.]:EnumValidator:(one all)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_compatibilities] )) ||
_isi_storagepool_compatibilities() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ class ssd active available}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == class ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class:"
      _isi_storagepool_compatibilities_class
    elif [[ $cmd == ssd ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd:"
      _isi_storagepool_compatibilities_ssd
    elif [[ $cmd == active ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active:"
      _isi_storagepool_compatibilities_class_active
    elif [[ $cmd == available ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-available:"
      _isi_storagepool_compatibilities_class_available
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_compatibilities_class] )) ||
_isi_storagepool_compatibilities_class() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ active available list create view delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == active ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active:"
      _isi_storagepool_compatibilities_class_active
    elif [[ $cmd == available ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-available:"
      _isi_storagepool_compatibilities_class_available
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-list:"
      _isi_storagepool_compatibilities_class_active_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-create:"
      _isi_storagepool_compatibilities_class_active_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-view:"
      _isi_storagepool_compatibilities_class_active_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-delete:"
      _isi_storagepool_compatibilities_class_active_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_compatibilities_class_active] )) ||
_isi_storagepool_compatibilities_class_active() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create view delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-list:"
      _isi_storagepool_compatibilities_class_active_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-create:"
      _isi_storagepool_compatibilities_class_active_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-view:"
      _isi_storagepool_compatibilities_class_active_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-active-delete:"
      _isi_storagepool_compatibilities_class_active_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_compatibilities_class_active_list] )) ||
_isi_storagepool_compatibilities_class_active_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display active class compatibilities in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of active class compatibilities to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_compatibilities_class_active_create] )) ||
_isi_storagepool_compatibilities_class_active_create() {
_arguments \
--class-1'=[The first class in the node compatibility]' \
--class-2'=[The second class in the node compatibility]' \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--assess}'=[Do not perform action, only test that it is possible]:BoolValueType:(true false)' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_compatibilities_class_active_view] )) ||
_isi_storagepool_compatibilities_class_active_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the active class compatibility to view.]' \
}
(( $+functions[_isi_storagepool_compatibilities_class_active_delete] )) ||
_isi_storagepool_compatibilities_class_active_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--assess}'=[Do not perform action, only test that it is possible]:BoolValueType:(true false)' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the active class compatibility to delete.]' \
}
(( $+functions[_isi_storagepool_compatibilities_class_available] )) ||
_isi_storagepool_compatibilities_class_available() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-class-available-list:"
      _isi_storagepool_compatibilities_class_available_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_compatibilities_class_available_list] )) ||
_isi_storagepool_compatibilities_class_available_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display available class compatibilities in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of available class compatibilities to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_compatibilities_ssd] )) ||
_isi_storagepool_compatibilities_ssd() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ active available list create view delete modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == active ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active:"
      _isi_storagepool_compatibilities_ssd_active
    elif [[ $cmd == available ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-available:"
      _isi_storagepool_compatibilities_ssd_available
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-list:"
      _isi_storagepool_compatibilities_ssd_active_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-create:"
      _isi_storagepool_compatibilities_ssd_active_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-view:"
      _isi_storagepool_compatibilities_ssd_active_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-delete:"
      _isi_storagepool_compatibilities_ssd_active_delete
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-modify:"
      _isi_storagepool_compatibilities_ssd_active_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active] )) ||
_isi_storagepool_compatibilities_ssd_active() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create view delete modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-list:"
      _isi_storagepool_compatibilities_ssd_active_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-create:"
      _isi_storagepool_compatibilities_ssd_active_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-view:"
      _isi_storagepool_compatibilities_ssd_active_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-delete:"
      _isi_storagepool_compatibilities_ssd_active_delete
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-active-modify:"
      _isi_storagepool_compatibilities_ssd_active_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_list] )) ||
_isi_storagepool_compatibilities_ssd_active_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display active ssd compatibilities in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of active ssd compatibilities to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_create] )) ||
_isi_storagepool_compatibilities_ssd_active_create() {
_arguments \
--class-1'=[The node class in the ssd compatibility]' \
--class-2'=[The second node class for double ssd compatibility creates and deletes]' \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--assess}'=[Do not perform action, only test that it is possible]:BoolValueType:(true false)' \
{-c,--count}'=[SSD count compatibility, default is false]:BoolValueType:(true false)' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_view] )) ||
_isi_storagepool_compatibilities_ssd_active_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[ID of the active ssd compatibility to view.]' \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_delete] )) ||
_isi_storagepool_compatibilities_ssd_active_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--assess}'=[Do not perform action, only test that it is possible]:BoolValueType:(true false)' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id-2'=[The optional id of the second ssd compatibility to delete]' \
--id'=[ID of the active ssd compatibility to delete.]' \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_modify] )) ||
_isi_storagepool_compatibilities_ssd_active_modify() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-a,--assess}'=[Do not perform action, only test that it is possible]:BoolValueType:(true false)' \
{-c,--count}'=[SSD count compatibility, default is false]:BoolValueType:(true false)' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--id-2'=[The optional id of the second ssd compatibility to delete]' \
--id'=[ID of the active ssd compatibility to modify.]' \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_available] )) ||
_isi_storagepool_compatibilities_ssd_available() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-compatibilities-ssd-available-list:"
      _isi_storagepool_compatibilities_ssd_available_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_compatibilities_ssd_available_list] )) ||
_isi_storagepool_compatibilities_ssd_available_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display available ssd compatibilities in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of available ssd compatibilities to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_unprovisioned] )) ||
_isi_storagepool_unprovisioned() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-storagepool-unprovisioned-view:"
      _isi_storagepool_unprovisioned_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_storagepool_unprovisioned_view] )) ||
_isi_storagepool_unprovisioned_view() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display storagepool unprovisioneds in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of storagepool unprovisioneds to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_storagepool_list] )) ||
_isi_storagepool_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display storagepools in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(name)' \
}
(( $+functions[_isi_smartpools_health] )) ||
_isi_smartpools_health() {
_arguments \
"--verbose[Print settings to be applied.]" \
"--help[Print usage help and exit.]"\
}
(( $+functions[_isi_swift] )) ||
_isi_swift() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ accounts}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == accounts ]]; then
      curcontext="${curcontext%:*:*}:isi-swift-accounts:"
      _isi_swift_accounts
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_swift_accounts] )) ||
_isi_swift_accounts() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-swift-accounts-list:"
      _isi_swift_accounts_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-swift-accounts-view:"
      _isi_swift_accounts_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-swift-accounts-create:"
      _isi_swift_accounts_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-swift-accounts-modify:"
      _isi_swift_accounts_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-swift-accounts-delete:"
      _isi_swift_accounts_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_swift_accounts_list] )) ||
_isi_swift_accounts_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display accounts in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of accounts to display.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--sort'=[Sort data by the specified field.]:EnumValidator:(name zone swiftuser swiftgroup users)' \
}
(( $+functions[_isi_swift_accounts_view] )) ||
_isi_swift_accounts_view() {
_arguments \
--name'=[Name for the account.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_swift_accounts_create] )) ||
_isi_swift_accounts_create() {
_arguments \
--swiftgroup'=[Filesystem group owning files in this Swift account.]' \
--swiftuser'=[Filesystem user owning files in this Swift account.]' \
{-v,--verbose}'[Display more detailed information.]' \
--users'=[Users assigned access to this Swift account.]' \
--name'=[Name for the account.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_swift_accounts_modify] )) ||
_isi_swift_accounts_modify() {
_arguments \
--remove-users'=[Remove users assigned access to this Swift account.]' \
--clear-users'[Clear value for users assigned access to this Swift account.]' \
--swiftgroup'=[Filesystem group owning files in this Swift account.]' \
--add-users'=[Add users assigned access to this Swift account.]' \
--swiftuser'=[Filesystem user owning files in this Swift account.]' \
{-v,--verbose}'[Display more detailed information.]' \
--users'=[Users assigned access to this Swift account.]' \
--name'=[Name for the account.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_swift_accounts_delete] )) ||
_isi_swift_accounts_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--name'=[Name for the account.]' \
{-h,--help}'[Display help for this command.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_sync] )) ||
_isi_sync() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ policies jobs settings target reports recovery rules}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == policies ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies:"
      _isi_sync_policies
    elif [[ $cmd == jobs ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs:"
      _isi_sync_jobs
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-settings:"
      _isi_sync_settings
    elif [[ $cmd == target ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target:"
      _isi_sync_target
    elif [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-reports:"
      _isi_sync_reports
    elif [[ $cmd == recovery ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-recovery:"
      _isi_sync_recovery
    elif [[ $cmd == rules ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-rules:"
      _isi_sync_rules
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_policies] )) ||
_isi_sync_policies() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete enable disable reset resolve}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-list:"
      _isi_sync_policies_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-view:"
      _isi_sync_policies_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-create:"
      _isi_sync_policies_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-modify:"
      _isi_sync_policies_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-delete:"
      _isi_sync_policies_delete
    elif [[ $cmd == enable ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-enable:"
      _isi_sync_policies_enable
    elif [[ $cmd == disable ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-disable:"
      _isi_sync_policies_disable
    elif [[ $cmd == reset ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-reset:"
      _isi_sync_policies_reset
    elif [[ $cmd == resolve ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-policies-resolve:"
      _isi_sync_policies_resolve
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_policies_list] )) ||
_isi_sync_policies_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync policies in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync policies to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id name source_root_path action enabled target_host description check_integrity source_include_directories source_exclude_directories source_subnet source_pool file_matching_pattern target_path target_snapshot_archive target_snapshot_pattern target_snapshot_expiration target_snapshot_alias target_detect_modifications source_snapshot_archive source_snapshot_pattern source_snapshot_expiration snapshot_sync_pattern snapshot_sync_existing schedule job_delay skip_when_source_unmodified rpo_alert log_level log_removed_files workers_per_node report_max_age report_max_count force_interface restrict_target_network target_compare_initial_sync disable_stf expected_dataloss disable_fofb disable_file_split changelist accelerated_failback priority cloud_deep_copy last_job_state last_started last_success password_set conflicted has_sync_state)' \
}
(( $+functions[_isi_sync_policies_view] )) ||
_isi_sync_policies_view() {
_arguments \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_policies_create] )) ||
_isi_sync_policies_create() {
_arguments \
--skip-when-source-unmodified'=[If true and --schedule is set to a time/date, the policy will not run if no changes have been made to the contents of the source directory since the last job successfully completed.]:BoolValueType:(true false)' \
--target-compare-initial-sync'=[Compare files on destination cluster before copy|sync action.]:BoolValueType:(true false)' \
--target-detect-modifications'=[Detects any modifications on the destination cluster.]:BoolValueType:(true false)' \
{-e,--source-exclude-directories}'=[Directories on source cluster to be excluded from sync|copy action.]' \
{-i,--source-include-directories}'=[Directories on source cluster to be included in sync|copy action.]' \
--source-snapshot-expiration'=[The duration at which archival snapshots on the source cluster expire.]' \
--target-snapshot-expiration'=[The duration at which archival snapshots on the destination cluster expire.]' \
--restrict-target-network'=[Sets if the target network is restricted.]:BoolValueType:(true false)' \
--source-snapshot-archive'=[Create archival snapshots on the source cluster.]:BoolValueType:(true false)' \
--source-snapshot-pattern'=[Sets new name for archival snapshots on the source cluster.]' \
--target-snapshot-archive'=[Create archival snapshots on the destination cluster.]:BoolValueType:(true false)' \
--target-snapshot-pattern'=[The naming pattern for snapshot on the destination cluster.]' \
--snapshot-sync-existing'=[If true, snapshot-triggered syncs will include snapshots taken before policy creation time default false, requires --schedule when-snapshot-taken.]:BoolValueType:(true false)' \
--snapshot-sync-pattern'=[The naming pattern that a snapshot must match to trigger a sync when the schedule is set to when-snapshot-taken default is "*".]' \
--target-snapshot-alias'=[The alias for snapshots on the destination cluster.]' \
--accelerated-failback'=[If set to true, SyncIQ will perform failback configuration tasks during the next job run, rather than waiting to perform those tasks during the failback process. Performing these tasks ahead of time will increase the speed of failback operations.]:BoolValueType:(true false)' \
--log-removed-files'=[Keep a log of removed files for sync action.]:BoolValueType:(true false)' \
--source-root-path'=[Specifies the root path to be used in the source cluster.]' \
--report-max-count'=[Maximum number of reports to keep.]' \
{-w,--workers-per-node}'=[Sets number of workers per node.]' \
--check-integrity'=[Validate file integrity during copy|sync actions.]:BoolValueType:(true false)' \
--cloud-deep-copy'=[If set to deny, replicates all CloudPools smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, the job will fail. If set to force, replicates all smartlinks to the target cluster as regular files. If set to allow, SyncIQ will attempt to replicate smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, SyncIQ will replicate the smartlinks as regular files.]:EnumValidator:(deny allow force)' \
--report-max-age'=[Maximum age of reports to keep.]' \
--source-subnet'=[Restricts replication policies on the local cluster to this subnet you must also specify --source-pool.]' \
--set-password'[Specify --password interactively]' \
{-C,--target-host}'=[Hostname of the target cluster.]' \
{-p,--target-path}'=[Path to use on the target cluster.]' \
--description'=[Description for this sync policy.]' \
--source-pool'=[Restricts replication policies on the local cluster to this pool you must also specify --source-subnet.]' \
--job-delay'=[If --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job default is 0 seconds.]' \
--log-level'=[Log level.]:EnumValidator:(fatal error notice info copy debug trace)' \
--rpo-alert'=[If --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.]' \
--password'=[Password for the target cluster.]' \
--priority'=[Determines the priority level of a policy. Policies with higher priority will have precedence to run over lower priority policies. Valid range is 0normal to 1high. Default is 0normal.]:EnumValidator:(normal high)' \
{-S,--schedule}'=[Schedule for executing the sync policy, or a string value of When-Source-Modified or When-Snapshot-Taken.]' \
--enabled'=[Policy is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
{-A,--action}'=[Identifies the action to run on the given files: the given]:EnumValidator:(copy sync)' \
{-n,--name}'=[Sets the name of the sync policy.]' \
{-h,--help}'[Display help for this command.]' \
'2:EnumValidator:(copy sync)' \
}
(( $+functions[_isi_sync_policies_modify] )) ||
_isi_sync_policies_modify() {
_arguments \
--remove-source-exclude-directories'=[Remove directories on source cluster to be excluded from sync|copy action.]' \
--remove-source-include-directories'=[Remove directories on source cluster to be included in sync|copy action.]' \
--clear-source-exclude-directories'[Clear value for directories on source cluster to be excluded from sync|copy action.]' \
--clear-source-include-directories'[Clear value for directories on source cluster to be included in sync|copy action.]' \
--add-source-exclude-directories'=[Add directories on source cluster to be excluded from sync|copy action.]' \
--add-source-include-directories'=[Add directories on source cluster to be included in sync|copy action.]' \
--skip-when-source-unmodified'=[If true and --schedule is set to a time/date, the policy will not run if no changes have been made to the contents of the source directory since the last job successfully completed.]:BoolValueType:(true false)' \
--target-compare-initial-sync'=[Compare files on destination cluster before copy|sync action.]:BoolValueType:(true false)' \
--target-detect-modifications'=[Detects any modifications on the destination cluster.]:BoolValueType:(true false)' \
{-e,--source-exclude-directories}'=[Directories on source cluster to be excluded from sync|copy action.]' \
{-i,--source-include-directories}'=[Directories on source cluster to be included in sync|copy action.]' \
--source-snapshot-expiration'=[The duration at which archival snapshots on the source cluster expire.]' \
--target-snapshot-expiration'=[The duration at which archival snapshots on the destination cluster expire.]' \
--restrict-target-network'=[Sets if the target network is restricted.]:BoolValueType:(true false)' \
--source-snapshot-archive'=[Create archival snapshots on the source cluster.]:BoolValueType:(true false)' \
--source-snapshot-pattern'=[Sets new name for archival snapshots on the source cluster.]' \
--target-snapshot-archive'=[Create archival snapshots on the destination cluster.]:BoolValueType:(true false)' \
--target-snapshot-pattern'=[The naming pattern for snapshot on the destination cluster.]' \
--snapshot-sync-existing'=[If true, snapshot-triggered syncs will include snapshots taken before policy creation time default false, requires --schedule when-snapshot-taken.]:BoolValueType:(true false)' \
--snapshot-sync-pattern'=[The naming pattern that a snapshot must match to trigger a sync when the schedule is set to when-snapshot-taken default is "*".]' \
--target-snapshot-alias'=[The alias for snapshots on the destination cluster.]' \
--accelerated-failback'=[If set to true, SyncIQ will perform failback configuration tasks during the next job run, rather than waiting to perform those tasks during the failback process. Performing these tasks ahead of time will increase the speed of failback operations.]:BoolValueType:(true false)' \
--clear-source-network'[Clear source subnet and pool.]' \
--log-removed-files'=[Keep a log of removed files for sync action.]:BoolValueType:(true false)' \
--report-max-count'=[Maximum number of reports to keep.]' \
--source-root-path'=[Specifies the root path to be used in the source cluster.]' \
{-w,--workers-per-node}'=[Sets number of workers per node.]' \
--check-integrity'=[Validate file integrity during copy|sync actions.]:BoolValueType:(true false)' \
--clear-job-delay'[Clear value for if --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job default is 0 seconds.]' \
--clear-rpo-alert'[Clear value for if --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.]' \
--cloud-deep-copy'=[If set to deny, replicates all CloudPools smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, the job will fail. If set to force, replicates all smartlinks to the target cluster as regular files. If set to allow, SyncIQ will attempt to replicate smartlinks to the target cluster as smartlinks; if the target cluster does not support the smartlinks, SyncIQ will replicate the smartlinks as regular files.]:EnumValidator:(deny allow force)' \
--report-max-age'=[Maximum age of reports to keep.]' \
--source-subnet'=[Restricts replication policies on the local cluster to this subnet you must also specify --source-pool.]' \
--set-password'[Specify --password interactively]' \
--description'=[Description for this sync policy.]' \
--source-pool'=[Restricts replication policies on the local cluster to this pool you must also specify --source-subnet.]' \
{-C,--target-host}'=[Hostname of the target cluster.]' \
{-p,--target-path}'=[Path to use on the target cluster.]' \
--job-delay'=[If --schedule is set to When-Source-Modified, the duration to wait after a modification is made before starting a job default is 0 seconds.]' \
--log-level'=[Log level.]:EnumValidator:(fatal error notice info copy debug trace)' \
--rpo-alert'=[If --schedule is set to a time/date, an alert is created if the specified RPO for this policy is exceeded. The default value is 0, which will not generate RPO alerts.]' \
--password'=[Password for the target cluster.]' \
--priority'=[Determines the priority level of a policy. Policies with higher priority will have precedence to run over lower priority policies. Valid range is 0normal to 1high. Default is 0normal.]:EnumValidator:(normal high)' \
{-S,--schedule}'=[Schedule for executing the sync policy, or a string value of When-Source-Modified or When-Snapshot-Taken.]' \
--enabled'=[Policy is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-A,--action}'=[Identifies the action to run on the given files: the given]:EnumValidator:(copy sync)' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
{-n,--name}'=[Sets the name of the sync policy.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_policies_delete] )) ||
_isi_sync_policies_delete() {
_arguments \
--local-only'[Skips deleting the policy association on the target.]' \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-f,--force}'[Do not ask confirmation. Do not check for running jobs when deleting.]' \
{-h,--help}'[Display help for this command.]' \
--all'[Delete all sync policies.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_policies_enable] )) ||
_isi_sync_policies_enable() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
--all'[Modify all sync policies.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_policies_disable] )) ||
_isi_sync_policies_disable() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
--all'[Modify all sync policies.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_policies_reset] )) ||
_isi_sync_policies_reset() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
--all'[Modify all sync policies.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_policies_resolve] )) ||
_isi_sync_policies_resolve() {
_arguments \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_jobs] )) ||
_isi_sync_jobs() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ reports start list view cancel pause resume}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-reports:"
      _isi_sync_jobs_reports
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-start:"
      _isi_sync_jobs_start
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-list:"
      _isi_sync_jobs_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-view:"
      _isi_sync_jobs_view
    elif [[ $cmd == cancel ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-cancel:"
      _isi_sync_jobs_cancel
    elif [[ $cmd == pause ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-pause:"
      _isi_sync_jobs_pause
    elif [[ $cmd == resume ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-resume:"
      _isi_sync_jobs_resume
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_jobs_reports] )) ||
_isi_sync_jobs_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-reports-list:"
      _isi_sync_jobs_reports_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-jobs-reports-view:"
      _isi_sync_jobs_reports_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_jobs_reports_list] )) ||
_isi_sync_jobs_reports_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync jobs reports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync jobs reports to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_sync_jobs_reports_view] )) ||
_isi_sync_jobs_reports_view() {
_arguments \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_jobs_start] )) ||
_isi_sync_jobs_start() {
_arguments \
--source-snapshot'=[An optional snapshot to copy/sync from.]' \
--policy-name'=[The policy name for the job to start.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--test'[Do a test run of this job. No files will be written to the target.]' \
'1:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
}
(( $+functions[_isi_sync_jobs_list] )) ||
_isi_sync_jobs_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync jobs in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync jobs to display.]' \
--state'=[List jobs with a given state.]:EnumValidator:(scheduled running paused finished failed canceled needs_attention)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_sync_jobs_view] )) ||
_isi_sync_jobs_view() {
_arguments \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_jobs_cancel] )) ||
_isi_sync_jobs_cancel() {
_arguments \
--policy-name'=[The policy name for the job to cancel.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--all'[cancel all running jobs.]' \
'1:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
}
(( $+functions[_isi_sync_jobs_pause] )) ||
_isi_sync_jobs_pause() {
_arguments \
--policy-name'=[The policy name for the job to pause.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--all'[pause all running jobs.]' \
'1:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
}
(( $+functions[_isi_sync_jobs_resume] )) ||
_isi_sync_jobs_resume() {
_arguments \
--policy-name'=[The policy name for the job to resume.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
--all'[resume all running jobs.]' \
'1:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
}
(( $+functions[_isi_sync_settings] )) ||
_isi_sync_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-settings-view:"
      _isi_sync_settings_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-settings-modify:"
      _isi_sync_settings_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_settings_view] )) ||
_isi_sync_settings_view() {
}
(( $+functions[_isi_sync_settings_modify] )) ||
_isi_sync_settings_modify() {
_arguments \
--restrict-target-network'=[Restrict target to its nodes in the target zone name]:BoolValueType:(true false)' \
--use-workers-per-node'=[If enabled, SyncIQ will use the deprecated workers_per_node field with worker pools functionality and limit workers accordingly.]:BoolValueType:(true false)' \
--report-max-count'=[Maximum number of reports to keep.]' \
--report-max-age'=[Maximum age of reports to keep.]' \
--source-subnet'=[Restricts replication policies on the local cluster to this subnet you must also specify --source-pool.]' \
--source-pool'=[Restricts replication policies on the local cluster to this pool you must also specify --source-subnet.]' \
--rpo-alerts'=[If disabled, no RPO alerts will be generated.]:BoolValueType:(true false)' \
--service'=[Sets the state of the SyncIQ application.]:EnumValidator:(on off paused)' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_sync_target] )) ||
_isi_sync_target() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ reports list view cancel break}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == reports ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-reports:"
      _isi_sync_target_reports
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-list:"
      _isi_sync_target_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-view:"
      _isi_sync_target_view
    elif [[ $cmd == cancel ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-cancel:"
      _isi_sync_target_cancel
    elif [[ $cmd == break ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-break:"
      _isi_sync_target_break
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_target_reports] )) ||
_isi_sync_target_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ subreports list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == subreports ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-reports-subreports:"
      _isi_sync_target_reports_subreports
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-reports-list:"
      _isi_sync_target_reports_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-reports-view:"
      _isi_sync_target_reports_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_target_reports_subreports] )) ||
_isi_sync_target_reports_subreports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-reports-subreports-list:"
      _isi_sync_target_reports_subreports_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-target-reports-subreports-view:"
      _isi_sync_target_reports_subreports_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_target_reports_subreports_list] )) ||
_isi_sync_target_reports_subreports_list() {
_arguments \
--policy-name'=[Policy name for the target report.]' \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-j,--job-id}'=[Job ID for the target report.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync target reports subreports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync target reports subreports to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(start_time end_time action state id policy_id policy_name job_id total_files files_transferred bytes_transferred duration errors warnings)' \
}
(( $+functions[_isi_sync_target_reports_subreports_view] )) ||
_isi_sync_target_reports_subreports_view() {
_arguments \
{-s,--subreport-id}'=[Subreport ID number.]' \
--policy-name'=[Policy name for the target report.]' \
{-j,--job-id}'=[Job ID for the target report.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_sync_target_reports_list] )) ||
_isi_sync_target_reports_list() {
_arguments \
--reports-per-policy'=[Specifies the number of reports to show per policy. Defaults to 10 if no other arguments are present.]' \
--policy-name'=[Show reports that have the specified policy name.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync target reports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync target reports to display.]' \
--state'=[Show reports with jobs that are in the specified state.]:EnumValidator:(scheduled running paused finished failed canceled needs_attention skipped pending unknown)' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(start_time end_time action state id policy_id policy_name job_id total_files files_transferred bytes_transferred duration errors warnings)' \
}
(( $+functions[_isi_sync_target_reports_view] )) ||
_isi_sync_target_reports_view() {
_arguments \
--policy-name'=[Policy name for the target report.]' \
{-j,--job-id}'=[Job ID for the target report.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_sync_target_list] )) ||
_isi_sync_target_list() {
_arguments \
--target-path'=[Show target policies that have the specified target path.]' \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync targets in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync targets to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(name source_host target_path last_job_state failover_failback_state)' \
}
(( $+functions[_isi_sync_target_view] )) ||
_isi_sync_target_view() {
_arguments \
--target-path'=[A target path for a sync policy.]' \
--policy'=[A target sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_target_cancel] )) ||
_isi_sync_target_cancel() {
_arguments \
--target-path'=[A target path for a sync policy.]' \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A target sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-h,--help}'[Display help for this command.]' \
--all'[Cancel all running jobs targeted to this cluster.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_target_break] )) ||
_isi_sync_target_break() {
_arguments \
--target-path'=[A target path for a sync policy.]' \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A target sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
{-f,--force}'[Break target association even if a job is currently running. Do not ask for confirmation.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_reports] )) ||
_isi_sync_reports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ subreports list view rotate}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == subreports ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-reports-subreports:"
      _isi_sync_reports_subreports
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-reports-list:"
      _isi_sync_reports_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-reports-view:"
      _isi_sync_reports_view
    elif [[ $cmd == rotate ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-reports-rotate:"
      _isi_sync_reports_rotate
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_reports_subreports] )) ||
_isi_sync_reports_subreports() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-reports-subreports-list:"
      _isi_sync_reports_subreports_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-reports-subreports-view:"
      _isi_sync_reports_subreports_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_reports_subreports_list] )) ||
_isi_sync_reports_subreports_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
--job-id'=[A sync job id.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync reports subreports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync reports subreports to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(start_time end_time action state policy_id total_files files_transferred bytes_transferred duration errors warnings subreport_id)' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_reports_subreports_view] )) ||
_isi_sync_reports_subreports_view() {
_arguments \
--subreport-id'=[A sync subreport id.]' \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
--job-id'=[A sync job id.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_reports_list] )) ||
_isi_sync_reports_list() {
_arguments \
--reports-per-policy'=[Specifies the number of reports to show per policy. Defaults to 10 if no other arguments are present.]' \
--policy-name'=[Show reports that have the specified policy name.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display sync reports in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of sync reports to display.]' \
--state'=[Show reports with jobs that are in the specified state.]:EnumValidator:(scheduled running paused finished failed canceled needs_attention skipped pending unknown)' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(start_time end_time action state id policy_id policy_name job_id total_files files_transferred bytes_transferred duration errors warnings)' \
}
(( $+functions[_isi_sync_reports_view] )) ||
_isi_sync_reports_view() {
_arguments \
--policy'=[A sync policy name.]:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
--job-id'=[A sync job id.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy:_cmdline_Option_shell_policy_3' \
}
(( $+functions[_isi_sync_reports_rotate] )) ||
_isi_sync_reports_rotate() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_sync_recovery] )) ||
_isi_sync_recovery() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ resync-prep allow-write}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == resync-prep ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-recovery-resync-prep:"
      _isi_sync_recovery_resync-prep
    elif [[ $cmd == allow-write ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-recovery-allow-write:"
      _isi_sync_recovery_allow-write
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_recovery_resync-prep] )) ||
_isi_sync_recovery_resync-prep() {
_arguments \
--policy-name'=[The policy name for the job to prepare for resync.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
}
(( $+functions[_isi_sync_recovery_allow-write] )) ||
_isi_sync_recovery_allow-write() {
_arguments \
{-w,--workers-per-node}'=[Number of workers per node.]' \
--policy-name'=[The policy name for the job to fail over/fail back.]:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
--log-level'=[Log level.]:EnumValidator:(fatal error notice info copy debug trace)' \
{-v,--verbose}'[Display more detailed information.]' \
--revert'[Revert this action.]' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_policy_name:_cmdline_Option_shell_policy_name_0' \
}
(( $+functions[_isi_sync_rules] )) ||
_isi_sync_rules() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-rules-list:"
      _isi_sync_rules_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-rules-view:"
      _isi_sync_rules_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-rules-create:"
      _isi_sync_rules_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-rules-modify:"
      _isi_sync_rules_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-sync-rules-delete:"
      _isi_sync_rules_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_sync_rules_list] )) ||
_isi_sync_rules_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display performance rules in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of performance rules to display.]' \
{-h,--help}'[Display help for this command.]' \
--type'=[Show performance rules with the specified type.]:EnumValidator:(file_count bandwidth cpu worker)' \
}
(( $+functions[_isi_sync_rules_view] )) ||
_isi_sync_rules_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--id'=[A sync performance rule ID.]:cmdline_Option_id:_cmdline_Option_shell_id_14' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_14' \
}
(( $+functions[_isi_sync_rules_create] )) ||
_isi_sync_rules_create() {
_arguments \
--description'=[Description for this performance rule.]' \
{-i,--interval}'=[Time interval for when the performance rule is active.]' \
{-v,--verbose}'[Display more detailed information.]' \
--limit'=[Performance rule limit in files/sec, kbps, cpu usage percentage, or percentage of maximum available workers.]' \
--type'=[Type for the sync performance rule.]:EnumValidator:(file_count bandwidth cpu worker)' \
{-d,--days}'=[Days of the week when the performance rule is active]' \
{-h,--help}'[Display help for this command.]' \
'1:EnumValidator:(file_count bandwidth cpu worker)' \
}
(( $+functions[_isi_sync_rules_modify] )) ||
_isi_sync_rules_modify() {
_arguments \
--description'=[Description for this performance rule.]' \
{-i,--interval}'=[Time interval for when the performance rule is active.]' \
--enabled'=[performance rule is enabled.]:BoolValueType:(true false)' \
{-v,--verbose}'[Display more detailed information.]' \
--limit'=[Performance rule limit in files/sec, kbps, cpu usage percentage, or percentage of maximum available workers.]' \
{-d,--days}'=[Days of the week when the performance rule is active]' \
{-h,--help}'[Display help for this command.]' \
--id'=[A sync performance rule ID.]:cmdline_Option_id:_cmdline_Option_shell_id_14' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_14' \
}
(( $+functions[_isi_sync_rules_delete] )) ||
_isi_sync_rules_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--type'=[Delete performance rules with the specified type.]:EnumValidator:(file_count bandwidth cpu worker)' \
--all'[delete all performance rules.]' \
--id'=[Delete the specified performance rule.]:cmdline_Option_id:_cmdline_Option_shell_id_14' \
'1:cmdline_Option_id:_cmdline_Option_shell_id_14' \
}
(( $+functions[_isi_tape] )) ||
_isi_tape() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view modify delete rescan}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-tape-list:"
      _isi_tape_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-tape-view:"
      _isi_tape_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-tape-modify:"
      _isi_tape_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-tape-delete:"
      _isi_tape_delete
    elif [[ $cmd == rescan ]]; then
      curcontext="${curcontext%:*:*}:isi-tape-rescan:"
      _isi_tape_rescan
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_tape_list] )) ||
_isi_tape_list() {
_arguments \
--activepath'[List only active paths of a device]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display tapes in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-h,--help}'[Display help for this command.]' \
--node'=[Scan only the node of the specified logical node number LNN.]' \
--tape'[List only tape devices]' \
--mc'[List only tape devices]' \
}
(( $+functions[_isi_tape_view] )) ||
_isi_tape_view() {
_arguments \
--activepath'[List only active paths of a device]' \
--format'=[Display tapes in the given format]:EnumValidator:(list json)' \
--name'=[device name]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_tape_modify] )) ||
_isi_tape_modify() {
_arguments \
--close-device'[if the device is in open state, force the state to be closed. After a NDMP session crashes, a tape or media changer device can be left in open state, and prevent the device being opened again. This option can change the state and allow the device to be opened.]' \
--new-name'=[new device name]' \
--name'=[old device name]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_tape_delete] )) ||
_isi_tape_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the tape.]' \
--all'[delete all tapes.]' \
}
(( $+functions[_isi_tape_rescan] )) ||
_isi_tape_rescan() {
_arguments \
--reconcile'[Remove entries for devices or paths that have become inaccessible.]' \
{-h,--help}'[Display help for this command.]' \
--node'=[Scan only the node of the specified logical node number LNN.]' \
--port'=[Scan only the specified port. If you specify --node, scan only the specified port on the specified node. If you do not specify --node, scan the specified port on all nodes.]' \
}
(( $+functions[_isi_time] )) ||
_isi_time() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ timezone}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == timezone ]]; then
      curcontext="${curcontext%:*:*}:isi-time-timezone:"
      _isi_time_timezone
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_time_timezone] )) ||
_isi_time_timezone() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-time-timezone-view:"
      _isi_time_timezone_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-time-timezone-modify:"
      _isi_time_timezone_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_time_timezone_view] )) ||
_isi_time_timezone_view() {
}
(( $+functions[_isi_time_timezone_modify] )) ||
_isi_time_timezone_modify() {
_arguments \
{-a,--abbreviation}'=[Timezone abbreviation. Specifying this argument skips the interactive time zone chooser.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
{-p,--path}'=[Timezone hierarchical name. Specifying this argument skips the interactive time zone chooser.]' \
}
(( $+functions[_isi_upgrade] )) ||
_isi_upgrade() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ cluster patches nodes firmware view commit start rollback assess settings from-version to-version add-nodes add-remaining-nodes retry-last-action archive rolling-reboot}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == cluster ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster:"
      _isi_upgrade_cluster
    elif [[ $cmd == patches ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-patches:"
      _isi_upgrade_patches
    elif [[ $cmd == nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes:"
      _isi_upgrade_cluster_nodes
    elif [[ $cmd == firmware ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-firmware:"
      _isi_upgrade_cluster_firmware
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-view:"
      _isi_upgrade_cluster_view
    elif [[ $cmd == commit ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-commit:"
      _isi_upgrade_cluster_commit
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-start:"
      _isi_upgrade_cluster_start
    elif [[ $cmd == rollback ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-rollback:"
      _isi_upgrade_cluster_rollback
    elif [[ $cmd == assess ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-assess:"
      _isi_upgrade_cluster_assess
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-settings:"
      _isi_upgrade_cluster_settings
    elif [[ $cmd == from-version ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-from-version:"
      _isi_upgrade_cluster_from-version
    elif [[ $cmd == to-version ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-to-version:"
      _isi_upgrade_cluster_to-version
    elif [[ $cmd == add-nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-add-nodes:"
      _isi_upgrade_cluster_add-nodes
    elif [[ $cmd == add-remaining-nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-add-remaining-nodes:"
      _isi_upgrade_cluster_add-remaining-nodes
    elif [[ $cmd == retry-last-action ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-retry-last-action:"
      _isi_upgrade_cluster_retry-last-action
    elif [[ $cmd == archive ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-archive:"
      _isi_upgrade_cluster_archive
    elif [[ $cmd == rolling-reboot ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-rolling-reboot:"
      _isi_upgrade_cluster_rolling-reboot
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster] )) ||
_isi_upgrade_cluster() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ nodes firmware view commit start rollback assess settings from-version to-version add-nodes add-remaining-nodes retry-last-action archive rolling-reboot firmware list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes:"
      _isi_upgrade_cluster_nodes
    elif [[ $cmd == firmware ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-firmware:"
      _isi_upgrade_cluster_firmware
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-view:"
      _isi_upgrade_cluster_view
    elif [[ $cmd == commit ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-commit:"
      _isi_upgrade_cluster_commit
    elif [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-start:"
      _isi_upgrade_cluster_start
    elif [[ $cmd == rollback ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-rollback:"
      _isi_upgrade_cluster_rollback
    elif [[ $cmd == assess ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-assess:"
      _isi_upgrade_cluster_assess
    elif [[ $cmd == settings ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-settings:"
      _isi_upgrade_cluster_settings
    elif [[ $cmd == from-version ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-from-version:"
      _isi_upgrade_cluster_from-version
    elif [[ $cmd == to-version ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-to-version:"
      _isi_upgrade_cluster_to-version
    elif [[ $cmd == add-nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-add-nodes:"
      _isi_upgrade_cluster_add-nodes
    elif [[ $cmd == add-remaining-nodes ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-add-remaining-nodes:"
      _isi_upgrade_cluster_add-remaining-nodes
    elif [[ $cmd == retry-last-action ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-retry-last-action:"
      _isi_upgrade_cluster_retry-last-action
    elif [[ $cmd == archive ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-archive:"
      _isi_upgrade_cluster_archive
    elif [[ $cmd == rolling-reboot ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-rolling-reboot:"
      _isi_upgrade_cluster_rolling-reboot
    elif [[ $cmd == firmware ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware:"
      _isi_upgrade_cluster_nodes_firmware
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-list:"
      _isi_upgrade_cluster_nodes_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-view:"
      _isi_upgrade_cluster_nodes_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster_nodes] )) ||
_isi_upgrade_cluster_nodes() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ firmware list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == firmware ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware:"
      _isi_upgrade_cluster_nodes_firmware
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-list:"
      _isi_upgrade_cluster_nodes_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-view:"
      _isi_upgrade_cluster_nodes_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware] )) ||
_isi_upgrade_cluster_nodes_firmware() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ progress devices package}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == progress ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware-progress:"
      _isi_upgrade_cluster_nodes_firmware_progress
    elif [[ $cmd == devices ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware-devices:"
      _isi_upgrade_cluster_nodes_firmware_devices
    elif [[ $cmd == package ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware-package:"
      _isi_upgrade_cluster_nodes_firmware_package
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware_progress] )) ||
_isi_upgrade_cluster_nodes_firmware_progress() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware-progress-view:"
      _isi_upgrade_cluster_nodes_firmware_progress_view
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware-progress-list:"
      _isi_upgrade_cluster_nodes_firmware_progress_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware_progress_view] )) ||
_isi_upgrade_cluster_nodes_firmware_progress_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--lnn'=[LNN of the cluster node.]' \
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware_progress_list] )) ||
_isi_upgrade_cluster_nodes_firmware_progress_list() {
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware_devices] )) ||
_isi_upgrade_cluster_nodes_firmware_devices() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware-devices-view:"
      _isi_upgrade_cluster_nodes_firmware_devices_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware_devices_view] )) ||
_isi_upgrade_cluster_nodes_firmware_devices_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--lnn'=[LNN of the cluster node.]' \
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware_package] )) ||
_isi_upgrade_cluster_nodes_firmware_package() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-nodes-firmware-package-view:"
      _isi_upgrade_cluster_nodes_firmware_package_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster_nodes_firmware_package_view] )) ||
_isi_upgrade_cluster_nodes_firmware_package_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--lnn'=[LNN of the cluster node.]' \
}
(( $+functions[_isi_upgrade_cluster_nodes_list] )) ||
_isi_upgrade_cluster_nodes_list() {
}
(( $+functions[_isi_upgrade_cluster_nodes_view] )) ||
_isi_upgrade_cluster_nodes_view() {
_arguments \
{-h,--help}'[Display help for this command.]' \
--lnn'=[LNN of the cluster node.]' \
}
(( $+functions[_isi_upgrade_cluster_firmware] )) ||
_isi_upgrade_cluster_firmware() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ start assess package devices view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == start ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-firmware-start:"
      _isi_upgrade_cluster_firmware_start
    elif [[ $cmd == assess ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-firmware-assess:"
      _isi_upgrade_cluster_firmware_assess
    elif [[ $cmd == package ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-firmware-package:"
      _isi_upgrade_cluster_firmware_package
    elif [[ $cmd == devices ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-firmware-devices:"
      _isi_upgrade_cluster_firmware_devices
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-cluster-firmware-view:"
      _isi_upgrade_cluster_firmware_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_cluster_firmware_start] )) ||
_isi_upgrade_cluster_firmware_start() {
_arguments \
--nodes-to-upgrade'=[List of comma-separated node LNNs to mark for upgrade or "all" for all the nodes.]' \
--exclude-device'=[List of comma-separated devices to exclude from the firmware upgrade.]' \
--include-device'=[List of comma-separated devices to include in firmware upgrade.]' \
--exclude-type'=[List of comma-separated device type  to exclude from the firmware upgrade.]' \
--include-type'=[List of comma-separated device types to include in firmware upgrade.]' \
--no-reboot'[Do not reboot node after firmware upgrade.]' \
--no-verify'[Dont verify the firmware upgrade of all components after an upgrade.]' \
--no-burn'[Do not burn the firmware.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_firmware_assess] )) ||
_isi_upgrade_cluster_firmware_assess() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_firmware_package] )) ||
_isi_upgrade_cluster_firmware_package() {
}
(( $+functions[_isi_upgrade_cluster_firmware_devices] )) ||
_isi_upgrade_cluster_firmware_devices() {
_arguments \
--refresh'[Re-gather firmware status on every node. Default is false.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_firmware_view] )) ||
_isi_upgrade_cluster_firmware_view() {
}
(( $+functions[_isi_upgrade_cluster_view] )) ||
_isi_upgrade_cluster_view() {
_arguments \
{-i,--interactive}'[Show interactive auto-refresing view of upgrade status.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_commit] )) ||
_isi_upgrade_cluster_commit() {
_arguments \
--force'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_start] )) ||
_isi_upgrade_cluster_start() {
_arguments \
--install-image-path'=[Absolute path of the upgrade install image. Must be within /ifs or an http:// source.]' \
--skip-optional'[Skip the optional pre-upgrade checks.]' \
--simultaneous'[Start a simultaneous upgrade.]' \
--force'[Do not ask confirmation.]' \
--nodes'=[List of comma 1,3,7 or dash 1-7 specified node LNNs to mark for upgrade. ]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_rollback] )) ||
_isi_upgrade_cluster_rollback() {
_arguments \
--force'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_assess] )) ||
_isi_upgrade_cluster_assess() {
_arguments \
--install-image-path'=[Absolute path of the upgrade install image. Must be within /ifs or an http:// source.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_settings] )) ||
_isi_upgrade_cluster_settings() {
}
(( $+functions[_isi_upgrade_cluster_from-version] )) ||
_isi_upgrade_cluster_from-version() {
}
(( $+functions[_isi_upgrade_cluster_to-version] )) ||
_isi_upgrade_cluster_to-version() {
}
(( $+functions[_isi_upgrade_cluster_add-nodes] )) ||
_isi_upgrade_cluster_add-nodes() {
_arguments \
--nodes'=[List of comma 1,3,7 or dash 1-7 specified node LNNs to mark for upgrade. ]' \
--force'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_add-remaining-nodes] )) ||
_isi_upgrade_cluster_add-remaining-nodes() {
_arguments \
--force'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_retry-last-action] )) ||
_isi_upgrade_cluster_retry-last-action() {
_arguments \
--nodes'=[List of comma 1,3,7 or dash 1-7 specified node LNNs to select. "all" can also be used to select all the cluster nodes at any given time]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_archive] )) ||
_isi_upgrade_cluster_archive() {
_arguments \
--clear'[Clear the Upgrade after an Archive is complete.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_cluster_rolling-reboot] )) ||
_isi_upgrade_cluster_rolling-reboot() {
_arguments \
--force'[Do not ask confirmation.]' \
--nodes'=[List of comma 1,3,7 or dash 1-7 specified node LNNs to select. "all" can also be used to select all the cluster nodes at any given time]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_patches] )) ||
_isi_upgrade_patches() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view install uninstall abort}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-patches-list:"
      _isi_upgrade_patches_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-patches-view:"
      _isi_upgrade_patches_view
    elif [[ $cmd == install ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-patches-install:"
      _isi_upgrade_patches_install
    elif [[ $cmd == uninstall ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-patches-uninstall:"
      _isi_upgrade_patches_uninstall
    elif [[ $cmd == abort ]]; then
      curcontext="${curcontext%:*:*}:isi-upgrade-patches-abort:"
      _isi_upgrade_patches_abort
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_upgrade_patches_list] )) ||
_isi_upgrade_patches_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display upgrade patches in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of upgrade patches to display.]' \
--local'[Only show patch information on the local node.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_patches_view] )) ||
_isi_upgrade_patches_view() {
_arguments \
{-p,--patch}'=[Name or id of the patch to view.  This can also be a full path of a patch file to examine before installing.]' \
--local'[Only show patch information on the local node.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_patches_install] )) ||
_isi_upgrade_patches_install() {
_arguments \
{-o,--override}'[Ignore patch system validation and force the installation.]' \
{-r,--rolling}'=[Perform a rolling patch install. A value of False will install on all nodes simultaneously.]:BoolValueType:(true false)' \
{-p,--patch}'=[The path of the patch to install.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_patches_uninstall] )) ||
_isi_upgrade_patches_uninstall() {
_arguments \
{-o,--override}'[Ignore patch system validation and force the uninstallation.]' \
{-r,--rolling}'=[Perform a rolling patch uninstall. A value of False will uninstall from all nodes simultaneously.]:BoolValueType:(true false)' \
{-p,--patch}'=[Name or id of the patch to uninstall.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_upgrade_patches_abort] )) ||
_isi_upgrade_patches_abort() {
_arguments \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_worm] )) ||
_isi_worm() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ domains files cdate}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == domains ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-domains:"
      _isi_worm_domains
    elif [[ $cmd == files ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-files:"
      _isi_worm_files
    elif [[ $cmd == cdate ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-cdate:"
      _isi_worm_cdate
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_worm_domains] )) ||
_isi_worm_domains() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create view modify}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-domains-list:"
      _isi_worm_domains_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-domains-create:"
      _isi_worm_domains_create
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-domains-view:"
      _isi_worm_domains_view
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-domains-modify:"
      _isi_worm_domains_modify
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_worm_domains_list] )) ||
_isi_worm_domains_list() {
_arguments \
{-d,--descending}'[Sort data in descending order.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display worm domains in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of worm domains to display.]' \
{-h,--help}'[Display help for this command.]' \
--sort'=[Sort data by the specified field.]:EnumValidator:(id path type lin autocommit_offset override_date privileged_delete default_retention min_retention max_retention)' \
}
(( $+functions[_isi_worm_domains_create] )) ||
_isi_worm_domains_create() {
_arguments \
--disable-privileged-delete'[Disable privileged delete for the WORM domain. The privileged delete property of the domain can never be changed after this.]' \
{-a,--autocommit-offset}'=[Duration until files are automatically committed in the domain]' \
{-d,--default-retention}'=[Default retention period for all files in the domain.]' \
{-p,--privileged-delete}'=[Files can be deleted from the WORM domain with a privileged delete command.]:BoolValueType:(true false)' \
{-x,--max-retention}'=[Maximum value for file retention periods in the WORM domain.]' \
{-m,--min-retention}'=[Minimum value for file retention periods in the WORM domain.]' \
{-o,--override-date}'=[File retention date for the WORM domain. Files will be retained for the greater of the override date and the individual file retention date.]' \
{-C,--compliance}'[Use compliance mode for the WORM domain.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-M,--mkdir}'[Use this flag to create the path on the cluster if it doesnt already exist]' \
--path'=[Path for the WORM domain.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_worm_domains_view] )) ||
_isi_worm_domains_view() {
_arguments \
--domain'=[A WORM domain identified by ID, path or LIN.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_worm_domains_modify] )) ||
_isi_worm_domains_modify() {
_arguments \
--disable-privileged-delete'[Disable privileged delete for the WORM domain. The privileged delete property of the domain can never be changed after this.]' \
--clear-autocommit-offset'[Clear value for duration until files are automatically committed in the domain]' \
--clear-default-retention'[Clear value for default retention period for all files in the domain.]' \
--clear-max-retention'[Clear value for maximum value for file retention periods in the WORM domain.]' \
--clear-min-retention'[Clear value for minimum value for file retention periods in the WORM domain.]' \
--clear-override-date'[Clear value for file retention date for the WORM domain. Files will be retained for the greater of the override date and the individual file retention date.]' \
{-a,--autocommit-offset}'=[Duration until files are automatically committed in the domain]' \
{-d,--default-retention}'=[Default retention period for all files in the domain.]' \
{-p,--privileged-delete}'=[Files can be deleted from the WORM domain with a privileged delete command.]:BoolValueType:(true false)' \
{-x,--max-retention}'=[Maximum value for file retention periods in the WORM domain.]' \
{-m,--min-retention}'=[Minimum value for file retention periods in the WORM domain.]' \
{-o,--override-date}'=[File retention date for the WORM domain. Files will be retained for the greater of the override date and the individual file retention date.]' \
{-C,--compliance}'[Use compliance mode for the WORM domain.]' \
{-v,--verbose}'[Display more detailed information.]' \
--domain'=[A WORM domain identified by ID, path or LIN.]' \
{-f,--force}'[Do not ask confirmation.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_worm_files] )) ||
_isi_worm_files() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-files-view:"
      _isi_worm_files_view
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-files-delete:"
      _isi_worm_files_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_worm_files_view] )) ||
_isi_worm_files_view() {
_arguments \
{-s,--no-symlinks}'[Do not follow symlinks.]' \
--path'=[Path of the worm file. Must be within /ifs.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_path:_files' \
}
(( $+functions[_isi_worm_files_delete] )) ||
_isi_worm_files_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--path'=[Path of the worm file. Must be within /ifs.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_path:_files' \
}
(( $+functions[_isi_worm_cdate] )) ||
_isi_worm_cdate() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ view set}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-cdate-view:"
      _isi_worm_cdate_view
    elif [[ $cmd == set ]]; then
      curcontext="${curcontext%:*:*}:isi-worm-cdate-set:"
      _isi_worm_cdate_set
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_worm_cdate_view] )) ||
_isi_worm_cdate_view() {
}
(( $+functions[_isi_worm_cdate_set] )) ||
_isi_worm_cdate_set() {
}
(( $+functions[_isi_zone] )) ||
_isi_zone() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ zones restrictions list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == zones ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones:"
      _isi_zone_zones
    elif [[ $cmd == restrictions ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-restrictions:"
      _isi_zone_restrictions
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-list:"
      _isi_zone_zones_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-view:"
      _isi_zone_zones_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-create:"
      _isi_zone_zones_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-modify:"
      _isi_zone_zones_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-delete:"
      _isi_zone_zones_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_zone_zones] )) ||
_isi_zone_zones() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list view create modify delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-list:"
      _isi_zone_zones_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-view:"
      _isi_zone_zones_view
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-create:"
      _isi_zone_zones_create
    elif [[ $cmd == modify ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-modify:"
      _isi_zone_zones_modify
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-zones-delete:"
      _isi_zone_zones_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_zone_zones_list] )) ||
_isi_zone_zones_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display zones in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of zones to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_zone_zones_view] )) ||
_isi_zone_zones_view() {
_arguments \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_zone_zones_create] )) ||
_isi_zone_zones_create() {
_arguments \
--negative-cache-entry-expiry'=[Specifies number of seconds the negative cache entry is valid.]' \
--home-directory-umask'=[Specifies the permissions set on auto-created user home directories.]' \
--cache-entry-expiry'=[Specifies duration of time to cache a user/group.]' \
--skeleton-directory'=[Sets the skeleton directory for user home directories.]' \
--user-mapping-rules'=[Replaces current ID mapping rules.]' \
--auth-providers'=[Replaces the list of authentication providers used in this zone.]' \
--force-overlap'[Allow for overlapping base path.]' \
--map-untrusted'=[Maps untrusted domains to this NetBIOS domain during authentication.]' \
--netbios-name'=[Specifies the NetBIOS name.]' \
--create-path'[Create zone path if it doesnt already exist.]' \
--groupnet'=[Specifies a groupnet.]' \
{-v,--verbose}'[Display more detailed information.]' \
--name'=[Name for the zone.  A valid zone name begins with a letter and contains only alphanumeric characters and -.]' \
--path'=[Root directory path of zone. Paths for zones must not overlap.]:cmdline_Option_path:_files' \
{-h,--help}'[Display help for this command.]' \
'2:cmdline_Option_path:_files' \
}
(( $+functions[_isi_zone_zones_modify] )) ||
_isi_zone_zones_modify() {
_arguments \
--revert-negative-cache-entry-expiry'[Set value to system default for --negative-cache-entry-expiry.]' \
--negative-cache-entry-expiry'=[Specifies number of seconds the negative cache entry is valid.]' \
--remove-user-mapping-rules'=[Remove items from current ID mapping rules.]' \
--revert-cache-entry-expiry'[Set value to system default for --cache-entry-expiry.]' \
--clear-user-mapping-rules'[Clear current ID mapping rules.]' \
--add-user-mapping-rules'=[Add items to current ID mapping rules.]' \
--remove-auth-providers'=[Remove items from list of authentication providers used in this zone.]' \
--clear-auth-providers'[Clear list of authentication providers used in this zone.]' \
--home-directory-umask'=[Specifies the permissions set on auto-created user home directories.]' \
--add-auth-providers'=[Add items to list of authentication providers used in this zone.]' \
--cache-entry-expiry'=[Specifies duration of time to cache a user/group.]' \
--skeleton-directory'=[Sets the skeleton directory for user home directories.]' \
--user-mapping-rules'=[Replaces current ID mapping rules.]' \
--auth-providers'=[Replaces the list of authentication providers used in this zone.]' \
--force-overlap'[Allow for overlapping base path.]' \
--map-untrusted'=[Maps untrusted domains to this NetBIOS domain during authentication.]' \
--netbios-name'=[Specifies the NetBIOS name.]' \
--create-path'[Create zone path if it doesnt already exist.]' \
{-v,--verbose}'[Display more detailed information.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
{-h,--help}'[Display help for this command.]' \
--name'=[Name for the zone.  A valid zone name begins with a letter and contains only alphanumeric characters and -.]' \
--path'=[Root directory path of zone. Paths for zones must not overlap.]:cmdline_Option_path:_files' \
'1:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_zone_zones_delete] )) ||
_isi_zone_zones_delete() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Do not ask confirmation.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_zone_restrictions] )) ||
_isi_zone_restrictions() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list create delete}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-restrictions-list:"
      _isi_zone_restrictions_list
    elif [[ $cmd == create ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-restrictions-create:"
      _isi_zone_restrictions_create
    elif [[ $cmd == delete ]]; then
      curcontext="${curcontext%:*:*}:isi-zone-restrictions-delete:"
      _isi_zone_restrictions_delete
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_zone_restrictions_list] )) ||
_isi_zone_restrictions_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display zone restrictions in the given format]:EnumValidator:(table json csv list)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of zone restrictions to display.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
{-h,--help}'[Display help for this command.]' \
'1:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
}
(( $+functions[_isi_zone_restrictions_create] )) ||
_isi_zone_restrictions_create() {
_arguments \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-v,--verbose}'[Display more detailed information.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--gid'=[A numeric group identifier.]' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'2:cmdline_Option_user:_users' \
}
(( $+functions[_isi_zone_restrictions_delete] )) ||
_isi_zone_restrictions_delete() {
_arguments \
--wellknown'=[A well-known user, group, machine or account name.]' \
{-v,--verbose}'[Display more detailed information.]' \
--group'=[A group name.]:cmdline_Option_group:_groups' \
{-f,--force}'[Do not ask confirmation.]' \
--zone'=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
--user'=[A user name.]:cmdline_Option_user:_users' \
{-h,--help}'[Display help for this command.]' \
--gid'=[A numeric group identifier.]' \
--uid'=[A numeric user identifier.]' \
--sid'=[A security identifier.]' \
'1:cmdline_Option_zone:_cmdline_Option_shell_zone_0' \
'2:cmdline_Option_user:_users' \
}
(( $+functions[_isi_statistics] )) ||
_isi_statistics() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ heat client pstat protocol drive query system workload list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == heat ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-heat:"
      _isi_statistics_heat
    elif [[ $cmd == client ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-client:"
      _isi_statistics_client
    elif [[ $cmd == pstat ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-pstat:"
      _isi_statistics_pstat
    elif [[ $cmd == protocol ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-protocol:"
      _isi_statistics_protocol
    elif [[ $cmd == drive ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-drive:"
      _isi_statistics_drive
    elif [[ $cmd == query ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-query:"
      _isi_statistics_query
    elif [[ $cmd == system ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-system:"
      _isi_statistics_system
    elif [[ $cmd == workload ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-workload:"
      _isi_statistics_workload
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-list:"
      _isi_statistics_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_heat] )) ||
_isi_statistics_heat() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-heat-list:"
      _isi_statistics_heat_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_heat_list] )) ||
_isi_statistics_heat_list() {
_arguments \
--nohumanize'[Output raw numbers without conversion to units.]' \
--pathdepth'=[Squash paths to this directory depth.]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
--classes'=[Specify classes for which statistics should be reported.]' \
--maxpath'=[Maximum path length to lookup in filesytem.]' \
--numeric'[Whether or not to resolve LINs into filenames.]' \
--totalby'=[Aggregate per specified fieldss.]' \
{-v,--verbose}'[Display more detailed information.]' \
--events'=[Only report specified event typess.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics heats in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--output'=[Output specified columns.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
{-l,--limit}'=[Number of statistics heats to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--long'[Display all possible columns.]' \
--sort'=[Sort data by the specified comma-separated fields. Prepend asc: or desc: to a field to change the sort order.]' \
}
(( $+functions[_isi_statistics_client] )) ||
_isi_statistics_client() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-client-list:"
      _isi_statistics_client_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_client_list] )) ||
_isi_statistics_client_list() {
_arguments \
--remote-addresses'=[Only report statistics for operations requested by the remote clients with dotted-quad IP addresses.]' \
--local-addresses'=[Only report statistics for operations handled by the local hosts with dotted-quad IP addresses.]' \
--remote-names'=[Only report statistics for operations requested by the remote clients with resolved names.]' \
--local-names'=[Only report statistics for operations handled by the local hosts with resolved names.]' \
--nohumanize'[Output raw numbers without conversion to units.]' \
--user-names'=[Only report statistics for operations requested by users with resolved names.]' \
--protocols'=[A comma separated string with the protocols you wish to return.]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
--user-ids'=[Only report statistics for operations requested by users with numeric UIDs.]' \
--classes'=[Specify classes for which statistics should be reported.]' \
--numeric'[Whether or not to resolve addresses, usernames, and groupnames]' \
--totalby'=[Aggregate per specified fieldss.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics clients in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--output'=[Output specified columns.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
{-l,--limit}'=[Number of statistics clients to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--long'[Display all possible columns.]' \
--sort'=[Sort data by the specified comma-separated fields. Prepend asc: or desc: to a field to change the sort order.]' \
}
(( $+functions[_isi_statistics_pstat] )) ||
_isi_statistics_pstat() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-pstat-list:"
      _isi_statistics_pstat_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_pstat_list] )) ||
_isi_statistics_pstat_list() {
_arguments \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
--protocol'=[Choose a protocol to report on. Default is nfs3.]' \
{-v,--verbose}'[Display more detailed information.]' \
--format'=[Display statistics pstats in the given format]:EnumValidator:(table json csv top)' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_statistics_protocol] )) ||
_isi_statistics_protocol() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-protocol-list:"
      _isi_statistics_protocol_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_protocol_list] )) ||
_isi_statistics_protocol_list() {
_arguments \
--nohumanize'[Output raw numbers without conversion to units.]' \
--operations'=[Only report statistics for the specified operations.]' \
--protocols'=[Specify protocols for which statistics should be reported. Default is all external protocols.]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
--classes'=[Specify classes for which statistics should be reported.]' \
--totalby'=[Aggregate per specified fieldss.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics protocols in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--output'=[Output specified columns.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
{-l,--limit}'=[Number of statistics protocols to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--long'[Display all possible columns.]' \
--sort'=[Sort data by the specified comma-separated fields. Prepend asc: or desc: to a field to change the sort order.]' \
--zero'[Show table rows for which there is currently no data.]' \
}
(( $+functions[_isi_statistics_drive] )) ||
_isi_statistics_drive() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-drive-list:"
      _isi_statistics_drive_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_drive_list] )) ||
_isi_statistics_drive_list() {
_arguments \
--nohumanize'[Output raw numbers without conversion to units.]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics drives in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--output'=[Output specified columns.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
{-l,--limit}'=[Number of statistics drives to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--long'[Display all possible columns.]' \
--sort'=[Sort data by the specified comma-separated fields. Prepend asc: or desc: to a field to change the sort order.]' \
--type'=[Specify drive types for which statistics should be reported.]' \
}
(( $+functions[_isi_statistics_query] )) ||
_isi_statistics_query() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ current history}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == current ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-query-current:"
      _isi_statistics_query_current
    elif [[ $cmd == history ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-query-history:"
      _isi_statistics_query_history
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_query_current] )) ||
_isi_statistics_query_current() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-query-current-list:"
      _isi_statistics_query_current_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_query_current_list] )) ||
_isi_statistics_query_current_list() {
_arguments \
--type-info'[Request type information for statistics]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display queries in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
--substr'[For each KEY in --keys=KEY,KEY*, match the statistics .*KEY.*.]' \
{-l,--limit}'=[Number of queries to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--keys'=[Comma separated list of statistics keys you want to query.]' \
--long'[Display all possible columns.]' \
--raw'[Output complex objects as hex.]' \
}
(( $+functions[_isi_statistics_query_history] )) ||
_isi_statistics_query_history() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-query-history-list:"
      _isi_statistics_query_history_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_query_history_list] )) ||
_isi_statistics_query_history_list() {
_arguments \
--memory-only'[Only retrieve the in-memory statistics, not those persisted to disk.]' \
--nohumanize'[Output raw numbers without conversion to units.]' \
--resolution'=[Minimum interval between series data points in seconds.]' \
--type-info'[Request type information for statistics]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display queries in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
--substr'[For each KEY in --keys=KEY,KEY*, match the statistics .*KEY.*.]' \
--begin'=[Begin time.]' \
{-l,--limit}'=[Number of queries to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--keys'=[Comma separated list of statistics keys you want to query.]' \
--end'=[End time.]' \
--raw'[Output complex objects as hex.]' \
}
(( $+functions[_isi_statistics_system] )) ||
_isi_statistics_system() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-system-list:"
      _isi_statistics_system_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_system_list] )) ||
_isi_statistics_system_list() {
_arguments \
--nohumanize'[Output raw numbers without conversion to units.]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
--oprates'[Display protocol operation rate statistics rather than the default throughput statistics.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics systems in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--output'=[Output specified columns.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
{-l,--limit}'=[Number of statistics systems to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--long'[Display all possible columns.]' \
--sort'=[Sort data by the specified comma-separated fields. Prepend asc: or desc: to a field to change the sort order.]' \
}
(( $+functions[_isi_statistics_workload] )) ||
_isi_statistics_workload() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-workload-list:"
      _isi_statistics_workload_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_workload_list] )) ||
_isi_statistics_workload_list() {
_arguments \
--system-names'=[Only report statistics for workloads specified by system names.]' \
--nohumanize'[Output raw numbers without conversion to units.]' \
--job-types'=[Only report statistics for a job specified by type.]' \
{-d,--degraded}'[Continue to report if some nodes do not respond.]' \
{-i,--interval}'=[Wait <INTERVAL> seconds before refreshing the display.]' \
--totalby'=[Aggregate per specified fieldss.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics workloads in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
--output'=[Output specified columns.]' \
{-r,--repeat}'=[Print the requested data <REPEAT> times -1 for infinite.]' \
{-l,--limit}'=[Number of statistics workloads to display.]' \
{-n,--nodes}'=[Specify nodes for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0' \
{-h,--help}'[Display help for this command.]' \
--long'[Display all possible columns.]' \
--sort'=[Sort data by the specified comma-separated fields. Prepend asc: or desc: to a field to change the sort order.]' \
}
(( $+functions[_isi_statistics_list] )) ||
_isi_statistics_list() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ keys operations}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == keys ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-list-keys:"
      _isi_statistics_list_keys
    elif [[ $cmd == operations ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-list-operations:"
      _isi_statistics_list_operations
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_list_keys] )) ||
_isi_statistics_list_keys() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-list-keys-list:"
      _isi_statistics_list_keys_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_list_keys_list] )) ||
_isi_statistics_list_keys_list() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics list keys in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of statistics list keys to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_statistics_list_operations] )) ||
_isi_statistics_list_operations() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ list}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-statistics-list-operations-list:"
      _isi_statistics_list_operations_list
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_statistics_list_operations_list] )) ||
_isi_statistics_list_operations_list() {
_arguments \
--protocols'=[Specify protocols for which operations will be listed.]' \
{-v,--verbose}'[Display more detailed information.]' \
{-z,--no-footer}'[Do not display table summary footer information.]' \
--format'=[Display statistics list operations in the given format]:EnumValidator:(table json csv list top)' \
{-a,--no-header}'[Do not display headers in CSV or table formats.]' \
{-l,--limit}'=[Number of statistics list operations to display.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_hardening] )) ||
_isi_hardening() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ apply revert status}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == apply ]]; then
      curcontext="${curcontext%:*:*}:isi-hardening-apply:"
      _isi_hardening_apply
    elif [[ $cmd == revert ]]; then
      curcontext="${curcontext%:*:*}:isi-hardening-revert:"
      _isi_hardening_revert
    elif [[ $cmd == status ]]; then
      curcontext="${curcontext%:*:*}:isi-hardening-status:"
      _isi_hardening_status
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_hardening_apply] )) ||
_isi_hardening_apply() {
_arguments \
--profile'=[Hardening Policy Name]' \
--report'=[This option generates the report of expected state of the system without applying the hardening policy.]:BoolValueType:(true false)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_hardening_revert] )) ||
_isi_hardening_revert() {
_arguments \
{-v,--verbose}'[Display more detailed information.]' \
{-f,--force}'[Forcefully reverting hardening policy after fixing all issues.]' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_hardening_status] )) ||
_isi_hardening_status() {
}
(( $+functions[_isi_version] )) ||
_isi_version() {
_arguments \
--format'=[Display version information in the given format]:EnumValidator:(list json)' \
{-h,--help}'[Display help for this command.]' \
}
(( $+functions[_isi_status] )) ||
_isi_status() {
_arguments \
{-p,--all-nodepools}'[Display nodepool status for all nodepools in the cluster.]' \
{-a,--all-nodes}'[Display node-specific status for all nodes in the cluster.]' \
{-l,--nodepool}'=[Display nodepool status for the specified nodepool.]' \
{-v,--verbose}'[Display more detailed information only with --nodepool or --all_nodepools options.]' \
{-q,--quiet}'[Display less detailed information.]' \
{-h,--help}'[Display help for this command.]' \
{-n,--node}'=[Display node-specific status for the node with the given node id.]' \
}
_isi_classic "$@"
_disi_diskpools "$@"
_isi_ndmp "$@"
_isi_classic_auth "$@"
(( $+functions[_cmdline_Option_shell_zone_0] )) ||
_cmdline_Option_shell_zone_0() {
compadd $( ( isi zone zones list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_0] )) ||
_cmdline_Option_shell_name_0() {
compadd $( ( isi audit topics list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_1] )) ||
_cmdline_Option_shell_name_1() {
compadd $( ( isi auth ads ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_2] )) ||
_cmdline_Option_shell_name_2() {
compadd $( ( isi auth file ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_3] )) ||
_cmdline_Option_shell_name_3() {
compadd $( ( isi auth local ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_4] )) ||
_cmdline_Option_shell_name_4() {
compadd $( ( isi auth nis ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_5] )) ||
_cmdline_Option_shell_name_5() {
compadd $( ( isi antivirus policies ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_6] )) ||
_cmdline_Option_shell_name_6() {
compadd $( ( isi filepool policies list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_7] )) ||
_cmdline_Option_shell_name_7() {
compadd $( ( isi license list --no-header --no-footer | awk 'BEGIN{count=1};{if(count>3)print $1;count++}' | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_8] )) ||
_cmdline_Option_shell_name_8() {
compadd $( ( isi network groupnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_9] )) ||
_cmdline_Option_shell_name_9() {
compadd $( ( isi network pools list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_10] )) ||
_cmdline_Option_shell_name_10() {
compadd $( ( isi network rules list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_11] )) ||
_cmdline_Option_shell_name_11() {
compadd $( ( isi network subnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_primary_group_gid_0] )) ||
_cmdline_Option_shell_primary_group_gid_0() {
compadd $( ( isi auth groups ls -v | grep GID | grep -v "Generated" | awk -F":" '{print $2}' | tr -d " " | sort -n ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_primary_group_0] )) ||
_cmdline_Option_shell_primary_group_0() {
compadd $( ( isi auth groups ls -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_remove_group_0] )) ||
_cmdline_Option_shell_remove_group_0() {
compadd $( ( isi auth groups ls -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_remove_gid_0] )) ||
_cmdline_Option_shell_remove_gid_0() {
compadd $( ( isi auth groups ls -v | grep GID | grep -v "Generated" | awk -F":" '{print $2}' | tr -d " " | sort -n ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_add_group_0] )) ||
_cmdline_Option_shell_add_group_0() {
compadd $( ( isi auth groups ls -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_add_gid_0] )) ||
_cmdline_Option_shell_add_gid_0() {
compadd $( ( isi auth groups ls -v | grep GID | grep -v "Generated" | awk -F":" '{print $2}' | tr -d " " | sort -n ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_add_user_0] )) ||
_cmdline_Option_shell_add_user_0() {
compadd $( ( isi auth users ls -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_add_uid_0] )) ||
_cmdline_Option_shell_add_uid_0() {
compadd $( ( isi auth users list -v | grep UID | grep -v "Generated" | awk -F":" '{print $2}' | tr -d " " | sort -n ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_remove_user_0] )) ||
_cmdline_Option_shell_remove_user_0() {
compadd $( ( isi auth users ls -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_remove_uid_0] )) ||
_cmdline_Option_shell_remove_uid_0() {
compadd $( ( isi auth users list -v | grep UID | grep -v "Generated" | awk -F":" '{print $2}' | tr -d " " | sort -n ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_role_0] )) ||
_cmdline_Option_shell_role_0() {
compadd $( ( isi auth roles list --no-header --no-footer | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_add_priv_ro_0] )) ||
_cmdline_Option_shell_add_priv_ro_0() {
compadd $( ( isi auth privileges -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_remove_priv_0] )) ||
_cmdline_Option_shell_remove_priv_0() {
compadd $( ( isi auth privileges -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_add_priv_0] )) ||
_cmdline_Option_shell_add_priv_0() {
compadd $( ( isi auth privileges -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_url_0] )) ||
_cmdline_Option_shell_url_0() {
compadd $( ( isi antivirus servers ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_0] )) ||
_cmdline_Option_shell_id_0() {
compadd $( ( isi antivirus servers ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_1] )) ||
_cmdline_Option_shell_id_1() {
compadd $( ( isi antivirus policies ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_2] )) ||
_cmdline_Option_shell_id_2() {
compadd $( ( isi antivirus reports scans list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_3] )) ||
_cmdline_Option_shell_id_3() {
compadd $( ( isi antivirus reports threats list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_4] )) ||
_cmdline_Option_shell_id_4() {
compadd $( ( isi filepool policies list -v | grep ID | awk '{print $2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_5] )) ||
_cmdline_Option_shell_id_5() {
compadd $( ( isi job types list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_6] )) ||
_cmdline_Option_shell_id_6() {
compadd $( ( isi job policies list -v | grep ID | awk '{print $2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_7] )) ||
_cmdline_Option_shell_id_7() {
compadd $( ( isi network groupnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_8] )) ||
_cmdline_Option_shell_id_8() {
compadd $( ( isi network pools list  -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_9] )) ||
_cmdline_Option_shell_id_9() {
compadd $( ( isi network pools list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_10] )) ||
_cmdline_Option_shell_id_10() {
compadd $( ( isi network rules list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_11] )) ||
_cmdline_Option_shell_id_11() {
compadd $( ( isi network subnets list --no-header --no-footer --format=csv | cut -f 1 -d, | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_12] )) ||
_cmdline_Option_shell_id_12() {
compadd $( ( isi network subnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_13] )) ||
_cmdline_Option_shell_id_13() {
compadd $( ( isi smb log-level filters list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_14] )) ||
_cmdline_Option_shell_id_14() {
compadd $( ( isi sync rules list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_policy_0] )) ||
_cmdline_Option_shell_policy_0() {
compadd $( ( isi antivirus policies ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_policy_1] )) ||
_cmdline_Option_shell_policy_1() {
compadd $( ( isi antivirus policies ls -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_policy_2] )) ||
_cmdline_Option_shell_policy_2() {
compadd $( ( isi job policies list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_policy_3] )) ||
_cmdline_Option_shell_policy_3() {
compadd $( ( isi sync policies list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_scan_id_0] )) ||
_cmdline_Option_shell_scan_id_0() {
compadd $( ( isi antivirus reports scans ls -az | /usr/bin/awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_node_lnn_0] )) ||
_cmdline_Option_shell_node_lnn_0() {
compadd $( ( isi_nodes %{lnn} | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_node_lnn_1] )) ||
_cmdline_Option_shell_node_lnn_1() {
compadd $( ( echo $(isi_nodes %{lnn} | tr '\n' ' ') 'all' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_job_id_0] )) ||
_cmdline_Option_shell_job_id_0() {
compadd $( ( isi dedupe reports list -az | awk '{print $2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_bay_0] )) ||
_cmdline_Option_shell_bay_0() {
compadd $( ( echo $( isi devices drive list --no-header --no-footer --format=csv | cut -d, -f2 | sed 's/Bay//' | tr -d '"' | tr -d ' ' | tr '\n' ' ') 'all' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_bay_1] )) ||
_cmdline_Option_shell_bay_1() {
compadd $( ( isi devices drive list --no-header --no-footer --format=csv | cut -d, -f2 | sed 's/Bay//' | tr -d '"' | tr -d ' ' | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_lnum_0] )) ||
_cmdline_Option_shell_lnum_0() {
compadd $( ( isi devices drive list --no-header --no-footer --format=csv | grep -v '251' | cut -d, -f4 | sort | uniq | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_sled_0] )) ||
_cmdline_Option_shell_sled_0() {
compadd $( ( isi devices drive list --no-header --no-footer --format=csv | grep -v '251' | cut -d, -f7 | sort | uniq | grep -v '?' | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_job_0] )) ||
_cmdline_Option_shell_job_0() {
compadd $( ( isi job jobs list -az | awk '{print $1,$2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_type_0] )) ||
_cmdline_Option_shell_type_0() {
compadd $( ( isi job types list --no-header --no-footer --format=csv | cut -f1 -d, | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_licenses_to_exclude_0] )) ||
_cmdline_Option_shell_licenses_to_exclude_0() {
compadd $( ( isi license list --no-header --no-footer | awk 'BEGIN{count=1};{if(count>3)print $1;count++}' | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_licenses_to_include_0] )) ||
_cmdline_Option_shell_licenses_to_include_0() {
compadd $( ( isi license list --no-header --no-footer | awk 'BEGIN{count=1};{if(count>3)print $1;count++}' | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_only_these_licenses_0] )) ||
_cmdline_Option_shell_only_these_licenses_0() {
compadd $( ( isi license list --no-header --no-footer | awk 'BEGIN{count=1};{if(count>3)print $1;count++}' | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_share_0] )) ||
_cmdline_Option_shell_share_0() {
compadd $( ( isi smb shares list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_level_0] )) ||
_cmdline_Option_shell_level_0() {
compadd $( ( isi smb log-level filters list -az | awk '{print $2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_snapshot_0] )) ||
_cmdline_Option_shell_snapshot_0() {
compadd $( ( isi snapshot ls -az | /usr/bin/awk '{print $1}{print $2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_schedule_0] )) ||
_cmdline_Option_shell_schedule_0() {
compadd $( ( isi snapshot schedules list -az | /usr/bin/awk '{print $1}{print $2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_schedule_name_0] )) ||
_cmdline_Option_shell_schedule_name_0() {
compadd $( ( isi snapshot schedules list -az | /usr/bin/awk '{print $1}{print $2}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_policy_name_0] )) ||
_cmdline_Option_shell_policy_name_0() {
compadd $( ( isi sync policies list -az | awk '{print $1}' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_nodes_0] )) ||
_cmdline_Option_shell_nodes_0() {
compadd $( ( echo $(isi_nodes %{id} | tr '\n' ' ') 'all' ) 2>/dev/null )
}
