summaryrefslogtreecommitdiffstats
path: root/utils/nvmet/nvmet.conf
blob: d3288e935c119b7694e5b86dfed4cca6ead609c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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': 8009,
            'trtype': 'tcp',
        }
    ],

    'subsystems': [
        {
            'subsysnqn': 'nqn.1988-11.com.dell:PowerSANxxx:01:20210225100113-454f73093ceb4847a7bdfc6e34ae8e28',
            'port': 1,
            'namespaces': [1]
        },
        {
            'subsysnqn': 'starfleet',
            'port': 1,
            'namespaces': [1, 2]
        },
        {
            'subsysnqn': 'klingons',
            'port': 1,
            'namespaces': [1, 2, 3]
        },
    ]
}