Skip to content
Snippets Groups Projects
Commit 6978cd14 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

nvmetcli: add description strings for the Namespace class


Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 59a4b29a
No related branches found
No related tags found
No related merge requests found
...@@ -167,6 +167,11 @@ class UINamespacesNode(UINode): ...@@ -167,6 +167,11 @@ class UINamespacesNode(UINode):
class UINamespaceNode(UINode): class UINamespaceNode(UINode):
ui_desc_device = {
'path': ('string', 'Backing device path.'),
'nguid': ('string', 'Namspace Global Unique Identifier.'),
}
def __init__(self, parent, cfnode): def __init__(self, parent, cfnode):
UINode.__init__(self, str(cfnode.nsid), parent, cfnode) UINode.__init__(self, str(cfnode.nsid), parent, cfnode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment