# dependencies or services running.
# "lease-database": {
# "type": "memfile",
+# "persist": true,
# "lfc-interval": 3600
# },
# "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
# "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.
# 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
# "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
# "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