From 6978cd142a4b264394457145ef3db72958f63a1f Mon Sep 17 00:00:00 2001
From: Christoph Hellwig <hch@lst.de>
Date: Thu, 24 Mar 2016 17:19:36 +0100
Subject: [PATCH] nvmetcli: add description strings for the Namespace class

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 nvmetcli | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/nvmetcli b/nvmetcli
index 7fe1215..95b36c9 100755
--- 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)
 
-- 
GitLab