- Apr 18, 2017
-
-
James Smart authored
Add fc.json file for example FC configuration. Small text update for FC in examples/documentation Signed-off-by:
James Smart <james.smart@broadcom.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Yi Zhang authored
The saveconfig operation will be failed as the /etc/nvmet dir doesn't exist by default, so create it first before save operation. $ ./nvmetcli /> saveconfig [Errno 2] No such file or directory: '/etc/nvmet/config.json.temp' Signed-off-by:
Yi Zhang <yizhan@redhat.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Apr 06, 2017
-
-
Mauro S. M. Rodrigues authored
According to the README, one can install nvmetcli through setup.py. When one tries this though, the nvmetcli isn't configured in system's $PATH. Adding nvmetcli to scripts argument in setup call does half of the job. Then, in order to install it in the correct location in a maintanable way it's introduced setup.cfg file which contains 'install_scripts' parameter for 'install' command set to /usr/sbin. Nothing changes on the .deb package creation, the .rpm package process in the other hand was made simpler by lines that are now done by setup.py + setup.cfg settings. Signed-off-by:
Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Mar 30, 2017
-
-
Mauro S. M. Rodrigues authored
It's not possible to create or list a Referral under Port entity, because Referral class is not imported and thus it fails: /ports/1/referrals> ls returning "'module' object has no attribute 'Referral'". This is caused by changes introduced in: a21ebd54 ("nvmetcli: Fix nvmet import"). This patch also fixes the attribute type helper expected for Referral's portid attribute. It was 'int', causing the system to show error messages like: "'UIReferralNode' object has no attribute 'ui_type_int'". The correct type is 'number'. Reviewed-by:
Guilherme G. <Piccoli<gpiccoli@linux.vnet.ibm.com> Reviewed-by:
Sagi Grimberg <sagi@grimberg.me> Signed-off-by:
Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Mauro S. M. Rodrigues authored
Operations against Port and Host entities are broken. When performing operations like the follow: /ports> create 1 /hosts> create 1 nvmetcli fails, saying the object doesn't have the attribute we're trying to access, for instance: 'module' object has no attribute 'Port' This patch fixes this issue by importing the classes Port and Host in nvmet/__init__.py which was forgotten during the follow change: a21ebd54 ("nvmetcli: Fix nvmet import"). Tested-by:
Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com> Tested-by:
Sagi Grimberg <sagi@grimberg.m> Signed-off-by:
Mauro S. M. Rodrigues <maurosr@linux.vnet.ibm.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Feb 17, 2017
-
-
Christoph Hellwig authored
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Dec 01, 2016
-
-
Christoph Hellwig authored
Most usage information has moved to the manpage. Also add a blurb that bugs reports should go to the linux-nvme list. Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Jay Freyensee authored
Signed-off-by:
Jay Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Jay Freyensee authored
From experience, if python-six isn't installed on a Fedora system, hard-to-decipher errors can occur trying to use nvmetcli. Signed-off-by:
Jay Freyensee <james.p.freyensee@intel.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Oct 13, 2016
-
-
Andy Grover authored
We should just need to import nvmet, which will run __init__.py and import just the public things from nvmet/nvme.py. Signed-off-by:
Andy Grover <agrover@redhat.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Andy Grover authored
This is supported by Python 2.7 and later. Signed-off-by:
Andy Grover <agrover@redhat.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Sep 10, 2016
-
-
Jay Freyensee authored
Some blurbs on discovery and the connection between using nvmetcli to set up an NVMe target and what gets seen by an NVMe Host when accessing the discovery controller. Signed-off-by:
Jay Freyensee <james_p_freyensee@linux.intel.com>
-
- Aug 01, 2016
-
-
Jay Freyensee authored
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>
-
- Jun 24, 2016
-
-
Jay Freyensee authored
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>
-
- Jun 02, 2016
-
-
Christoph Hellwig authored
Build and install tested on Fedora 23. Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Jun 01, 2016
-
-
Christoph Hellwig authored
This restores the configuration when started and clears it when shut down. Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
no need to clutter /etc directly. Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Seems like our code examples aren't valid markdown.. Reported-by:
Steve Wise <swise@chelsio.com> Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- May 29, 2016
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- May 26, 2016
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- May 25, 2016
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- May 23, 2016
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Apr 03, 2016
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
We only want to split at the first underscore, not at any. Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
- Mar 26, 2016
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
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>
-
- Mar 25, 2016
-
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
This requires nose2 and can be run using make test Signed-off-by:
Christoph Hellwig <hch@lst.de>
-
Christoph Hellwig authored
Signed-off-by:
Christoph Hellwig <hch@lst.de>
-