]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5061] Updated backends.json examples
authorFrancis Dupont <fdupont@isc.org>
Sat, 28 Jan 2017 21:51:45 +0000 (22:51 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sat, 28 Jan 2017 21:51:45 +0000 (22:51 +0100)
doc/examples/kea4/backends.json
doc/examples/kea6/backends.json

index f097d3b0554726c4b2ab527a4d04e6419dbaac88..5bafec0e7f5bdb061d21a9307ae11caa8e08da18 100644 (file)
@@ -22,6 +22,7 @@
 # dependencies or services running.
 #  "lease-database": {
 #      "type": "memfile",
+#      "persist": true,
 #      "lfc-interval": 3600
 #  },
 
@@ -36,6 +37,7 @@
 #      "type": "mysql",
 #      "name": "keatest",
 #      "host": "localhost",
+#      "port": 3306,
 #      "user": "keatest",
 #      "password": "secret1",
 #      "connect-timeout": 3
 #      "type": "pgsql",
 #      "name": "keatest",
 #      "host": "localhost",
+#      "port": 5432,
 #      "user": "keatest",
-#      "password": "secret1"
+#      "password": "secret1",
+#      "connect-timeout": 3
 #  },
 
 # 4. CQL (Cassandra) backend. Leases will be stored in Cassandra database. Make
@@ -66,7 +70,8 @@
 #  "lease-database": {
 #      "type": "cql",
 #      "keyspace": "keatest",
-#      "contact_points": "192.0.2.1,192.0.2.2,192.0.2.3"
+#      "contact_points": "192.0.2.1,192.0.2.2,192.0.2.3",
+#      "port": 9042
 #  },
 
 # Addresses will be assigned with a lifetime of 4000 seconds.
index b30cf2340b87f17bd75b754c2deda6347e126322..d772772006d78ae5c364cce54a851780d1d2bb1d 100644 (file)
@@ -21,7 +21,9 @@
 # This is the easiest backend to use as it does not require any extra
 # dependencies or services running.
   "lease-database": {
-      "type": "memfile"
+      "type": "memfile",
+      "persist": true,
+      "lfc-interval": 3600
   },
 
 # 2. MySQL backend. Leases will be stored in MySQL database. Make sure it
@@ -35,6 +37,7 @@
 #      "type": "mysql",
 #      "name": "keatest",
 #      "host": "localhost",
+#      "port": 3306,
 #      "user": "keatest",
 #      "password": "secret1",
 #      "connect-timeout": 3
 #      "type": "pgsql",
 #      "name": "keatest",
 #      "host": "localhost",
+#      "port": 5432,
 #      "user": "keatest",
-#      "password": "secret1"
+#      "password": "secret1",
+#      "connect-timeout": 3
 #  },
 
 # 4. CQL (Cassandra) backend. Leases will be stored in Cassandra database. Make
@@ -65,7 +70,8 @@
 #  "lease-database": {
 #      "type": "cql",
 #      "keyspace": "keatest",
-#      "contact_points": "192.0.2.1,192.0.2.2,192.0.2.3"
+#      "contact_points": "192.0.2.1,192.0.2.2,192.0.2.3",
+#      "port": 9042
 #  },
 
 # Addresses will be assigned with preferred and valid lifetimes