Merging upstream version 2.14.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
0d9181726f
commit
f268303a51
572 changed files with 4636 additions and 1730 deletions
|
@ -123,6 +123,7 @@ _nvme () {
|
|||
'solidigm:Solidigm plug-in extensions'
|
||||
'fdp:FDP plug-in extensions'
|
||||
'micron:Micron plug-in extensions'
|
||||
'mangoboost:MangoBoost plug-in extensions'
|
||||
'dapustor:DapuStor plug-in extensions'
|
||||
'help:print brief descriptions of all nvme commands'
|
||||
'json:dump output in json format'
|
||||
|
@ -396,6 +397,48 @@ _nvme () {
|
|||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme ocp set-telemetry-profile options" _ocp_set_telemetry_profile_feature
|
||||
;;
|
||||
(get-latency-monitor)
|
||||
local _ocp_get_latency_monitor_feature
|
||||
_ocp_get_latency_monitor_feature=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--sel=':select from 0 - current, 1 - default, 2 - saved, 3 - supported'
|
||||
-s':alias to --sel'
|
||||
--namespace-id=':valid, invalid and inactive nsid'
|
||||
-n':alias to --namespace-id'
|
||||
--no-uuid':Skip UUID index search'
|
||||
-u':alias for --no-uuid'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme ocp get-latency-monitor options" _ocp_get_latency_monitor_feature
|
||||
;;
|
||||
(get-clear-pcie-correctable-errors)
|
||||
local _get_clear_pcie_correctable_error_counters
|
||||
_get_clear_pcie_correctable_error_counters=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--sel=':select from 0 - current, 1 - default, 2 - saved, 3 - supported'
|
||||
-s':alias to --sel'
|
||||
--namespace-id=':valid, invalid and inactive nsid'
|
||||
-n':alias to --namespace-id'
|
||||
--no-uuid':Skip UUID index search'
|
||||
-u':alias for --no-uuid'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme ocp get-clear-pcie-correctable-errors options" _get_clear_pcie_correctable_error_counters
|
||||
;;
|
||||
(get-telemetry-profile)
|
||||
local _ocp_get_telemetry_profile_feature
|
||||
_ocp_get_telemetry_profile_feature=(
|
||||
/dev/nvme':supply a device to use (required)'
|
||||
--sel=':select from 0 - current, 1 - default, 2 - saved, 3 - supported'
|
||||
-s':alias to --sel'
|
||||
--namespace-id=':valid, invalid and inactive nsid'
|
||||
-n':alias to --namespace-id'
|
||||
--no-uuid':Skip UUID index search'
|
||||
-u':alias for --no-uuid'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme ocp get-telemetry-profile options" _ocp_get_telemetry_profile_feature
|
||||
;;
|
||||
(*)
|
||||
_files
|
||||
;;
|
||||
|
@ -572,6 +615,8 @@ _nvme () {
|
|||
(workload-tracker)
|
||||
local _workload_tracker
|
||||
_workload_tracker=(
|
||||
'--uuid-index=:specify uuid index'
|
||||
'-U:alias for --uuid-index'
|
||||
--enable':Enable Workload Tracker'
|
||||
-e':alias for --enable'
|
||||
--disable':Disable Workload Tracker'
|
||||
|
@ -657,6 +702,30 @@ _nvme () {
|
|||
;;
|
||||
esac
|
||||
;;
|
||||
(mangoboost)
|
||||
case ${words[2]} in
|
||||
(id-ctrl)
|
||||
local _id_ctrl
|
||||
_id_ctrl=(
|
||||
--verbose':Increase output verbosity'
|
||||
-v':alias for --verbose'
|
||||
--output-format':Output format: normal|json|binary'
|
||||
-o':alias for --output-format'
|
||||
--vendor-specific':dump binary vendor field'
|
||||
-V':alias for --vendor-specific'
|
||||
--raw-binary':show identify in binary format'
|
||||
-b':alias for --raw-binary'
|
||||
--human-readable':show identify in readable format'
|
||||
-H':alias for --human-readable'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme mangoboost id-ctrl options" _id_ctrl
|
||||
;;
|
||||
(*)
|
||||
_files
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
(*)
|
||||
_files
|
||||
;;
|
||||
|
@ -2816,6 +2885,9 @@ _nvme () {
|
|||
get-error-injection':get error injection'
|
||||
set-error-injection':set error injection'
|
||||
hardware-component-log':retrieve hardware component log'
|
||||
get-latency-monitor':Get Latency Monitor Feature'
|
||||
get-clear-pcie-correctable-errors':retrieve clear pcie correctable errors'
|
||||
get-telemetry-profile':retrieve Get Telemetry Profile Feature'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme ocp options" _ocp
|
||||
|
@ -2893,6 +2965,16 @@ _nvme () {
|
|||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme dapustor options" _dapustor
|
||||
;;
|
||||
(mangoboost)
|
||||
local _mangoboost
|
||||
_mangoboost=(
|
||||
id-ctrl':Send NVMe Identify Controller'
|
||||
version':Shows the program version'
|
||||
help':Display this help'
|
||||
)
|
||||
_arguments '*:: :->subcmds'
|
||||
_describe -t commands "nvme mangoboost options" _mangoboost
|
||||
;;
|
||||
(help)
|
||||
local _h
|
||||
_h=( id-ctrl id-ns list-ns id-iocs create-ns delete-ns attach-ns detach-ns
|
||||
|
@ -2911,7 +2993,7 @@ _nvme () {
|
|||
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 mgmt-addr-list-log
|
||||
rotational-media-info-log changed-alloc-ns-list-log fdp
|
||||
rotational-media-info-log changed-alloc-ns-list-log fdp mangoboost
|
||||
)
|
||||
_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