]> www.infradead.org Git - users/hch/nvmetcli.git/commit
nvmetcli: expose nvmet port status and state
authorSagi Grimberg <sagi@grimberg.me>
Thu, 12 Apr 2018 13:32:33 +0000 (16:32 +0300)
committerChristoph Hellwig <hch@lst.de>
Fri, 13 Apr 2018 16:52:55 +0000 (18:52 +0200)
commit54ce6d02112f267733402735b1dbb3635dfa8055
tree100f9d30e7ed44e77758e020426c432a02103c07
parent9d51ae651a1c39a83b0192fbbe1e400abf3a0409
nvmetcli: expose nvmet port status and state

The status attribute reflects if any subsystems are bound and can accept
existing connections. The state attribute reflects the physical state of
the port.  Also colorize UI if port state is down.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
nvmet/nvme.py
nvmetcli