Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions Documentation/nvme-reachability-associations-log.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
nvme-reachability-associations-log(1)
=====================================

NAME
----
nvme-reachability-associations-log - Retrieve Reachability Associations Log, show it

SYNOPSIS
--------
[verse]
'nvme reachability-associations-log' <device> [--associations-only | -a] [--rae | -r]
[--verbose | -v] [--output-format=<fmt> | -o <fmt>]
[--timeout=<timeout>]

DESCRIPTION
-----------
Retrieve Reachability Associations Log, show it

The <device> parameter is mandatory NVMe character device (ex: /dev/nvme0).

On success it returns 0, error code otherwise.

OPTIONS
-------
-a::
--associations-only::
Return associations Only.

-r::
--rae::
Retain an Asynchronous Event.

-v::
--verbose::
Increase the information detail in the output.

-o <fmt>::
--output-format=<fmt>::
Set the reporting format to 'normal', 'json' or 'binary'. Only one
output format can be used at a time.

-t <timeout>::
--timeout=<timeout>::
Override default timeout value. In milliseconds.

EXAMPLES
--------
* Has the program issue a reachability-associations-log
+
------------
# nvme reachability-associations-log /dev/nvme0
------------

NVME
----
Part of the nvme-user suite.
19 changes: 19 additions & 0 deletions completions/_nvme
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ _nvme () {
'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'
'version:show the program version'
'ocp:OCP cloud SSD extensions'
'solidigm:Solidigm plug-in extensions'
Expand Down Expand Up @@ -2693,6 +2694,24 @@ _nvme () {
_arguments '*:: :->subcmds'
_describe -t commands "nvme reachability-groups-log" _rg_log
;;
(reachability-associations-log)
local _ra_log
_caplog=(
/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
;;
(version)
local _version
_version=(
Expand Down
8 changes: 6 additions & 2 deletions completions/bash-nvme-completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,11 @@ nvme_list_opts () {
--timeout= -t"
;;
"reachability-groups-log")
opts+=" --groups-only -g --rae -r --verbose -v \
opts+=" --groups-only -g --rae -r --verbose -v \
--output-format= -o --timeout= -t"
;;
"reachability-associations-log")
opts+=" --associations-only -a --rae -r --verbose -v \
--output-format= -o --timeout= -t"
;;
"version")
Expand Down Expand Up @@ -1701,7 +1705,7 @@ _nvme_subcmds () {
nvme-mi-recv nvme-mi-send get-reg set-reg mgmt-addr-list-log \
rotational-media-info-log changed-alloc-ns-list-log \
io-mgmt-recv io-mgmt-send dispersed-ns-participating-nss-log \
reachability-groups-log"
reachability-groups-log reachability-associations-log"

# Add plugins:
for plugin in "${!_plugin_subcmds[@]}"; do
Expand Down