Adding upstream version 2.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b76282b820
commit
7422bc4c2f
35 changed files with 364 additions and 122 deletions
34
utils/nvmet/auth.conf
Normal file
34
utils/nvmet/auth.conf
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Config file format: Python, i.e. dict(), list(), int, str, etc...
|
||||
# port ids (id) are integers 0...N
|
||||
# namespaces are integers 0..N
|
||||
# subsysnqn can be integers or strings
|
||||
{
|
||||
'ports': [
|
||||
{
|
||||
'id': 1,
|
||||
#'adrfam': 'ipv6',
|
||||
#'traddr': '::',
|
||||
'adrfam': 'ipv4',
|
||||
'traddr': '0.0.0.0',
|
||||
'trsvcid': 4420,
|
||||
'trtype': 'tcp',
|
||||
}
|
||||
],
|
||||
|
||||
'subsystems': [
|
||||
{
|
||||
'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34ae8e28',
|
||||
'port': 1,
|
||||
'namespaces': [1],
|
||||
'allowed_hosts': [
|
||||
{
|
||||
# Must match with the NQN and key configured on the host
|
||||
# Key was generated with:
|
||||
# nvme gen-dhchap-key ...
|
||||
'nqn': 'nqn.2014-08.org.nvmexpress:uuid:46ba5037-7ce5-41fa-9452-48477bf00080',
|
||||
'key': 'DHHC-1:00:2kx1hDTUPdvwtxHYUXFRl8pzn5hYZH7K3Z77IYM4hNN6/fQT:',
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue