Commit 621218be authored by Francis Dupont's avatar Francis Dupont
Browse files

[5061] Updated backends.json examples

parent 1cc60851
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
# dependencies or services running. # dependencies or services running.
# "lease-database": { # "lease-database": {
# "type": "memfile", # "type": "memfile",
# "persist": true,
# "lfc-interval": 3600 # "lfc-interval": 3600
# }, # },
...@@ -36,6 +37,7 @@ ...@@ -36,6 +37,7 @@
# "type": "mysql", # "type": "mysql",
# "name": "keatest", # "name": "keatest",
# "host": "localhost", # "host": "localhost",
# "port": 3306,
# "user": "keatest", # "user": "keatest",
# "password": "secret1", # "password": "secret1",
# "connect-timeout": 3 # "connect-timeout": 3
...@@ -52,8 +54,10 @@ ...@@ -52,8 +54,10 @@
# "type": "pgsql", # "type": "pgsql",
# "name": "keatest", # "name": "keatest",
# "host": "localhost", # "host": "localhost",
# "port": 5432,
# "user": "keatest", # "user": "keatest",
# "password": "secret1" # "password": "secret1",
# "connect-timeout": 3
# }, # },
# 4. CQL (Cassandra) backend. Leases will be stored in Cassandra database. Make # 4. CQL (Cassandra) backend. Leases will be stored in Cassandra database. Make
...@@ -66,7 +70,8 @@ ...@@ -66,7 +70,8 @@
# "lease-database": { # "lease-database": {
# "type": "cql", # "type": "cql",
# "keyspace": "keatest", # "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. # Addresses will be assigned with a lifetime of 4000 seconds.
......
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
# This is the easiest backend to use as it does not require any extra # This is the easiest backend to use as it does not require any extra
# dependencies or services running. # dependencies or services running.
"lease-database": { "lease-database": {
"type": "memfile" "type": "memfile",
"persist": true,
"lfc-interval": 3600
}, },
# 2. MySQL backend. Leases will be stored in MySQL database. Make sure it # 2. MySQL backend. Leases will be stored in MySQL database. Make sure it
...@@ -35,6 +37,7 @@ ...@@ -35,6 +37,7 @@
# "type": "mysql", # "type": "mysql",
# "name": "keatest", # "name": "keatest",
# "host": "localhost", # "host": "localhost",
# "port": 3306,
# "user": "keatest", # "user": "keatest",
# "password": "secret1", # "password": "secret1",
# "connect-timeout": 3 # "connect-timeout": 3
...@@ -51,8 +54,10 @@ ...@@ -51,8 +54,10 @@
# "type": "pgsql", # "type": "pgsql",
# "name": "keatest", # "name": "keatest",
# "host": "localhost", # "host": "localhost",
# "port": 5432,
# "user": "keatest", # "user": "keatest",
# "password": "secret1" # "password": "secret1",
# "connect-timeout": 3
# }, # },
# 4. CQL (Cassandra) backend. Leases will be stored in Cassandra database. Make # 4. CQL (Cassandra) backend. Leases will be stored in Cassandra database. Make
...@@ -65,7 +70,8 @@ ...@@ -65,7 +70,8 @@
# "lease-database": { # "lease-database": {
# "type": "cql", # "type": "cql",
# "keyspace": "keatest", # "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 # Addresses will be assigned with preferred and valid lifetimes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment