]> www.infradead.org Git - users/hch/nvmetcli.git/commitdiff
nvmetcli: add description strings for the Namespace class
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Mar 2016 16:19:36 +0000 (17:19 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Mar 2016 15:01:49 +0000 (16:01 +0100)
Signed-off-by: Christoph Hellwig <hch@lst.de>
nvmetcli

index 7fe12152153ca17d4c6995613a4f7e7f8b5258a9..95b36c96edf16266dc80cad959a466d497ea7a30 100755 (executable)
--- a/nvmetcli
+++ b/nvmetcli
@@ -167,6 +167,11 @@ class UINamespacesNode(UINode):
 
 
 class UINamespaceNode(UINode):
+    ui_desc_device = {
+        'path': ('string', 'Backing device path.'),
+        'nguid': ('string', 'Namspace Global Unique Identifier.'),
+    }
+
     def __init__(self, parent, cfnode):
         UINode.__init__(self, str(cfnode.nsid), parent, cfnode)