Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nmvetcli-mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KSZK
Sysadmin
nmvetcli-mirror
Commits
5ad1da24
Commit
5ad1da24
authored
8 years ago
by
Christoph Hellwig
Browse files
Options
Downloads
Patches
Plain Diff
nvmetcli: add descriptions for all configfs attributes
Signed-off-by:
Christoph Hellwig
<
hch@lst.de
>
parent
baaca691
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nvmetcli
+21
-0
21 additions, 0 deletions
nvmetcli
with
21 additions
and
0 deletions
nvmetcli
+
21
−
0
View file @
5ad1da24
...
...
@@ -146,6 +146,10 @@ class UISubsystemsNode(UINode):
class
UISubsystemNode
(
UINode
):
ui_desc_attr
=
{
'
allow_any_host
'
:
(
'
string
'
,
'
Allow access by any host if set to 1
'
),
}
def
__init__
(
self
,
parent
,
cfnode
):
UINode
.
__init__
(
self
,
cfnode
.
nqn
,
parent
,
cfnode
)
...
...
@@ -336,6 +340,14 @@ class UIPortsNode(UINode):
class
UIPortNode
(
UINode
):
ui_desc_addr
=
{
'
adrfam
'
:
(
'
string
'
,
'
Address Family (e.g. ipv4)
'
),
'
treq
'
:
(
'
string
'
,
'
Transport Security Requirements
'
),
'
traddr
'
:
(
'
string
'
,
'
Transport Address (e.g. IP Address)
'
),
'
trsvcid
'
:
(
'
string
'
,
'
Transport Service ID (e.g. IP Port)
'
),
'
trtype
'
:
(
'
string
'
,
'
Transport Type (e.g. rdma or loop)
'
),
}
def
__init__
(
self
,
parent
,
cfnode
):
UINode
.
__init__
(
self
,
str
(
cfnode
.
portid
),
parent
,
cfnode
)
UIPortSubsystemsNode
(
self
)
...
...
@@ -442,6 +454,15 @@ class UIReferralsNode(UINode):
class
UIReferralNode
(
UINode
):
ui_desc_addr
=
{
'
adrfam
'
:
(
'
string
'
,
'
Address Family (e.g. ipv4)
'
),
'
treq
'
:
(
'
string
'
,
'
Transport Security Requirements
'
),
'
traddr
'
:
(
'
string
'
,
'
Transport Address (e.g. IP Address)
'
),
'
trsvcid
'
:
(
'
string
'
,
'
Transport Service ID (e.g. IP Port)
'
),
'
trtype
'
:
(
'
string
'
,
'
Transport Type (e.g. rdma or loop)
'
),
'
portid
'
:
(
'
int
'
,
'
Port identifier
'
),
}
def
__init__
(
self
,
parent
,
cfnode
):
UINode
.
__init__
(
self
,
cfnode
.
name
,
parent
,
cfnode
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment