]>
www.infradead.org Git - users/hch/nvmetcli.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jay Freyensee [Thu, 28 Jul 2016 17:37:06 +0000 (10:37 -0700)]
nvmetcli: More refined cleanup of README
Adds a few more tidbits to the README file, minus
discovery/referral info (still WIP).
Signed-off-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Jay Freyensee [Thu, 23 Jun 2016 21:41:16 +0000 (14:41 -0700)]
nvmetcli: Updated README to current functionality
Also added a referrals/discovery placeholder TBD section.
Signed-off-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 2 Jun 2016 15:16:05 +0000 (17:16 +0200)]
add RPM packaging
Build and install tested on Fedora 23.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 1 Jun 2016 18:28:47 +0000 (20:28 +0200)]
add a systemd unit file
This restores the configuration when started and clears it when shut down.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 1 Jun 2016 17:09:38 +0000 (19:09 +0200)]
add Debian packaging
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 1 Jun 2016 18:26:27 +0000 (20:26 +0200)]
move the default config into a /etc/nvmet/
no need to clutter /etc directly.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 1 Jun 2016 17:56:01 +0000 (19:56 +0200)]
rename README.md to README
Seems like our code examples aren't valid markdown..
Reported-by: Steve Wise <swise@chelsio.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sun, 29 May 2016 19:15:30 +0000 (21:15 +0200)]
update README and examples
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sun, 29 May 2016 18:44:26 +0000 (20:44 +0200)]
nvmetcli: add descriptions for all configfs attributes
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 26 May 2016 12:58:29 +0000 (14:58 +0200)]
nvmet: remove broken automatic portid assignment
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 25 May 2016 12:31:00 +0000 (14:31 +0200)]
nvmet,nvmetcli: support referrals
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 25 May 2016 12:30:50 +0000 (14:30 +0200)]
nvmet: small fixes and cleanups
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 19 May 2016 14:14:36 +0000 (16:14 +0200)]
nvmet,nvmetcli: support per-port subsystem enablement
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sun, 3 Apr 2016 15:44:35 +0000 (17:44 +0200)]
nvmet,nvmetcli: add support for host NQN based access control
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sun, 3 Apr 2016 15:47:38 +0000 (17:47 +0200)]
nvmetcli: fix a couple see also references
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sun, 3 Apr 2016 15:46:12 +0000 (17:46 +0200)]
nvme: a couple typo fixes
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sun, 3 Apr 2016 15:45:02 +0000 (17:45 +0200)]
nvmet: fix attribute listing
We only want to split at the first underscore, not at any.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 13:06:29 +0000 (14:06 +0100)]
nvmet, nvmetcli: add support for NVMe ports
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sat, 26 Mar 2016 17:28:06 +0000 (18:28 +0100)]
tests: check for invalid subsystem names
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sat, 26 Mar 2016 17:14:02 +0000 (18:14 +0100)]
tests: check that the nguid is properly saved and restored
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sat, 26 Mar 2016 10:38:07 +0000 (11:38 +0100)]
update default config file
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Sat, 26 Mar 2016 10:35:20 +0000 (11:35 +0100)]
nvmet: improve enable semantics
Allow for a None state of the _enable variable, and use that fact to
automatically set up the enabled state in the primary Node class.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 17:45:14 +0000 (18:45 +0100)]
pep8
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 17:44:57 +0000 (18:44 +0100)]
tests: initial version of the testsuite
This requires nose2 and can be run using make test
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 17:19:14 +0000 (18:19 +0100)]
nvmet: reject Namespace and Subsystems lookups without identifier
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 16:29:28 +0000 (17:29 +0100)]
nvmet: fix invalid access to self.subsystems in the Namespace constructor
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 15:00:53 +0000 (16:00 +0100)]
nvmet, nvmetcli: implement enable/disable semantics
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 13:59:01 +0000 (14:59 +0100)]
nvmetcli: improve error reporting
Report a nice error message in red instead of a python backtrace.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 24 Mar 2016 16:19:36 +0000 (17:19 +0100)]
nvmetcli: add description strings for the Namespace class
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 13:53:54 +0000 (14:53 +0100)]
nvmetcli: introduce UINode class
This allows calling saveconfig from each context, and factors some common
group handling code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 13:49:48 +0000 (14:49 +0100)]
nvmet: make attr_groups public for nvmetcli
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 13:53:37 +0000 (14:53 +0100)]
nvmetcli: remove the unused Controllers and Controller classes
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Fri, 25 Mar 2016 12:14:58 +0000 (13:14 +0100)]
nvmetcli: remove unused DEFAULT_SAVE_FILE defintion
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 24 Mar 2016 15:42:26 +0000 (16:42 +0100)]
Ensure internal buffers are flushed json after dumping json to disk
A power-outage, unexpected reboot, etc can lead to zero byte file
after a saveconfig.
Based on a rtslib-fb patch from Jon Magrini <jmagrini@redhat.com>.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 24 Mar 2016 15:23:47 +0000 (16:23 +0100)]
nvmet: fix up various docstrings
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 24 Mar 2016 15:20:57 +0000 (16:20 +0100)]
nvmetcli: fix up the default config file to agree with the documentation
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Thu, 24 Mar 2016 15:19:58 +0000 (16:19 +0100)]
nvmet: 0 is not a valid namespace ID
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 23 Mar 2016 20:16:16 +0000 (21:16 +0100)]
nvmet: load the nvmet module if not already loaded
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 23 Mar 2016 19:21:07 +0000 (20:21 +0100)]
nvmetcli: print a useful warning when not called as root user
Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig [Wed, 16 Mar 2016 16:44:56 +0000 (17:44 +0100)]
initial public release