#compdef isi

#This file was auto-generated

# Copyright C 2008-2016 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 cloud dedupe event devices email fc file-filter filepool ftp hdfs 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 == cloud ]]; then
      curcontext="${curcontext%:*:*}:isi-cloud:"
      _isi_cloud
    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 == email ]]; then
      curcontext="${curcontext%:*:*}:isi-email:"
      _isi_email
    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 == 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 $@ settings topics}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $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_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 \
"--add-audited-zones=[Add items to 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.]" \
"--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]" \
"--cee-server-uris=[Specify a 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.]" \
"--clear-cee-server-uris[Clear list of CEE server URIs to which audit logs are forwarded.]" \
"--config-auditing-enabled=[Enables/disables auditing of configuration change requests.]:BoolValueType:(true false)" \
"--config-syslog-enabled=[Enables/disables forwarding of config audit events to syslog.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--hostname=[Hostname of this cluster for reporting protocol events, typically the SmartConnect zone name.]" \
"--protocol-auditing-enabled=[Enables/disables auditing of I/O requests.]:BoolValueType:(true false)" \
"--remove-audited-zones=[Remove items from list of zones which will be audited when protocol auditing is enabled.]" \
"--remove-cee-server-uris=[Remove items from 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]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_audit_settings_global_view] )) ||
_isi_audit_settings_global_view() {
}
(( $+functions[_isi_audit_settings_modify] )) ||
_isi_audit_settings_modify() {
_arguments \
"--add-audit-failure=[Add items to list of audit operations]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--add-audit-success=[Add items to list of audit operations]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--add-syslog-audit-events=[Add items to list of audit operations]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--audit-failure=[Filter for auditing protocol operations that failed.  'all' can be used to indicate all valid filter operations.]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--audit-success=[Filter for auditing protocol operations that succeeded.  'all' can be used to indicate all valid filter operations.]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--clear-audit-failure[Clear list of audit operations]" \
"--clear-audit-success[Clear list of audit operations]" \
"--clear-syslog-audit-events[Clear list of audit operations]" \
"--help[Display help for this command.]" \
"--remove-audit-failure=[Remove items from list of audit operations]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--remove-audit-success=[Remove items from list of audit operations]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--remove-syslog-audit-events=[Remove items from list of audit operations]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--syslog-audit-events=[Filter for auditing protocol operations to syslog.  'all' can be used to indicate all valid filter operations.]:EnumValidator:(close create delete get_security logoff logon read rename set_security tree_connect write all)" \
"--syslog-forwarding-enabled=[Enables syslog forwarding of zone audit events.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_audit_settings_view] )) ||
_isi_audit_settings_view() {
_arguments \
"--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" \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display audit topics in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of audit topics to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_audit_topics_modify] )) ||
_isi_audit_topics_modify() {
_arguments \
"--name=[Name for the audit topic.]:cmdline_Option_name:_cmdline_Option_shell_name_0" \
"--help[Display help for this command.]" \
"--max-cached-messages=[Sets limit on how many audit messages can be cached internally before they are written to persistent store.]" \
"--verbose[Display more detailed information.]" \
"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 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 == 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() {
_arguments \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_settings_acls_modify] )) ||
_isi_auth_settings_acls_modify() {
_arguments \
"--access=[Access checks (chmod, chown).]:EnumValidator:(unix windows)" \
"--calcmode=[Displayed mode bits.]:EnumValidator:(approx 777)" \
"--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=[chmod on files with existing ACLs.]:EnumValidator:(remove replace replace_users_and_groups merge deny ignore)" \
"--chmod-007=[chmod (007) on files with existing ACLs.]:EnumValidator:(default remove)" \
"--chmod-inheritable=[ACLs created on directories by UNIX chmod.]:EnumValidator:(yes no)" \
"--chown=[chown/chgrp on files with existing ACLs.]:EnumValidator:(owner_group_and_acl owner_group_only ignore)" \
"--create-over-smb=[ACL creation over SMB.]:EnumValidator:(allow disallow)" \
"--dos-attr=[Read only DOS attribute.]:EnumValidator:(deny_smb deny_smb_and_nfs)" \
"--group-owner-inheritance=[Group owner inheritance.]:EnumValidator:(native parent creator)" \
"--help[Display help for this command.]" \
"--rwx=[Treatment of 'rwx' permissions.]:EnumValidator:(retain full_control)" \
"--synthetic-denies=[Synthetic 'deny' ACEs.]:EnumValidator:(none remove)" \
"--utimes=[Access checks (utimes).]:EnumValidator:(only_owner owner_and_write)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_settings_global_modify] )) ||
_isi_auth_settings_global_modify() {
_arguments \
"--help[Display help for this command.]" \
"--on-disk-identity=[Specifies type of identity stored on disk.]:EnumValidator:(native unix sid)" \
"--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-on-disk-identity[Set value to system default for --on-disk-identity.]" \
"--revert-rpc-block-time[Set value to system default for --rpc-block-time.]" \
"--revert-rpc-max-requests[Set value to system default for --rpc-max-requests.]" \
"--revert-send-ntlmv2[Set value to system default for --send-ntlmv2.]" \
"--revert-space-replacement[Set value to system default for --space-replacement.]" \
"--revert-unknown-gid[Set value to system default for --unknown-gid.]" \
"--revert-unknown-uid[Set value to system default for --unknown-uid.]" \
"--revert-user-object-cache-size[Set value to system default for --user-object-cache-size.]" \
"--revert-workgroup[Set value to system default for --workgroup.]" \
"--rpc-block-time=[Specifies the length of time in milliseconds before an ID mapper request becomes asynchronous.]" \
"--rpc-max-requests=[Specifies maximum number of simultaneous ID Mapper requests.]" \
"--send-ntlmv2=[Specifies whether to send NTLMv2 responses.]:BoolValueType:(true false)" \
"--space-replacement=[Replacement character when specifying names which include spaces on the CLI.]" \
"--unknown-gid=[Specifies GID to use for the unknown (anonymous) group.]" \
"--unknown-uid=[Specifies UID to use for the unknown (anonymous, user.]" \
"--user-object-cache-size=[Specifies the maximum size (in bytes) of the security object cache in the authentication daemon.]" \
"--verbose[Display more detailed information.]" \
"--workgroup=[Sets NetBIOS workgroup name.]" \
}
(( $+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() {
_arguments \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_settings_krb5_modify] )) ||
_isi_auth_settings_krb5_modify() {
_arguments \
"--always-send-preauth=[Specifies whether to send preauth.]:BoolValueType:(true false)" \
"--default-realm=[Specifies the default realm by name.]" \
"--dns-lookup-kdc=[Enables use of DNS to find KDCs.]:BoolValueType:(true false)" \
"--dns-lookup-realm=[Enables use of DNS to find realm names.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--revert-always-send-preauth[Set value to system default for --always-send-preauth.]" \
"--revert-dns-lookup-kdc[Set value to system default for --dns-lookup-kdc.]" \
"--revert-dns-lookup-realm[Set value to system default for --dns-lookup-realm.]" \
}
(( $+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 \
"--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 \
"--gid-range-enabled=[Enables allocation of automatic GIDs 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.]" \
"--help[Display help for this command.]" \
"--revert-gid-range-enabled[Set value to system default for --gid-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-enabled[Set value to system default for --uid-range-enabled.]" \
"--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.]" \
"--uid-range-enabled=[Enables allocation of automatic UIDs in the ID mapper.]:BoolValueType:(true false)" \
"--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.]" \
"--verbose[Display more detailed information.]" \
"--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 \
"--name=[Name for the user.]" \
"--email=[Specifies an Email address.]" \
"--enabled=[user is enabled.]:BoolValueType:(true false)" \
"--expiry=[Time at which the user account will expire.]" \
"--force[Ignore warnings when creating/modifying users and groups.]" \
"--gecos=[Sets GECOS value (usually full name).]" \
"--help[Display help for this command.]" \
"--home-directory=[Specifies user's home directory.]" \
"--password=[Changes user's password.]" \
"--password-expires=[Specifies whether password is allowed to expire.]:BoolValueType:(true false)" \
"--primary-group=[Specifies the primary group by name.]" \
"--primary-group-gid=[Specifies the primary group by GID.]" \
"--primary-group-sid=[Specifies the primary group by SID.]" \
"--prompt-password-change=[Prompts the user to change their password on next login.]:BoolValueType:(true false)" \
"--provider=[Specifies an authentication provider.]" \
"--set-password[Specify --password interactively]" \
"--shell=[Sets path to user's shell.]" \
"--uid=[Sets user UID.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Specifies name of zone in which to create the user.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_users_view] )) ||
_isi_auth_users_view() {
_arguments \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--cached[Make command only return cached information.]" \
"--help[Display help for this command.]" \
"--provider=[Specifies an authentication provider.]" \
"--resolve-names[Resolves names of all related groups and related personas.]" \
"--show-groups[Displays group memberships.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_user:_users" \
}
(( $+functions[_isi_auth_users_list] )) ||
_isi_auth_users_list() {
_arguments \
"--domain=[Specifies the provider domain.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display users in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of users to display.]" \
"--provider=[Specifies an authentication provider.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_users_modify] )) ||
_isi_auth_users_modify() {
_arguments \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--add-gid=[Specifies the group ID of the group to which to add the user.]" \
"--add-group=[Add user to a group by group name.]" \
"--email=[Specifies an Email address.]" \
"--enabled=[user is enabled.]:BoolValueType:(true false)" \
"--expiry=[Time at which the user account will expire.]" \
"--force[Ignore warnings when creating/modifying users and groups.]" \
"--gecos=[Sets GECOS value (usually full name).]" \
"--help[Display help for this command.]" \
"--home-directory=[Specifies user's home directory.]" \
"--new-uid=[Sets new user UID.]" \
"--password=[Changes user's password.]" \
"--password-expires=[Specifies whether password is allowed to expire.]:BoolValueType:(true false)" \
"--primary-group=[Specifies the primary group by name.]" \
"--primary-group-gid=[Specifies the primary group by GID.]" \
"--primary-group-sid=[Specifies the primary group by SID.]" \
"--prompt-password-change=[Prompts the user to change their password on next login.]:BoolValueType:(true false)" \
"--provider=[Specifies an authentication provider.]" \
"--remove-gid=[Specifies ID of group from which to remove the user.]" \
"--remove-group=[Specifies name of group from which to remove the user.]" \
"--set-password[Specify --password interactively]" \
"--shell=[Sets path to user's shell.]" \
"--unlock[Unlocks the user's account if locked.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Specifies name of zone in which to modify the user.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_user:_users" \
}
(( $+functions[_isi_auth_users_delete] )) ||
_isi_auth_users_delete() {
_arguments \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--provider=[Specifies an authentication provider.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Specifies name of zone in which to delete the user.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"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 \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--sid=[A security identifier.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display groups in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of groups to display.]" \
"--provider=[Specifies an authentication provider.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_group:_groups" \
}
(( $+functions[_isi_auth_groups_create] )) ||
_isi_auth_groups_create() {
_arguments \
"--name=[Name for the group.]" \
"--add-sid=[Specifies SID of the persona to add to the group.]" \
"--add-uid=[Specifies UID of the user to add to the group.]" \
"--add-user=[Specifies name of the user to add to the group.]" \
"--add-wellknown=[Specifies well-known persona to add to the group.]" \
"--force[Ignore warnings when creating/modifying users and groups.]" \
"--gid=[Sets group GID.]" \
"--help[Display help for this command.]" \
"--provider=[Specifies an authentication provider.]" \
"--sid=[Sets group security identifier (SID).]" \
"--verbose[Display more detailed information.]" \
"--zone=[Specifies name of zone in which to create the group.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_groups_view] )) ||
_isi_auth_groups_view() {
_arguments \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--sid=[A security identifier.]" \
"--cached[Make command only return cached information.]" \
"--help[Display help for this command.]" \
"--provider=[Specifies an authentication provider.]" \
"--show-groups[Displays groups that have this group as a member.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_group:_groups" \
}
(( $+functions[_isi_auth_groups_list] )) ||
_isi_auth_groups_list() {
_arguments \
"--domain=[Specifies the provider domain.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display groups in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of groups to display.]" \
"--provider=[Specifies an authentication provider.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_groups_modify] )) ||
_isi_auth_groups_modify() {
_arguments \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--sid=[A security identifier.]" \
"--add-sid=[Specifies SID of the persona to add to the group.]" \
"--add-uid=[Specifies UID of the user to add to the group.]" \
"--add-user=[Specifies name of the user to add to the group.]" \
"--add-wellknown=[Specifies well-known persona to add to the group.]" \
"--force[Ignore warnings when creating/modifying users and groups.]" \
"--help[Display help for this command.]" \
"--new-gid=[Sets new group ID.]" \
"--provider=[Specifies an authentication provider.]" \
"--remove-sid=[Specifies SID of the persona to remove from the group.]" \
"--remove-uid=[Specifies UID of the user to remove from the group.]" \
"--remove-user=[Specify name of the user to remove from the group.]" \
"--remove-wellknown=[Specifies well-known persona to remove from the group.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Specifies name of zone in which to modify the group.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_group:_groups" \
}
(( $+functions[_isi_auth_groups_delete] )) ||
_isi_auth_groups_delete() {
_arguments \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--sid=[A security identifier.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--provider=[Specifies an authentication provider.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Specifies name of zone in which to delete the group.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"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 \
"--role=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display members in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of members to display.]" \
"--verbose[Display more detailed information.]" \
"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 \
"--role=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display privileges in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of privileges to display.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_role:_cmdline_Option_shell_role_0" \
}
(( $+functions[_isi_auth_roles_create] )) ||
_isi_auth_roles_create() {
_arguments \
"--name=[Name for the role.]" \
"--description=[Description for this role.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_roles_view] )) ||
_isi_auth_roles_view() {
_arguments \
"--role=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0" \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display roles in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of roles to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_roles_modify] )) ||
_isi_auth_roles_modify() {
_arguments \
"--role=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0" \
"--add-gid=[Specifies the GID of the group to add to the role.]" \
"--add-group=[Specifies the name of the group to add to the role.]" \
"--add-priv=[Specifies a privilege to add to the role (e.g. ISI_PRIV_NFS).]" \
"--add-priv-ro=[Specifies a privilege to add to the role as read-only.]" \
"--add-sid=[Specifies SID of the persona to add to the role.]" \
"--add-uid=[Specifies UID of the user to add to the role.]" \
"--add-user=[Specifies name of the user to add to the role.]" \
"--add-wellknown=[Specifies well-known persona to add to the role. E.g. 'Everyone'.]" \
"--description=[Description for this role.]" \
"--help[Display help for this command.]" \
"--name=[Name for the role.]" \
"--remove-gid=[Specifies GID of the group to remove from the role.]" \
"--remove-group=[Specifies the name of the group to remove from the role.]" \
"--remove-priv=[Specifies a privilege to remove from the role.]" \
"--remove-sid=[Specifies SID of the persona to remove from the role.]" \
"--remove-uid=[Specifies UID of the user to remove from the role.]" \
"--remove-user=[Specifies name of the user to remove from the role.]" \
"--remove-wellknown=[Specifies well-known persona to remove from the role.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_role:_cmdline_Option_shell_role_0" \
}
(( $+functions[_isi_auth_roles_delete] )) ||
_isi_auth_roles_delete() {
_arguments \
"--role=[Specifies an existing role name.]:cmdline_Option_role:_cmdline_Option_shell_role_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"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.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ads_trusts_list] )) ||
_isi_auth_ads_trusts_list() {
_arguments \
"--provider=[Specifies an authentication provider.]" \
"--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.]" \
"--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.]" \
"--spn=[Specifies the service principal name.]" \
"--help[Display help for this command.]" \
"--password=[Sets password used during SPN modification.]" \
"--user=[Specifies a user name with permission to create SPNs in the given Active Directory domain.]" \
}
(( $+functions[_isi_auth_ads_spn_delete] )) ||
_isi_auth_ads_spn_delete() {
_arguments \
"--provider-name=[Specifies Active Directory provider name.]" \
"--spn=[Specifies the service principal name.]" \
"--help[Display help for this command.]" \
"--password=[Sets password used during SPN modification.]" \
"--user=[Specifies a user name with permission to create SPNs in the given Active Directory domain.]" \
}
(( $+functions[_isi_auth_ads_spn_list] )) ||
_isi_auth_ads_spn_list() {
_arguments \
"--provider-name=[Specifies Active Directory provider name.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ads_spn_check] )) ||
_isi_auth_ads_spn_check() {
_arguments \
"--provider-name=[Specifies Active Directory provider name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_ads_spn_fix] )) ||
_isi_auth_ads_spn_fix() {
_arguments \
"--provider-name=[Specifies Active Directory provider name.]" \
"--help[Display help for this command.]" \
"--password=[Sets password used during SPN modification.]" \
"--spn=[Specifies the service principal name.]" \
"--user=[Specifies a user name with permission to create SPNs in the given Active Directory domain.]" \
}
(( $+functions[_isi_auth_ads_create] )) ||
_isi_auth_ads_create() {
_arguments \
"--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.]" \
"--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)" \
"--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)" \
"--dns-domain=[Specifies the DNS search domain. Set if DNS search domain differs from required parameter <name>.]" \
"--domain-offline-alerts=[Send an alert if the domain goes offline.]:BoolValueType:(true false)" \
"--findable-groups=[Specifies a list of groups in this provider that can be resolved.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--groupnet=[Specifies a groupnet by name.]" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--ignore-all-trusts=[Ignores all trusted domains.]:BoolValueType:(true false)" \
"--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.]" \
"--kerberos-hdfs-spn=[Adds SPNs for using Kerberized HDFS.]:BoolValueType:(true false)" \
"--kerberos-nfs-spn=[Adds SPNs for using Kerberized NFS.]:BoolValueType:(true false)" \
"--ldap-sign-and-seal=[Uses encryption and signing on LDAP requests to a DC.]:BoolValueType:(true false)" \
"--login-shell=[Sets pathname of login shell.]" \
"--lookup-domains=[Specifies a list of AD domains to which user and group lookups are limited when using --lookup-users and --lookup-groups.]" \
"--lookup-groups=[Looks up AD groups in other providers to find matching GID before allocating an internally generated GID.]:BoolValueType:(true false)" \
"--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)" \
"--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.]" \
"--machine-password-changes=[Enables periodic changes of machine password for security.]:BoolValueType:(true false)" \
"--machine-password-lifespan=[Sets maximum age of the machine account password.]" \
"--node-dc-affinity=[Specifies the domain controller to which the node should affinitize]" \
"--node-dc-affinity-timeout=[Specifies the timeout for the local node affinity to a domain controller]" \
"--nss-enumeration=[Enables the Active Directory provider to respond to getpwent and getgrent requests.]:BoolValueType:(true false)" \
"--organizational-unit=[Specifies organizational unit.]" \
"--password=[Sets password used during domain join.]" \
"--restrict-findable=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)" \
"--sfu-support=[Specifies whether to support RFC 2307 attributes for Windows domain controllers.]:EnumValidator:(none rfc2307)" \
"--store-sfu-mappings=[Stores SFU mappings permanently in the ID mapper.]:BoolValueType:(true false)" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ads_view] )) ||
_isi_auth_ads_view() {
_arguments \
"--provider-name=[Specifies Active Directory provider name.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ads_list] )) ||
_isi_auth_ads_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ads_modify] )) ||
_isi_auth_ads_modify() {
_arguments \
"--provider-name=[Specifies Active Directory provider name.]" \
"--add-findable-groups=[Add items to list of findable groups.]" \
"--add-findable-users=[Add items to list of findable users.]" \
"--add-ignored-trusted-domains=[Add items to list of ignored trusted domains.]" \
"--add-include-trusted-domains=[Add items to list of included trusted domains.]" \
"--add-lookup-domains=[Add items to list of lookup domains.]" \
"--add-unfindable-groups=[Add items to  list of unfindable groups.]" \
"--add-unfindable-users=[Add items to list of unfindable users]" \
"--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)" \
"--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.]" \
"--clear-findable-users[Clear list of findable users.]" \
"--clear-ignored-trusted-domains[Clear list of ignored trusted domains.]" \
"--clear-include-trusted-domains[Clear list of included trusted domains.]" \
"--clear-lookup-domains[Clear list of lookup domains.]" \
"--clear-unfindable-groups[Clear  list of unfindable groups.]" \
"--clear-unfindable-users[Clear list of unfindable users]" \
"--create-home-directory=[Automatically create user home directory on first login.]:BoolValueType:(true false)" \
"--domain-controller=[Specifies a preferred domain controller to which the authentication service should send requests.]" \
"--domain-offline-alerts=[Send an alert if the domain goes offline.]:BoolValueType:(true false)" \
"--findable-groups=[Specifies a list of groups in this provider that can be resolved.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--ignore-all-trusts=[Ignores all trusted domains.]:BoolValueType:(true false)" \
"--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.]" \
"--ldap-sign-and-seal=[Uses encryption and signing on LDAP requests to a DC.]:BoolValueType:(true false)" \
"--login-shell=[Sets pathname of login shell.]" \
"--lookup-domains=[Specifies a list of AD domains to which user and group lookups are limited when using --lookup-users and --lookup-groups.]" \
"--lookup-groups=[Looks up AD groups in other providers to find matching GID before allocating an internally generated GID.]:BoolValueType:(true false)" \
"--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)" \
"--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.]" \
"--machine-password-changes=[Enables periodic changes of machine password for security.]:BoolValueType:(true false)" \
"--machine-password-lifespan=[Sets maximum age of the machine account password.]" \
"--node-dc-affinity=[Specifies the domain controller to which the node should affinitize]" \
"--node-dc-affinity-timeout=[Specifies the timeout for the local node affinity to a domain controller]" \
"--nss-enumeration=[Enables the Active Directory provider to respond to getpwent and getgrent requests.]:BoolValueType:(true false)" \
"--remove-findable-groups=[Remove items from list of findable groups.]" \
"--remove-findable-users=[Remove items from list of findable users.]" \
"--remove-ignored-trusted-domains=[Remove items from list of ignored trusted domains.]" \
"--remove-include-trusted-domains=[Remove items from list of included trusted domains.]" \
"--remove-lookup-domains=[Remove items from list of lookup domains.]" \
"--remove-unfindable-groups=[Remove items from  list of unfindable groups.]" \
"--remove-unfindable-users=[Remove items from list of unfindable users]" \
"--reset-schannel=[Resets the secure channel to the primary domain.]:BoolValueType:(true false)" \
"--restrict-findable=[Check the provider for filtered lists of findable and unfindable users and groups.]:BoolValueType:(true false)" \
"--sfu-support=[Specifies whether to support RFC 2307 attributes for Windows domain controllers.]:EnumValidator:(none rfc2307)" \
"--store-sfu-mappings=[Stores SFU mappings permanently in the ID mapper.]:BoolValueType:(true false)" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ads_delete] )) ||
_isi_auth_ads_delete() {
_arguments \
"--provider-name=[Specifies Active Directory provider name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--name=[Specifies file provider name.]" \
"--authentication=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)" \
"--create-home-directory=[Automatically create user home directory on first login.]:BoolValueType:(true false)" \
"--enabled=[Enables the file provider.]:BoolValueType:(true false)" \
"--enumerate-groups=[Enables provider to enumerate groups.]: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.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--group-domain=[Domain used to qualify groups for this provider. Default is FILE_GROUPS.]" \
"--group-file=[Specifies groups replacement file.]" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--listable-groups=[Specifies a list of groups in this provider that can be viewed.]" \
"--listable-users=[Specifies a list of users in this provider that can be viewed.]" \
"--login-shell=[Sets pathname of login shell.]" \
"--modifiable-groups=[Specifies a list of groups in this provider that can be modified.]" \
"--modifiable-users=[Specifies a list of users in this provider that can be modified.]" \
"--netgroup-file=[Path to a netgroups replacement file.]" \
"--normalize-groups=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)" \
"--normalize-users=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)" \
"--ntlm-support=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)" \
"--password-file=[Path to a passwd.db replacement file.]" \
"--provider-domain=[Domain used to qualify user and group names for this provider.]" \
"--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)" \
"--restrict-modifiable=[Check the provider for filtered lists of modifiable and unmodifiable users and groups.]:BoolValueType:(true false)" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--unlistable-groups=[Specifies a list of groups in this provider that cannot be viewed.]" \
"--unlistable-users=[Specifies a list of users in this provider that cannot be viewed.]" \
"--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.]" \
"--user-domain=[Domain used to qualify users for this provider. Default is FILE_USERS.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_file_view] )) ||
_isi_auth_file_view() {
_arguments \
"--provider-name=[Specifies file provider name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_file_list] )) ||
_isi_auth_file_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_file_modify] )) ||
_isi_auth_file_modify() {
_arguments \
"--provider-name=[Specifies file provider name.]" \
"--add-findable-groups=[Add items to list of findable groups.]" \
"--add-findable-users=[Add items to list of findable users.]" \
"--add-listable-groups=[Add items to list of viewable groups.]" \
"--add-listable-users=[Add items to list of viewable users.]" \
"--add-modifiable-groups=[Add items to list of modifiable groups.]" \
"--add-modifiable-users=[Add items to list of modifiable users.]" \
"--add-unfindable-groups=[Add items to  list of unfindable groups.]" \
"--add-unfindable-users=[Add items to list of unfindable users]" \
"--add-unlistable-groups=[Add items to list of unviewable groups.]" \
"--add-unlistable-users=[Add items to list of unviewable users.]" \
"--add-unmodifiable-groups=[Add items to list of unmodifiable groups]" \
"--add-unmodifiable-users=[Add items to list of unmodifiable users]" \
"--authentication=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)" \
"--clear-findable-groups[Clear list of findable groups.]" \
"--clear-findable-users[Clear list of findable users.]" \
"--clear-listable-groups[Clear list of viewable groups.]" \
"--clear-listable-users[Clear list of viewable users.]" \
"--clear-modifiable-groups[Clear list of modifiable groups.]" \
"--clear-modifiable-users[Clear list of modifiable users.]" \
"--clear-unfindable-groups[Clear  list of unfindable groups.]" \
"--clear-unfindable-users[Clear list of unfindable users]" \
"--clear-unlistable-groups[Clear list of unviewable groups.]" \
"--clear-unlistable-users[Clear list of unviewable users.]" \
"--clear-unmodifiable-groups[Clear list of unmodifiable groups]" \
"--clear-unmodifiable-users[Clear list of unmodifiable users]" \
"--create-home-directory=[Automatically create user home directory on first login.]:BoolValueType:(true false)" \
"--enabled=[Enables the file provider.]:BoolValueType:(true false)" \
"--enumerate-groups=[Enables provider to enumerate groups.]: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.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--group-domain=[Domain used to qualify groups for this provider. Default is FILE_GROUPS.]" \
"--group-file=[Specifies groups replacement file.]" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--listable-groups=[Specifies a list of groups in this provider that can be viewed.]" \
"--listable-users=[Specifies a list of users in this provider that can be viewed.]" \
"--login-shell=[Sets pathname of login shell.]" \
"--modifiable-groups=[Specifies a list of groups in this provider that can be modified.]" \
"--modifiable-users=[Specifies a list of users in this provider that can be modified.]" \
"--name=[Specifies new file provider name.]" \
"--netgroup-file=[Path to a netgroups replacement file.]" \
"--normalize-groups=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)" \
"--normalize-users=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)" \
"--ntlm-support=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)" \
"--password-file=[Path to a passwd.db replacement file.]" \
"--provider-domain=[Domain used to qualify user and group names for this provider.]" \
"--remove-findable-groups=[Remove items from list of findable groups.]" \
"--remove-findable-users=[Remove items from list of findable users.]" \
"--remove-listable-groups=[Remove items from list of viewable groups.]" \
"--remove-listable-users=[Remove items from list of viewable users.]" \
"--remove-modifiable-groups=[Remove items from list of modifiable groups.]" \
"--remove-modifiable-users=[Remove items from list of modifiable users.]" \
"--remove-unfindable-groups=[Remove items from  list of unfindable groups.]" \
"--remove-unfindable-users=[Remove items from list of unfindable users]" \
"--remove-unlistable-groups=[Remove items from list of unviewable groups.]" \
"--remove-unlistable-users=[Remove items from list of unviewable users.]" \
"--remove-unmodifiable-groups=[Remove items from list of unmodifiable groups]" \
"--remove-unmodifiable-users=[Remove items from list of unmodifiable 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)" \
"--restrict-modifiable=[Check the provider for filtered lists of modifiable and unmodifiable users and groups.]:BoolValueType:(true false)" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--unlistable-groups=[Specifies a list of groups in this provider that cannot be viewed.]" \
"--unlistable-users=[Specifies a list of users in this provider that cannot be viewed.]" \
"--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.]" \
"--user-domain=[Domain used to qualify users for this provider. Default is FILE_USERS.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_file_delete] )) ||
_isi_auth_file_delete() {
_arguments \
"--provider-name=[Specifies file provider name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--name=[Specifies the name of the new LDAP provider.]" \
"--alternate-security-identities-attribute=[Specifies attribute name used when searching for alternate security identities.]" \
"--authentication=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)" \
"--balance-servers=[Makes provider connect to a random server on each request.]:BoolValueType:(true false)" \
"--base-dn=[Sets root of tree in which to search for identities.]" \
"--bind-dn=[Sets distinguished name used when binding to LDAP server.]" \
"--bind-password=[Sets password for distinguished name used when binding to the LDAP server.]" \
"--bind-timeout=[Sets timeout in seconds when binding to LDAP server.]" \
"--certificate-authority-file=[Sets path to root certificates file.]" \
"--check-online-interval=[Specifies duration between provider online checks.]" \
"--cn-attribute=[Specifies attribute name used when searching for canonical name.]" \
"--create-home-directory=[Automatically create user home directory on first login.]:BoolValueType:(true false)" \
"--crypt-password-attribute=[Sets attribute name used when searching for hashed password value.]" \
"--email-attribute=[Sets attribute name used when searching for the LDAP Email.]" \
"--enabled=[Enables the LDAP provider.]:BoolValueType:(true false)" \
"--enumerate-groups=[Enables provider to enumerate groups.]: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.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--force[Ignore warnings when creating/modifying an LDAP provider]" \
"--gecos-attribute=[Sets the attribute name used when searching for GECOS data.]" \
"--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.]" \
"--group-domain=[Domain used to qualify groups for this provider. Default is LDAP_GROUPS.]" \
"--group-filter=[Sets LDAP filter for group objects.]" \
"--group-members-attribute=[Sets the attribute name used when searching for Group Members.]" \
"--group-search-scope=[Defines the depth from the base DN to perform LDAP searches for groups.]:EnumValidator:(default base onelevel subtree children)" \
"--groupnet=[Specifies a groupnet by name.]" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--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)" \
"--listable-groups=[Specifies a list of groups in this provider that can be viewed.]" \
"--listable-users=[Specifies a list of users in this provider that can be viewed.]" \
"--login-shell=[Sets pathname of login shell.]" \
"--member-of-attribute=[Sets the attribute name used when searching reverse memberships in LDAP.]" \
"--name-attribute=[Sets the attribute name used when searching for UID, which is used as the login name.]" \
"--netgroup-base-dn=[Sets distinguished name of the entry at which to start the LDAP search for netgroups.]" \
"--netgroup-filter=[Sets LDAP filter for netgroup objects.]" \
"--netgroup-members-attribute=[Sets the attribute name used when searching for Netgroup Members.]" \
"--netgroup-search-scope=[Defines the depth from the base DN to perform LDAP searches for netgroups.]:EnumValidator:(default base onelevel subtree children)" \
"--netgroup-triple-attribute=[Sets the attribute name used when searching for Netgroup Triple.]" \
"--normalize-groups=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)" \
"--normalize-users=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)" \
"--nt-password-attribute=[Sets the attribute name used when searching for NT Password.]" \
"--ntlm-support=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)" \
"--provider-domain=[Domain used to qualify user and group names for this provider.]" \
"--require-secure-connection=[Specifies whether to require a secure TLS connection.]: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)" \
"--search-scope=[Defines the default depth from the base DN to perform LDAP searches.]:EnumValidator:(base onelevel subtree children)" \
"--search-timeout=[Sets search timeout period in seconds.]" \
"--server-uris=[Specifies a list of LDAP server URIs to use when accessing the LDAP server.]" \
"--set-bind-password[Specify --bind-password interactively]" \
"--shell-attribute=[Sets the attribute name used when searching for the user's shell.]" \
"--uid-attribute=[Sets the attribute name used when searching for LDAP UID Number.]" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--unique-group-members-attribute=[Sets the attribute name used when searching for Unique Group Members.]" \
"--unlistable-groups=[Specifies a list of groups in this provider that cannot be viewed.]" \
"--unlistable-users=[Specifies a list of users in this provider that cannot be viewed.]" \
"--user-base-dn=[Sets distinguished name of the entry at which to start LDAP searches for users.]" \
"--user-domain=[Domain used to qualify users for this provider. Default is LDAP_USERS.]" \
"--user-filter=[Sets LDAP filter for user objects.]" \
"--user-search-scope=[Defines the depth from the base DN to perform LDAP searches for users.]:EnumValidator:(default base onelevel subtree children)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ldap_view] )) ||
_isi_auth_ldap_view() {
_arguments \
"--provider-name=[Specifies the LDAP provider name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_ldap_list] )) ||
_isi_auth_ldap_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ldap_modify] )) ||
_isi_auth_ldap_modify() {
_arguments \
"--provider-name=[Specifies the LDAP provider name.]" \
"--add-findable-groups=[Add items to list of findable groups.]" \
"--add-findable-users=[Add items to list of findable users.]" \
"--add-listable-groups=[Add items to list of viewable groups.]" \
"--add-listable-users=[Add items to list of viewable users.]" \
"--add-server-uris=[Add items to list of LDAP server URIs.]" \
"--add-unfindable-groups=[Add items to  list of unfindable groups.]" \
"--add-unfindable-users=[Add items to list of unfindable users]" \
"--add-unlistable-groups=[Add items to list of unviewable groups.]" \
"--add-unlistable-users=[Add items to list of unviewable users.]" \
"--alternate-security-identities-attribute=[Specifies attribute name used when searching for alternate security identities.]" \
"--authentication=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)" \
"--balance-servers=[Makes provider connect to a random server on each request.]:BoolValueType:(true false)" \
"--base-dn=[Sets root of tree in which to search for identities.]" \
"--bind-dn=[Sets distinguished name used when binding to LDAP server.]" \
"--bind-password=[Sets password for distinguished name used when binding to the LDAP server.]" \
"--bind-timeout=[Sets timeout in seconds when binding to LDAP server.]" \
"--certificate-authority-file=[Sets path to root certificates file.]" \
"--check-online-interval=[Specifies duration between provider online checks.]" \
"--clear-findable-groups[Clear list of findable groups.]" \
"--clear-findable-users[Clear list of findable users.]" \
"--clear-listable-groups[Clear list of viewable groups.]" \
"--clear-listable-users[Clear list of viewable users.]" \
"--clear-server-uris[Clear list of LDAP server URIs.]" \
"--clear-unfindable-groups[Clear  list of unfindable groups.]" \
"--clear-unfindable-users[Clear list of unfindable users]" \
"--clear-unlistable-groups[Clear list of unviewable groups.]" \
"--clear-unlistable-users[Clear list of unviewable users.]" \
"--cn-attribute=[Specifies attribute name used when searching for canonical name.]" \
"--create-home-directory=[Automatically create user home directory on first login.]:BoolValueType:(true false)" \
"--crypt-password-attribute=[Sets attribute name used when searching for hashed password value.]" \
"--email-attribute=[Sets attribute name used when searching for the LDAP Email.]" \
"--enabled=[Enables the LDAP provider.]:BoolValueType:(true false)" \
"--enumerate-groups=[Enables provider to enumerate groups.]: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.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--force[Ignore warnings when creating/modifying an LDAP provider]" \
"--gecos-attribute=[Sets the attribute name used when searching for GECOS data.]" \
"--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.]" \
"--group-domain=[Domain used to qualify groups for this provider. Default is LDAP_GROUPS.]" \
"--group-filter=[Sets LDAP filter for group objects.]" \
"--group-members-attribute=[Sets the attribute name used when searching for Group Members.]" \
"--group-search-scope=[Defines the depth from the base DN to perform LDAP searches for groups.]:EnumValidator:(default base onelevel subtree children)" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--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)" \
"--listable-groups=[Specifies a list of groups in this provider that can be viewed.]" \
"--listable-users=[Specifies a list of users in this provider that can be viewed.]" \
"--login-shell=[Sets pathname of login shell.]" \
"--member-of-attribute=[Sets the attribute name used when searching reverse memberships in LDAP.]" \
"--name=[Specifies the new name of the new LDAP provider.]" \
"--name-attribute=[Sets the attribute name used when searching for UID, which is used as the login name.]" \
"--netgroup-base-dn=[Sets distinguished name of the entry at which to start the LDAP search for netgroups.]" \
"--netgroup-filter=[Sets LDAP filter for netgroup objects.]" \
"--netgroup-members-attribute=[Sets the attribute name used when searching for Netgroup Members.]" \
"--netgroup-search-scope=[Defines the depth from the base DN to perform LDAP searches for netgroups.]:EnumValidator:(default base onelevel subtree children)" \
"--netgroup-triple-attribute=[Sets the attribute name used when searching for Netgroup Triple.]" \
"--normalize-groups=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)" \
"--normalize-users=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)" \
"--nt-password-attribute=[Sets the attribute name used when searching for NT Password.]" \
"--ntlm-support=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)" \
"--provider-domain=[Domain used to qualify user and group names for this provider.]" \
"--remove-findable-groups=[Remove items from list of findable groups.]" \
"--remove-findable-users=[Remove items from list of findable users.]" \
"--remove-listable-groups=[Remove items from list of viewable groups.]" \
"--remove-listable-users=[Remove items from list of viewable users.]" \
"--remove-server-uris=[Remove items from list of LDAP server URIs.]" \
"--remove-unfindable-groups=[Remove items from  list of unfindable groups.]" \
"--remove-unfindable-users=[Remove items from list of unfindable users]" \
"--remove-unlistable-groups=[Remove items from list of unviewable groups.]" \
"--remove-unlistable-users=[Remove items from list of unviewable users.]" \
"--require-secure-connection=[Specifies whether to require a secure TLS connection.]: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)" \
"--search-scope=[Defines the default depth from the base DN to perform LDAP searches.]:EnumValidator:(base onelevel subtree children)" \
"--search-timeout=[Sets search timeout period in seconds.]" \
"--server-uris=[Specifies a list of LDAP server URIs to use when accessing the LDAP server.]" \
"--set-bind-password[Specify --bind-password interactively]" \
"--shell-attribute=[Sets the attribute name used when searching for the user's shell.]" \
"--uid-attribute=[Sets the attribute name used when searching for LDAP UID Number.]" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--unique-group-members-attribute=[Sets the attribute name used when searching for Unique Group Members.]" \
"--unlistable-groups=[Specifies a list of groups in this provider that cannot be viewed.]" \
"--unlistable-users=[Specifies a list of users in this provider that cannot be viewed.]" \
"--user-base-dn=[Sets distinguished name of the entry at which to start LDAP searches for users.]" \
"--user-domain=[Domain used to qualify users for this provider. Default is LDAP_USERS.]" \
"--user-filter=[Sets LDAP filter for user objects.]" \
"--user-search-scope=[Defines the depth from the base DN to perform LDAP searches for users.]:EnumValidator:(default base onelevel subtree children)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_ldap_delete] )) ||
_isi_auth_ldap_delete() {
_arguments \
"--provider-name=[Specifies the LDAP provider name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_local_list] )) ||
_isi_auth_local_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_local_modify] )) ||
_isi_auth_local_modify() {
_arguments \
"--provider-name=[Specifies local provider name.]" \
"--add-password-complexity=[Add items to list of parameters against which to validate new passwords]:EnumValidator:(lowercase uppercase numeric symbol)" \
"--authentication=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)" \
"--clear-password-complexity[Clear list of parameters against which to validate new passwords]" \
"--create-home-directory=[Automatically create user home directory on first login.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--lockout-duration=[Sets duration of time that an account will be inaccessible after multiple failed login attempts.]" \
"--lockout-threshold=[Sets the number of failed login attempts necessary for an account to be locked out.]" \
"--lockout-window=[Sets the duration of time in which --lockout-threshold failed attempts must be made for an account to be locked out.]" \
"--login-shell=[Sets pathname of login shell.]" \
"--machine-name=[Specifies domain used to qualify user and group names for this provider.]" \
"--max-password-age=[Sets maximum password age.]" \
"--min-password-age=[Sets minimum password age.]" \
"--min-password-length=[Sets minimum password length.]" \
"--password-complexity=[Parameters against which to validate new passwords]:EnumValidator:(lowercase uppercase numeric symbol)" \
"--password-history-length=[Number of previous passwords stored]" \
"--password-prompt-time=[Specifies duration of time remaining before prompting user for password change.]" \
"--remove-password-complexity=[Remove items from list of parameters against which to validate new passwords]:EnumValidator:(lowercase uppercase numeric symbol)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--realm=[Name of the realm.]" \
"--admin-server=[Administrative server (master KDC) hostname/IP.]" \
"--default-domain=[Default domain for this realm, used for translating v4 principal names]" \
"--help[Display help for this command.]" \
"--is-default-realm=[Specifies whether realm will be treated as the default]:BoolValueType:(true false)" \
"--kdc=[Kdc hostname/IP.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_realm_list] )) ||
_isi_auth_krb5_realm_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_realm_view] )) ||
_isi_auth_krb5_realm_view() {
_arguments \
"--realm=[Specifies realm name]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_realm_modify] )) ||
_isi_auth_krb5_realm_modify() {
_arguments \
"--realm=[Specifies realm name]" \
"--add-kdc=[Add kdc hostname/IP.]" \
"--admin-server=[Administrative server (master KDC) hostname/IP.]" \
"--clear-kdc[Clear value for kdc hostname/IP.]" \
"--default-domain=[Default domain for this realm, used for translating v4 principal names]" \
"--help[Display help for this command.]" \
"--is-default-realm=[Specifies whether realm will be treated as the default]:BoolValueType:(true false)" \
"--kdc=[Kdc hostname/IP.]" \
"--remove-kdc=[Remove kdc hostname/IP.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_realm_delete] )) ||
_isi_auth_krb5_realm_delete() {
_arguments \
"--realm=[Specifies realm name]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--domain=[Name of the domain.]" \
"--help[Display help for this command.]" \
"--realm=[Name of the realm.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_domain_delete] )) ||
_isi_auth_krb5_domain_delete() {
_arguments \
"--domain=[Name of the domain.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_domain_list] )) ||
_isi_auth_krb5_domain_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_domain_modify] )) ||
_isi_auth_krb5_domain_modify() {
_arguments \
"--domain=[Name of the domain.]" \
"--help[Display help for this command.]" \
"--realm=[Name of the realm.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_domain_view] )) ||
_isi_auth_krb5_domain_view() {
_arguments \
"--domain=[Name of the domain.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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.]" \
"--spn=[Specifies the service principal name.]" \
"--user=[Specifies a user name with permission to create SPNs in the given Kerberos realm.]" \
"--help[Display help for this command.]" \
"--password=[Specifies password used during realm modification.]" \
}
(( $+functions[_isi_auth_krb5_spn_check] )) ||
_isi_auth_krb5_spn_check() {
_arguments \
"--provider-name=[Specifies the Kerberos provider name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_krb5_spn_fix] )) ||
_isi_auth_krb5_spn_fix() {
_arguments \
"--user=[Specifies a user name with permission to join machines to the given domain.]" \
"--provider-name=[Specifies the Kerberos provider name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--password=[Specifies password used during realm modification.]" \
}
(( $+functions[_isi_auth_krb5_spn_list] )) ||
_isi_auth_krb5_spn_list() {
_arguments \
"--provider-name=[Specifies the Kerberos provider name.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_spn_delete] )) ||
_isi_auth_krb5_spn_delete() {
_arguments \
"--provider-name=[Specifies the Kerberos provider name.]" \
"--spn=[Specifies the service principal name.]" \
"--kvno=[Key version number.]" \
"--all[Delete all key versions.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_krb5_spn_import] )) ||
_isi_auth_krb5_spn_import() {
_arguments \
"--provider-name=[Specifies the Kerberos provider name.]" \
"--keytab-file=[Specifies keytab file to import.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_krb5_create] )) ||
_isi_auth_krb5_create() {
_arguments \
"--realm=[Name of the realm.]" \
"--user=[Specifies a user name with permission to create SPNs in the given Kerberos realm.]" \
"--keytab-file=[Specifies keytab file to import.]" \
"--admin-server=[Administrative server (master KDC) hostname/IP.]" \
"--default-domain=[Default domain for this realm, used for translating v4 principal names]" \
"--groupnet=[Specifies a groupnet by name.]" \
"--help[Display help for this command.]" \
"--is-default-realm=[Specifies whether realm will be treated as the default]:BoolValueType:(true false)" \
"--kdc=[Kdc hostname/IP.]" \
"--password=[Specifies password used during realm join.]" \
"--spn=[Service principal name to register.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_delete] )) ||
_isi_auth_krb5_delete() {
_arguments \
"--provider-name=[Specifies the Kerberos provider name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_list] )) ||
_isi_auth_krb5_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_krb5_view] )) ||
_isi_auth_krb5_view() {
_arguments \
"--provider-name=[Specifies the Kerberos provider name.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--name=[Specifies NIS provider name.]" \
"--authentication=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)" \
"--balance-servers=[Makes provider connect to a random server on each request.]: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)" \
"--enabled=[Enables NIS provider.]:BoolValueType:(true false)" \
"--enumerate-groups=[Enables provider to enumerate groups.]: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.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--group-domain=[Domain used to qualify groups for this provider. Default is NIS_GROUPS.]" \
"--groupnet=[Specifies a groupnet by name.]" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--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.]" \
"--listable-users=[Specifies a list of users in this provider that can be viewed.]" \
"--login-shell=[Sets pathname of login shell.]" \
"--nis-domain=[Specifies NIS domain name.]" \
"--normalize-groups=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)" \
"--normalize-users=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)" \
"--ntlm-support=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)" \
"--provider-domain=[Domain used to qualify user and group names for this provider.]" \
"--request-timeout=[Specifies the request timeout interval in seconds.]" \
"--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)" \
"--retry-time=[Sets timeout period in seconds after which a request will be retried.]" \
"--servers=[Specifies a list of NIS servers to be used by this provider.]" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--unlistable-groups=[Specifies a list of groups in this provider that cannot be viewed.]" \
"--unlistable-users=[Specifies a list of users in this provider that cannot be viewed.]" \
"--user-domain=[Domain used to qualify users for this provider. Default is NIS_USERS.]" \
"--verbose[Display more detailed information.]" \
"--ypmatch-using-tcp=[Uses TCP for YP Match operations.]:BoolValueType:(true false)" \
}
(( $+functions[_isi_auth_nis_view] )) ||
_isi_auth_nis_view() {
_arguments \
"--provider-name=[Specifies NIS provider name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_auth_nis_list] )) ||
_isi_auth_nis_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display providers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of providers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_nis_modify] )) ||
_isi_auth_nis_modify() {
_arguments \
"--provider-name=[Specifies NIS provider name.]" \
"--add-findable-groups=[Add items to list of findable groups.]" \
"--add-findable-users=[Add items to list of findable users.]" \
"--add-listable-groups=[Add items to list of viewable groups.]" \
"--add-listable-users=[Add items to list of viewable users.]" \
"--add-servers=[Add items to NIS server list.]" \
"--add-unfindable-groups=[Add items to  list of unfindable groups.]" \
"--add-unfindable-users=[Add items to list of unfindable users]" \
"--add-unlistable-groups=[Add items to list of unviewable groups.]" \
"--add-unlistable-users=[Add items to list of unviewable users.]" \
"--authentication=[Enables use of provider for authentication as well as identity.]:BoolValueType:(true false)" \
"--balance-servers=[Makes provider connect to a random server on each request.]:BoolValueType:(true false)" \
"--check-online-interval=[Specifies duration between provider online checks.]" \
"--clear-findable-groups[Clear list of findable groups.]" \
"--clear-findable-users[Clear list of findable users.]" \
"--clear-listable-groups[Clear list of viewable groups.]" \
"--clear-listable-users[Clear list of viewable users.]" \
"--clear-servers[Clear NIS server list.]" \
"--clear-unfindable-groups[Clear  list of unfindable groups.]" \
"--clear-unfindable-users[Clear list of unfindable users]" \
"--clear-unlistable-groups[Clear list of unviewable groups.]" \
"--clear-unlistable-users[Clear list of unviewable users.]" \
"--create-home-directory=[Automatically create user home directory on first login.]:BoolValueType:(true false)" \
"--enabled=[Enables NIS provider.]:BoolValueType:(true false)" \
"--enumerate-groups=[Enables provider to enumerate groups.]: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.]" \
"--findable-users=[Specifies a list of users in this provider that can be resolved.]" \
"--group-domain=[Domain used to qualify groups for this provider. Default is NIS_GROUPS.]" \
"--help[Display help for this command.]" \
"--home-directory-template=[Specifies a template path used when creating user home directories.]" \
"--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.]" \
"--listable-users=[Specifies a list of users in this provider that can be viewed.]" \
"--login-shell=[Sets pathname of login shell.]" \
"--name=[Specifies new NIS provider name.]" \
"--nis-domain=[Specifies NIS domain name.]" \
"--normalize-groups=[Normalizes group name to lowercase before lookup.]:BoolValueType:(true false)" \
"--normalize-users=[Normalizes user name to lowercase before lookup.]:BoolValueType:(true false)" \
"--ntlm-support=[For users with NTLM-compatible credentials, specify what NTLM versions to support.]:EnumValidator:(all v2only none)" \
"--provider-domain=[Domain used to qualify user and group names for this provider.]" \
"--remove-findable-groups=[Remove items from list of findable groups.]" \
"--remove-findable-users=[Remove items from list of findable users.]" \
"--remove-listable-groups=[Remove items from list of viewable groups.]" \
"--remove-listable-users=[Remove items from list of viewable users.]" \
"--remove-servers=[Remove items from NIS server list.]" \
"--remove-unfindable-groups=[Remove items from  list of unfindable groups.]" \
"--remove-unfindable-users=[Remove items from list of unfindable users]" \
"--remove-unlistable-groups=[Remove items from list of unviewable groups.]" \
"--remove-unlistable-users=[Remove items from list of unviewable users.]" \
"--request-timeout=[Specifies the request timeout interval in seconds.]" \
"--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)" \
"--retry-time=[Sets timeout period in seconds after which a request will be retried.]" \
"--servers=[Specifies a list of NIS servers to be used by this provider.]" \
"--unfindable-groups=[Specifies a list of groups that cannot be resolved by this provider.]" \
"--unfindable-users=[Specifies a list of users that cannot be resolved by this provider.]" \
"--unlistable-groups=[Specifies a list of groups in this provider that cannot be viewed.]" \
"--unlistable-users=[Specifies a list of users in this provider that cannot be viewed.]" \
"--user-domain=[Domain used to qualify users for this provider. Default is NIS_USERS.]" \
"--verbose[Display more detailed information.]" \
"--ypmatch-using-tcp=[Uses TCP for YP Match operations.]:BoolValueType:(true false)" \
}
(( $+functions[_isi_auth_nis_delete] )) ||
_isi_auth_nis_delete() {
_arguments \
"--provider-name=[Specifies NIS provider name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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=[Specify mapping source by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--source-uid=[Specify mapping source by UID.]" \
"--source-gid=[Specify mapping source by GID.]" \
"--source-sid=[Specify mapping source by SID.]" \
"--2way[Include reverse mapping as well.]" \
"--gid[Generate/retrieve the mapped GID.]" \
"--help[Display help for this command.]" \
"--on-disk[Target persona should be used to represent the source on disk.]" \
"--sid[Generate/retrieve the mapped SID.]" \
"--target=[Specify mapping target by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--target-gid=[Specify mapping target by GID.]" \
"--target-sid=[Specify mapping target by SID.]" \
"--target-uid=[Specify mapping target by UID.]" \
"--uid[Generate/retrieve the mapped UID.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_mapping_delete] )) ||
_isi_auth_mapping_delete() {
_arguments \
"--source=[Specify mapping source by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--source-uid=[Specify mapping source by UID.]" \
"--source-gid=[Specify mapping source by GID.]" \
"--source-sid=[Specify mapping source by SID.]" \
"--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.]" \
"--2way[Include reverse mapping as well.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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.]" \
"--only-generated[Only delete automatically created identity mappings that include a generated UID or GID from internal UID/GID range.  Used with --all.]" \
"--target=[Specify mapping target by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--target-gid=[Specify mapping target by GID.]" \
"--target-sid=[Specify mapping target by SID.]" \
"--target-uid=[Specify mapping target by UID.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_mapping_dump] )) ||
_isi_auth_mapping_dump() {
_arguments \
"--file=[Local file to dump mappings to. File will be created if it doesn't exist. If it does its contents will be overwritten. Must be under /ifs.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_mapping_flush] )) ||
_isi_auth_mapping_flush() {
_arguments \
"--all[Flush all mappings.]" \
"--help[Display help for this command.]" \
"--source=[Specify mapping source by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--source-gid=[Specify mapping source by GID.]" \
"--source-sid=[Specify mapping source by SID.]" \
"--source-uid=[Specify mapping source by UID.]" \
"--zone=[Access Zone. A source argument must also be specified to use this option.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_mapping_import] )) ||
_isi_auth_mapping_import() {
_arguments \
"--file=[Local file to import mappings from. File must exist under /ifs.]" \
"--help[Display help for this command.]" \
"--replace[Replace existing mapping entries.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_mapping_list] )) ||
_isi_auth_mapping_list() {
_arguments \
"--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=[Specify mapping source by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--source-uid=[Specify mapping source by UID.]" \
"--source-gid=[Specify mapping source by GID.]" \
"--source-sid=[Specify mapping source by SID.]" \
"--target=[Specify mapping target by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--target-uid=[Specify mapping target by UID.]" \
"--target-gid=[Specify mapping target by GID.]" \
"--target-sid=[Specify mapping target by SID.]" \
"--2way[Include reverse mapping as well.]" \
"--help[Display help for this command.]" \
"--on-disk[Target persona should be used to represent the source on disk.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_mapping_token] )) ||
_isi_auth_mapping_token() {
_arguments \
"--user=[User name.]:cmdline_Option_user:_users" \
"--uid=[Specify user by UID.]" \
"--kerberos-principal=[Specify user by kerberos principal: e.g. 'user@realm.com']" \
"--gid=[Specify token GIDs.]" \
"--help[Display help for this command.]" \
"--primary-gid=[Specify the primary GID.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_user:_users" \
}
(( $+functions[_isi_auth_mapping_view] )) ||
_isi_auth_mapping_view() {
_arguments \
"--id=[Specify mapping source by persona.  A valid persona is of the form 'UID:<uid>', 'GID:<gid>', 'SID:<sid>'.]" \
"--uid=[Specify mapping source by UID.]" \
"--gid=[Specify mapping source by GID.]" \
"--sid=[Specify mapping source by SID.]" \
"--help[Display help for this command.]" \
"--nocreate[Do not create non-existent mappings.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+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 \
"--netgroup=[Specifies NIS netgroup.]" \
"--help[Display help for this command.]" \
"--ignore-errors=[Ignore errors/unresolvable netgroups. Default: false.]:BoolValueType:(true false)" \
"--provider=[Specifies an authentication provider.]" \
"--recursive=[Recursively resolve nested netgroups. Default: true.]:BoolValueType:(true false)" \
"--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 \
"--level=[Valid logging levels are 'always', 'error', 'warning', 'info', 'verbose', 'debug', and 'trace']:EnumValidator:(always error warning info verbose debug trace)" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:EnumValidator:(always error warning info verbose debug trace)" \
}
(( $+functions[_isi_auth_log-level_view] )) ||
_isi_auth_log-level_view() {
}
(( $+functions[_isi_auth_privileges] )) ||
_isi_auth_privileges() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display privileges in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_auth_id] )) ||
_isi_auth_id() {
}
(( $+functions[_isi_auth_status] )) ||
_isi_auth_status() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display auths in the given format]:EnumValidator:(table json csv list)" \
"--groupnet=[Specifies a groupnet by name.]" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of auths to display.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_auth_access] )) ||
_isi_auth_access() {
_arguments \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--path=[Path of the file. Must be within /ifs.]:cmdline_Option_path:_files" \
"--help[Display help for this command.]" \
"--numeric[Show user's numeric identifier]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display antivirus servers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of antivirus servers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_servers_view] )) ||
_isi_antivirus_servers_view() {
_arguments \
"--url=[The url for the antivirus server.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_antivirus_servers_create] )) ||
_isi_antivirus_servers_create() {
_arguments \
"--url=[The url for the antivirus server.]" \
"--description=[A description of the antivirus server.]" \
"--enabled=[Whether the server is enabled.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_servers_modify] )) ||
_isi_antivirus_servers_modify() {
_arguments \
"--id=[The url for the antivirus server.]" \
"--description=[A description of the antivirus server.]" \
"--enabled=[Whether the server is enabled.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--url=[The url for the antivirus server.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_servers_delete] )) ||
_isi_antivirus_servers_delete() {
_arguments \
"--url=[The url for the antivirus server.]" \
"--all[delete all antivirus servers.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--add-glob-filters=[Add glob patterns for leaf filenames.]" \
"--add-path-prefixes=[Add paths to include in realtime scans.]" \
"--clear-glob-filters[Clear value for glob patterns for leaf filenames.]" \
"--clear-path-prefixes[Clear value for paths to include in realtime scans.]" \
"--fail-open=[Allow access when scanning fails.]:BoolValueType:(true false)" \
"--glob-filters=[Glob patterns for leaf filenames.]" \
"--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 don't match a glob filter.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--path-prefixes=[Paths to include in realtime scans.]" \
"--quarantine=[Try to quarantine files when threats are found.]:BoolValueType:(true false)" \
"--remove-glob-filters=[Remove glob patterns for leaf filenames.]" \
"--remove-path-prefixes=[Remove paths to include in realtime scans.]" \
"--repair=[Try to repair files when threats are found.]:BoolValueType:(true false)" \
"--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)" \
"--scan-on-open=[Scan files on access.]:BoolValueType:(true false)" \
"--scan-size-maximum=[Skip scanning files larger than this.]" \
"--service=[Whether the antivirus service is running.]:BoolValueType:(true false)" \
"--truncate=[Try to truncate files when threats are found.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display antivirus policies in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of antivirus policies to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_policies_view] )) ||
_isi_antivirus_policies_view() {
_arguments \
"--name=[The name of the policy.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_antivirus_policies_create] )) ||
_isi_antivirus_policies_create() {
_arguments \
"--name=[The name of the policy.]" \
"--description=[A description for the policy.]" \
"--enabled=[Whether the policy is enabled.]:BoolValueType:(true false)" \
"--force-run=[Forces the scan to run regardless of whether the files were recently scanned.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--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.]" \
"--recursion-depth=[The depth to recurse in directories. The default of -1 gives unlimited recursion.]" \
"--schedule=[The schedule for running scans in isi date format.  Examples include: 'every Friday' or 'every day at 4:00'.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_policies_modify] )) ||
_isi_antivirus_policies_modify() {
_arguments \
"--id=[A unique identifier for the policy.]" \
"--add-paths=[Add paths to include in the scan.]" \
"--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.]" \
"--clear-paths[Clear value for paths to include in the scan.]" \
"--clear-schedule[Clear value for the schedule for running scans in isi date format.  Examples include: 'every Friday' or 'every day at 4:00'.]" \
"--description=[A description for the policy.]" \
"--enabled=[Whether the policy is enabled.]:BoolValueType:(true false)" \
"--force-run=[Forces the scan to run regardless of whether the files were recently scanned.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--impact=[The priority of the antivirus scan job.  Possibilities include HIGH, MEDIUM, LOW, OFF_HOURS, or a pre-defined custom value.]" \
"--name=[The name of the policy.]" \
"--paths=[Paths to include in the scan.]" \
"--recursion-depth=[The depth to recurse in directories. The default of -1 gives unlimited recursion.]" \
"--remove-paths=[Remove paths to include in the scan.]" \
"--schedule=[The schedule for running scans in isi date format.  Examples include: 'every Friday' or 'every day at 4:00'.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_policies_delete] )) ||
_isi_antivirus_policies_delete() {
_arguments \
"--name=[The name of the policy.]" \
"--all[delete all antivirus policies.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_policies_start] )) ||
_isi_antivirus_policies_start() {
_arguments \
"--policy=[A name or an ID of a policy.]" \
"--force-run=[Forces the scan to run regardless of whether the files were recently scanned.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--report-id=[The ID of the report generated. One will be generated if not provided.]" \
"--update=[Whether to update the last run time for the policy when running it.]:BoolValueType:(true false)" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display antivirus reports scans in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of antivirus reports scans to display.]" \
"--policy-id=[The id of the policy that this scan job executed.]" \
"--status=[The state of the job.]:EnumValidator:(Finish Succeeded Failed Cancelled Started Paused Resumed Pending)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_reports_scans_view] )) ||
_isi_antivirus_reports_scans_view() {
_arguments \
"--id=[A unique identifier for the scan report.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--file=[The file that contained the threat.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display antivirus reports threats in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of antivirus reports threats to display.]" \
"--remediation=[The action that was taken to remediate the threat.]" \
"--scan-id=[A unique identifier for the scan report.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_reports_threats_view] )) ||
_isi_antivirus_reports_threats_view() {
_arguments \
"--id=[A unique identifier for the threat report.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_antivirus_reports_delete] )) ||
_isi_antivirus_reports_delete() {
_arguments \
"--scan-id=[A unique identifier for the scan report.]" \
"--all[delete all antivirus reports.]" \
"--age=[Reports older than this optional argument will be deleted, and reports newer than this will be kept.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_antivirus_scan] )) ||
_isi_antivirus_scan() {
_arguments \
"--file=[The file to scan.]:cmdline_Option_file:_files" \
"--force-run=[Force the scan even if it conflicts with the policy. The default is True.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--policy=[The policy associated with the scan. The default is the MANUAL policy.]" \
"--report-id=[The ID of the report generated. One will be generated if not provided.]" \
"1:cmdline_Option_file:_files" \
}
(( $+functions[_isi_antivirus_status] )) ||
_isi_antivirus_status() {
_arguments \
"--file=[Path of the file to view the status of. Must be a regular file within /ifs.]:cmdline_Option_file:_files" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_file:_files" \
}
(( $+functions[_isi_antivirus_quarantine] )) ||
_isi_antivirus_quarantine() {
_arguments \
"--file=[Path of the file to quarantine. Must be a regular file within /ifs.]:cmdline_Option_file:_files" \
"--help[Display help for this command.]" \
"--verbose[Show a confirmation that the file was quarantined.]" \
"1:cmdline_Option_file:_files" \
}
(( $+functions[_isi_antivirus_release] )) ||
_isi_antivirus_release() {
_arguments \
"--file=[Path of the file to release from quarantine. Must be a regular file within /ifs.]:cmdline_Option_file:_files" \
"--help[Display help for this command.]" \
"--verbose[Show a confirmation that the file was released.]" \
"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 \
"--help[Display help for this command.]" \
"--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" \
}
(( $+functions[_isi_batterystatus_list] )) ||
_isi_batterystatus_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display batterystatus in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud] )) ||
_isi_cloud() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ accounts pools jobs settings access 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 == 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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display cloud accounts in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of cloud accounts to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_accounts_view] )) ||
_isi_cloud_accounts_view() {
_arguments \
"--id=[An ID for a cloud account]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_cloud_accounts_create] )) ||
_isi_cloud_accounts_create() {
_arguments \
"--name=[Name of cloud account]" \
"--account-username=[Username for the cloud account]" \
"--key=[Cloud account access key or password]" \
"--uri=[Cloud account URI]" \
"--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 and 's3' for Amazon S3]:EnumValidator:(isilon ecs virtustream azure s3 ran ecs2)" \
"--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)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--skip-ssl-validation=[Indicates whether to skip SSL certificate validation when connecting to the cloud]:BoolValueType:(true false)" \
"--storage-region=[(S3 only) A target region for the account as defined by S3 (e.g., us-west-1)]" \
"--telemetry-bucket=[(S3 only) Cloud account bucket where usage reports are stored]" \
"--verbose[Display more detailed information.]" \
"5:EnumValidator:(isilon ecs virtustream azure s3 ran ecs2)" \
}
(( $+functions[_isi_cloud_accounts_modify] )) ||
_isi_cloud_accounts_modify() {
_arguments \
"--id=[An ID for a cloud account]" \
"--account-id=[(S3 only) Account ID of the S3 account]" \
"--account-username=[Username for the cloud account]" \
"--enabled=[Whether this account is explicitly enabled or disabled by a user]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--key=[Cloud account access key or password]" \
"--name=[Name of cloud account]" \
"--skip-ssl-validation=[Indicates whether to skip SSL certificate validation when connecting to the cloud]:BoolValueType:(true false)" \
"--storage-region=[(S3 only) A target region for the account as defined by S3 (e.g., us-west-1)]" \
"--telemetry-bucket=[(S3 only) Cloud account bucket where usage reports are stored]" \
"--uri=[Cloud account URI]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_accounts_delete] )) ||
_isi_cloud_accounts_delete() {
_arguments \
"--id=[An ID for a cloud account]" \
"--acknowledge=[Acknowledge account delete]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display cloud pools in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of cloud pools to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_pools_view] )) ||
_isi_cloud_pools_view() {
_arguments \
"--id=[An ID for a cloud pool]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_cloud_pools_create] )) ||
_isi_cloud_pools_create() {
_arguments \
"--name=[Name for this cloud pool]" \
"--accounts=[Cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]" \
"--type=[Type of this cloud pool. One of "isilon" for EMC Isilon, "ecs" for EMC ECS Appliance, "virtustream" for Virtustream Storage Cloud, "azure" for Microsoft Azure and "s3" for Amazon S3]:EnumValidator:(isilon ecs virtustream azure s3 ran ecs2)" \
"--description=[Description of this cloud pool]" \
"--help[Display help for this command.]" \
"--vendor=[Name of the vendor for this cloud pool]" \
"--verbose[Display more detailed information.]" \
"3:EnumValidator:(isilon ecs virtustream azure s3 ran ecs2)" \
}
(( $+functions[_isi_cloud_pools_modify] )) ||
_isi_cloud_pools_modify() {
_arguments \
"--id=[An ID for a cloud pool]" \
"--accounts=[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.]" \
"--clear-accounts[Clear value for cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]" \
"--description=[Description of this cloud pool]" \
"--help[Display help for this command.]" \
"--name=[Name for this cloud pool]" \
"--remove-accounts=[Remove cloud account names to be associated with this pool.  There is currently only one account allowed in a pool.]" \
"--vendor=[Name of the vendor for this cloud pool]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_pools_delete] )) ||
_isi_cloud_pools_delete() {
_arguments \
"--id=[An ID for a cloud pool]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--job-id=[An ID for a cloud job]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display cloud jobs files in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of cloud jobs files to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_jobs_list] )) ||
_isi_cloud_jobs_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display cloud jobs in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of cloud jobs to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_jobs_view] )) ||
_isi_cloud_jobs_view() {
_arguments \
"--id=[An ID for a cloud job]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_cloud_jobs_create] )) ||
_isi_cloud_jobs_create() {
_arguments \
"--type=[Type of cloud job. One of 'archive', 'recall', or 'restore-coi']:EnumValidator:(archive recall restore-coi)" \
"--files=[File names to be acted on.]:cmdline_Option_files:_files" \
"--account=[The name for the cloud account.]" \
"--all=[Whether to apply command to individual jobs or an entire operation]:BoolValueType:(true false)" \
"--expiration-date=[The expiration date for orphan objects.]" \
"--help[Display help for this command.]" \
"--policy=[Policy to be used with archiving]" \
"--recursive=[Whether the recall/archive should apply recursively to nested directories]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"1:EnumValidator:(archive recall restore-coi)" \
"2:cmdline_Option_files:_files" \
}
(( $+functions[_isi_cloud_jobs_cancel] )) ||
_isi_cloud_jobs_cancel() {
_arguments \
"--id=[An ID for a cloud job]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_jobs_pause] )) ||
_isi_cloud_jobs_pause() {
_arguments \
"--id=[An ID for a cloud job]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_jobs_resume] )) ||
_isi_cloud_jobs_resume() {
_arguments \
"--id=[An ID for a cloud job]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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-accessibility=[Accessibility of archived files (one of "cached" or"no-cache")]:EnumValidator:(cached no-cache)" \
"--default-archive-snapshot-files=[Whether or not policies should archive files with snapshots]:BoolValueType:(true false)" \
"--default-cache-expiration=[Number of days until the cache expires]" \
"--default-compression-enabled=[Compress data moved to the cloud]:BoolValueType:(true false)" \
"--default-data-retention=[The minimum amount of time archived data will be retained in the cloud after deletion]" \
"--default-encryption-enabled=[Encrypt data moved to the cloud]: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-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-read-ahead=[Cache readahead strategy for cloud files (one of partial, full)]" \
"--default-writeback-frequency=[The minimum amount of time to wait before updating cloud data with local changes]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_settings_regenerate-encryption-key] )) ||
_isi_cloud_settings_regenerate-encryption-key() {
_arguments \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display cloud access in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of cloud access to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_access_view] )) ||
_isi_cloud_access_view() {
_arguments \
"--guid=[The guid of a cluster where accounts or policies have been created]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_cloud_access_add] )) ||
_isi_cloud_access_add() {
_arguments \
"--guid=[The guid of a cluster where accounts or policies have been created]" \
"--expiration-date=[An expiration date and time indicating when stale data in the cloud should be removed]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_access_remove] )) ||
_isi_cloud_access_remove() {
_arguments \
"--guid=[The guid of a cluster where accounts or policies have been created]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_cloud_recall] )) ||
_isi_cloud_recall() {
_arguments \
"--files=[File names to be acted on.]:cmdline_Option_files:_files" \
"--help[Display help for this command.]" \
"--recursive=[Whether the recall/archive should apply recursively to nested directories]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_files:_files" \
}
(( $+functions[_isi_cloud_archive] )) ||
_isi_cloud_archive() {
_arguments \
"--files=[File names to be acted on.]:cmdline_Option_files:_files" \
"--help[Display help for this command.]" \
"--policy=[Policy to be used with archiving]" \
"--recursive=[Whether the recall/archive should apply recursively to nested directories]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_files:_files" \
}
(( $+functions[_isi_cloud_restore_coi] )) ||
_isi_cloud_restore_coi() {
_arguments \
"--account=[The name for the cloud account.]" \
"--expiration-date=[The expiration date for orphan objects.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--add-assess-paths=[Add paths for dedupe assessment.]" \
"--add-paths=[Add paths to dedupe.]" \
"--assess-paths=[Paths for dedupe assessment.]:cmdline_Option_assess_paths:_files" \
"--clear-assess-paths[Clear value for paths for dedupe assessment.]" \
"--clear-paths[Clear value for paths to dedupe.]" \
"--help[Display help for this command.]" \
"--paths=[Paths to dedupe.]:cmdline_Option_paths:_files" \
"--remove-assess-paths=[Remove paths for dedupe assessment.]" \
"--remove-paths=[Remove paths to dedupe.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display dedupe reports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of dedupe reports to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_dedupe_reports_view] )) ||
_isi_dedupe_reports_view() {
_arguments \
"--job-id=[View the dedupe report specified by job ID.]" \
"--help[Display help for this command.]" \
}
(( $+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 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 == 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 \
"--channel=[Retrieve alert conditions for this channel only.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display event alerts in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of event alerts to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_event_alerts_view] )) ||
_isi_event_alerts_view() {
_arguments \
"--name=[Alert condition name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_event_alerts_create] )) ||
_isi_event_alerts_create() {
_arguments \
"--name=[Alert condition name.]" \
"--channel=[Channel to deliver alert over.]" \
"--condition=[Condition under which alert is sent.]:EnumValidator:(NEW NEW_EVENTS ONGOING SEVERITY_INCREASE SEVERITY_DECREASE RESOLVED)" \
"--category=[Eventgroup category to alert on.]" \
"--eventgroup=[Eventgroup to alert on.]" \
"--help[Display help for this command.]" \
"--interval=[Period in seconds between reports on ongoing eventgroups.]" \
"--limit=[Maximum number of reports to send for NEW_EVENTS.]" \
"--severity=[Severities for which an alert is sent]:EnumValidator:(emergency critical warning information)" \
"--transient=[Any eventgroup lasting less than this is deemed transient and will not be reported under this alert condition.]" \
"--verbose[Display more detailed information.]" \
"3:EnumValidator:(NEW NEW_EVENTS ONGOING SEVERITY_INCREASE SEVERITY_DECREASE RESOLVED)" \
}
(( $+functions[_isi_event_alerts_modify] )) ||
_isi_event_alerts_modify() {
_arguments \
"--name=[Alert condition name.]" \
"--add-category=[Add eventgroup category to alert on.]" \
"--add-channel=[Add channel to deliver alert over.]" \
"--add-eventgroup=[Add eventgroup to alert on.]" \
"--add-severity=[Add severities for which an alert is sent]:EnumValidator:(emergency critical warning information)" \
"--category=[Eventgroup category to alert on.]" \
"--channel=[Channel to deliver alert over.]" \
"--clear-category[Clear value for eventgroup category to alert on.]" \
"--clear-channel[Clear value for channel to deliver alert over.]" \
"--clear-eventgroup[Clear value for eventgroup to alert on.]" \
"--clear-severity[Clear value for severities for which an alert is sent]" \
"--condition=[Condition under which alert is sent.]:EnumValidator:(NEW NEW_EVENTS ONGOING SEVERITY_INCREASE SEVERITY_DECREASE RESOLVED)" \
"--eventgroup=[Eventgroup to alert on.]" \
"--help[Display help for this command.]" \
"--interval=[Period in seconds between reports on ongoing eventgroups.]" \
"--limit=[Maximum number of reports to send for NEW_EVENTS.]" \
"--remove-category=[Remove eventgroup category to alert on.]" \
"--remove-channel=[Remove channel to deliver alert over.]" \
"--remove-eventgroup=[Remove eventgroup to alert on.]" \
"--remove-severity=[Remove severities for which an alert is sent]:EnumValidator:(emergency critical warning information)" \
"--severity=[Severities for which an alert is sent]:EnumValidator:(emergency critical warning information)" \
"--transient=[Any eventgroup lasting less than this is deemed transient and will not be reported under this alert condition.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_event_alerts_delete] )) ||
_isi_event_alerts_delete() {
_arguments \
"--name=[Alert condition name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display event channels in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of event channels to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_event_channels_view] )) ||
_isi_event_channels_view() {
_arguments \
"--name=[Channel name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_event_channels_create] )) ||
_isi_event_channels_create() {
_arguments \
"--name=[Channel name.]" \
"--type=[Channel mechanism.]:EnumValidator:(smtp snmp connectemc)" \
"--address=[Destination address for smtp channels.]" \
"--allowed-nodes=[Nodes that can be channel master.]" \
"--batch=[Batching control SMTP channels.]:EnumValidator:(NONE ALL CATEGORY SEVERITY)" \
"--batch-period=[Batching period for SMTP channels.]" \
"--community=[SNMP community.]" \
"--enabled=[event channel is enabled.]:BoolValueType:(true false)" \
"--excluded-nodes=[Nodes that cannot be channel master.]" \
"--help[Display help for this command.]" \
"--host=[SNMP host.]" \
"--send-as=[From address for smtp channels.]" \
"--smtp-host=[SMTP relay host.]" \
"--smtp-password=[Password for SMTP authentication.]" \
"--smtp-port=[SMTP relay port.]" \
"--smtp-security=[Encryption for SMTP.]:EnumValidator:(STARTTLS NONE)" \
"--smtp-use-auth=[Use SMTP authentication.]:BoolValueType:(true false)" \
"--smtp-username=[Username for SMTP authentication.]" \
"--subject=[Subject for smtp channels.]" \
"--use-snmp-trap=[Use snmptrap instead of snmpinform for this channel.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"2:EnumValidator:(smtp snmp connectemc)" \
}
(( $+functions[_isi_event_channels_modify] )) ||
_isi_event_channels_modify() {
_arguments \
"--name=[Channel name.]" \
"--add-address=[Add destination address for smtp channels.]" \
"--add-allowed-nodes=[Add nodes that can be channel master.]" \
"--add-excluded-nodes=[Add nodes that cannot be channel master.]" \
"--address=[Destination address for smtp channels.]" \
"--allowed-nodes=[Nodes that can be channel master.]" \
"--batch=[Batching control SMTP channels.]:EnumValidator:(NONE ALL CATEGORY SEVERITY)" \
"--batch-period=[Batching period for SMTP channels.]" \
"--clear-address[Clear value for destination address for smtp channels.]" \
"--clear-allowed-nodes[Clear value for nodes that can be channel master.]" \
"--clear-excluded-nodes[Clear value for nodes that cannot be channel master.]" \
"--community=[SNMP community.]" \
"--enabled=[event channel is enabled.]:BoolValueType:(true false)" \
"--excluded-nodes=[Nodes that cannot be channel master.]" \
"--help[Display help for this command.]" \
"--host=[SNMP host.]" \
"--remove-address=[Remove destination address for smtp channels.]" \
"--remove-allowed-nodes=[Remove nodes that can be channel master.]" \
"--remove-excluded-nodes=[Remove nodes that cannot be channel master.]" \
"--send-as=[From address for smtp channels.]" \
"--smtp-host=[SMTP relay host.]" \
"--smtp-password=[Password for SMTP authentication.]" \
"--smtp-port=[SMTP relay port.]" \
"--smtp-security=[Encryption for SMTP.]:EnumValidator:(STARTTLS NONE)" \
"--smtp-use-auth=[Use SMTP authentication.]:BoolValueType:(true false)" \
"--smtp-username=[Username for SMTP authentication.]" \
"--subject=[Subject for smtp channels.]" \
"--type=[Channel mechanism.]:EnumValidator:(smtp snmp connectemc)" \
"--use-snmp-trap=[Use snmptrap instead of snmpinform for this channel.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_event_channels_delete] )) ||
_isi_event_channels_delete() {
_arguments \
"--name=[Channel name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display events in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--severity=[Return only events of this or greater severity, valid levels: information, warning, critical, emergency]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_event_events_view] )) ||
_isi_event_events_view() {
_arguments \
"--id=[Event Id (eg 1.143)]" \
"--help[Display help for this command.]" \
}
(( $+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.]" \
"--heartbeat-interval=[Interval between heartbeat events. "daily", "weekly", or "monthly".]:EnumValidator:(daily weekly monthly)" \
"--help[Display help for this command.]" \
"--maintenance-duration=[Duration of maintenance window.]" \
"--maintenance-start=[Start date and time of maintenance window.]" \
"--retention-days=[Retention of resolved event group data in days.]" \
"--storage-limit=[Storage limit in millionths of available storage 1-100.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--begin=[Limit to event groups after this date and time.]" \
"--cause=[Show only occurrences with this eventgroup as cause]" \
"--end=[Limit to event groups before this date and time.]" \
"--events=[Number of events recorded against this eventgroup.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display event groups in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--ignore=[Event Group has been marked ignore and will not be alerted.]:BoolValueType:(true false)" \
"--limit=[Number of event groups to display.]" \
"--resolved=[Event Group has been marked resolved.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_event_groups_view] )) ||
_isi_event_groups_view() {
_arguments \
"--id=[Event Group ID.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_event_groups_modify] )) ||
_isi_event_groups_modify() {
_arguments \
"--id=[Event Group ID.]" \
"--id=[Event Group ID.]" \
"--help[Display help for this command.]" \
"--ignore=[Event Group has been marked ignore and will not be alerted.]:BoolValueType:(true false)" \
"--resolved=[Event Group has been marked resolved.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_event_groups_bulk] )) ||
_isi_event_groups_bulk() {
_arguments \
"--help[Display help for this command.]" \
"--ignore=[Event Group has been marked ignore and will not be alerted.]:BoolValueType:(true false)" \
"--resolved=[Event Group has been marked resolved.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--message=[Event message.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_devices] )) ||
_isi_devices() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ drive node firmware 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 == 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 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 == 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 \
"--help[Display help for this command.]" \
"--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" \
}
(( $+functions[_isi_devices_drive_firmware_update_list] )) ||
_isi_devices_drive_firmware_update_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display devices drive firmware updates in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_devices_drive_firmware_update_start] )) ||
_isi_devices_drive_firmware_update_start() {
_arguments \
"--bay=[Bay number of drive in chassis. May be "all".]:cmdline_Option_bay:_cmdline_Option_shell_bay_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_0" \
}
(( $+functions[_isi_devices_drive_firmware_view] )) ||
_isi_devices_drive_firmware_view() {
_arguments \
"--bay=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
"--lnum=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0" \
"--help[Display help for this command.]" \
"--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" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
}
(( $+functions[_isi_devices_drive_firmware_list] )) ||
_isi_devices_drive_firmware_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display devices drive firmwares in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--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" \
"--summary[Display a summary of drive firmware counts by model and revision]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_devices_drive_view] )) ||
_isi_devices_drive_view() {
_arguments \
"--bay=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
"--lnum=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0" \
"--help[Display help for this command.]" \
"--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" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
}
(( $+functions[_isi_devices_drive_list] )) ||
_isi_devices_drive_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display devices drives in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--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" \
"--override[Print legacy bay numbers instead of grid XY values.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_devices_drive_add] )) ||
_isi_devices_drive_add() {
_arguments \
"--bay=[Bay number of drive in chassis. May be "all".]:cmdline_Option_bay:_cmdline_Option_shell_bay_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_0" \
}
(( $+functions[_isi_devices_drive_format] )) ||
_isi_devices_drive_format() {
_arguments \
"--bay=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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']" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
}
(( $+functions[_isi_devices_drive_smartfail] )) ||
_isi_devices_drive_smartfail() {
_arguments \
"--bay=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
"--lnum=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
}
(( $+functions[_isi_devices_drive_stopfail] )) ||
_isi_devices_drive_stopfail() {
_arguments \
"--bay=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
"--lnum=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
}
(( $+functions[_isi_devices_drive_purpose] )) ||
_isi_devices_drive_purpose() {
_arguments \
"--bay=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
"--lnum=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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']" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
}
(( $+functions[_isi_devices_drive_suspend] )) ||
_isi_devices_drive_suspend() {
_arguments \
"--bay=[Bay number of drive in chassis.]:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
"--lnum=[Logical drive number.]:cmdline_Option_lnum:_cmdline_Option_shell_lnum_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_bay:_cmdline_Option_shell_bay_1" \
}
(( $+functions[_isi_devices_drive_purposelist] )) ||
_isi_devices_drive_purposelist() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display devices drives in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--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" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display devices nodes in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_devices_node_add] )) ||
_isi_devices_node_add() {
_arguments \
"--serial-number=[Serial number of node.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_devices_node_smartfail] )) ||
_isi_devices_node_smartfail() {
_arguments \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_devices_node_stopfail] )) ||
_isi_devices_node_stopfail() {
_arguments \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--batch-mode=[This setting determines how notifications will be batched together to be sent by email.]:EnumValidator:(all severity category none)" \
"--clear-smtp-auth-passwd[Clear value for set SMTP Auth password.]" \
"--clear-user-template[Clear value for path for custom email template.]" \
"--help[Display help for this command.]" \
"--mail-relay=[Set the SMTP relay address.]" \
"--mail-sender=[Set the originator email address.]" \
"--mail-subject=[Set the prefix string for email subject.]" \
"--set-smtp-auth-passwd[Specify --smtp-auth-passwd interactively]" \
"--smtp-auth-passwd=[Set SMTP Auth password.]" \
"--smtp-auth-username=[Set SMTP Auth username.]" \
"--smtp-port=[Set the SMTP port. Default is 25.]" \
"--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.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_fc_settings_view] )) ||
_isi_fc_settings_view() {
_arguments \
"--port=[A FC port identified in form of <lnn>.<fc port>]" \
"--format=[Display fc settings in the given format]:EnumValidator:(list json)" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_fc_settings_modify] )) ||
_isi_fc_settings_modify() {
_arguments \
"--port=[A FC port identified in form of <lnn>.<fc port>]" \
"--help[Display help for this command.]" \
"--rate=[rate (auto | 1 | 2 | 4 | 8)]:EnumValidator:(auto 1 2 4 8)" \
"--state=[enable or disable a port]:EnumValidator:(enable disable)" \
"--topology=[topology (auto | loop | ptp)]:EnumValidator:(auto loop ptp)" \
"--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)" \
"--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 \
"--add-file-filter-extensions=[Add items to list of file extensions]" \
"--clear-file-filter-extensions[Clear list of file extensions]" \
"--file-filter-extensions=[Specifies the list of file extensions.]" \
"--file-filter-type=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)" \
"--file-filtering-enabled=[Enables file filtering on this zone.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--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-filter-type[Set value to system default for --file-filter-type.]" \
"--revert-file-filtering-enabled[Set value to system default for --file-filtering-enabled.]" \
"--verbose[Display more detailed information.]" \
"--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-accessibility=[Accessibility of archived files (one of "cached" or "no-cache")]" \
"--cloud-archive-snapshot-files=[Whether or not this policy should archive files with snapshots]:BoolValueType:(true false)" \
"--cloud-cache-expiration=[Number of days until the cache expires]" \
"--cloud-compression-enabled=[Compress data moved to the cloud]:BoolValueType:(true false)" \
"--cloud-data-retention=[The minimum amount of time archived data will be retained in the cloud after deletion]" \
"--cloud-encryption-enabled=[Encrypt data moved to the cloud]: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-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-pool=[Move to the cloud pool with the given ID]" \
"--cloud-read-ahead=[Cache read ahead strategy for cloud files (one of partial, full)]" \
"--cloud-writeback-frequency=[The minimum amount of time to wait before updating cloud data with local changes]" \
"--data-access-pattern=[data access pattern random, streaming or concurrent]:EnumValidator:(random concurrency streaming)" \
"--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)" \
"--data-storage-target=[Name of a storage pool or 'anywhere']" \
"--enable-coalescer=[Enable the coalescer]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--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-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)" \
"--snapshot-storage-target=[Name of a storage pool or 'anywhere']" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display filepool policies in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of filepool policies to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_filepool_policies_view] )) ||
_isi_filepool_policies_view() {
_arguments \
"--name=[Policy name]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_filepool_policies_create] )) ||
_isi_filepool_policies_create() {
_arguments \
"--name=[Policy name]" \
"--apply-order=[The order index for the execution of this policy]" \
"--cloud-accessibility=[Accessibility of archived files (one of "cached" or "no-cache")]" \
"--cloud-archive-snapshot-files=[Whether or not this policy should archive files with snapshots]:BoolValueType:(true false)" \
"--cloud-cache-expiration=[Number of days until the cache expires]" \
"--cloud-compression-enabled=[Compress data moved to the cloud]:BoolValueType:(true false)" \
"--cloud-data-retention=[The minimum amount of time archived data will be retained in the cloud after deletion]" \
"--cloud-encryption-enabled=[Encrypt data moved to the cloud]: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-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-pool=[Move to the cloud pool with the given ID]" \
"--cloud-read-ahead=[Cache read ahead strategy for cloud files (one of partial, full)]" \
"--cloud-writeback-frequency=[The minimum amount of time to wait before updating cloud data with local changes]" \
"--data-access-pattern=[data access pattern random, streaming or concurrent]:EnumValidator:(random concurrency streaming)" \
"--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)" \
"--data-storage-target=[Name of a storage pool or 'anywhere']" \
"--description=[Policy description]" \
"--enable-coalescer=[Enable the coalescer]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--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-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)" \
"--snapshot-storage-target=[Name of a storage pool or 'anywhere']" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_filepool_policies_modify] )) ||
_isi_filepool_policies_modify() {
_arguments \
"--id=[An ID for a filepool policy]" \
"--apply-order=[The order index for the execution of this policy]" \
"--cloud-accessibility=[Accessibility of archived files (one of "cached" or "no-cache")]" \
"--cloud-archive-snapshot-files=[Whether or not this policy should archive files with snapshots]:BoolValueType:(true false)" \
"--cloud-cache-expiration=[Number of days until the cache expires]" \
"--cloud-compression-enabled=[Compress data moved to the cloud]:BoolValueType:(true false)" \
"--cloud-data-retention=[The minimum amount of time archived data will be retained in the cloud after deletion]" \
"--cloud-encryption-enabled=[Encrypt data moved to the cloud]: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-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-pool=[Move to the cloud pool with the given ID]" \
"--cloud-read-ahead=[Cache read ahead strategy for cloud files (one of partial, full)]" \
"--cloud-writeback-frequency=[The minimum amount of time to wait before updating cloud data with local changes]" \
"--data-access-pattern=[data access pattern random, streaming or concurrent]:EnumValidator:(random concurrency streaming)" \
"--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)" \
"--data-storage-target=[Name of a storage pool or 'anywhere']" \
"--description=[Policy description]" \
"--enable-coalescer=[Enable the coalescer]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--name=[Policy name]" \
"--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-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)" \
"--snapshot-storage-target=[Name of a storage pool or 'anywhere']" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_filepool_policies_delete] )) ||
_isi_filepool_policies_delete() {
_arguments \
"--name=[Policy name]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display filepool templates in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of filepool templates to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_filepool_templates_view] )) ||
_isi_filepool_templates_view() {
_arguments \
"--name=[Policy name]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--accept-timeout=[Timeout for establishing a PASV style connection.]" \
"--add-anon-password-list=[Add items to list of passwords for anonymous users]" \
"--add-chroot-exception-list=[Add items to list of user names that are exceptions to --chroot-local-mode settings]" \
"--add-denied-user-list=[Add items to list of users that are denied access]" \
"--allow-anon-access=[Allow logins for anonymous users.]:BoolValueType:(true false)" \
"--allow-anon-upload=[Allow anonymous users to upload files.]:BoolValueType:(true false)" \
"--allow-dirlists=[Allow users to list directories.]:BoolValueType:(true false)" \
"--allow-downloads=[Allow users to download files.]:BoolValueType:(true false)" \
"--allow-local-access=[Allow local logins.]:BoolValueType:(true false)" \
"--allow-writes=[Allow writes to the filesystem.]:BoolValueType:(true false)" \
"--always-chdir-homedir=[Always change to the user's home directory on login.]:BoolValueType:(true false)" \
"--anon-chown-username=[Name of the user who is given ownership of anonymously uploaded files.]" \
"--anon-password-list=[Passwords for anonymous users.]" \
"--anon-root-path=[Initial directory for anonymous 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)" \
"--chroot-exception-list=[Specifies list of user names that are exceptions to --chroot-local-mode setting.]" \
"--chroot-local-mode=[Sets chroot behavior for local users.]:EnumValidator:(all none all-with-exceptions none-with-exceptions)" \
"--clear-anon-password-list[Clear list of passwords for anonymous users]" \
"--clear-chroot-exception-list[Clear list of user names that are exceptions to --chroot-local-mode settings]" \
"--clear-denied-user-list[Clear list of users that are denied access]" \
"--connect-timeout=[Timeout for a remote client to respond to a PORT style data connection.]" \
"--data-timeout=[Timeout for a data transfer to stall with no progress.]" \
"--denied-user-list=[Users that are denied access.]" \
"--dirlist-localtime=[Show directory listings with the local time instead of GMT.]:BoolValueType:(true false)" \
"--dirlist-names=[Show textual, show numeric, or hide user info in directory listings.]:EnumValidator:(numeric textual hide)" \
"--file-create-perm=[Permissions with which uploaded files are created.]" \
"--help[Display help for this command.]" \
"--limit-anon-passwords=[Limit anonymous passwords.]:BoolValueType:(true false)" \
"--local-root-path=[Initial directory for local login.]" \
"--local-umask=[Umask for file creation by local users.]" \
"--remove-anon-password-list=[Remove items from list of passwords for anonymous users]" \
"--remove-chroot-exception-list=[Remove items from list of user names that are exceptions to --chroot-local-mode settings]" \
"--remove-denied-user-list=[Remove items from list of users that are denied access]" \
"--revert-accept-timeout[Set value to system default for --accept-timeout.]" \
"--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-allow-dirlists[Set value to system default for --allow-dirlists.]" \
"--revert-allow-downloads[Set value to system default for --allow-downloads.]" \
"--revert-allow-local-access[Set value to system default for --allow-local-access.]" \
"--revert-allow-writes[Set value to system default for --allow-writes.]" \
"--revert-always-chdir-homedir[Set value to system default for --always-chdir-homedir.]" \
"--revert-anon-chown-username[Set value to system default for --anon-chown-username.]" \
"--revert-anon-password-list[Set value to system default for --anon-password-list.]" \
"--revert-anon-root-path[Set value to system default for --anon-root-path.]" \
"--revert-anon-umask[Set value to system default for --anon-umask.]" \
"--revert-ascii-mode[Set value to system default for --ascii-mode.]" \
"--revert-chroot-exception-list[Set value to system default for --chroot-exception-list.]" \
"--revert-chroot-local-mode[Set value to system default for --chroot-local-mode.]" \
"--revert-connect-timeout[Set value to system default for --connect-timeout.]" \
"--revert-data-timeout[Set value to system default for --data-timeout.]" \
"--revert-denied-user-list[Set value to system default for --denied-user-list.]" \
"--revert-dirlist-localtime[Set value to system default for --dirlist-localtime.]" \
"--revert-dirlist-names[Set value to system default for --dirlist-names.]" \
"--revert-file-create-perm[Set value to system default for --file-create-perm.]" \
"--revert-limit-anon-passwords[Set value to system default for --limit-anon-passwords.]" \
"--revert-local-root-path[Set value to system default for --local-root-path.]" \
"--revert-local-umask[Set value to system default for --local-umask.]" \
"--revert-server-to-server[Set value to system default for --server-to-server.]" \
"--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.]" \
"--server-to-server=[Allow server-to-server (FXP) transfers.]:BoolValueType:(true false)" \
"--service=[FTP Service is enabled.]:BoolValueType:(true false)" \
"--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.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_hdfs] )) ||
_isi_hdfs() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ settings racks proxyusers log-level}
  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
    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 \
"--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-namenode=[The SmartConnect name of this cluster that will be used for the HDFS service.]" \
"--ambari-server=[A valid hostname, FQDN, IPv4 address, or IPv6 address of the Ambari server.]" \
"--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).]" \
"--default-checksum-type=[Specifies the checksum type reported by HDFS service.]:EnumValidator:(none crc32 crc32c)" \
"--help[Display help for this command.]" \
"--odp-version=[The dot version of the ODP stack repository including build number if one exists.]" \
"--root-directory=[Sets the root directory for HDFS protocol]" \
"--service=[Enables HDFS service on the zone]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"--webhdfs-enabled=[Enables WebHDFS on the zone]:BoolValueType:(true false)" \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display hdfs racks in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--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).]" \
"--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 \
"--rack=[Specifies rack id (name).]" \
"--client-ip-ranges=[External IP range.]" \
"--help[Display help for this command.]" \
"--ip-pools=[IP pool name.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_hdfs_racks_modify] )) ||
_isi_hdfs_racks_modify() {
_arguments \
"--rack=[Specifies rack id (name).]" \
"--add-client-ip-ranges=[Add external IP range.]" \
"--add-ip-pools=[Add IP pool name.]" \
"--clear-client-ip-ranges[Clear value for external IP range.]" \
"--clear-ip-pools[Clear value for IP pool name.]" \
"--client-ip-ranges=[External IP range.]" \
"--help[Display help for this command.]" \
"--ip-pools=[IP pool name.]" \
"--name=[Specifies new rack name. Rack name must start with '/'.]" \
"--remove-client-ip-ranges=[Remove external IP range.]" \
"--remove-ip-pools=[Remove IP pool name.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_hdfs_racks_delete] )) ||
_isi_hdfs_racks_delete() {
_arguments \
"--rack=[Specifies rack id (name).]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--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).]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display members in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_hdfs_proxyusers_create] )) ||
_isi_hdfs_proxyusers_create() {
_arguments \
"--proxyuser=[Specifies proxyuser (name).]" \
"--add-gid=[Specifies the GID of the group to add to the proxyuser.]" \
"--add-group=[Specifies the name 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.]" \
"--add-user=[Specifies name of the user to add to the proxyuser.]" \
"--add-wellknown=[Specifies well-known persona to add to the proxyuser. E.g. 'Everyone'.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--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).]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_hdfs_proxyusers_list] )) ||
_isi_hdfs_proxyusers_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display hdfs proxyusers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_hdfs_proxyusers_modify] )) ||
_isi_hdfs_proxyusers_modify() {
_arguments \
"--proxyuser=[Specifies proxyuser (name).]" \
"--add-gid=[Specifies the GID of the group to add to the proxyuser.]" \
"--add-group=[Specifies the name 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.]" \
"--add-user=[Specifies name of the user to add to the proxyuser.]" \
"--add-wellknown=[Specifies well-known persona to add to the proxyuser. E.g. 'Everyone'.]" \
"--help[Display help for this command.]" \
"--remove-gid=[Specifies GID of the group to remove from the proxyuser.]" \
"--remove-group=[Specifies the name 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.]" \
"--remove-user=[Specifies name of the user to remove from the proxyuser.]" \
"--remove-wellknown=[Specifies well-known persona to remove from the proxyuser.]" \
"--verbose[Display more detailed information.]" \
"--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).]" \
"--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 \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_hdfs_log-level_modify] )) ||
_isi_hdfs_log-level_modify() {
_arguments \
"--help[Display help for this command.]" \
"--set=[Specifies the log-level for the HDFS Service]:EnumValidator:(always error warning info verbose debug trace default)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--access-control=[Enable Access Control Authentication.Access Control Authentication requires at least one type of authentication to be enabled.]:BoolValueType:(true false)" \
"--basic-authentication=[Enable Basic Authentication.]:BoolValueType:(true false)" \
"--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)" \
"--enable-access-log=[Enable writing to a log when the HTTP server is accessed.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--integrated-authentication=[Enable Integrated Authentication.]: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)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--all[Show all jobs]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display job types in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_job_types_view] )) ||
_isi_job_types_view() {
_arguments \
"--id=[Job type ID.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_job_types_modify] )) ||
_isi_job_types_modify() {
_arguments \
"--id=[Job type ID.]" \
"--clear-schedule[Clear value for recurring date pattern at which job runs.]" \
"--enabled=[job type is enabled.]:BoolValueType:(true false)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--policy=[Set job policy. See 'isi job policies' for more info.]" \
"--priority=[Priority of job (lower is more important)]" \
"--schedule=[Recurring date pattern at which job runs.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display job policies in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of job policies to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_job_policies_view] )) ||
_isi_job_policies_view() {
_arguments \
"--id=[Job policy ID.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_job_policies_create] )) ||
_isi_job_policies_create() {
_arguments \
"--name=[Name for the job policy.]" \
"--begin=[Interval begin.]" \
"--description=[Description for this job policy.]" \
"--end=[Interval end.]" \
"--help[Display help for this command.]" \
"--impact=[Job policy interval impact: the given.]:EnumValidator:(low medium high paused)" \
}
(( $+functions[_isi_job_policies_modify] )) ||
_isi_job_policies_modify() {
_arguments \
"--id=[Job policy ID.]" \
"--add-begin=[Add interval begin.]" \
"--add-end=[Add interval end.]" \
"--add-impact=[Add job policy interval impact: the given.]:EnumValidator:(low medium high paused)" \
"--begin=[Interval begin.]" \
"--clear-begin[Clear value for interval begin.]" \
"--clear-end[Clear value for interval end.]" \
"--clear-impact[Clear value for job policy interval impact: the given.]" \
"--description=[Description for this job policy.]" \
"--end=[Interval end.]" \
"--help[Display help for this command.]" \
"--impact=[Job policy interval impact: the given.]:EnumValidator:(low medium high paused)" \
"--remove-begin=[Remove interval begin.]" \
"--remove-end=[Remove interval end.]" \
"--remove-impact=[Remove job policy interval impact: the given.]:EnumValidator:(low medium high paused)" \
"--reset-intervals[Clear all policy intervals and set defaults.]" \
}
(( $+functions[_isi_job_policies_delete] )) ||
_isi_job_policies_delete() {
_arguments \
"--id=[Job policy ID.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display jobs in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of jobs to display.]" \
"--state=[State of job: the given.]:EnumValidator:(paused_priority running paused_user paused_policy paused_system)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_job_jobs_view] )) ||
_isi_job_jobs_view() {
_arguments \
"--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.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_job_jobs_start] )) ||
_isi_job_jobs_start() {
_arguments \
"--type=[Type of job.]:cmdline_Option_type:_cmdline_Option_shell_type_0" \
"--av-policy=[AVScan policy for job.]" \
"--delete[Whether to delete the domain mark.]" \
"--directory-only[Skip processing of regular files.]" \
"--dm-type=[The type of domain mark.]:EnumValidator:(SnapRevert SyncIQ Worm)" \
"--no-dup[Do not allow the job to start if another is running or queued.]" \
"--force-run[Force files to be scanned, even if excluded by the policy.]" \
"--help[Display help for this command.]" \
"--ingest[Fast mode for quickly setting policies on directories.  Alias for --directory-only --policy-only.]" \
"--mapping-type=[The type of permissions.  Used only with '--mode convert'.]:EnumValidator:(global sid unix native)" \
"--mode=[The type of PermissionRepair operation.]:EnumValidator:(clone inherit convert)" \
"--newer-snapid=[Newer snapshot ID.]" \
"--nop[Dry run, calculate what would be done.]" \
"--older-snapid=[Older snapshot ID.]" \
"--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" \
"--policy=[Policy to use.]" \
"--policy-only[Apply policies but skip restriping.]" \
"--priority=[Job priority.]" \
"--recurse[Process children, recursively.]" \
"--report-id=[AVScan report ID.]" \
"--root=[Base path to associate with the domain.  Must be within /ifs.]:cmdline_Option_root:_path_files -/" \
"--snapid=[Snapshot to revert.]" \
"--template=[File or directory to use as a template.  Must be within /ifs.  Required for '--mode clone' or '--mode inherit'.]:cmdline_Option_template:_files" \
"--update=[Update the last run time for the AVScan policy.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.  Used only with '--mode convert'.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_type:_cmdline_Option_shell_type_0" \
}
(( $+functions[_isi_job_jobs_pause] )) ||
_isi_job_jobs_pause() {
_arguments \
"--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.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_job_jobs_resume] )) ||
_isi_job_jobs_resume() {
_arguments \
"--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.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_job_jobs_cancel] )) ||
_isi_job_jobs_cancel() {
_arguments \
"--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.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_job_jobs_modify] )) ||
_isi_job_jobs_modify() {
_arguments \
"--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.]" \
"--help[Display help for this command.]" \
"--policy=[Policy to use.]" \
"--priority=[Job priority.]" \
}
(( $+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 \
"--begin=[Limit to job reports after this date and time.]" \
"--end=[Limit to job reports before this date and time.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display job reports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--job-id=[Job ID.]" \
"--job-type=[Job type name.]" \
"--limit=[Number of job reports to display.]" \
}
(( $+functions[_isi_job_reports_view] )) ||
_isi_job_reports_view() {
_arguments \
"--id=[ID of the job report to view.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--begin=[Limit to job events after this date and time.]" \
"--end=[Limit to job events before this date and time.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display job events in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--job-id=[Job ID.]" \
"--job-type=[Job type name.]" \
"--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)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display job statistics in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_job_statistics_view] )) ||
_isi_job_statistics_view() {
_arguments \
"--devid=[Node devid.]" \
"--format=[Display job statistics in the given format]:EnumValidator:(table json csv list)" \
"--help[Display help for this command.]" \
"--job-id=[Job ID.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_job_status] )) ||
_isi_job_status() {
_arguments \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_license] )) ||
_isi_license() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ licenses activate list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == licenses ]]; then
      curcontext="${curcontext%:*:*}:isi-license-licenses:"
      _isi_license_licenses
    elif [[ $cmd == activate ]]; then
      curcontext="${curcontext%:*:*}:isi-license-licenses-activate:"
      _isi_license_licenses_activate
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-license-licenses-list:"
      _isi_license_licenses_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-license-licenses-view:"
      _isi_license_licenses_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_license_licenses] )) ||
_isi_license_licenses() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ activate list view}
  else
    local cmd=${words[2]}
    (( CURRENT-- ))
    shift words
    if [[ $cmd == activate ]]; then
      curcontext="${curcontext%:*:*}:isi-license-licenses-activate:"
      _isi_license_licenses_activate
    elif [[ $cmd == list ]]; then
      curcontext="${curcontext%:*:*}:isi-license-licenses-list:"
      _isi_license_licenses_list
    elif [[ $cmd == view ]]; then
      curcontext="${curcontext%:*:*}:isi-license-licenses-view:"
      _isi_license_licenses_view
    else
      _message "unknown command: $words[1]"
    fi
  fi
}
(( $+functions[_isi_license_licenses_activate] )) ||
_isi_license_licenses_activate() {
_arguments \
"--key=[License key.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_license_licenses_list] )) ||
_isi_license_licenses_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display licenses in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of licenses to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_license_licenses_view] )) ||
_isi_license_licenses_view() {
_arguments \
"--name=[Name for the license.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display nfs exports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of nfs exports to display.]" \
"--path=[Only show exports defined for the given path.]:cmdline_Option_path:_files" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_nfs_exports_check] )) ||
_isi_nfs_exports_check() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display nfs exports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--ignore-bad-auth[Ignore bad authentication for mapping options while creating/modifying the export.]" \
"--ignore-bad-paths[Do not error out on bad paths while creating/modifying the export.]" \
"--ignore-unresolvable-hosts[Do not error out on unresolvable hosts while creating/modifying the export.]" \
"--limit=[Number of nfs exports to display.]" \
"--verbose[Display more detailed information.]" \
"--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 \
"--id=[ID of the nfs export to view.]" \
"--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_create] )) ||
_isi_nfs_exports_create() {
_arguments \
"--paths=[Path of the nfs export. Must be within /ifs.]:cmdline_Option_paths:_files" \
"--all-dirs=[Implicitly export all subdirectories below the rule's path.]:BoolValueType:(true false)" \
"--block-size=[Block size.]" \
"--can-set-time=[Report that file times can be set via this export.]:BoolValueType:(true false)" \
"--case-insensitive=[Report that the server ignores case for file names.]:BoolValueType:(true false)" \
"--case-preserving=[Report that the server always preserves case for file names.]:BoolValueType:(true false)" \
"--chown-restricted=[Report that only the superuser may change file ownership.]:BoolValueType:(true false)" \
"--clients=[Replaces list of clients to be allowed access via this export.]" \
"--commit-asynchronous=[Perform commit data operations asynchronously.]:BoolValueType:(true false)" \
"--description=[Description for this nfs export.]" \
"--directory-transfer-size=[Preferred directory transfer size.]" \
"--encoding=[Character encoding of filenames via this export.]" \
"--force[Ignore conflicts and checks while creating/modifying the export.]" \
"--help[Display help for this command.]" \
"--ignore-bad-auth[Ignore bad authentication for mapping options while creating/modifying the export.]" \
"--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.]" \
"--ignore-unresolvable-hosts[Do not error out on unresolvable hosts while creating/modifying the export.]" \
"--link-max=[The reported maximum number of links to a file.]" \
"--map-all=[Map all incoming 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.]" \
"--map-failure-enabled=[Enable/disable mapping users a specific account after failing an auth lookup.]:BoolValueType:(true false)" \
"--map-full=[Use full identity mapping resolution of mapped user.]:BoolValueType:(true false)" \
"--map-lookup-uid=[Lookup incoming UIDs using local authentication database.]:BoolValueType:(true false)" \
"--map-non-root=[Map non-root users to a specific user and/or group ID.]" \
"--map-non-root-enabled=[Enable/disable mapping incoming non-root users to a specific account.]:BoolValueType:(true false)" \
"--map-retry=[Retry failed user mapping lookups.]:BoolValueType:(true false)" \
"--map-root=[Map incoming root users to a specific user and/or group ID.]" \
"--map-root-enabled=[Enable/disable mapping incoming root users to a specific account.]:BoolValueType:(true false)" \
"--max-file-size=[Maximum file size.]" \
"--name-max-size=[The reported maximum length of a filename.]" \
"--no-truncate=[Report that too-long file names result in an error.]:BoolValueType:(true false)" \
"--read-only=[Set nfs export as read-only.]:BoolValueType:(true false)" \
"--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.]" \
"--read-transfer-max-size=[Maximum NFSv3/4 read transfer size.]" \
"--read-transfer-multiple=[NFSv3/4 read transfer multiplier.]" \
"--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.]" \
"--readdirplus=[Enable NFSv3 readdirplus.]:BoolValueType:(true false)" \
"--readdirplus-prefetch=[Deprecated. This option currently does nothing.]" \
"--return-32bit-file-ids=[Return 32-bit file identifiers from NFSv3/4 readdir.]:BoolValueType:(true false)" \
"--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.]" \
"--security-flavors=[Replaces list of supported security flavors.]:EnumValidator:(unix krb5 krb5i krb5p)" \
"--setattr-asynchronous=[Perform set attributes operations asynchronously.]:BoolValueType:(true false)" \
"--snapshot=[Use this snapshot for all mounts.]" \
"--symlinks=[Advertise support for symlinks.]:BoolValueType:(true false)" \
"--time-delta=[Server time granularity in seconds.]" \
"--verbose[Display more detailed information.]" \
"--write-datasync-action=[Specify alternate NFSv3/4 datasync write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-datasync-reply=[Specify alternate NFSv3/4 datasync reply method.]:EnumValidator:(datasync filesync)" \
"--write-filesync-action=[Specify alternate NFSv3/4 filesync write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-filesync-reply=[Specify alternate NFSv3/4 filesync reply method.]:EnumValidator:(filesync)" \
"--write-transfer-max-size=[Maximum NFSv3/4 write transfer size.]" \
"--write-transfer-multiple=[NFSv3/4 write transfer multiplier.]" \
"--write-transfer-size=[Preferred NFSv3/4 write transfer size.]" \
"--write-unstable-action=[Specify alternate NFSv3/4 unstable write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-unstable-reply=[Specify alternate unstable reply method.]:EnumValidator:(datasync filesync unstable)" \
"--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 \
"--id=[ID of the nfs export to delete.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_nfs_exports_modify] )) ||
_isi_nfs_exports_modify() {
_arguments \
"--id=[ID of the nfs export to modify.]" \
"--add-clients=[Add items to list of clients to be allowed access via this export.]" \
"--add-paths=[Add items to list of NFS export paths]" \
"--add-read-only-clients=[Add items to list of clients to be allowed read-only access via this export.]" \
"--add-read-write-clients=[Add items to list of clients to be allowed read and write access via this export.]" \
"--add-root-clients=[Add items to list of clients to be allowed root access via this export.]" \
"--add-security-flavors=[Add items to list of supported security flavors.]:EnumValidator:(unix krb5 krb5i krb5p)" \
"--all-dirs=[Implicitly export all subdirectories below the rule's path.]:BoolValueType:(true false)" \
"--block-size=[Block size.]" \
"--can-set-time=[Report that file times can be set via this export.]:BoolValueType:(true false)" \
"--case-insensitive=[Report that the server ignores case for file names.]:BoolValueType:(true false)" \
"--case-preserving=[Report that the server always preserves case for file names.]:BoolValueType:(true false)" \
"--chown-restricted=[Report that only the superuser may change file ownership.]:BoolValueType:(true false)" \
"--clear-clients[Clear list of clients to be allowed access via this export.]" \
"--clear-paths[Clear list of NFS export paths]" \
"--clear-read-only-clients[Clear list of clients to be allowed read-only access via this export.]" \
"--clear-read-write-clients[Clear list of clients to be allowed read and write access via this export.]" \
"--clear-root-clients[Clear list of clients to be allowed root access via this export.]" \
"--clear-security-flavors[Clear list of supported security flavors.]" \
"--clients=[Replaces list of clients to be allowed access via this export.]" \
"--commit-asynchronous=[Perform commit data operations asynchronously.]:BoolValueType:(true false)" \
"--description=[Description for this nfs export.]" \
"--directory-transfer-size=[Preferred directory transfer size.]" \
"--encoding=[Character encoding of filenames via this export.]" \
"--force[Ignore conflicts and checks while creating/modifying the export.]" \
"--help[Display help for this command.]" \
"--ignore-bad-auth[Ignore bad authentication for mapping options while creating/modifying the export.]" \
"--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.]" \
"--ignore-unresolvable-hosts[Do not error out on unresolvable hosts while creating/modifying the export.]" \
"--link-max=[The reported maximum number of links to a file.]" \
"--map-all=[Map all incoming 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.]" \
"--map-failure-enabled=[Enable/disable mapping users a specific account after failing an auth lookup.]:BoolValueType:(true false)" \
"--map-full=[Use full identity mapping resolution of mapped user.]:BoolValueType:(true false)" \
"--map-lookup-uid=[Lookup incoming UIDs using local authentication database.]:BoolValueType:(true false)" \
"--map-non-root=[Map non-root users to a specific user and/or group ID.]" \
"--map-non-root-enabled=[Enable/disable mapping incoming non-root users to a specific account.]:BoolValueType:(true false)" \
"--map-retry=[Retry failed user mapping lookups.]:BoolValueType:(true false)" \
"--map-root=[Map incoming root users to a specific user and/or group ID.]" \
"--map-root-enabled=[Enable/disable mapping incoming root users to a specific account.]:BoolValueType:(true false)" \
"--max-file-size=[Maximum file size.]" \
"--name-max-size=[The reported maximum length of a filename.]" \
"--new-zone=[New access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--no-truncate=[Report that too-long file names result in an error.]:BoolValueType:(true false)" \
"--paths=[Path of the nfs export. Must be within /ifs.]:cmdline_Option_paths:_files" \
"--read-only=[Set nfs export as read-only.]:BoolValueType:(true false)" \
"--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.]" \
"--read-transfer-max-size=[Maximum NFSv3/4 read transfer size.]" \
"--read-transfer-multiple=[NFSv3/4 read transfer multiplier.]" \
"--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.]" \
"--readdirplus=[Enable NFSv3 readdirplus.]:BoolValueType:(true false)" \
"--readdirplus-prefetch=[Deprecated. This option currently does nothing.]" \
"--remove-clients=[Remove items from list of clients to be allowed access via this export.]" \
"--remove-paths=[Remove items from list of NFS export paths]" \
"--remove-read-only-clients=[Remove items from list of clients to be allowed read-only access via this export.]" \
"--remove-read-write-clients=[Remove items from list of clients to be allowed read and write access via this export.]" \
"--remove-root-clients=[Remove items from list of clients to be allowed root access via this export.]" \
"--remove-security-flavors=[Remove items from list of supported security flavors.]:EnumValidator:(unix krb5 krb5i krb5p)" \
"--return-32bit-file-ids=[Return 32-bit file identifiers from NFSv3/4 readdir.]:BoolValueType:(true false)" \
"--revert-all-dirs[Set value to system default for --all-dirs.]" \
"--revert-block-size[Set value to system default for --block-size.]" \
"--revert-can-set-time[Set value to system default for --can-set-time.]" \
"--revert-case-insensitive[Set value to system default for --case-insensitive.]" \
"--revert-case-preserving[Set value to system default for --case-preserving.]" \
"--revert-chown-restricted[Set value to system default for --chown-restricted.]" \
"--revert-commit-asynchronous[Set value to system default for --commit-asynchronous.]" \
"--revert-directory-transfer-size[Set value to system default for --directory-transfer-size.]" \
"--revert-encoding[Set value to system default for --encoding.]" \
"--revert-link-max[Set value to system default for --link-max.]" \
"--revert-map-all[Set value to system default for --map-all.]" \
"--revert-map-failure[Set value to system default for --map-failure.]" \
"--revert-map-failure-enabled[Set value to system default for --map-failure-enabled.]" \
"--revert-map-full[Set value to system default for --map-full.]" \
"--revert-map-lookup-uid[Set value to system default for --map-lookup-uid.]" \
"--revert-map-non-root[Set value to system default for --map-non-root.]" \
"--revert-map-non-root-enabled[Set value to system default for --map-non-root-enabled.]" \
"--revert-map-retry[Set value to system default for --map-retry.]" \
"--revert-map-root[Set value to system default for --map-root.]" \
"--revert-map-root-enabled[Set value to system default for --map-root-enabled.]" \
"--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.]" \
"--revert-no-truncate[Set value to system default for --no-truncate.]" \
"--revert-read-only[Set value to system default for --read-only.]" \
"--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-read-transfer-size[Set value to system default for --read-transfer-size.]" \
"--revert-readdirplus[Set value to system default for --readdirplus.]" \
"--revert-readdirplus-prefetch[Set value to system default for --readdirplus-prefetch.]" \
"--revert-return-32bit-file-ids[Set value to system default for --return-32bit-file-ids.]" \
"--revert-security-flavors[Set value to system default for --security-flavors.]" \
"--revert-setattr-asynchronous[Set value to system default for --setattr-asynchronous.]" \
"--revert-snapshot[Set value to system default for --snapshot.]" \
"--revert-symlinks[Set value to system default for --symlinks.]" \
"--revert-time-delta[Set value to system default for --time-delta.]" \
"--revert-write-datasync-action[Set value to system default for --write-datasync-action.]" \
"--revert-write-datasync-reply[Set value to system default for --write-datasync-reply.]" \
"--revert-write-filesync-action[Set value to system default for --write-filesync-action.]" \
"--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-write-transfer-size[Set value to system default for --write-transfer-size.]" \
"--revert-write-unstable-action[Set value to system default for --write-unstable-action.]" \
"--revert-write-unstable-reply[Set value to system default for --write-unstable-reply.]" \
"--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.]" \
"--security-flavors=[Replaces list of supported security flavors.]:EnumValidator:(unix krb5 krb5i krb5p)" \
"--setattr-asynchronous=[Perform set attributes operations asynchronously.]:BoolValueType:(true false)" \
"--snapshot=[Use this snapshot for all mounts.]" \
"--symlinks=[Advertise support for symlinks.]:BoolValueType:(true false)" \
"--time-delta=[Server time granularity in seconds.]" \
"--verbose[Display more detailed information.]" \
"--write-datasync-action=[Specify alternate NFSv3/4 datasync write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-datasync-reply=[Specify alternate NFSv3/4 datasync reply method.]:EnumValidator:(datasync filesync)" \
"--write-filesync-action=[Specify alternate NFSv3/4 filesync write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-filesync-reply=[Specify alternate NFSv3/4 filesync reply method.]:EnumValidator:(filesync)" \
"--write-transfer-max-size=[Maximum NFSv3/4 write transfer size.]" \
"--write-transfer-multiple=[NFSv3/4 write transfer multiplier.]" \
"--write-transfer-size=[Preferred NFSv3/4 write transfer size.]" \
"--write-unstable-action=[Specify alternate NFSv3/4 unstable write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-unstable-reply=[Specify alternate unstable reply method.]:EnumValidator:(datasync filesync unstable)" \
"--zone=[Access zone in which the export was created.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_nfs_exports_reload] )) ||
_isi_nfs_exports_reload() {
_arguments \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display nfs nlm locks in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of nfs nlm locks to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_nfs_nlm_locks_waiters] )) ||
_isi_nfs_nlm_locks_waiters() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display nfs nlm locks in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of nfs nlm locks to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display nfs nlm sessions in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of nfs nlm sessions to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_nfs_nlm_sessions_view] )) ||
_isi_nfs_nlm_sessions_view() {
_arguments \
"--hostname=[Name of the client that initiated this session]" \
"--cluster-ip=[Cluster IP address to which the client is connected]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display nfs nlm sessions in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of nfs nlm sessions to display.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_nfs_nlm_sessions_refresh] )) ||
_isi_nfs_nlm_sessions_refresh() {
_arguments \
"--hostname=[Name of the client that initiated this session]" \
"--cluster-ip=[Cluster IP address to which the client is connected]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_nfs_nlm_sessions_delete] )) ||
_isi_nfs_nlm_sessions_delete() {
_arguments \
"--hostname=[Name of the client that initiated this session]" \
"--cluster-ip=[Cluster IP address to which the client is connected]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--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]" \
"--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 \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_nfs_settings_global_modify] )) ||
_isi_nfs_settings_global_modify() {
_arguments \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--nfsv3-enabled=[NFSv3 enabled.]:BoolValueType:(true false)" \
"--nfsv4-enabled=[NFSv4 enabled.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--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 \
"--add-security-flavors=[Add items to list of supported security flavors.]:EnumValidator:(unix krb5 krb5i krb5p)" \
"--all-dirs=[Implicitly export all subdirectories below the rule's path.]:BoolValueType:(true false)" \
"--block-size=[Block size.]" \
"--can-set-time=[Report that file times can be set via this export.]:BoolValueType:(true false)" \
"--case-insensitive=[Report that the server ignores case for file names.]:BoolValueType:(true false)" \
"--case-preserving=[Report that the server always preserves case for file names.]:BoolValueType:(true false)" \
"--chown-restricted=[Report that only the superuser may change file ownership.]:BoolValueType:(true false)" \
"--clear-security-flavors[Clear list of supported security flavors.]" \
"--commit-asynchronous=[Perform commit data operations asynchronously.]:BoolValueType:(true false)" \
"--directory-transfer-size=[Preferred directory transfer size.]" \
"--encoding=[Character encoding of filenames via this export.]" \
"--help[Display help for this command.]" \
"--link-max=[The reported maximum number of links to a file.]" \
"--map-all=[Map all incoming 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.]" \
"--map-failure-enabled=[Enable/disable mapping users a specific account after failing an auth lookup.]:BoolValueType:(true false)" \
"--map-full=[Use full identity mapping resolution of mapped user.]:BoolValueType:(true false)" \
"--map-lookup-uid=[Lookup incoming UIDs using local authentication database.]:BoolValueType:(true false)" \
"--map-non-root=[Map non-root users to a specific user and/or group ID.]" \
"--map-non-root-enabled=[Enable/disable mapping incoming non-root users to a specific account.]:BoolValueType:(true false)" \
"--map-retry=[Retry failed user mapping lookups.]:BoolValueType:(true false)" \
"--map-root=[Map incoming root users to a specific user and/or group ID.]" \
"--map-root-enabled=[Enable/disable mapping incoming root users to a specific account.]:BoolValueType:(true false)" \
"--max-file-size=[Maximum file size.]" \
"--name-max-size=[The reported maximum length of a filename.]" \
"--no-truncate=[Report that too-long file names result in an error.]:BoolValueType:(true false)" \
"--read-only=[Set nfs export setting as read-only.]:BoolValueType:(true false)" \
"--read-transfer-max-size=[Maximum NFSv3/4 read transfer size.]" \
"--read-transfer-multiple=[NFSv3/4 read transfer multiplier.]" \
"--read-transfer-size=[Preferred NFSv3/4 read transfer size.]" \
"--readdirplus=[Enable NFSv3 readdirplus.]:BoolValueType:(true false)" \
"--readdirplus-prefetch=[Deprecated. This option currently does nothing.]" \
"--remove-security-flavors=[Remove items from list of supported security flavors.]:EnumValidator:(unix krb5 krb5i krb5p)" \
"--return-32bit-file-ids=[Return 32-bit file identifiers from NFSv3/4 readdir.]:BoolValueType:(true false)" \
"--revert-all-dirs[Set value to system default for --all-dirs.]" \
"--revert-block-size[Set value to system default for --block-size.]" \
"--revert-can-set-time[Set value to system default for --can-set-time.]" \
"--revert-case-insensitive[Set value to system default for --case-insensitive.]" \
"--revert-case-preserving[Set value to system default for --case-preserving.]" \
"--revert-chown-restricted[Set value to system default for --chown-restricted.]" \
"--revert-commit-asynchronous[Set value to system default for --commit-asynchronous.]" \
"--revert-directory-transfer-size[Set value to system default for --directory-transfer-size.]" \
"--revert-encoding[Set value to system default for --encoding.]" \
"--revert-link-max[Set value to system default for --link-max.]" \
"--revert-map-all[Set value to system default for --map-all.]" \
"--revert-map-failure[Set value to system default for --map-failure.]" \
"--revert-map-failure-enabled[Set value to system default for --map-failure-enabled.]" \
"--revert-map-full[Set value to system default for --map-full.]" \
"--revert-map-lookup-uid[Set value to system default for --map-lookup-uid.]" \
"--revert-map-non-root[Set value to system default for --map-non-root.]" \
"--revert-map-non-root-enabled[Set value to system default for --map-non-root-enabled.]" \
"--revert-map-retry[Set value to system default for --map-retry.]" \
"--revert-map-root[Set value to system default for --map-root.]" \
"--revert-map-root-enabled[Set value to system default for --map-root-enabled.]" \
"--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.]" \
"--revert-no-truncate[Set value to system default for --no-truncate.]" \
"--revert-read-only[Set value to system default for --read-only.]" \
"--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-read-transfer-size[Set value to system default for --read-transfer-size.]" \
"--revert-readdirplus[Set value to system default for --readdirplus.]" \
"--revert-readdirplus-prefetch[Set value to system default for --readdirplus-prefetch.]" \
"--revert-return-32bit-file-ids[Set value to system default for --return-32bit-file-ids.]" \
"--revert-security-flavors[Set value to system default for --security-flavors.]" \
"--revert-setattr-asynchronous[Set value to system default for --setattr-asynchronous.]" \
"--revert-snapshot[Set value to system default for --snapshot.]" \
"--revert-symlinks[Set value to system default for --symlinks.]" \
"--revert-time-delta[Set value to system default for --time-delta.]" \
"--revert-write-datasync-action[Set value to system default for --write-datasync-action.]" \
"--revert-write-datasync-reply[Set value to system default for --write-datasync-reply.]" \
"--revert-write-filesync-action[Set value to system default for --write-filesync-action.]" \
"--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-write-transfer-size[Set value to system default for --write-transfer-size.]" \
"--revert-write-unstable-action[Set value to system default for --write-unstable-action.]" \
"--revert-write-unstable-reply[Set value to system default for --write-unstable-reply.]" \
"--security-flavors=[Replaces list of supported security flavors.]:EnumValidator:(unix krb5 krb5i krb5p)" \
"--setattr-asynchronous=[Perform set attributes operations asynchronously.]:BoolValueType:(true false)" \
"--snapshot=[Use this snapshot for all mounts.]" \
"--symlinks=[Advertise support for symlinks.]:BoolValueType:(true false)" \
"--time-delta=[Server time granularity in seconds.]" \
"--verbose[Display more detailed information.]" \
"--write-datasync-action=[Specify alternate NFSv3/4 datasync write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-datasync-reply=[Specify alternate NFSv3/4 datasync reply method.]:EnumValidator:(datasync filesync)" \
"--write-filesync-action=[Specify alternate NFSv3/4 filesync write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-filesync-reply=[Specify alternate NFSv3/4 filesync reply method.]:EnumValidator:(filesync)" \
"--write-transfer-max-size=[Maximum NFSv3/4 write transfer size.]" \
"--write-transfer-multiple=[NFSv3/4 write transfer multiplier.]" \
"--write-transfer-size=[Preferred NFSv3/4 write transfer size.]" \
"--write-unstable-action=[Specify alternate NFSv3/4 unstable write method.]:EnumValidator:(datasync filesync unstable)" \
"--write-unstable-reply=[Specify alternate unstable reply method.]:EnumValidator:(datasync filesync unstable)" \
"--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 \
"--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 \
"--help[Display help for this command.]" \
"--nfsv4-allow-numeric-ids=[Send owners/groups as UIDs/GIDs when lookups fail or if no_names=1 (v4)]:BoolValueType:(true false)" \
"--nfsv4-domain=[NFSv4 domain name.]" \
"--nfsv4-no-domain=[Send owners/groups without domainname (v4)]:BoolValueType:(true false)" \
"--nfsv4-no-domain-uids=[Send UIDs/GIDs without domainname (v4)]:BoolValueType:(true false)" \
"--nfsv4-no-names=[Always send owners/groups as UIDs/GIDs (v4)]:BoolValueType:(true false)" \
"--nfsv4-replace-domain=[Replace owner/group domain with nfs domainname. (v4)]:BoolValueType:(true false)" \
"--revert-nfsv4-allow-numeric-ids[Set value to system default for --nfsv4-allow-numeric-ids.]" \
"--revert-nfsv4-domain[Set value to system default for --nfsv4-domain.]" \
"--revert-nfsv4-no-domain[Set value to system default for --nfsv4-no-domain.]" \
"--revert-nfsv4-no-domain-uids[Set value to system default for --nfsv4-no-domain-uids.]" \
"--revert-nfsv4-no-names[Set value to system default for --nfsv4-no-names.]" \
"--revert-nfsv4-replace-domain[Set value to system default for --nfsv4-replace-domain.]" \
"--verbose[Display more detailed information.]" \
"--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 \
"--help[Display help for this command.]" \
"--host=[IP address of the node to check. Defaults is localhost.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_nfs_netgroup_flush] )) ||
_isi_nfs_netgroup_flush() {
_arguments \
"--help[Display help for this command.]" \
"--host=[IP address of the node to flush. Defaults is all nodes.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_nfs_netgroup_modify] )) ||
_isi_nfs_netgroup_modify() {
_arguments \
"--bgwrite=[Set the to disk backup interval.]" \
"--expiration=[Set the netgroup expiration time.]" \
"--help[Display help for this command.]" \
"--lifetime=[Set the netgroup lifetime.]" \
"--retry=[Set the retry interval.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--check[Check alias health]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display nfs aliases in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of nfs aliases to display.]" \
"--zone=[Access zone in which the alias is active.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_nfs_aliases_view] )) ||
_isi_nfs_aliases_view() {
_arguments \
"--name=[Name by which the alias is referenced.]" \
"--check[Check alias health]" \
"--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 \
"--name=[Name by which the alias is referenced.]" \
"--path=[On-disk path to which the alias points.]:cmdline_Option_path:_files" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--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 \
"--name=[Name by which the alias is referenced.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--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 \
"--alias=[Name by which the alias is referenced.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--name=[New name for the alias.]" \
"--new-zone=[New access zone for alias.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--path=[On-disk path to which the alias points.]:cmdline_Option_path:_files" \
"--verbose[Display more detailed information.]" \
"--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 \
"--level=[Valid logging levels are 'always', 'error', 'warning', 'info', 'verbose', 'debug', and 'trace']" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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}
  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
    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)" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_ndmp_settings_global_modify] )) ||
_isi_ndmp_settings_global_modify() {
_arguments \
"--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.]" \
"--dma=[DMA (Data Management Application) which controls the NDMP sessions.]:EnumValidator:(generic atempo bakbone commvault emc symantec tivoli symantec-netbackup symantec-backupexec)" \
"--help[Display help for this command.]" \
"--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.]" \
"--port=[The  TCP/IP  port  number  on  which the NDMP daemon listens for
incoming connections.  Default: 10000.]" \
"--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)" \
}
(( $+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)" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_ndmp_settings_diagnostics_modify] )) ||
_isi_ndmp_settings_diagnostics_modify() {
_arguments \
"--diag-level=[diagnostics level for ndmp]" \
"--help[Display help for this command.]" \
"--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)" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display ndmp variables settings in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--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 \
"--path=[Path of the ndmp variables setting. Must be within /ifs.]:cmdline_Option_path:_files" \
"--name=[the name of the environment variable.]" \
"--value=[The value of the environment variable]" \
"--help[Display help for this command.]" \
"1:cmdline_Option_path:_files" \
}
(( $+functions[_isi_ndmp_settings_variables_modify] )) ||
_isi_ndmp_settings_variables_modify() {
_arguments \
"--path=[Path of the ndmp variables setting. Must be within /ifs.]:cmdline_Option_path:_files" \
"--name=[the name of the environment variable.]" \
"--value=[The value of the environment variable]" \
"--help[Display help for this command.]" \
"1:cmdline_Option_path:_files" \
}
(( $+functions[_isi_ndmp_settings_variables_delete] )) ||
_isi_ndmp_settings_variables_delete() {
_arguments \
"--path=[Path of the ndmp variables setting. Must be within /ifs.]:cmdline_Option_path:_files" \
"--force[Do not ask confirmation.]" \
"--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.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_path:_files" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display ndmp dumpdates in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--level=[Display entries of the specified level]" \
"--limit=[Number of ndmp dumpdates to display.]" \
"--path=[Path of the ndmp dumpdate. Must be within /ifs.]:cmdline_Option_path:_files" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_ndmp_dumpdates_delete] )) ||
_isi_ndmp_dumpdates_delete() {
_arguments \
"--path=[Path of the ndmp dumpdate. Must be within /ifs.]:cmdline_Option_path:_files" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--level=[Display entries of the specified level]" \
"--verbose[Display more detailed information.]" \
"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)" \
"--help[Display help for this command.]" \
"--type=[Display entries of the specified level]:EnumValidator:(bre backup restore)" \
}
(( $+functions[_isi_ndmp_contexts_view] )) ||
_isi_ndmp_contexts_view() {
_arguments \
"--id=[The context ID string]" \
"--format=[Display ndmp contexts in the given format]:EnumValidator:(list json)" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_ndmp_contexts_delete] )) ||
_isi_ndmp_contexts_delete() {
_arguments \
"--id=[The context ID string]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--consolidate[Consolidate sessions of a multi-stream context]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display ndmp sessions in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of ndmp sessions to display.]" \
"--node=[Display only sessions of the specified node.]" \
"--session=[NDMP session identifier <lnn>.<pid>]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_ndmp_sessions_view] )) ||
_isi_ndmp_sessions_view() {
_arguments \
"--session=[NDMP session identifier <lnn>.<pid>]" \
"--format=[Display ndmp sessions in the given format]:EnumValidator:(list json)" \
"--help[Display help for this command.]" \
"--probe[View probe information of the NDMP session]" \
}
(( $+functions[_isi_ndmp_sessions_delete] )) ||
_isi_ndmp_sessions_delete() {
_arguments \
"--session=[NDMP session identifier <lnn>.<pid>]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display ndmp users in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_ndmp_users_view] )) ||
_isi_ndmp_users_view() {
_arguments \
"--name=[Name of the user.]" \
"--format=[Display ndmp users in the given format]:EnumValidator:(list json)" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_ndmp_users_create] )) ||
_isi_ndmp_users_create() {
_arguments \
"--name=[Name of the user.]" \
"--help[Display help for this command.]" \
"--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.]" \
}
(( $+functions[_isi_ndmp_users_modify] )) ||
_isi_ndmp_users_modify() {
_arguments \
"--name=[Name of the user.]" \
"--help[Display help for this command.]" \
"--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.]" \
}
(( $+functions[_isi_ndmp_users_delete] )) ||
_isi_ndmp_users_delete() {
_arguments \
"--name=[Name of the user.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--add-excluded=[Add items to list of logical node numbers (LNNs) excluded from chimer duty]" \
"--chimers=[Number of chimer nodes that contact NTP servers.]" \
"--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.]" \
"--excluded=[Node number (LNN) for nodes excluded from chimer duty.]" \
"--help[Display help for this command.]" \
"--key-file=[Path to NTP key file within /ifs.]" \
"--remove-excluded=[Remove items from list of logical node numbers (LNNs) excluded from chimer duty]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display ntp servers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of ntp servers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_ntp_servers_view] )) ||
_isi_ntp_servers_view() {
_arguments \
"--name=[Hostname of the NTP server.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_ntp_servers_create] )) ||
_isi_ntp_servers_create() {
_arguments \
"--name=[Hostname of the NTP server.]" \
"--help[Display help for this command.]" \
"--key=[Value that maps the NTP server to a key in the key file.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_ntp_servers_modify] )) ||
_isi_ntp_servers_modify() {
_arguments \
"--name=[Hostname of the NTP server.]" \
"--clear-key[Clear value for value that maps the NTP server to a key in the key file.]" \
"--help[Display help for this command.]" \
"--key=[Value that maps the NTP server to a key in the key file.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_ntp_servers_delete] )) ||
_isi_ntp_servers_delete() {
_arguments \
"--name=[Hostname of the NTP server.]" \
"--all[delete all ntp servers.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--cache-entry-limit=[DNS cache entry limit; default is 65536 (1024 <= n <= 1048576)]" \
"--cluster-timeout=[Timeout value for calls made to other nodes in the cluster; default is 5 (0 <= n <= 60)]" \
"--dns-timeout=[Timeout value for calls made to the dns resolver; default is 5 (0 <= n <= 60)]" \
"--eager-refresh=[Lead time to refresh cache entries nearing expiration; default is  0 (0 <= n <= 30)]" \
"--help[Display help for this command.]" \
"--revert-cache-entry-limit[Set value to system default for --cache-entry-limit.]" \
"--revert-cluster-timeout[Set value to system default for --cluster-timeout.]" \
"--revert-dns-timeout[Set value to system default for --dns-timeout.]" \
"--revert-eager-refresh[Set value to system default for --eager-refresh.]" \
"--revert-testping-delta[Set value to system default for --testping-delta.]" \
"--revert-ttl-max-noerror[Set value to system default for --ttl-max-noerror.]" \
"--revert-ttl-max-nxdomain[Set value to system default for --ttl-max-nxdomain.]" \
"--revert-ttl-max-other[Set value to system default for --ttl-max-other.]" \
"--revert-ttl-max-servfail[Set value to system default for --ttl-max-servfail.]" \
"--revert-ttl-min-noerror[Set value to system default for --ttl-min-noerror.]" \
"--revert-ttl-min-nxdomain[Set value to system default for --ttl-min-nxdomain.]" \
"--revert-ttl-min-other[Set value to system default for --ttl-min-other.]" \
"--revert-ttl-min-servfail[Set value to system default for --ttl-min-servfail.]" \
"--testping-delta=[Deltas for checking cbind cluster health; default is 30 (0 <= n <= 60)]" \
"--timeout=[Number of seconds for a command timeout (specified as 'isi --timeout NNN <command>').]" \
"--ttl-max-noerror=[Upper bound on ttl for cache hits; default is 3600 (0 <= n <= 3600)]" \
"--ttl-max-nxdomain=[Upper bound on ttl for nxdomain; default is 3600 (0 <= n <= 3600)]" \
"--ttl-max-other=[Upper bound on ttl for non-nxdomain failures; default is 60 (0 <= n <= 3600)]" \
"--ttl-max-servfail=[Upper bound on ttl for server failures; default is 3600 (0 <= n <= 3600)]" \
"--ttl-min-noerror=[Lower bound on ttl for cache hits; default is 30 (0 <= n <= 3600)]" \
"--ttl-min-nxdomain=[Lower bound on ttl for nxdomain; default is 15 (0 <= n <= 3600)]" \
"--ttl-min-other=[Lower bound on ttl for non-nxdomain failures; default is 0 (0 <= n <= 3600)]" \
"--ttl-min-servfail=[Lower bound on ttl for server failures; default is 300 (0 <= n <= 3600)]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_dnscache_view] )) ||
_isi_network_dnscache_view() {
}
(( $+functions[_isi_network_dnscache_flush] )) ||
_isi_network_dnscache_flush() {
_arguments \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--add-tcp-ports=[Add items to list of TCP ports]" \
"--clear-tcp-ports[Clear list of TCP ports]" \
"--help[Display help for this command.]" \
"--remove-tcp-ports=[Remove items from list of TCP ports]" \
"--revert-sbr[Set value to system default for --sbr.]" \
"--revert-sc-rebalance-delay[Set value to system default for --sc-rebalance-delay.]" \
"--revert-tcp-ports[Set value to system default for --tcp-ports.]" \
"--sbr=[Enable or disable Source Based Routing. Default is False.]:BoolValueType:(true false)" \
"--sc-rebalance-delay=[IP rebalance delay in seconds.]" \
"--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>').]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--id=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_0" \
"--description=[A descriptive comment about the groupnet. It can be no more than 128 bytes.]" \
"--dns-cache-enabled=[DNS caching is enabled or disabled. Defaults to True.]:BoolValueType:(true false)" \
"--dns-options=[A list of DNS resolver options. Currently the only valid option is rotate.]" \
"--dns-search=[A list of DNS search suffices. The maximum number of DNS search domains is limited to 6.]" \
"--dns-servers=[A list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]" \
"--help[Display help for this command.]" \
"--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)" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_0" \
}
(( $+functions[_isi_network_groupnets_delete] )) ||
_isi_network_groupnets_delete() {
_arguments \
"--id=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_0" \
}
(( $+functions[_isi_network_groupnets_list] )) ||
_isi_network_groupnets_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display network groupnets in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of network groupnets to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_groupnets_modify] )) ||
_isi_network_groupnets_modify() {
_arguments \
"--id=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_0" \
"--add-dns-options=[Add a list of DNS resolver options. Currently the only valid option is rotate.]" \
"--add-dns-search=[Add a list of DNS search suffices. The maximum number of DNS search domains is limited to 6.]" \
"--add-dns-servers=[Add 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-search[Clear value for a list of DNS search suffices. The maximum number of DNS search domains is limited to 6.]" \
"--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.]" \
"--description=[A descriptive comment about the groupnet. It can be no more than 128 bytes.]" \
"--dns-cache-enabled=[DNS caching is enabled or disabled. Defaults to True.]:BoolValueType:(true false)" \
"--dns-options=[A list of DNS resolver options. Currently the only valid option is rotate.]" \
"--dns-search=[A list of DNS search suffices. The maximum number of DNS search domains is limited to 6.]" \
"--dns-servers=[A list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]" \
"--help[Display help for this command.]" \
"--name=[Name of the groupnet.]:cmdline_Option_name:_cmdline_Option_shell_name_1" \
"--remove-dns-options=[Remove a list of DNS resolver options. Currently the only valid option is rotate.]" \
"--remove-dns-search=[Remove a list of DNS search suffices. The maximum number of DNS search domains is limited to 6.]" \
"--remove-dns-servers=[Remove a list of DNS server IP addresses. The maximum number of DNS server IP addresses is limited to 3.]" \
"--revert-dns-cache-enabled[Set value to system default for --dns-cache-enabled.]" \
"--revert-server-side-dns-search[Set value to system default for --server-side-dns-search.]" \
"--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)" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_0" \
}
(( $+functions[_isi_network_groupnets_view] )) ||
_isi_network_groupnets_view() {
_arguments \
"--id=[A <groupnet_id> for the groupnet.]:cmdline_Option_id:_cmdline_Option_shell_id_0" \
"--help[Display help for this command.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_0" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display network interfaces in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of network interfaces to display.]" \
"--nodes=[Only list interfaces from the specified nodes.]" \
"--show-inactive[Show inactive interfaces (suppressed by default)]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--id=[A <pool_id> for the new pool. The groupnet and subnet the pool is under must exist.]" \
"--access-zone=[Name of access zone associated with IP pool.]" \
"--aggregation-mode=[Type of NIC aggregation.  Supported types are roundrobin, failover, lacp and fec.]:EnumValidator:(roundrobin failover lacp fec)" \
"--alloc-method=[Pool allocation method: 'static' or 'dynamic'.]:EnumValidator:(dynamic static)" \
"--description=[A descriptive comment about the pool. It can be no more than 128 bytes.]" \
"--force[Ignore conflicts.]" \
"--help[Display help for this command.]" \
"--ifaces=[A list of node interface members in this pool.]" \
"--ranges=[A list of IP address ranges in the pool.]" \
"--rebalance-policy=[Rebalance after failback policy. Can be 'manual' or 'auto'. Defaults to auto.]:EnumValidator:(manual auto)" \
"--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-connect-policy=[SmartConnect client connection balancing policy.]:EnumValidator:(round_robin conn_count throughput cpu_usage)" \
"--sc-dns-zone=[SmartConnect DNS zone name for the pool.]" \
"--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-subnet=[Name of SmartConnect subnet that will handle DNS queries for this pool.]" \
"--sc-ttl=[Time to live value for SmartConnect DNS query responses in seconds.
Maximum value is limited to 2147483647. Default to 0.]" \
"--static-routes=[List of static routes to pool.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_pools_delete] )) ||
_isi_network_pools_delete() {
_arguments \
"--id=[The <pool_id> of the pool to delete.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_pools_list] )) ||
_isi_network_pools_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display network pools in the given format]:EnumValidator:(table json csv list)" \
"--groupnet=[Only list pools under the specified groupnet.]" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of network pools to display.]" \
"--subnet=[Only list pools under the specified subnet.]" \
"--subnet-id=[The <subnet_id> of the subnet to list pools in.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_pools_modify] )) ||
_isi_network_pools_modify() {
_arguments \
"--id=[The <pool_id> of the pool to modify.]:cmdline_Option_id:_cmdline_Option_shell_id_1" \
"--access-zone=[Name of access zone associated with IP 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.]" \
"--add-sc-dns-zone-aliases=[Add list of alternate SmartConnect DNS zone names for the pool.]" \
"--add-static-routes=[Add list of static routes to pool.]" \
"--aggregation-mode=[Type of NIC aggregation.  Supported types are roundrobin, failover, lacp and fec.]:EnumValidator:(roundrobin failover lacp fec)" \
"--alloc-method=[Pool allocation method: 'static' or 'dynamic'.]:EnumValidator:(dynamic static)" \
"--clear-description[Clear value for a descriptive comment about the pool. It can be no more than 128 bytes.]" \
"--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.]" \
"--clear-sc-dns-zone-aliases[Clear value for list of alternate SmartConnect DNS zone names for the pool.]" \
"--clear-static-routes[Clear value for list of static routes to pool.]" \
"--description=[A descriptive comment about the pool. It can be no more than 128 bytes.]" \
"--force[Ignore conflicts.]" \
"--help[Display help for this command.]" \
"--ifaces=[A list of node interface members in this pool.]" \
"--name=[Name of the pool.]:cmdline_Option_name:_cmdline_Option_shell_name_2" \
"--ranges=[A list of IP address ranges in the pool.]" \
"--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.]" \
"--remove-sc-dns-zone-aliases=[Remove list of alternate SmartConnect DNS zone names for the pool.]" \
"--remove-static-routes=[Remove list of static routes to pool.]" \
"--revert-access-zone[Set value to system default for --access-zone.]" \
"--revert-aggregation-mode[Set value to system default for --aggregation-mode.]" \
"--revert-alloc-method[Set value to system default for --alloc-method.]" \
"--revert-rebalance-policy[Set value to system default for --rebalance-policy.]" \
"--revert-sc-auto-unsuspend-delay[Set value to system default for --sc-auto-unsuspend-delay.]" \
"--revert-sc-connect-policy[Set value to system default for --sc-connect-policy.]" \
"--revert-sc-failover-policy[Set value to system default for --sc-failover-policy.]" \
"--revert-sc-ttl[Set value to system default for --sc-ttl.]" \
"--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-connect-policy=[SmartConnect client connection balancing policy.]:EnumValidator:(round_robin conn_count throughput cpu_usage)" \
"--sc-dns-zone=[SmartConnect DNS zone name for the pool.]" \
"--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-subnet=[Name of SmartConnect subnet that will handle DNS queries for this pool.]" \
"--sc-ttl=[Time to live value for SmartConnect DNS query responses in seconds.
Maximum value is limited to 2147483647. Default to 0.]" \
"--static-routes=[List of static routes to pool.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_1" \
}
(( $+functions[_isi_network_pools_rebalance-ips] )) ||
_isi_network_pools_rebalance-ips() {
_arguments \
"--id=[The <pool_id> of the pool to rebalance.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_pools_sc-suspend-nodes] )) ||
_isi_network_pools_sc-suspend-nodes() {
_arguments \
"--id=[A <pool_id> for the new pool. The groupnet and subnet the pool is under must exist.]" \
"--lnn=[A Logical Node Number representing a node in the cluster.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_pools_sc-resume-nodes] )) ||
_isi_network_pools_sc-resume-nodes() {
_arguments \
"--id=[A <pool_id> for the new pool. The groupnet and subnet the pool is under must exist.]" \
"--lnn=[A Logical Node Number representing a node in the cluster.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_pools_view] )) ||
_isi_network_pools_view() {
_arguments \
"--id=[The <pool_id> of the pool to view.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--id=[The <rule_id> of the rule to create.]:cmdline_Option_id:_cmdline_Option_shell_id_2" \
"--iface=[The <node_interface> the provisioning rule applies to.]" \
"--description=[Description for the provisioning rule. It can be no more than 128 bytes.]" \
"--help[Display help for this command.]" \
"--node-type=[Node types to which the provisioning rule applies.
Supported values are any, storage, accelerator, backup-accelerator]:EnumValidator:(any storage accelerator backup-accelerator)" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_2" \
}
(( $+functions[_isi_network_rules_delete] )) ||
_isi_network_rules_delete() {
_arguments \
"--id=[The <rule_id> of the rule to delete.]:cmdline_Option_id:_cmdline_Option_shell_id_2" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_2" \
}
(( $+functions[_isi_network_rules_list] )) ||
_isi_network_rules_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display network rules in the given format]:EnumValidator:(table json csv list)" \
"--groupnet=[Only list rules under the specified groupnet.]" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of network rules to display.]" \
"--pool=[Only list rules under the specified pool(s).]" \
"--pool-id=[The <pool_id> of the pool to list rules in.]" \
"--subnet=[Only list rules under the specified subnet.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_rules_modify] )) ||
_isi_network_rules_modify() {
_arguments \
"--id=[The <rule_id> of the rule to modify.]:cmdline_Option_id:_cmdline_Option_shell_id_2" \
"--clear-description[Clear value for description for the provisioning rule. It can be no more than 128 bytes.]" \
"--description=[Description for the provisioning rule. It can be no more than 128 bytes.]" \
"--help[Display help for this command.]" \
"--iface=[The <node_interface> the provisioning rule applies to.]" \
"--name=[Name of the rule.]:cmdline_Option_name:_cmdline_Option_shell_name_3" \
"--node-type=[Node types to which the provisioning rule applies.
Supported values are any, storage, accelerator, backup-accelerator]:EnumValidator:(any storage accelerator backup-accelerator)" \
"--revert-node-type[Set value to system default for --node-type.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_2" \
}
(( $+functions[_isi_network_rules_view] )) ||
_isi_network_rules_view() {
_arguments \
"--id=[The <rule_id> of the rule to view.]:cmdline_Option_id:_cmdline_Option_shell_id_2" \
"--help[Display help for this command.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_2" \
}
(( $+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 \
"--prefixlen=[The prefix size for this subnet.]" \
"--addr-family=[IP address format used by subnet, IPv4 or IPv6.]:EnumValidator:(ipv4 ipv6)" \
"--id=[A <subnet_id> for the new subnet.]:cmdline_Option_id:_cmdline_Option_shell_id_3" \
"--description=[A descriptive comment about the subnet. It can be no more than 128 bytes.]" \
"--dsr-addrs=[A list of IP addresses that use Direct Server Return (DSR).]" \
"--gateway=[The IP address of the subnet gateway.]" \
"--gateway-priority=[Priority of subnet gateway, where lowest number is highest priority.]" \
"--help[Display help for this command.]" \
"--mtu=[Size of the Maximum Transmission Units the cluster uses in network communication.]" \
"--sc-service-addr=[An IP address in subnet which will receive incoming DNS requests.]" \
"--verbose[Display more detailed information.]" \
"--vlan-enabled=[Enable VLAN tagging.]:BoolValueType:(true false)" \
"--vlan-id=[VLAN id of subnet.]" \
"2:EnumValidator:(ipv4 ipv6)" \
"3:cmdline_Option_id:_cmdline_Option_shell_id_3" \
}
(( $+functions[_isi_network_subnets_delete] )) ||
_isi_network_subnets_delete() {
_arguments \
"--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_3" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_3" \
}
(( $+functions[_isi_network_subnets_list] )) ||
_isi_network_subnets_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display network subnets in the given format]:EnumValidator:(table json csv list)" \
"--groupnet=[Only list subnets under the specified groupnet.]" \
"--groupnet-id=[The <groupnet_id> of the groupnet in which to list subnets.]" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of network subnets to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_network_subnets_modify] )) ||
_isi_network_subnets_modify() {
_arguments \
"--id=[The <subnet_id> of the subnet to modify.]:cmdline_Option_id:_cmdline_Option_shell_id_4" \
"--add-dsr-addrs=[Add a list of IP addresses that use Direct Server Return (DSR).]" \
"--clear-description[Clear value for a descriptive comment about the subnet. It can be no more than 128 bytes.]" \
"--clear-dsr-addrs[Clear value for a list of IP addresses that use Direct Server Return (DSR).]" \
"--description=[A descriptive comment about the subnet. It can be no more than 128 bytes.]" \
"--dsr-addrs=[A list of IP addresses that use Direct Server Return (DSR).]" \
"--force[Ignore conflicts.]" \
"--gateway=[The IP address of the subnet gateway.]" \
"--gateway-priority=[Priority of subnet gateway, where lowest number is highest priority.]" \
"--help[Display help for this command.]" \
"--mtu=[Size of the Maximum Transmission Units the cluster uses in network communication.]" \
"--name=[Name of the subnet.]:cmdline_Option_name:_cmdline_Option_shell_name_4" \
"--prefixlen=[The prefix size for this subnet.]" \
"--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.]" \
"--revert-mtu[Set value to system default for --mtu.]" \
"--revert-vlan-enabled[Set value to system default for --vlan-enabled.]" \
"--sc-service-addr=[An IP address in subnet which will receive incoming DNS requests.]" \
"--verbose[Display more detailed information.]" \
"--vlan-enabled=[Enable VLAN tagging.]:BoolValueType:(true false)" \
"--vlan-id=[VLAN id of subnet.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_4" \
}
(( $+functions[_isi_network_subnets_view] )) ||
_isi_network_subnets_view() {
_arguments \
"--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_3" \
"--help[Display help for this command.]" \
"1:cmdline_Option_id:_cmdline_Option_shell_id_3" \
}
(( $+functions[_isi_network_sc-rebalance-all] )) ||
_isi_network_sc-rebalance-all() {
_arguments \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display notification rules in the given format]:EnumValidator:(table json csv list)" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--limit=[Number of notification rules to display.]" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"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 \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--threshold=[Type of threshold.]:EnumValidator:(hard soft advisory)" \
"--condition=[Notification condition.]:EnumValidator:(exceeded denied violated expired)" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"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 \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--threshold=[Type of threshold.]:EnumValidator:(hard soft advisory)" \
"--condition=[Notification condition.]:EnumValidator:(exceeded denied violated expired)" \
"--action-alert=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)" \
"--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.]" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--holdoff=[A length of time to holdoff before generating a notification.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--schedule=[Date pattern at which recurring notifications are made.]" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"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 \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--threshold=[Type of threshold.]:EnumValidator:(hard soft advisory)" \
"--condition=[Notification condition.]:EnumValidator:(exceeded denied violated expired)" \
"--action-alert=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)" \
"--action-email-address=[Address of user to notify.]" \
"--action-email-owner=[Email user when threshold is crossed.]:BoolValueType:(true false)" \
"--clear-email-template[Clear value for path in /ifs to the email template.]" \
"--clear-holdoff[Clear value for a length of time to holdoff before generating a notification.]" \
"--email-template=[Path in /ifs to the email template.]" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--holdoff=[A length of time to holdoff before generating a notification.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--schedule=[Date pattern at which recurring notifications are made.]" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"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 \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--threshold=[Type of threshold.]:EnumValidator:(hard soft advisory)" \
"--condition=[Notification condition.]:EnumValidator:(exceeded denied violated expired)" \
"--force[Do not ask confirmation.]" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"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 \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--force[Do not ask confirmation.]" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"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 \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--force[Do not ask confirmation.]" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"1:cmdline_Option_path:_files" \
"2:EnumValidator:(directory user group default-user default-group)" \
}
(( $+functions[_isi_quota_quotas_list] )) ||
_isi_quota_quotas_list() {
_arguments \
"--enforced=[Search for quotas that have an enforced threshold.]:BoolValueType:(true false)" \
"--exceeded[Search only for quotas that have an exceeded threshold.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display quotas in the given format]:EnumValidator:(table json csv list)" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--include-snapshots=[Search for quotas that include snapshot data usage.]:BoolValueType:(true false)" \
"--limit=[Number of quotas to display.]" \
"--path=[Display quotas set on the specified path.]:cmdline_Option_path:_files" \
"--recurse-path-children[Search child paths for quotas.]" \
"--recurse-path-parents[Search parent paths for quotas.]" \
"--sid=[A security identifier.]" \
"--type=[Display quotas of the specified type.]:EnumValidator:(directory user group default-user default-group)" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--zone=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_quota_quotas_view] )) ||
_isi_quota_quotas_view() {
_arguments \
"--path=[Path of the quota.  Must be within /ifs/]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--zone=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_path:_files" \
"2:EnumValidator:(directory user group default-user default-group)" \
}
(( $+functions[_isi_quota_quotas_create] )) ||
_isi_quota_quotas_create() {
_arguments \
"--path=[Path of the quota. Must be within /ifs.]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--advisory-threshold=[Advisory threshold.]" \
"--container=[Show hard threshold as the available space on the SMB share, instead of the whole cluster.]:BoolValueType:(true false)" \
"--enforced=[Enforce this quota.]:BoolValueType:(true false)" \
"--force[Do not fail when creating quota on root /ifs directory.]" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--hard-threshold=[Hard threshold.]" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--sid=[A security identifier.]" \
"--soft-grace=[Soft threshold grace period.]" \
"--soft-threshold=[Soft threshold.]" \
"--thresholds-include-overhead=[OneFS storage overhead counts towards usage.]:BoolValueType:(true false)" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--zone=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_path:_files" \
"2:EnumValidator:(directory user group default-user default-group)" \
}
(( $+functions[_isi_quota_quotas_modify] )) ||
_isi_quota_quotas_modify() {
_arguments \
"--path=[Path of the quota. Must be within /ifs.]:cmdline_Option_path:_files" \
"--type=[Quota type.]:EnumValidator:(directory user group default-user default-group)" \
"--advisory-threshold=[Advisory threshold.]" \
"--clear-advisory-threshold[Clear value for advisory threshold.]" \
"--clear-hard-threshold[Clear value for hard threshold.]" \
"--clear-soft-threshold[Clear value for soft threshold.]" \
"--container=[Show hard threshold as the available space on the SMB share, instead of the whole cluster.]:BoolValueType:(true false)" \
"--enforced=[Enforce this quota.]:BoolValueType:(true false)" \
"--gid=[A numeric group identifier.]" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--hard-threshold=[Hard threshold.]" \
"--help[Display help for this command.]" \
"--include-snapshots=[SnapshotIQ filesystem snapshots count towards usage.]:BoolValueType:(true false)" \
"--linked=[Unlink an automatically created quota.]:BoolValueType:(true false)" \
"--sid=[A security identifier.]" \
"--soft-grace=[Soft threshold grace period.]" \
"--soft-threshold=[Soft threshold.]" \
"--thresholds-include-overhead=[OneFS storage overhead counts towards usage.]:BoolValueType:(true false)" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--zone=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:cmdline_Option_path:_files" \
"2:EnumValidator:(directory user group default-user default-group)" \
}
(( $+functions[_isi_quota_quotas_delete] )) ||
_isi_quota_quotas_delete() {
_arguments \
"--type=[Delete quotas of the specified type. Argument must be specified with --path.]:EnumValidator:(directory user group default-user default-group)" \
"--path=[Delete quotas set on the specified path. Argument must be specified with --type.]:cmdline_Option_path:_files" \
"--all[delete all quotas. Flag may not be specified with --type or --path.]" \
"--force[Do not ask confirmation.]" \
"--gid=[Delete quotas associated with the group identified by GID.]" \
"--group=[Delete quotas associated with the group identified by name.]:cmdline_Option_group:_groups" \
"--help[Display help for this command.]" \
"--include-snapshots=[Delete quotas that include snapshot data usage.]:BoolValueType:(true false)" \
"--recurse-path-children[Search child paths for quotas.]" \
"--recurse-path-parents[Search parent paths for quotas.]" \
"--sid=[Delete quotas associated with the persona identified by SID.]" \
"--uid=[Delete quotas associated with the user identified by UID.]" \
"--user=[Delete quotas associated with the user identified by name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
"--wellknown=[Delete quotas associated with the well-known persona.]" \
"--zone=[This zone is used only to resolve personas used by the quota.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"1:EnumValidator:(directory user group default-user default-group)" \
"2:cmdline_Option_path:_files" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display quota reports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of quota reports to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_quota_reports_create] )) ||
_isi_quota_reports_create() {
_arguments \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_quota_reports_delete] )) ||
_isi_quota_reports_delete() {
_arguments \
"--time=[Report timestamp.]" \
"--generated=[Report was created the given]:EnumValidator:(live scheduled manual)" \
"--type=[Report type.]:EnumValidator:(summary detail)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display quota notifications settings in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of quota notifications settings to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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)" \
"--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 \
"--threshold=[Type of threshold.]:EnumValidator:(hard soft advisory)" \
"--condition=[Notification condition.]:EnumValidator:(exceeded denied violated expired)" \
"--action-alert=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)" \
"--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.]" \
"--help[Display help for this command.]" \
"--holdoff=[A length of time to holdoff before generating a notification.]" \
"--schedule=[Date pattern at which recurring notifications are made.]" \
"--verbose[Display more detailed information.]" \
"1:EnumValidator:(hard soft advisory)" \
"2:EnumValidator:(exceeded denied violated expired)" \
}
(( $+functions[_isi_quota_settings_notifications_modify] )) ||
_isi_quota_settings_notifications_modify() {
_arguments \
"--threshold=[Type of threshold.]:EnumValidator:(hard soft advisory)" \
"--condition=[Notification condition.]:EnumValidator:(exceeded denied violated expired)" \
"--action-alert=[Generate a OneFS alert when the notification condition is met.]:BoolValueType:(true false)" \
"--action-email-address=[Address of user to notify.]" \
"--action-email-owner=[Email user when threshold is crossed.]:BoolValueType:(true false)" \
"--clear-email-template[Clear value for path in /ifs to the email template.]" \
"--clear-holdoff[Clear value for a length of time to holdoff before generating a notification.]" \
"--email-template=[Path in /ifs to the email template.]" \
"--help[Display help for this command.]" \
"--holdoff=[A length of time to holdoff before generating a notification.]" \
"--schedule=[Date pattern at which recurring notifications are made.]" \
"--verbose[Display more detailed information.]" \
"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)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:EnumValidator:(hard soft advisory)" \
"2:EnumValidator:(exceeded denied violated expired)" \
}
(( $+functions[_isi_quota_settings_notifications_clear] )) ||
_isi_quota_settings_notifications_clear() {
_arguments \
"--force[Do not ask confirmation.]" \
"--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 \
"--help[Display help for this command.]" \
"--live-dir=[Location where live quota reports are stored.]" \
"--live-retain=[Maximum number of live quota reports to keep.]" \
"--revert-live-dir[Set value to system default for --live-dir.]" \
"--revert-live-retain[Set value to system default for --live-retain.]" \
"--revert-schedule[Set value to system default for --schedule.]" \
"--revert-scheduled-dir[Set value to system default for --scheduled-dir.]" \
"--revert-scheduled-retain[Set value to system default for --scheduled-retain.]" \
"--schedule=[Frequency at which quota reports are generated.]" \
"--scheduled-dir=[Location where scheduled quota reports are stored.]" \
"--scheduled-retain=[Maximum number of scheduled reports to keep.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display quota mappings settings in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of quota mappings settings to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_quota_settings_mappings_view] )) ||
_isi_quota_settings_mappings_view() {
_arguments \
"--type=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)" \
"--domain=[FQDN of the source domain to map.]" \
"--help[Display help for this command.]" \
"1:EnumValidator:(ad local nis ldap)" \
}
(( $+functions[_isi_quota_settings_mappings_create] )) ||
_isi_quota_settings_mappings_create() {
_arguments \
"--type=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)" \
"--domain=[FQDN of the source domain to map.]" \
"--mapping=[FQDN of the destination domain to map to.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:EnumValidator:(ad local nis ldap)" \
}
(( $+functions[_isi_quota_settings_mappings_modify] )) ||
_isi_quota_settings_mappings_modify() {
_arguments \
"--type=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)" \
"--domain=[FQDN of the source domain to map.]" \
"--mapping=[FQDN of the destination domain to map to.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:EnumValidator:(ad local nis ldap)" \
}
(( $+functions[_isi_quota_settings_mappings_delete] )) ||
_isi_quota_settings_mappings_delete() {
_arguments \
"--type=[Provider type of the source domain.]:EnumValidator:(ad local nis ldap)" \
"--domain=[FQDN of the source domain to map.]" \
"--all[Delete all mapping rules.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"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 \
"--add-gateway-access-pools=[Add 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)" \
"--enabled=[Enable ConnectEMC.]:BoolValueType:(true false)" \
"--gateway-access-pools=[List of network pools that are able to connect to the ESRS gateway.]" \
"--help[Display help for this command.]" \
"--primary-esrs-gateway=[Primary ESRS Gateway.]" \
"--remove-gateway-access-pools=[Remove list of network pools that are able to connect to the ESRS gateway.]" \
"--secondary-esrs-gateway=[Secondary ESRS Gateway.]" \
"--use-smtp-failover=[Use SMTP on ESRS transmission failure.]:BoolValueType:(true false)" \
}
(( $+functions[_isi_remotesupport_connectemc_view] )) ||
_isi_remotesupport_connectemc_view() {
_arguments \
"--help[Display help for this command.]" \
}
(( $+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 \
"--help[Display help for this command.]" \
"--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" \
}
(( $+functions[_isi_readonly_list] )) ||
_isi_readonly_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display readonlys in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_readonly_modify] )) ||
_isi_readonly_modify() {
_arguments \
"--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)" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--help[Display help for this command.]" \
"--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" \
}
(( $+functions[_isi_servicelight_list] )) ||
_isi_servicelight_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display servicelights in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_servicelight_modify] )) ||
_isi_servicelight_modify() {
_arguments \
"--enabled=[Enable a node's service LED.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--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" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--share=[An SMB share name.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display smb shares permissions in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_smb_shares_permission_create] )) ||
_isi_smb_shares_permission_create() {
_arguments \
"--share=[An SMB share name.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--help[Display help for this command.]" \
"--permission=[Permission level.]:EnumValidator:(full change read)" \
"--permission-type=[Allow or deny access.]:EnumValidator:(allow deny)" \
"--run-as-root[Allow account to run as root.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"2:cmdline_Option_user:_users" \
}
(( $+functions[_isi_smb_shares_permission_modify] )) ||
_isi_smb_shares_permission_modify() {
_arguments \
"--share=[An SMB share name.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--help[Display help for this command.]" \
"--permission=[Permission level.]:EnumValidator:(full change read)" \
"--permission-type=[Allow or deny access.]:EnumValidator:(allow deny)" \
"--run-as-root[Allow account to run as root.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"2:cmdline_Option_user:_users" \
}
(( $+functions[_isi_smb_shares_permission_view] )) ||
_isi_smb_shares_permission_view() {
_arguments \
"--share=[An SMB share name.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--help[Display help for this command.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"2:cmdline_Option_user:_users" \
}
(( $+functions[_isi_smb_shares_permission_delete] )) ||
_isi_smb_shares_permission_delete() {
_arguments \
"--share=[An SMB share name.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"2:cmdline_Option_user:_users" \
}
(( $+functions[_isi_smb_shares_list] )) ||
_isi_smb_shares_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display smb shares in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of smb shares to display.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_smb_shares_view] )) ||
_isi_smb_shares_view() {
_arguments \
"--share=[An SMB share name.]" \
"--help[Display help for this command.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_smb_shares_create] )) ||
_isi_smb_shares_create() {
_arguments \
"--name=[Name for the smb share.]" \
"--path=[Path of the smb share. Must be within /ifs.]:cmdline_Option_path:_files" \
"--access-based-enumeration=[Only enumerate files and folders the requesting user has access to.]:BoolValueType:(true false)" \
"--access-based-enumeration-root-only=[Access-based enumeration on only the root directory of the share.]:BoolValueType:(true false)" \
"--allow-delete-readonly=[Allow deletion of read-only files in the share.]:BoolValueType:(true false)" \
"--allow-execute-always=[Allows users to execute files they have read rights for.]:BoolValueType:(true false)" \
"--allow-variable-expansion=[Allow automatic expansion of variables for home directories.]:BoolValueType:(true false)" \
"--auto-create-directory=[Automatically create home directories.]:BoolValueType:(true false)" \
"--browsable=[Share is visible in net view and the browse list.]:BoolValueType:(true false)" \
"--ca-timeout=[Persistent open timeout for the share.]" \
"--ca-write-integrity=[Specify the level of write-integrity on continuously available shares.]:EnumValidator:(none write-read-coherent full)" \
"--change-notify=[Specify level of change notification alerts on the share.]:EnumValidator:(all norecurse none)" \
"--continuously-available=[Support persistent opens on the share.]:BoolValueType:(true false)" \
"--create-path[Create SMB share path if it doesn't already exist.]" \
"--create-permissions=[Set the create permissions for new files and directories in share.]:EnumValidator:(default acl inherit mode bits use create mask and mode)" \
"--csc-policy=[Client-side caching policy for the shares.]:EnumValidator:(manual documents programs none)" \
"--description=[Description for this smb share.]" \
"--directory-create-mask=[Directory create mask bits.]" \
"--directory-create-mode=[Directory create mode bits.]" \
"--file-create-mask=[File create mask bits.]" \
"--file-create-mode=[File create mode bits.]" \
"--file-filter-extensions=[Specifies the list of file extensions.]" \
"--file-filter-type=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)" \
"--file-filtering-enabled=[Enables file filtering on this share.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--hide-dot-files=[Hide files and directories that begin with a period '.']:BoolValueType:(true false)" \
"--host-acl=[An ACL expressing which hosts are allowed access.]" \
"--impersonate-guest=[Specify the condition in which user access is done as the guest account.]:EnumValidator:(always bad user never)" \
"--impersonate-user=[User account to be used as guest account.]" \
"--inheritable-path-acl=[Set the inheritable ACL on the share path.]:BoolValueType:(true false)" \
"--mangle-byte-start=[Specifies the wchar_t starting point for automatic byte mangling.]" \
"--mangle-map=[Replaces the character mangle map settings.]" \
"--ntfs-acl-support=[Support NTFS ACLs on files and directories.]:BoolValueType:(true false)" \
"--oplocks=[Support oplocks.]:BoolValueType:(true false)" \
"--strict-ca-lockout=[Support strict lockout of persistent opens.]:BoolValueType:(true false)" \
"--strict-flush=[Handle SMB flush operations.]:BoolValueType:(true false)" \
"--strict-locking=[Specifies whether byte range locks contend against SMB I/O.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"--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 \
"--share=[An SMB share name.]" \
"--access-based-enumeration=[Only enumerate files and folders the requesting user has access to.]:BoolValueType:(true false)" \
"--access-based-enumeration-root-only=[Access-based enumeration on only the root directory of the share.]:BoolValueType:(true false)" \
"--add-file-filter-extensions=[Add items to list of file extensions]" \
"--add-host-acl=[Add items to Host ACL list]" \
"--add-mangle-map=[Add items to character mangle map.]" \
"--allow-delete-readonly=[Allow deletion of read-only files in the share.]:BoolValueType:(true false)" \
"--allow-execute-always=[Allows users to execute files they have read rights for.]:BoolValueType:(true false)" \
"--allow-variable-expansion=[Allow automatic expansion of variables for home directories.]:BoolValueType:(true false)" \
"--auto-create-directory=[Automatically create home directories.]:BoolValueType:(true false)" \
"--browsable=[Share is visible in net view and the browse list.]:BoolValueType:(true false)" \
"--ca-timeout=[Persistent open timeout for the share.]" \
"--ca-write-integrity=[Specify the level of write-integrity on continuously available shares.]:EnumValidator:(none write-read-coherent full)" \
"--change-notify=[Specify level of change notification alerts on the share.]:EnumValidator:(all norecurse none)" \
"--clear-file-filter-extensions[Clear list of file extensions]" \
"--clear-host-acl[Clear Host ACL list]" \
"--clear-mangle-map[Clear character mangle map.]" \
"--create-permissions=[Set the create permissions for new files and directories in share.]:EnumValidator:(default acl inherit mode bits use create mask and mode)" \
"--csc-policy=[Client-side caching policy for the shares.]:EnumValidator:(manual documents programs none)" \
"--description=[Description for this smb share.]" \
"--directory-create-mask=[Directory create mask bits.]" \
"--directory-create-mode=[Directory create mode bits.]" \
"--file-create-mask=[File create mask bits.]" \
"--file-create-mode=[File create mode bits.]" \
"--file-filter-extensions=[Specifies the list of file extensions.]" \
"--file-filter-type=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)" \
"--file-filtering-enabled=[Enables file filtering on this share.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--hide-dot-files=[Hide files and directories that begin with a period '.']:BoolValueType:(true false)" \
"--host-acl=[An ACL expressing which hosts are allowed access.]" \
"--impersonate-guest=[Specify the condition in which user access is done as the guest account.]:EnumValidator:(always bad user never)" \
"--impersonate-user=[User account to be used as guest account.]" \
"--mangle-byte-start=[Specifies the wchar_t starting point for automatic byte mangling.]" \
"--mangle-map=[Replaces the character mangle map settings.]" \
"--name=[Name for the smb share.]" \
"--new-zone=[New access zone to which to move share.]" \
"--ntfs-acl-support=[Support NTFS ACLs on files and directories.]:BoolValueType:(true false)" \
"--oplocks=[Support oplocks.]:BoolValueType:(true false)" \
"--path=[Path of the smb share. Must be within /ifs.]:cmdline_Option_path:_files" \
"--remove-file-filter-extensions=[Remove items from list of file extensions]" \
"--remove-host-acl=[Remove items from Host ACL list]" \
"--remove-mangle-map=[Remove items from character mangle map.]" \
"--revert-access-based-enumeration[Set value to system default for --access-based-enumeration.]" \
"--revert-access-based-enumeration-root-only[Set value to system default for --access-based-enumeration-root-only.]" \
"--revert-allow-delete-readonly[Set value to system default for --allow-delete-readonly.]" \
"--revert-allow-execute-always[Set value to system default for --allow-execute-always.]" \
"--revert-allow-variable-expansion[Set value to system default for --allow-variable-expansion.]" \
"--revert-auto-create-directory[Set value to system default for --auto-create-directory.]" \
"--revert-browsable[Set value to system default for --browsable.]" \
"--revert-ca-timeout[Set value to system default for --ca-timeout.]" \
"--revert-ca-write-integrity[Set value to system default for --ca-write-integrity.]" \
"--revert-change-notify[Set value to system default for --change-notify.]" \
"--revert-create-permissions[Set value to system default for --create-permissions.]" \
"--revert-csc-policy[Set value to system default for --csc-policy.]" \
"--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-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-extensions[Set value to system default for --file-filter-extensions.]" \
"--revert-file-filter-type[Set value to system default for --file-filter-type.]" \
"--revert-file-filtering-enabled[Set value to system default for --file-filtering-enabled.]" \
"--revert-hide-dot-files[Set value to system default for --hide-dot-files.]" \
"--revert-host-acl[Set value to system default for --host-acl.]" \
"--revert-impersonate-guest[Set value to system default for --impersonate-guest.]" \
"--revert-impersonate-user[Set value to system default for --impersonate-user.]" \
"--revert-mangle-byte-start[Set value to system default for --mangle-byte-start.]" \
"--revert-mangle-map[Set value to system default for --mangle-map.]" \
"--revert-ntfs-acl-support[Set value to system default for --ntfs-acl-support.]" \
"--revert-oplocks[Set value to system default for --oplocks.]" \
"--revert-strict-ca-lockout[Set value to system default for --strict-ca-lockout.]" \
"--revert-strict-flush[Set value to system default for --strict-flush.]" \
"--revert-strict-locking[Set value to system default for --strict-locking.]" \
"--strict-ca-lockout=[Support strict lockout of persistent opens.]:BoolValueType:(true false)" \
"--strict-flush=[Handle SMB flush operations.]:BoolValueType:(true false)" \
"--strict-locking=[Specifies whether byte range locks contend against SMB I/O.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_smb_shares_delete] )) ||
_isi_smb_shares_delete() {
_arguments \
"--share=[An SMB share name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_smb_settings] )) ||
_isi_smb_settings() {
  if (( CURRENT == 2 )); then
    _tags values && { compadd $@ global shares}
  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
    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 \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_smb_settings_global_modify] )) ||
_isi_smb_settings_global_modify() {
_arguments \
"--access-based-share-enum=[Only enumerate shares to which the requesting user has access.]:BoolValueType:(true false)" \
"--dot-snap-accessible-child=[Allow access to .snapshot directories in share subdirectories.]:BoolValueType:(true false)" \
"--dot-snap-accessible-root=[Allow access to the .snapshot directory in the root of the share.]:BoolValueType:(true false)" \
"--dot-snap-visible-child=[Show .snapshot directories in share subdirectories.]:BoolValueType:(true false)" \
"--dot-snap-visible-root=[Show the .snapshot directory in the root of a share. ]:BoolValueType:(true false)" \
"--enable-security-signatures=[Indicates whether the server supports signed SMB packets.]:BoolValueType:(true false)" \
"--guest-user=[Specifies the fully-qualified user to use for guest access.]" \
"--help[Display help for this command.]" \
"--ignore-eas=[Specify whether to ignore EAs on files.]:BoolValueType:(true false)" \
"--onefs-cpu-multiplier=[Specify the number of OneFS driver worker threads per CPU.]" \
"--onefs-num-workers=[Set the maximum number of OneFS driver worker threads.]" \
"--require-security-signatures=[Indicates whether the server requires signed SMB packets.]:BoolValueType:(true false)" \
"--revert-access-based-share-enum[Set value to system default for --access-based-share-enum.]" \
"--revert-dot-snap-accessible-child[Set value to system default for --dot-snap-accessible-child.]" \
"--revert-dot-snap-accessible-root[Set value to system default for --dot-snap-accessible-root.]" \
"--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.]" \
"--revert-enable-security-signatures[Set value to system default for --enable-security-signatures.]" \
"--revert-guest-user[Set value to system default for --guest-user.]" \
"--revert-ignore-eas[Set value to system default for --ignore-eas.]" \
"--revert-onefs-cpu-multiplier[Set value to system default for --onefs-cpu-multiplier.]" \
"--revert-onefs-num-workers[Set value to system default for --onefs-num-workers.]" \
"--revert-require-security-signatures[Set value to system default for --require-security-signatures.]" \
"--revert-server-side-copy[Set value to system default for --server-side-copy.]" \
"--revert-server-string[Set value to system default for --server-string.]" \
"--revert-support-multichannel[Set value to system default for --support-multichannel.]" \
"--revert-support-netbios[Set value to system default for --support-netbios.]" \
"--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)" \
"--server-string=[Provides a description of the server.]" \
"--support-multichannel=[Support multichannel.]:BoolValueType:(true false)" \
"--support-netbios=[Support NetBIOS.]:BoolValueType:(true false)" \
"--support-smb2=[Support the SMB2 protocol on the server.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--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 \
"--access-based-enumeration=[Only enumerate files and folders to which the requesting user has access.]:BoolValueType:(true false)" \
"--access-based-enumeration-root-only=[Access-based enumeration on only the root directory of the share.]:BoolValueType:(true false)" \
"--add-file-filter-extensions=[Add items to list of file extensions]" \
"--add-host-acl=[Add items to Host ACL list]" \
"--add-mangle-map=[Add items to character mangle map.]" \
"--allow-delete-readonly=[Allow deletion of read-only files in the share.]:BoolValueType:(true false)" \
"--allow-execute-always=[Allows users to execute files they have read rights for.]:BoolValueType:(true false)" \
"--ca-timeout=[Persistent open timeout for the share.]" \
"--ca-write-integrity=[Specify the level of write-integrity on continuously available shares.]:EnumValidator:(none write-read-coherent full)" \
"--change-notify=[Specify level of change notification alerts on the share.]:EnumValidator:(all norecurse none)" \
"--clear-file-filter-extensions[Clear list of file extensions]" \
"--clear-host-acl[Clear Host ACL list]" \
"--clear-mangle-map[Clear character mangle map.]" \
"--create-permissions=[Set the create permissions for new files and directories in share.]:EnumValidator:(default acl inherit mode bits use create mask and mode)" \
"--directory-create-mask=[Directory create mask bits.]" \
"--directory-create-mode=[Directory create mode bits.]" \
"--file-create-mask=[File create mask bits.]" \
"--file-create-mode=[File create mode bits.]" \
"--file-filter-extensions=[Specifies the list of file extensions.]" \
"--file-filter-type=[Specifies if filter list is for deny or allow. Default is deny.]:EnumValidator:(deny allow)" \
"--file-filtering-enabled=[Enables file filtering on this share.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--hide-dot-files=[Hide files and directories that begin with a period '.']:BoolValueType:(true false)" \
"--host-acl=[An ACL expressing which hosts are allowed access.]" \
"--impersonate-guest=[Specify the condition in which user access is done as the guest account.]:EnumValidator:(always bad user never)" \
"--impersonate-user=[User account to be used as guest account.]" \
"--mangle-byte-start=[Specifies the wchar_t starting point for automatic byte mangling.]" \
"--mangle-map=[Replaces the character mangle map settings.]" \
"--ntfs-acl-support=[Support NTFS ACLs on files and directories.]:BoolValueType:(true false)" \
"--oplocks=[Allow oplock requests.]:BoolValueType:(true false)" \
"--remove-file-filter-extensions=[Remove items from list of file extensions]" \
"--remove-host-acl=[Remove items from Host ACL list]" \
"--remove-mangle-map=[Remove items from character mangle map.]" \
"--revert-access-based-enumeration[Set value to system default for --access-based-enumeration.]" \
"--revert-access-based-enumeration-root-only[Set value to system default for --access-based-enumeration-root-only.]" \
"--revert-allow-delete-readonly[Set value to system default for --allow-delete-readonly.]" \
"--revert-allow-execute-always[Set value to system default for --allow-execute-always.]" \
"--revert-ca-timeout[Set value to system default for --ca-timeout.]" \
"--revert-ca-write-integrity[Set value to system default for --ca-write-integrity.]" \
"--revert-change-notify[Set value to system default for --change-notify.]" \
"--revert-create-permissions[Set value to system default for --create-permissions.]" \
"--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-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-extensions[Set value to system default for --file-filter-extensions.]" \
"--revert-file-filter-type[Set value to system default for --file-filter-type.]" \
"--revert-file-filtering-enabled[Set value to system default for --file-filtering-enabled.]" \
"--revert-hide-dot-files[Set value to system default for --hide-dot-files.]" \
"--revert-host-acl[Set value to system default for --host-acl.]" \
"--revert-impersonate-guest[Set value to system default for --impersonate-guest.]" \
"--revert-impersonate-user[Set value to system default for --impersonate-user.]" \
"--revert-mangle-byte-start[Set value to system default for --mangle-byte-start.]" \
"--revert-mangle-map[Set value to system default for --mangle-map.]" \
"--revert-ntfs-acl-support[Set value to system default for --ntfs-acl-support.]" \
"--revert-oplocks[Set value to system default for --oplocks.]" \
"--revert-strict-ca-lockout[Set value to system default for --strict-ca-lockout.]" \
"--revert-strict-flush[Set value to system default for --strict-flush.]" \
"--revert-strict-locking[Set value to system default for --strict-locking.]" \
"--strict-ca-lockout=[Support strict lockout of persistent opens.]:BoolValueType:(true false)" \
"--strict-flush=[Handle SMB flush operations.]:BoolValueType:(true false)" \
"--strict-locking=[Specifies whether byte range locks contend against SMB I/O.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display smb openfiles in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of smb openfiles to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_smb_openfiles_close] )) ||
_isi_smb_openfiles_close() {
_arguments \
"--id=[ID of the smb openfile to close.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display smb sessions in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of smb sessions to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_smb_sessions_delete] )) ||
_isi_smb_sessions_delete() {
_arguments \
"--computer-name=[Disconnect all sessions associated with the specified computer.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--sid=[A security identifier.]" \
"--uid=[A numeric user identifier.]" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_smb_sessions_delete-user] )) ||
_isi_smb_sessions_delete-user() {
_arguments \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--computer-name=[Disconnect all sessions associated with the specified computer.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_user:_users" \
}
(( $+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 \
"--level=[Logging level for new filter. Valid logging levels are always, error, warning, info, verbose, debug, and trace.]" \
"--help[Display help for this command.]" \
"--ip-addrs=[List of IP addresses to filter against.]" \
"--ops=[List of SMB operations to filter against.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_smb_log-level_filters_delete] )) ||
_isi_smb_log-level_filters_delete() {
_arguments \
"--all[delete all smb log-level filters.]" \
"--id=[ID of SMB log filter to delete]" \
"--level=[Delete all SMB log filters at 'level']" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_smb_log-level_filters_list] )) ||
_isi_smb_log-level_filters_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display smb log-level filters in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of smb log-level filters to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_smb_log-level_filters_view] )) ||
_isi_smb_log-level_filters_view() {
_arguments \
"--id=[ID of SMB log filter to view]" \
"--level=[Logging level of SMB log filters to view]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_smb_log-level_modify] )) ||
_isi_smb_log-level_modify() {
_arguments \
"--level=[Valid logging levels are 'always', 'error', 'warning', 'info', 'verbose', 'debug', and 'trace']" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display snapshots in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of snapshots to display.]" \
"--state=[List snapshots in a particular state]:EnumValidator:(all active deleting)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_snapshots_view] )) ||
_isi_snapshot_snapshots_view() {
_arguments \
"--snapshot=[Snapshot name or ID]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_snapshot_snapshots_create] )) ||
_isi_snapshot_snapshots_create() {
_arguments \
"--path=[Path of the snapshot. Must be within /ifs.]:cmdline_Option_path:_files" \
"--alias=[Alternate name for this snapshot.]" \
"--expires=[Duration until or time at which the snapshot will expire.]" \
"--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.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_path:_files" \
}
(( $+functions[_isi_snapshot_snapshots_modify] )) ||
_isi_snapshot_snapshots_modify() {
_arguments \
"--snapshot=[Snapshot name or ID]" \
"--alias=[Alternate name for this snapshot.]" \
"--clear-expires[Clear value for duration until or time at which the snapshot will expire.]" \
"--expires=[Duration until or time at which the snapshot will expire.]" \
"--help[Display help for this command.]" \
"--name=[Name for the snapshot.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_snapshots_delete] )) ||
_isi_snapshot_snapshots_delete() {
_arguments \
"--all[delete all snapshots.]" \
"--snapshot=[Delete a single snapshot.]" \
"--schedule=[Delete all snapshots created by the given schedule]" \
"--type=[Delete all snapshots of the specified type]:EnumValidator:(alias real)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--begin=[Limit to scheduled snapshots after this date and time.]" \
"--end=[Limit to scheduled snapshots before this date and time.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display scheduled snapshots in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of scheduled snapshots to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_schedules_list] )) ||
_isi_snapshot_schedules_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display snapshot schedules in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of snapshot schedules to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_schedules_view] )) ||
_isi_snapshot_schedules_view() {
_arguments \
"--schedule-name=[Snapshot schedule name]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_snapshot_schedules_create] )) ||
_isi_snapshot_schedules_create() {
_arguments \
"--name=[Name for the snapshot schedule.]" \
"--path=[Path of the snapshot schedule.  Must be in /ifs]:cmdline_Option_path:_files" \
"--pattern=[Format string pattern for naming created snapshots]" \
"--schedule=[Recurring date pattern at which snapshots are created]" \
"--alias=[Alias for created snapshots]" \
"--duration=[Duration until created snapshots expire]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"2:cmdline_Option_path:_files" \
}
(( $+functions[_isi_snapshot_schedules_modify] )) ||
_isi_snapshot_schedules_modify() {
_arguments \
"--schedule-name=[Snapshot schedule name]" \
"--alias=[Alias for created snapshots]" \
"--clear-duration[Clear value for duration until created snapshots expire]" \
"--duration=[Duration until created snapshots expire]" \
"--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" \
"--pattern=[Format string pattern for naming created snapshots]" \
"--schedule=[Recurring date pattern at which snapshots are created]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_schedules_delete] )) ||
_isi_snapshot_schedules_delete() {
_arguments \
"--schedule-name=[Snapshot schedule name]" \
"--all[delete all snapshot schedules.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--snapshot=[Snapshot name or ID]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display locks in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of locks to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_locks_create] )) ||
_isi_snapshot_locks_create() {
_arguments \
"--snapshot=[Snapshot name or ID]" \
"--comment=[A comment to describe this lock.]" \
"--expires=[Duration until or time at which the lock will expire.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_locks_delete] )) ||
_isi_snapshot_locks_delete() {
_arguments \
"--snapshot=[Snapshot name or ID]" \
"--id=[ID of the lock to delete.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_locks_view] )) ||
_isi_snapshot_locks_view() {
_arguments \
"--snapshot=[Snapshot name or ID]" \
"--id=[ID of the lock to view.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_snapshot_locks_modify] )) ||
_isi_snapshot_locks_modify() {
_arguments \
"--snapshot=[Snapshot name or ID]" \
"--id=[ID of the lock to modify.]" \
"--clear-expires[Clear value for duration until or time at which the lock will expire.]" \
"--expires=[Duration until or time at which the lock will expire.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--autocreate=[Enable automatic creation of scheduled snapshots.]:BoolValueType:(true false)" \
"--autodelete=[Enable automatic deletion of expired locks and snapshots.]:BoolValueType:(true false)" \
"--global-visible-accessible=[Enable all other visibility and accessibility settings]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--local-root-accessible=[Allow local file system access to the snapshot directory.]:BoolValueType:(true false)" \
"--local-root-visible=[Allow the local file system to see the snapshot directory.]:BoolValueType:(true false)" \
"--local-subdir-accessible=[Allow the local file system 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)" \
"--nfs-root-visible=[Allow NFS clients to see the snapshot directory.]:BoolValueType:(true false)" \
"--nfs-subdir-accessible=[Allow NFS clients to access subdirectories of the snapshot directory.]: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)" \
"--smb-root-accessible=[Allow SMB clients to access the snapshot directory.]:BoolValueType:(true false)" \
"--smb-root-visible=[Allow SMB clients to see the snapshot directory.]:BoolValueType:(true false)" \
"--smb-subdir-accessible=[Allow SMB clients to access subdirectories of the snapshot directory.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_settings_view] )) ||
_isi_snapshot_settings_view() {
_arguments \
"--help[Display help for this command.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display snapshot aliases in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of snapshot aliases to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_aliases_view] )) ||
_isi_snapshot_aliases_view() {
_arguments \
"--alias=[Snapshot alias name or ID]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_snapshot_aliases_create] )) ||
_isi_snapshot_aliases_create() {
_arguments \
"--name=[Name for the snapshot alias]" \
"--target=[Target snapshot name or ID; or 'LIVE' to target the live file system]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_aliases_modify] )) ||
_isi_snapshot_aliases_modify() {
_arguments \
"--alias=[Snapshot alias name or ID]" \
"--help[Display help for this command.]" \
"--name=[Name for the snapshot alias]" \
"--target=[Target snapshot name or ID; or 'LIVE' to target the live file system]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_snapshot_aliases_delete] )) ||
_isi_snapshot_aliases_delete() {
_arguments \
"--all[Delete all snapshot aliases.]" \
"--alias=[Delete a snapshot alias.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--help[Display help for this command.]" \
"--read-only-community=[The read-only community name.]" \
"--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.]" \
"--revert-snmp-v3-access[Set value to system default for --snmp-v3-access.]" \
"--revert-snmp-v3-password[Set value to system default for --snmp-v3-password.]" \
"--revert-snmp-v3-read-only-user[Set value to system default for --snmp-v3-read-only-user.]" \
"--revert-system-contact[Set value to system default for --system-contact.]" \
"--revert-system-location[Set value to system default for --system-location.]" \
"--service=[SNMP Service is enabled.]:BoolValueType:(true false)" \
"--set-snmp-v3-password[Specify --snmp-v3-password interactively]" \
"--snmp-v1-v2c-access=[Whether SNMP v1 and v2c protocols are enabled.]:BoolValueType:(true false)" \
"--snmp-v3-access=[Whether SNMP v3 is enabled.]:BoolValueType:(true false)" \
"--snmp-v3-password=[Change the SNMP v3 password.]" \
"--snmp-v3-read-only-user=[The read-only user for SNMP v3 read requests.]" \
"--system-contact=[Contact information for the system owner.  This must be a valid email address.]" \
"--system-location=[Location name for the SNMP system.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display storagepool tiers in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of storagepool tiers to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_tiers_create] )) ||
_isi_storagepool_tiers_create() {
_arguments \
"--name=[Name for the storagepool tier.]" \
"--children=[Node pools that are children of the tier.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_tiers_modify] )) ||
_isi_storagepool_tiers_modify() {
_arguments \
"--name=[Name for the storagepool tier.]" \
"--add-children=[Add node pools that are children of the tier.]" \
"--children=[Node pools that are children of the tier.]" \
"--clear-children[Clear value for node pools that are children of the tier.]" \
"--help[Display help for this command.]" \
"--remove-children=[Remove node pools that are children of the tier.]" \
"--set-name=[New name for the tier.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_tiers_delete] )) ||
_isi_storagepool_tiers_delete() {
_arguments \
"--name=[Name for the storagepool tier.]" \
"--all[delete all storagepool tiers.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_tiers_view] )) ||
_isi_storagepool_tiers_view() {
_arguments \
"--name=[Name for the storagepool tier.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display storagepool nodepools in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of storagepool nodepools to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_nodepools_create] )) ||
_isi_storagepool_nodepools_create() {
_arguments \
"--name=[Name for the storagepool nodepool.]" \
"--help[Display help for this command.]" \
"--lnns=[Nodes for the manually managed node pool.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_nodepools_modify] )) ||
_isi_storagepool_nodepools_modify() {
_arguments \
"--name=[Name for the storagepool nodepool.]" \
"--add-lnns=[Add nodes for the manually managed node pool.]" \
"--clear-tier[Clear value for set parent for the node pool.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--l3=[Use SSDs in this node pool for L3 Cache.]:BoolValueType:(true false)" \
"--lnns=[Nodes for the manually managed node pool.]" \
"--protection-policy=[Requested protection for the node pool.]" \
"--remove-lnns=[Remove nodes for the manually managed node pool.]" \
"--set-name=[New name for the manually managed node pool.]" \
"--tier=[Set parent for the node pool.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_nodepools_delete] )) ||
_isi_storagepool_nodepools_delete() {
_arguments \
"--name=[Name for the storagepool nodepool.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_nodepools_view] )) ||
_isi_storagepool_nodepools_view() {
_arguments \
"--name=[Name for the storagepool nodepool.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--automatically-manage-io-optimization=[Set whether SmartPools manages files' I/O optimization settings]:EnumValidator:(all files_at_default none)" \
"--automatically-manage-protection=[Set whether SmartPools manages files' protection settings]:EnumValidator:(all files_at_default none)" \
"--global-namespace-acceleration-enabled=[Global namespace acceleration enabled]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--no-spillover[Disable global spillover]" \
"--protect-directories-one-level-higher=[Protect directories at one level higher]:BoolValueType:(true false)" \
"--spillover-anywhere[Set global spillover to anywhere]" \
"--spillover-target=[Spillover target]" \
"--ssd-l3-cache-default-enabled=[Default setting for enabling L3 on new Node Pools]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
"--virtual-hot-spare-deny-writes=[Virtual hot spare: deny new data writes]:BoolValueType:(true false)" \
"--virtual-hot-spare-hide-spare=[Virtual hot spare: reduce amount of available space]:BoolValueType:(true false)" \
"--virtual-hot-spare-limit-drives=[Virtual hot spare: number of virtual drives]" \
"--virtual-hot-spare-limit-percent=[Virtual hot spare: percent of total storage]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display active class compatibilities in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of active class compatibilities to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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]" \
"--assess=[Do not perform action, only test that it is possible]:BoolValueType:(true false)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_compatibilities_class_active_view] )) ||
_isi_storagepool_compatibilities_class_active_view() {
_arguments \
"--id=[ID of the active class compatibility to view.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_storagepool_compatibilities_class_active_delete] )) ||
_isi_storagepool_compatibilities_class_active_delete() {
_arguments \
"--id=[ID of the active class compatibility to delete.]" \
"--assess=[Do not perform action, only test that it is possible]:BoolValueType:(true false)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display available class compatibilities in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of available class compatibilities to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display active ssd compatibilities in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of active ssd compatibilities to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_create] )) ||
_isi_storagepool_compatibilities_ssd_active_create() {
_arguments \
"--class-1=[The node class in the ssd compatibility]" \
"--assess=[Do not perform action, only test that it is possible]:BoolValueType:(true false)" \
"--class-2=[The second node class for double ssd compatibility creates and deletes]" \
"--count=[SSD count compatibility, default is false]:BoolValueType:(true false)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_view] )) ||
_isi_storagepool_compatibilities_ssd_active_view() {
_arguments \
"--id=[ID of the active ssd compatibility to view.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_delete] )) ||
_isi_storagepool_compatibilities_ssd_active_delete() {
_arguments \
"--id=[ID of the active ssd compatibility to delete.]" \
"--assess=[Do not perform action, only test that it is possible]:BoolValueType:(true false)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--id-2=[The optional id of the second ssd compatibility to delete]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_compatibilities_ssd_active_modify] )) ||
_isi_storagepool_compatibilities_ssd_active_modify() {
_arguments \
"--id=[ID of the active ssd compatibility to modify.]" \
"--assess=[Do not perform action, only test that it is possible]:BoolValueType:(true false)" \
"--count=[SSD count compatibility, default is false]:BoolValueType:(true false)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--id-2=[The optional id of the second ssd compatibility to delete]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display available ssd compatibilities in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of available ssd compatibilities to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display storagepool unprovisioneds in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of storagepool unprovisioneds to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_storagepool_list] )) ||
_isi_storagepool_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display storagepools in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display accounts in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of accounts to display.]" \
"--verbose[Display more detailed information.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_swift_accounts_view] )) ||
_isi_swift_accounts_view() {
_arguments \
"--name=[Name for the account.]" \
"--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 \
"--name=[Name for the account.]" \
"--swiftuser=[Filesystem user owning files in this Swift account.]" \
"--swiftgroup=[Filesystem group owning files in this Swift account.]" \
"--help[Display help for this command.]" \
"--users=[Users assigned access to this Swift account.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_swift_accounts_modify] )) ||
_isi_swift_accounts_modify() {
_arguments \
"--name=[Name for the account.]" \
"--add-users=[Add users assigned access to this Swift account.]" \
"--clear-users[Clear value for users assigned access to this Swift account.]" \
"--help[Display help for this command.]" \
"--remove-users=[Remove users assigned access to this Swift account.]" \
"--swiftgroup=[Filesystem group owning files in this Swift account.]" \
"--swiftuser=[Filesystem user owning files in this Swift account.]" \
"--users=[Users assigned access to this Swift account.]" \
"--verbose[Display more detailed information.]" \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_swift_accounts_delete] )) ||
_isi_swift_accounts_delete() {
_arguments \
"--name=[Name for the account.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync policies in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync policies to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_policies_view] )) ||
_isi_sync_policies_view() {
_arguments \
"--policy=[A sync policy name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_policies_create] )) ||
_isi_sync_policies_create() {
_arguments \
"--name=[Sets the name of the sync policy.]" \
"--source-root-path=[Specifies the root path to be used in the source cluster.]" \
"--action=[Identifies the action to run on the given files: copy or sync.]:EnumValidator:(copy sync)" \
"--target-host=[Hostname of the target cluster.]" \
"--target-path=[Path to use on the target 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)" \
"--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)" \
"--description=[Description for this sync policy.]" \
"--enabled=[Policy is enabled.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--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)" \
"--log-removed-files=[Keep a log of removed files for sync action.]:BoolValueType:(true false)" \
"--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 0 to 1. Default is 0.]" \
"--report-max-age=[Maximum age of reports to keep.]" \
"--report-max-count=[Maximum number of reports to keep.]" \
"--restrict-target-network=[Sets if the target network is restricted.]:BoolValueType:(true false)" \
"--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.]" \
"--schedule=[Schedule for executing the sync policy, or a string value of When-Source-Modified or When-Snapshot-Taken.]" \
"--set-password[Specify --password interactively]" \
"--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)" \
"--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 "*").]" \
"--source-exclude-directories=[Directories on source cluster to be excluded from sync|copy action.]" \
"--source-include-directories=[Directories on source cluster to be included in sync|copy action.]" \
"--source-pool=[Restricts replication policies on the local cluster to this pool (you must also specify --source-subnet).]" \
"--source-snapshot-archive=[Create archival snapshots on the source cluster.]:BoolValueType:(true false)" \
"--source-snapshot-expiration=[The duration at which archival snapshots on the source cluster expire.]" \
"--source-snapshot-pattern=[Sets new name for archival snapshots on the source cluster.]" \
"--source-subnet=[Restricts replication policies on the local cluster to this subnet (you must also specify --source-pool).]" \
"--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)" \
"--target-snapshot-alias=[The alias for snapshots on the destination cluster.]" \
"--target-snapshot-archive=[Create archival snapshots on the destination cluster.]:BoolValueType:(true false)" \
"--target-snapshot-expiration=[The duration at which archival snapshots on the destination cluster expire.]" \
"--target-snapshot-pattern=[The naming pattern for snapshot on the destination cluster.]" \
"--verbose[Display more detailed information.]" \
"--workers-per-node=[Sets number of workers per node.]" \
"3:EnumValidator:(copy sync)" \
}
(( $+functions[_isi_sync_policies_modify] )) ||
_isi_sync_policies_modify() {
_arguments \
"--policy=[A sync policy name.]" \
"--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)" \
"--action=[Identifies the action to run on the given files: copy or sync.]:EnumValidator:(copy sync)" \
"--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.]" \
"--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.]" \
"--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.]" \
"--clear-source-network[Clear source subnet and pool.]" \
"--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)" \
"--description=[Description for this sync policy.]" \
"--enabled=[Policy is enabled.]:BoolValueType:(true false)" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--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)" \
"--log-removed-files=[Keep a log of removed files for sync action.]:BoolValueType:(true false)" \
"--name=[Sets the name of the sync policy.]" \
"--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 0 to 1. Default is 0.]" \
"--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.]" \
"--report-max-age=[Maximum age of reports to keep.]" \
"--report-max-count=[Maximum number of reports to keep.]" \
"--restrict-target-network=[Sets if the target network is restricted.]:BoolValueType:(true false)" \
"--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.]" \
"--schedule=[Schedule for executing the sync policy, or a string value of When-Source-Modified or When-Snapshot-Taken.]" \
"--set-password[Specify --password interactively]" \
"--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)" \
"--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 "*").]" \
"--source-exclude-directories=[Directories on source cluster to be excluded from sync|copy action.]" \
"--source-include-directories=[Directories on source cluster to be included in sync|copy action.]" \
"--source-pool=[Restricts replication policies on the local cluster to this pool (you must also specify --source-subnet).]" \
"--source-root-path=[Specifies the root path to be used in the source cluster.]" \
"--source-snapshot-archive=[Create archival snapshots on the source cluster.]:BoolValueType:(true false)" \
"--source-snapshot-expiration=[The duration at which archival snapshots on the source cluster expire.]" \
"--source-snapshot-pattern=[Sets new name for archival snapshots on the source cluster.]" \
"--source-subnet=[Restricts replication policies on the local cluster to this subnet (you must also specify --source-pool).]" \
"--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)" \
"--target-host=[Hostname of the target cluster.]" \
"--target-path=[Path to use on the target cluster.]" \
"--target-snapshot-alias=[The alias for snapshots on the destination cluster.]" \
"--target-snapshot-archive=[Create archival snapshots on the destination cluster.]:BoolValueType:(true false)" \
"--target-snapshot-expiration=[The duration at which archival snapshots on the destination cluster expire.]" \
"--target-snapshot-pattern=[The naming pattern for snapshot on the destination cluster.]" \
"--verbose[Display more detailed information.]" \
"--workers-per-node=[Sets number of workers per node.]" \
}
(( $+functions[_isi_sync_policies_delete] )) ||
_isi_sync_policies_delete() {
_arguments \
"--policy=[A sync policy name.]" \
"--all[Delete all sync policies.]" \
"--force[Do not ask confirmation. Do not check for running jobs when deleting.]" \
"--help[Display help for this command.]" \
"--local-only[Skips deleting the policy association on the target.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_policies_enable] )) ||
_isi_sync_policies_enable() {
_arguments \
"--policy=[A sync policy name.]" \
"--all[Modify all sync policies.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_policies_disable] )) ||
_isi_sync_policies_disable() {
_arguments \
"--policy=[A sync policy name.]" \
"--all[Modify all sync policies.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_policies_reset] )) ||
_isi_sync_policies_reset() {
_arguments \
"--policy=[A sync policy name.]" \
"--all[Modify all sync policies.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_policies_resolve] )) ||
_isi_sync_policies_resolve() {
_arguments \
"--policy=[A sync policy name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync jobs reports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync jobs reports to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_jobs_reports_view] )) ||
_isi_sync_jobs_reports_view() {
_arguments \
"--policy=[A sync policy name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_jobs_start] )) ||
_isi_sync_jobs_start() {
_arguments \
"--policy-name=[The policy name for the job to start.]" \
"--help[Display help for this command.]" \
"--source-snapshot=[An optional snapshot to copy/sync from.]" \
"--test[Do a test run of this job. No files will be written to the target.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_jobs_list] )) ||
_isi_sync_jobs_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync jobs in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync jobs to display.]" \
"--state=[List jobs with a given state.]:EnumValidator:(scheduled running paused finished failed canceled needs_attention)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_jobs_view] )) ||
_isi_sync_jobs_view() {
_arguments \
"--policy=[A sync policy name.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_jobs_cancel] )) ||
_isi_sync_jobs_cancel() {
_arguments \
"--policy-name=[The policy name for the job to cancel.]" \
"--all[cancel all running jobs.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_jobs_pause] )) ||
_isi_sync_jobs_pause() {
_arguments \
"--policy-name=[The policy name for the job to pause.]" \
"--all[pause all running jobs.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_jobs_resume] )) ||
_isi_sync_jobs_resume() {
_arguments \
"--policy-name=[The policy name for the job to resume.]" \
"--all[resume all running jobs.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--help[Display help for this command.]" \
"--report-max-age=[Maximum age of reports to keep.]" \
"--report-max-count=[Maximum number of reports to keep.]" \
"--restrict-target-network=[Restrict target to its nodes in the target zone name]:BoolValueType:(true false)" \
"--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)" \
"--source-pool=[Restricts replication policies on the local cluster to this pool (you must also specify --source-subnet).]" \
"--source-subnet=[Restricts replication policies on the local cluster to this subnet (you must also specify --source-pool).]" \
"--verbose[Display more detailed information.]" \
}
(( $+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.]" \
"--job-id=[Job ID for the target report.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync target reports subreports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync target reports subreports to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_target_reports_subreports_view] )) ||
_isi_sync_target_reports_subreports_view() {
_arguments \
"--policy-name=[Policy name for the target report.]" \
"--job-id=[Job ID for the target report.]" \
"--subreport-id=[Subreport ID number.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_target_reports_list] )) ||
_isi_sync_target_reports_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync target reports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync target reports to display.]" \
"--policy-name=[Show reports that have the specified policy name.]" \
"--reports-per-policy=[Specifies the number of reports to show per policy. Defaults to 10 if no other arguments are present.]" \
"--state=[Show reports with jobs that are in the specified state.]:EnumValidator:(scheduled running paused finished failed canceled needs_attention skipped pending unknown)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_target_reports_view] )) ||
_isi_sync_target_reports_view() {
_arguments \
"--policy-name=[Policy name for the target report.]" \
"--job-id=[Job ID for the target report.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_target_list] )) ||
_isi_sync_target_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync targets in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync targets to display.]" \
"--target-path=[Show target policies that have the specified target path.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_target_view] )) ||
_isi_sync_target_view() {
_arguments \
"--policy=[A target sync policy name.]" \
"--target-path=[A target path for a sync policy.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_target_cancel] )) ||
_isi_sync_target_cancel() {
_arguments \
"--policy=[A target sync policy name.]" \
"--target-path=[A target path for a sync policy.]" \
"--all[Cancel all running jobs targeted to this cluster.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_target_break] )) ||
_isi_sync_target_break() {
_arguments \
"--policy=[A target sync policy name.]" \
"--target-path=[A target path for a sync policy.]" \
"--force[Break target association even if a job is currently running. Do not ask for confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--policy=[A sync policy name.]" \
"--job-id=[A sync job id.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync reports subreports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync reports subreports to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_reports_subreports_view] )) ||
_isi_sync_reports_subreports_view() {
_arguments \
"--policy=[A sync policy name.]" \
"--job-id=[A sync job id.]" \
"--subreport-id=[A sync subreport id.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_reports_list] )) ||
_isi_sync_reports_list() {
_arguments \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display sync reports in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of sync reports to display.]" \
"--policy-name=[Show reports that have the specified policy name.]" \
"--reports-per-policy=[Specifies the number of reports to show per policy. Defaults to 10 if no other arguments are present.]" \
"--state=[Show reports with jobs that are in the specified state.]:EnumValidator:(scheduled running paused finished failed canceled needs_attention skipped pending unknown)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_reports_view] )) ||
_isi_sync_reports_view() {
_arguments \
"--policy=[A sync policy name.]" \
"--job-id=[A sync job id.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_reports_rotate] )) ||
_isi_sync_reports_rotate() {
_arguments \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_recovery_allow-write] )) ||
_isi_sync_recovery_allow-write() {
_arguments \
"--policy-name=[The policy name for the job to fail over/fail back.]" \
"--help[Display help for this command.]" \
"--log-level=[Log level.]:EnumValidator:(fatal error notice info copy debug trace)" \
"--revert[Revert this action.]" \
"--verbose[Display more detailed information.]" \
"--workers-per-node=[Number of workers per node.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display performance rules in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of performance rules to display.]" \
"--type=[Show performance rules with the specified type.]:EnumValidator:(file_count bandwidth cpu worker)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_rules_view] )) ||
_isi_sync_rules_view() {
_arguments \
"--id=[A sync performance rule ID.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_sync_rules_create] )) ||
_isi_sync_rules_create() {
_arguments \
"--type=[Type for the sync performance rule.]:EnumValidator:(file_count bandwidth cpu worker)" \
"--interval=[Time interval for when the performance rule is active.]" \
"--days=[Days of the week when the performance rule is active]" \
"--limit=[Performance rule limit in files/sec, kbps, cpu usage percentage, or percentage of maximum available workers.]" \
"--description=[Description for this performance rule.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:EnumValidator:(file_count bandwidth cpu worker)" \
}
(( $+functions[_isi_sync_rules_modify] )) ||
_isi_sync_rules_modify() {
_arguments \
"--id=[A sync performance rule ID.]" \
"--days=[Days of the week when the performance rule is active]" \
"--description=[Description for this performance rule.]" \
"--enabled=[performance rule is enabled.]:BoolValueType:(true false)" \
"--help[Display help for this command.]" \
"--interval=[Time interval for when the performance rule is active.]" \
"--limit=[Performance rule limit in files/sec, kbps, cpu usage percentage, or percentage of maximum available workers.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_sync_rules_delete] )) ||
_isi_sync_rules_delete() {
_arguments \
"--id=[Delete the specified performance rule.]" \
"--all[delete all performance rules.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--type=[Delete performance rules with the specified type.]:EnumValidator:(file_count bandwidth cpu worker)" \
"--verbose[Display more detailed information.]" \
}
(( $+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]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display tapes in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--mc[List only tape devices]" \
"--node=[Scan only the node of the specified logical node number (LNN).]" \
"--tape[List only tape devices]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_tape_view] )) ||
_isi_tape_view() {
_arguments \
"--name=[device name]" \
"--activepath[List only active paths of a device]" \
"--format=[Display tapes in the given format]:EnumValidator:(list json)" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_tape_modify] )) ||
_isi_tape_modify() {
_arguments \
"--name=[old device name]" \
"--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.]" \
"--help[Display help for this command.]" \
"--new-name=[new device name]" \
}
(( $+functions[_isi_tape_delete] )) ||
_isi_tape_delete() {
_arguments \
"--all[delete all tapes.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--name=[Name for the tape.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_tape_rescan] )) ||
_isi_tape_rescan() {
_arguments \
"--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.]" \
"--reconcile[Remove entries for devices or paths that have become inaccessible.]" \
}
(( $+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 \
"--abbreviation=[Timezone abbreviation. Specifying this argument skips the interactive time zone chooser.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--path=[Timezone hierarchical name. Specifying this argument skips the interactive time zone chooser.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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}
  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
    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 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 == 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 \
"--lnn=[LNN of the cluster node.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--lnn=[LNN of the cluster node.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--lnn=[LNN of the cluster node.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_upgrade_cluster_nodes_list] )) ||
_isi_upgrade_cluster_nodes_list() {
}
(( $+functions[_isi_upgrade_cluster_nodes_view] )) ||
_isi_upgrade_cluster_nodes_view() {
_arguments \
"--lnn=[LNN of the cluster node.]" \
"--help[Display help for this command.]" \
}
(( $+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 \
"--exclude-device=[List of comma-separated devices to exclude from the firmware upgrade.]" \
"--exclude-type=[List of comma-separated device type  to exclude from the firmware upgrade.]" \
"--help[Display help for this command.]" \
"--include-device=[List of comma-separated devices to include in firmware upgrade.]" \
"--include-type=[List of comma-separated device types to include in firmware upgrade.]" \
"--no-burn[Do not burn the firmware.]" \
"--no-reboot[Do not reboot node after firmware upgrade.]" \
"--no-verify[Don't verify the firmware upgrade of all components after an upgrade.]" \
"--nodes-to-upgrade=[List of comma-separated node LNNs to mark for upgrade or "all" for all the nodes.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_upgrade_cluster_firmware_assess] )) ||
_isi_upgrade_cluster_firmware_assess() {
_arguments \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_upgrade_cluster_firmware_package] )) ||
_isi_upgrade_cluster_firmware_package() {
}
(( $+functions[_isi_upgrade_cluster_firmware_devices] )) ||
_isi_upgrade_cluster_firmware_devices() {
}
(( $+functions[_isi_upgrade_cluster_firmware_view] )) ||
_isi_upgrade_cluster_firmware_view() {
}
(( $+functions[_isi_upgrade_cluster_view] )) ||
_isi_upgrade_cluster_view() {
}
(( $+functions[_isi_upgrade_cluster_commit] )) ||
_isi_upgrade_cluster_commit() {
_arguments \
"--help[Display help for this command.]" \
"--yes[Automatically answer yes at the prompt.]" \
}
(( $+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.]" \
"--help[Display help for this command.]" \
"--nodes=[List of comma (1,3,7) or dash (1-7) specified node LNNs to mark for upgrade. ]" \
"--simultaneous[Start a simultaneous upgrade.]" \
"--skip-optional[Skip the optional pre-upgrade checks.]" \
"--yes[Automatically answer yes at the prompt.]" \
}
(( $+functions[_isi_upgrade_cluster_rollback] )) ||
_isi_upgrade_cluster_rollback() {
_arguments \
"--help[Display help for this command.]" \
"--yes[Automatically answer yes at the prompt.]" \
}
(( $+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.]" \
"--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. ]" \
"--help[Display help for this command.]" \
"--yes[Automatically answer yes at the prompt.]" \
}
(( $+functions[_isi_upgrade_cluster_add-remaining-nodes] )) ||
_isi_upgrade_cluster_add-remaining-nodes() {
_arguments \
"--help[Display help for this command.]" \
"--yes[Automatically answer yes at the prompt.]" \
}
(( $+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]" \
"--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.]" \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display upgrade patches in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--local[Only show patch information on the local node.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_upgrade_patches_view] )) ||
_isi_upgrade_patches_view() {
_arguments \
"--patch=[Name or id of the patch to view.  This can also be a full path of a patch file to examine before installing.]" \
"--help[Display help for this command.]" \
"--local[Only show patch information on the local node.]" \
}
(( $+functions[_isi_upgrade_patches_install] )) ||
_isi_upgrade_patches_install() {
_arguments \
"--patch=[The path of the patch to install.]" \
"--help[Display help for this command.]" \
"--override[Ignore patch system validation and force the installation.]" \
"--rolling=[Perform a rolling patch install. A value of False will install on all nodes simultaneously.]:BoolValueType:(true false)" \
}
(( $+functions[_isi_upgrade_patches_uninstall] )) ||
_isi_upgrade_patches_uninstall() {
_arguments \
"--patch=[Name or id of the patch to uninstall.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--override[Ignore patch system validation and force the uninstallation.]" \
"--rolling=[Perform a rolling patch uninstall. A value of False will uninstall from all nodes simultaneously.]:BoolValueType:(true false)" \
}
(( $+functions[_isi_upgrade_patches_abort] )) ||
_isi_upgrade_patches_abort() {
_arguments \
"--force[Do not ask confirmation.]" \
"--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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display worm domains in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_worm_domains_create] )) ||
_isi_worm_domains_create() {
_arguments \
"--path=[Path for the WORM domain.]" \
"--autocommit-offset=[Duration until files are automatically committed in the domain]" \
"--compliance[Use compliance mode for the WORM domain.]" \
"--default-retention=[Default retention period for all files in the domain.]:EnumValidator:(forever use_min use_max)" \
"--disable-privileged-delete[Disable privileged delete for the WORM domain. The privileged delete property of the domain can never be changed after this.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--max-retention=[Maximum value for file retention periods in the WORM domain.]:EnumValidator:(forever)" \
"--min-retention=[Minimum value for file retention periods in the WORM domain.]:EnumValidator:(forever)" \
"--mkdir[Use this flag to create the path on the cluster if it doesn't already exist]" \
"--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.]" \
"--privileged-delete=[Files can be deleted from the WORM domain with a privileged delete command.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_worm_domains_view] )) ||
_isi_worm_domains_view() {
_arguments \
"--domain=[A WORM domain identified by ID, path or LIN.]" \
"--help[Display help for this command.]" \
}
(( $+functions[_isi_worm_domains_modify] )) ||
_isi_worm_domains_modify() {
_arguments \
"--domain=[A WORM domain identified by ID, path or LIN.]" \
"--autocommit-offset=[Duration until files are automatically committed in the domain]" \
"--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.]" \
"--compliance[Use compliance mode for the WORM domain.]" \
"--default-retention=[Default retention period for all files in the domain.]:EnumValidator:(forever use_min use_max)" \
"--disable-privileged-delete[Disable privileged delete for the WORM domain. The privileged delete property of the domain can never be changed after this.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--max-retention=[Maximum value for file retention periods in the WORM domain.]:EnumValidator:(forever)" \
"--min-retention=[Minimum value for file retention periods in the WORM domain.]:EnumValidator:(forever)" \
"--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.]" \
"--privileged-delete=[Files can be deleted from the WORM domain with a privileged delete command.]:BoolValueType:(true false)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--path=[Path of the worm file. Must be within /ifs.]:cmdline_Option_path:_files" \
"--help[Display help for this command.]" \
"--no-symlinks[Do not follow symlinks.]" \
"1:cmdline_Option_path:_files" \
}
(( $+functions[_isi_worm_files_delete] )) ||
_isi_worm_files_delete() {
_arguments \
"--path=[Path of the worm file. Must be within /ifs.]:cmdline_Option_path:_files" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display zones in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_zone_zones_view] )) ||
_isi_zone_zones_view() {
_arguments \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--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 \
"--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" \
"--auth-providers=[Replaces the list of authentication providers used in this zone.]" \
"--cache-entry-expiry=[Specifies duration of time to cache a user/group.]" \
"--create-path[Create zone path if it doesn't already exist.]" \
"--force-overlap[Allow for overlapping base path.]" \
"--groupnet=[Specifies a groupnet.]" \
"--help[Display help for this command.]" \
"--home-directory-umask=[Specifies the permissions set on auto-created user home directories.]" \
"--map-untrusted=[Maps untrusted domains to this NetBIOS domain during authentication.]" \
"--netbios-name=[Specifies the NetBIOS name.]" \
"--skeleton-directory=[Sets the skeleton directory for user home directories.]" \
"--user-mapping-rules=[Replaces current ID mapping rules.]" \
"--verbose[Display more detailed information.]" \
"2:cmdline_Option_path:_files" \
}
(( $+functions[_isi_zone_zones_modify] )) ||
_isi_zone_zones_modify() {
_arguments \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--add-auth-providers=[Add items to list of authentication providers used in this zone.]" \
"--add-user-mapping-rules=[Add items to current ID mapping rules.]" \
"--auth-providers=[Replaces the list of authentication providers used in this zone.]" \
"--cache-entry-expiry=[Specifies duration of time to cache a user/group.]" \
"--clear-auth-providers[Clear list of authentication providers used in this zone.]" \
"--clear-user-mapping-rules[Clear current ID mapping rules.]" \
"--create-path[Create zone path if it doesn't already exist.]" \
"--force-overlap[Allow for overlapping base path.]" \
"--help[Display help for this command.]" \
"--home-directory-umask=[Specifies the permissions set on auto-created user home directories.]" \
"--map-untrusted=[Maps untrusted domains to this NetBIOS domain during authentication.]" \
"--name=[Name for the zone.  A valid zone name begins with a letter and contains only alphanumeric characters and '-'.]" \
"--netbios-name=[Specifies the NetBIOS name.]" \
"--path=[Root directory path of zone. Paths for zones must not overlap.]:cmdline_Option_path:_files" \
"--remove-auth-providers=[Remove items from list of authentication providers used in this zone.]" \
"--remove-user-mapping-rules=[Remove items from current ID mapping rules.]" \
"--revert-cache-entry-expiry[Set value to system default for --cache-entry-expiry.]" \
"--skeleton-directory=[Sets the skeleton directory for user home directories.]" \
"--user-mapping-rules=[Replaces current ID mapping rules.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_zone_zones_delete] )) ||
_isi_zone_zones_delete() {
_arguments \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"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 \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display zone restrictions in the given format]:EnumValidator:(table json csv list)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
}
(( $+functions[_isi_zone_restrictions_create] )) ||
_isi_zone_restrictions_create() {
_arguments \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"1:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"2:cmdline_Option_user:_users" \
}
(( $+functions[_isi_zone_restrictions_delete] )) ||
_isi_zone_restrictions_delete() {
_arguments \
"--zone=[Access zone.]:cmdline_Option_zone:_cmdline_Option_shell_zone_0" \
"--user=[A user name.]:cmdline_Option_user:_users" \
"--group=[A group name.]:cmdline_Option_group:_groups" \
"--gid=[A numeric group identifier.]" \
"--uid=[A numeric user identifier.]" \
"--sid=[A security identifier.]" \
"--wellknown=[A well-known user, group, machine or account name.]" \
"--force[Do not ask confirmation.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
"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 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 == 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 \
"--classes=[Specify class(es) for which statistics should be reported.]:EnumValidator:(other write read namespace_read namespace_write)" \
"--degraded[Continue to report if some nodes do not respond.]" \
"--events=[Only report specified event types(s).]:EnumValidator:(blocked contended deadlocked getattr link lock lookup read rename setattr unlink write)" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display statistics heats in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--limit=[Number of statistics heats to display.]" \
"--long[Display all possible columns.]" \
"--maxpath=[Maximum path length to lookup in filesytem.]" \
"--nodes=[Specify node(s) for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0" \
"--nohumanize[Output raw numbers without conversion to units.]" \
"--numeric[Whether or not to resolve IP addresses into canonical names.]" \
"--output=[Output specified column(s).]:EnumValidator:(operation_rate node event_name class_name lin path)" \
"--pathdepth=[Squash paths to this directory depth.]" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--sort=[Sort data by the specified comma-separated field(s). Prepend 'asc:' or 'desc:' to a field to change the sort order.]:EnumValidator:(operation_rate node event_name class_name lin path)" \
"--totalby=[Aggregate per specified fields(s).]:EnumValidator:(node event_name class_name lin path)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--classes=[Specify class(es) for which statistics should be reported.]:EnumValidator:(other write read namespace_read namespace_write)" \
"--degraded[Continue to report if some nodes do not respond.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display statistics clients in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--limit=[Number of statistics clients to display.]" \
"--local-addresses=[Only report statistics for operations handled by the local hosts with dotted-quad IP addresses.]" \
"--local-names=[Only report statistics for operations handled by the local hosts with resolved names.]" \
"--long[Display all possible columns.]" \
"--nodes=[Specify node(s) for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0" \
"--nohumanize[Output raw numbers without conversion to units.]" \
"--numeric[Whether or not to resolve addresses, usernames, and groupnames]" \
"--output=[Output specified column(s).]:EnumValidator:(num_operations operation_rate in_max in_min in in_avg out_max out_min out out_avg time_max time_min time_avg node protocol class local_addr local_name remote_addr remote_name)" \
"--protocols=[A comma separated string with the protocol(s) you wish to return.]:EnumValidator:(nfs3 smb1 nlm ftp http siq smb2 nfs4 papi jobd irp lsass_in lsass_out hdfs all internal external)" \
"--remote-addresses=[Only report statistics for operations requested by the remote clients with dotted-quad IP addresses.]" \
"--remote-names=[Only report statistics for operations requested by the remote clients with resolved names.]" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--sort=[Sort data by the specified comma-separated field(s). Prepend 'asc:' or 'desc:' to a field to change the sort order.]:EnumValidator:(num_operations operation_rate in_max in_min in in_avg out_max out_min out out_avg time_max time_min time_avg node protocol class local_addr local_name remote_addr remote_name)" \
"--totalby=[Aggregate per specified fields(s).]:EnumValidator:(node protocol class local_addr local_name remote_addr remote_name)" \
"--user-ids=[Only report statistics for operations requested by users with numeric UIDs.]" \
"--user-names=[Only report statistics for operations requested by users with resolved names.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--degraded[Continue to report if some nodes do not respond.]" \
"--format=[Display statistics pstats in the given format]:EnumValidator:(table json csv list top)" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--protocol=[Choose a protocol to report on. Default is nfs3.]:EnumValidator:(nfs3 smb1 nlm ftp http siq smb2 nfs4 papi jobd irp lsass_in lsass_out hdfs)" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--classes=[Specify class(es) for which statistics should be reported.]:EnumValidator:(other write read create delete namespace_read namespace_write file_state session_state)" \
"--degraded[Continue to report if some nodes do not respond.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display statistics protocols in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--limit=[Number of statistics protocols to display.]" \
"--long[Display all possible columns.]" \
"--nodes=[Specify node(s) for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0" \
"--nohumanize[Output raw numbers without conversion to units.]" \
"--operations=[Only report statistics for the specified operations.]" \
"--output=[Output specified column(s).]:EnumValidator:(time operation_count NumOps operation_rate Ops in_max InMax in_min InMin in In in_avg InAvg in_standard_dev InStdDev out_max OutMax out_min OutMin out Out out_avg OutAvg out_standard_dev OutStdDev time_max TimeMax time_min TimeMin time_avg TimeAvg time_standard_dev TimeStdDev node protocol Proto class Class operation Op)" \
"--protocols=[Specify protocol(s) for which statistics should be reported. Default is all external protocols.]:EnumValidator:(nfs3 smb1 nlm ftp http siq smb2 nfs4 papi jobd irp lsass_in lsass_out hdfs all internal external)" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--sort=[Sort data by the specified comma-separated field(s). Prepend 'asc:' or 'desc:' to a field to change the sort order.]:EnumValidator:(time operation_count NumOps operation_rate Ops in_max InMax in_min InMin in In in_avg InAvg in_standard_dev InStdDev out_max OutMax out_min OutMin out Out out_avg OutAvg out_standard_dev OutStdDev time_max TimeMax time_min TimeMin time_avg TimeAvg time_standard_dev TimeStdDev node protocol Proto class Class operation Op)" \
"--totalby=[Aggregate per specified fields(s).]:EnumValidator:(node protocol Proto class Class operation Op)" \
"--verbose[Display more detailed information.]" \
"--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 \
"--degraded[Continue to report if some nodes do not respond.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display statistics drives in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--limit=[Number of statistics drives to display.]" \
"--long[Display all possible columns.]" \
"--nodes=[Specify node(s) for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0" \
"--nohumanize[Output raw numbers without conversion to units.]" \
"--output=[Output specified column(s).]:EnumValidator:(time drive_id type xfers_in bytes_in xfer_size_in xfers_out bytes_out xfer_size_out access_latency access_slow iosched_latency iosched_queue busy used_bytes_percent used_inodes)" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--sort=[Sort data by the specified comma-separated field(s). Prepend 'asc:' or 'desc:' to a field to change the sort order.]:EnumValidator:(time drive_id type xfers_in bytes_in xfer_size_in xfers_out bytes_out xfer_size_out access_latency access_slow iosched_latency iosched_queue busy used_bytes_percent used_inodes)" \
"--type=[Specify drive type(s) for which statistics should be reported.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--degraded[Continue to report if some nodes do not respond.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display queries in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--keys=[Comma separated list of statistics keys you want to query.]" \
"--limit=[Number of queries to display.]" \
"--long[Display all possible columns.]" \
"--nodes=[Specify node(s) for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0" \
"--raw[Output complex objects as hex.]" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--substr[For each KEY in --keys=KEY(,KEY)*, match the statistics '.*KEY.*'.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--begin=[Begin time.]" \
"--degraded[Continue to report if some nodes do not respond.]" \
"--end=[End time.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display queries in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--keys=[Comma separated list of statistics keys you want to query.]" \
"--limit=[Number of queries to display.]" \
"--memory-only[Only retrieve the in-memory statistics, not those persisted to disk.]" \
"--nodes=[Specify node(s) for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0" \
"--nohumanize[Output raw numbers without conversion to units.]" \
"--raw[Output complex objects as hex.]" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--resolution=[Minimum interval between series data points in seconds.]" \
"--substr[For each KEY in --keys=KEY(,KEY)*, match the statistics '.*KEY.*'.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--degraded[Continue to report if some nodes do not respond.]" \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display statistics systems in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--interval=[Wait <INTERVAL> seconds before refreshing the display.]" \
"--limit=[Number of statistics systems to display.]" \
"--long[Display all possible columns.]" \
"--nodes=[Specify node(s) for which statistics should be reported.]:cmdline_Option_nodes:_cmdline_Option_shell_nodes_0" \
"--nohumanize[Output raw numbers without conversion to units.]" \
"--oprates[Display protocol operation rate statistics rather than the default throughput statistics.]" \
"--output=[Output specified column(s).]:EnumValidator:(time node cpu smb ftp http nfs hdfs total net_in net_out disk_in disk_out)" \
"--repeat=[Print the requested data <REPEAT> times (-1 for infinite).]" \
"--sort=[Sort data by the specified comma-separated field(s). Prepend 'asc:' or 'desc:' to a field to change the sort order.]:EnumValidator:(time node cpu smb ftp http nfs hdfs total net_in net_out disk_in disk_out)" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display statistics list keys in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of statistics list keys to display.]" \
"--verbose[Display more detailed information.]" \
}
(( $+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 \
"--no-footer[Do not display table summary footer information.]" \
"--format=[Display statistics list operations in the given format]:EnumValidator:(table json csv list top)" \
"--no-header[Do not display headers in CSV or table formats.]" \
"--help[Display help for this command.]" \
"--limit=[Number of statistics list operations to display.]" \
"--protocols=[Specify protocol(s) for which operations will be listed.]:EnumValidator:(nfs3 smb1 nlm ftp http siq smb2 nfs4 papi jobd irp lsass_in lsass_out hdfs console ssh)" \
"--verbose[Display more detailed information.]" \
}
(( $+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]" \
"--help[Display help for this command.]" \
"--report=[This option generates the report of expected state of the system without applying the hardening policy.]:BoolValueType:(true false)" \
}
(( $+functions[_isi_hardening_revert] )) ||
_isi_hardening_revert() {
_arguments \
"--force[Forcefully reverting hardening policy after fixing all issues.]" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_hardening_status] )) ||
_isi_hardening_status() {
}
(( $+functions[_isi_version] )) ||
_isi_version() {
_arguments \
"--format=[Display version information in the given format]:EnumValidator:(list json)" \
"--help[Display help for this command.]" \
"--verbose[Display more detailed information.]" \
}
(( $+functions[_isi_status] )) ||
_isi_status() {
_arguments \
"--all-nodepools[Display nodepool status for all nodepools in the cluster.]" \
"--all-nodes[Display node-specific status for all nodes in the cluster.]" \
"--help[Display help for this command.]" \
"--node=[Display node-specific status for the node with the given node id.]" \
"--nodepool=[Display nodepool status for the specified nodepool.]" \
"--quiet[Display less detailed information.]" \
"--verbose[Display more detailed information (only with --nodepool or --all_nodepools options).]" \
}
_isi_classic "$@"
_disi_diskpools "$@"
_isi_ndmp "$@"
(( $+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 network groupnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_2] )) ||
_cmdline_Option_shell_name_2() {
compadd $( ( isi network pools list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_3] )) ||
_cmdline_Option_shell_name_3() {
compadd $( ( isi network rules list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_name_4] )) ||
_cmdline_Option_shell_name_4() {
compadd $( ( isi network subnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\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_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_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_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_id_0] )) ||
_cmdline_Option_shell_id_0() {
compadd $( ( isi network groupnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_1] )) ||
_cmdline_Option_shell_id_1() {
compadd $( ( isi network pools list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_2] )) ||
_cmdline_Option_shell_id_2() {
compadd $( ( isi network rules list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 2>/dev/null )
}
(( $+functions[_cmdline_Option_shell_id_3] )) ||
_cmdline_Option_shell_id_3() {
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_4] )) ||
_cmdline_Option_shell_id_4() {
compadd $( ( isi network subnets list --no-header --no-footer --format=csv | cut -d, -f1 | tr '\n' ' ' ) 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 )
}
