summaryrefslogtreecommitdiffstats
path: root/utils/nvmet/nvmet.conf
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nvmet/nvmet.conf')
-rw-r--r--utils/nvmet/nvmet.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/utils/nvmet/nvmet.conf b/utils/nvmet/nvmet.conf
new file mode 100644
index 0000000..d3288e9
--- /dev/null
+++ b/utils/nvmet/nvmet.conf
@@ -0,0 +1,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]
+ },
+ ]
+}