Merging upstream version 2.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
078c0dbcc0
commit
635faa7346
571 changed files with 10718 additions and 2738 deletions
|
@ -89,6 +89,7 @@ _nvme () {
|
|||
'lockdown:submit a lockdown command'
|
||||
'media-unit-stat-log:retrieve media unit status log pages details'
|
||||
'supported-cap-config-log:retrieve the list of Supported Capacity Configuration Descriptors'
|
||||
'rotational-media-info-log:retrieve rotational media information log'
|
||||
'discover:send Get Log Page request to Discovery Controller'
|
||||
'connect-all:discover NVMeoF subsystems and connect to them'
|
||||
'connect:connect to NVMeoF subsystem'
|
||||
|
@ -109,9 +110,18 @@ _nvme () {
|
|||
'set-reg:write and show the defined NVMe controller register'
|
||||
'io-mgmt-recv:send an I/O management receive command'
|
||||
'io-mgmt-send:send an I/O management send command'
|
||||
'mgmt-addr-list-log:retrieve management address list log'
|
||||
'changed-ns-list-log:retrieve changed allocated namespaces log'
|
||||
'dispersed-ns-participating-nss-log:retrieve dispersed namespace participating NVM subsystems log'
|
||||
'reachability-groups-log:retrieve reachability groups log'
|
||||
'reachability-associations-log:retrieve reachability associations log'
|
||||
'host-discovery-log:retrieve host discovery log'
|
||||
'ave-discovery-log:retrieve ave discovery log'
|
||||
'pull-model-ddr-req-log:retrieve pull model ddr req log'
|
||||
'version:show the program version'
|
||||
'ocp:OCP cloud SSD extensions'
|
||||
'solidigm:Solidigm plug-in extensions'
|
||||
'fdp:FDP plug-in extensions'
|
||||
'micron:Micron plug-in extensions'
|
||||
'dapustor:DapuStor plug-in extensions'
|
||||
'help:print brief descriptions of all nvme commands'
|
||||
|
@ -181,7 +191,7 @@ _nvme () {
|
|||
local _internal_log
|
||||
_internal_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--telemetry-type=':Telemetry Type; host or controller generated'
|
||||
--telemetry-type=':Telemetry Type; host, host0, host1 or controller generated'
|
||||
-t':alias for --telemetry-type'
|
||||
--data-area=':Telemetry Data Area; 1 or 2'
|
||||
-a':alias for --data-area'
|
||||
|
@ -366,7 +376,7 @@ _nvme () {
|
|||
--comp-id=':component identifier'
|
||||
-i':alias for --comp-id'
|
||||
--list':list component descriptions'
|
||||
-v':alias for --list'
|
||||
-l':alias for --list'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
|
@ -597,6 +607,28 @@ _nvme () {
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
(fdp)
|
||||
case ${words[2]} in
|
||||
(feature)
|
||||
local _feature
|
||||
_feature=(
|
||||
--endgrp-id=':Endurance group ID'
|
||||
-e':alias for --endgrp-id'
|
||||
--enable-conf-idx=':FDP configuration index to enable'
|
||||
-c':alias for --enable-conf-idx'
|
||||
--disable=':Disable current FDP configuration'
|
||||
-d':alias for --disable'
|
||||
--verbose=':Increase output verbosity'
|
||||
-v':alias for --verbose'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme fdp feature options" _feature
|
||||
;;
|
||||
(*)
|
||||
_files
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(dapustor)
|
||||
case ${words[2]} in
|
||||
(smart-log-add)
|
||||
|
@ -1455,6 +1487,8 @@ _nvme () {
|
|||
-C':alias of --storage-tag-check'
|
||||
--dir-spec=':directive specific'
|
||||
-D':alias of --dir-spec'
|
||||
--namespace-zeroes':If set, then the controller clear all logical blocks to zero in the entire namespace'
|
||||
-Z':alias of --namespace-zeroes'
|
||||
--timeout=':value for timeout'
|
||||
-t':alias of --timeout'
|
||||
)
|
||||
|
@ -2585,7 +2619,7 @@ _nvme () {
|
|||
-t':alias of --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme set-reg options" _io_mgmt_recv
|
||||
_describe -t commands "nvme io-mgmt-recv-reg options" _io_mgmt_recv
|
||||
;;
|
||||
(io-mgmt-send)
|
||||
local _io_mgmt_send
|
||||
|
@ -2609,7 +2643,153 @@ _nvme () {
|
|||
-t':alias of --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme set-reg options" _io_mgmt_send
|
||||
_describe -t commands "nvme io-mgmt-send options" _io_mgmt_send
|
||||
;;
|
||||
(mgmt-addr-list-log)
|
||||
local _mal_log
|
||||
_mal_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme mgmt-addr-list-log" _mal_log
|
||||
;;
|
||||
(rotational-media-info-log)
|
||||
local _rmi_log
|
||||
_rmi_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--endg-id=':Endurance Group Identifier'
|
||||
-e':alias of --endg-id'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme rotational-media-info-log" _rmi_log
|
||||
;;
|
||||
(changed-alloc-ns-list-log)
|
||||
local _changed_alloc_ns_list_log
|
||||
_changed_alloc_ns_list_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o':alias for --output-format'
|
||||
--raw-binary':dump infos in binary format'
|
||||
-b':alias of --raw-binary'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme changed-alloc-ns-list-log options" _changed_alloc_ns_list_log
|
||||
;;
|
||||
(dispersed-ns-participating-nss-log)
|
||||
local _dns_psub_log
|
||||
_dns_psub_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--namespace-id=':show infos for namespace <nsid>'
|
||||
-n':alias of --namespace-id'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme dispersed-ns-participating-nss-log" _dns_psub_log
|
||||
;;
|
||||
(reachability-groups-log)
|
||||
local _rg_log
|
||||
_rg_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--groups-only':Return Groups Only'
|
||||
-g':alias for --groups-only'
|
||||
--rae':Retain an Asynchronous Event'
|
||||
-r':alias for --rae'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme reachability-groups-log" _rg_log
|
||||
;;
|
||||
(reachability-associations-log)
|
||||
local _ra_log
|
||||
_ra_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--associations-only':Return Associations Only'
|
||||
-a':alias for --associations-only'
|
||||
--rae':Retain an Asynchronous Event'
|
||||
-r':alias for --rae'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme reachability-associationsroups-log" _ra_log
|
||||
;;
|
||||
(host-discovery-log)
|
||||
local _hd_log
|
||||
_hd_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--all-host-entries':All Host Entries'
|
||||
-a':alias for --all-host-entries'
|
||||
--rae':Retain an Asynchronous Event'
|
||||
-r':alias for --rae'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme host-discovery-log" _hd_log
|
||||
;;
|
||||
(ave-discovery-log)
|
||||
local _ad_log
|
||||
_ad_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--rae':Retain an Asynchronous Event'
|
||||
-r':alias for --rae'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme ave-discovery-log" _ad_log
|
||||
;;
|
||||
(pull-model-ddr-req-log)
|
||||
local _pmdr_log
|
||||
_pmdr_log=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--rae':Retain an Asynchronous Event'
|
||||
-r':alias for --rae'
|
||||
--verbose':Increase the information detail in the output.'
|
||||
-v':alias for --verbose'
|
||||
--output-format=':Output format: normal|json|binary'
|
||||
-o ':alias for --output-format'
|
||||
--timeout=':value for timeout'
|
||||
-t ':alias for --timeout'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme pull-model-ddr-req-log" _pmdr_log
|
||||
;;
|
||||
(version)
|
||||
local _version
|
||||
|
@ -2667,6 +2847,16 @@ _nvme () {
|
|||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme solidigm options" _solidigm
|
||||
;;
|
||||
(fdp)
|
||||
local _fdp
|
||||
_fdp=(
|
||||
feature':Show, enable or disable FDP configuration'
|
||||
version':Shows the plug-in version'
|
||||
help':Display this help'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme fdp options" _fdp
|
||||
;;
|
||||
(micron)
|
||||
local micron
|
||||
_micron=(
|
||||
|
@ -2722,7 +2912,8 @@ _nvme () {
|
|||
get-property write-zeroes write-uncor verify sanitize sanitize-log reset
|
||||
subsystem-reset ns-rescan get-lba-status dsm discover connect-all connect
|
||||
dim disconnect disconnect-all gen-hostnqn show-hostnqn tls-key dir-receive
|
||||
dir-send virt-mgmt rpmb version ocp solidigm dapustor
|
||||
dir-send virt-mgmt rpmb version ocp solidigm dapustor mgmt-addr-list-log
|
||||
rotational-media-info-log changed-alloc-ns-list-log fdp
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "help: infos on a specific nvme command, or provide no option to see a synopsis of all nvme commands" _h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue