summaryrefslogtreecommitdiffstats
path: root/conf/alt-servers
diff options
context:
space:
mode:
authorSimon Rettberg2019-09-05 16:06:18 +0200
committerSimon Rettberg2019-09-05 16:06:18 +0200
commit86667e36996c3ca414d760d6be47cd8b0d786994 (patch)
treed0e4962861df090ba8d5f113dbc31e107137ae0e /conf/alt-servers
parent[SERVER] Support limiting alt-servers to specific namespace (diff)
downloaddnbd3-86667e36996c3ca414d760d6be47cd8b0d786994.tar.gz
dnbd3-86667e36996c3ca414d760d6be47cd8b0d786994.tar.xz
dnbd3-86667e36996c3ca414d760d6be47cd8b0d786994.zip
[SERVER] Update sample config
Diffstat (limited to 'conf/alt-servers')
-rw-r--r--conf/alt-servers17
1 files changed, 14 insertions, 3 deletions
diff --git a/conf/alt-servers b/conf/alt-servers
index fd2f2ec..1d5d39e 100644
--- a/conf/alt-servers
+++ b/conf/alt-servers
@@ -1,4 +1,15 @@
-192.168.100.10 Some alt server
-+192.168.100.100 My first alt server that will not be used for replication
--192.168.100.50 Super sectret alt server that will be used for replication, but clients don't know about it
+[192.168.100.10]
+comment=Some alt server
+[192.168.100.100]
+comment=My first alt server that will not be used for replication
+for=client
+
+[192.168.100.50]
+comment=Super sectret alt server that will be used for replication, but clients don't know about it
+for=replication
+
+[192.168.100.123]
+comment=Also just for replication, and only for images starting with foobar/baz/
+namespace=foobar/baz/
+for=replication