]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1976] More lettuce tests' configuration updates
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Fri, 13 Jul 2012 09:38:29 +0000 (11:38 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Fri, 13 Jul 2012 09:38:29 +0000 (11:38 +0200)
tests/lettuce/configurations/ddns/ddns.config.orig
tests/lettuce/configurations/ddns/noddns.config.orig
tests/lettuce/configurations/example.org.config.orig
tests/lettuce/configurations/example.org.inmem.config
tests/lettuce/configurations/example2.org.config
tests/lettuce/configurations/inmemory_over_sqlite3/secondary.conf
tests/lettuce/configurations/no_db_file.config
tests/lettuce/configurations/xfrin/inmem_slave.conf

index 80b92f79dfd90dc6efa05ffe55f41892b580b341..93e7c1c8e39df27688a3eac671c9e0444187428a 100644 (file)
             }
         ]
     },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "sqlite3",
+                    "params": {
+                        "database_file": "data/ddns/example.org.sqlite3"
+                    }
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-xfrout": {
index bf89537b4bc25baee33cf4a7ee070e835bfc0f5d..7a9a947989acb3723647b04f54aea98448b2f655 100644 (file)
                 "port": 47806,
                 "address": "127.0.0.1"
             }
-        ],
-        "datasources": [
-            {
-                "type": "memory",
-                "class": "IN",
-                "zones": [
-                    {
-                        "origin": "example.org",
-                        "filetype": "sqlite3",
-                        "file": "data/ddns/example.org.sqlite3"
-                    }
-                ]
-            }
         ]
     },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "sqlite3",
+                    "params": {
+                        "database_file": "data/ddns/example.org.sqlite3"
+                    },
+                    "cache-enable": true,
+                    "cache-zones": [
+                        "example.org"
+                    ]
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-xfrout": {"kind": "dispensable"},
index fadb3e209a989eec78942019dd831ff88c112688..c5545ed433b3ff9cc0127aacea02a97f89c73f78 100644 (file)
             "address": "127.0.0.1"
         } ]
     },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "sqlite3",
+                    "params": {
+                        "database_file": "data/example.org.sqlite3"
+                    }
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },
index 6418c65d937e7cfd4a683976167ae6d1744e043a..7ea34b356b4d5686c454a03414618d3a8d63bc9c 100644 (file)
@@ -1,4 +1,31 @@
-{"version": 2, "Logging": {"loggers": [{"severity": "DEBUG", "name": "*", "debuglevel": 99}]}, "Auth": {"database_file": "", "listen_on": [{"port": 47806, "address": "127.0.0.1"}], "datasources": [{"zones": [{"origin": "example.org", "file": "data/example.org"}], "type": "memory"}]},
+{
+    "version": 2,
+    "Logging": {
+        "loggers": [{
+            "severity": "DEBUG",
+            "name": "*",
+            "debuglevel": 99
+        }]
+    },
+    "Auth": {
+        "listen_on": [{
+            "port": 47806,
+            "address": "127.0.0.1"
+        }]
+    },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "MasterFiles",
+                    "cache-enable": true,
+                    "params": {
+                        "example.org": "data/example.org"
+                    }
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },
index 25314dc69ddbabd36766f3e90b7bb9d6e70a3196..eeb9733454923edf42372e4f54218762d3620d3f 100644 (file)
             "address": "::1"
         } ]
     },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "sqlite3",
+                    "params": {
+                        "database_file": "data/example.org.sqlite3"
+                    }
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },
index 8571015c925a5811803ec3d34e12d55f6bf02dc6..107c53fa12564f675cd77de8e8290fb1246c58f1 100644 (file)
@@ -8,19 +8,27 @@
         } ]
     },
     "Auth": {
-        "datasources": [ {
-            "type": "memory",
-            "zones": [ {
-                "origin": "example.org",
-                "file": "data/example.org.sqlite3",
-               "filetype": "sqlite3"
-            } ]
-       } ],
         "listen_on": [ {
             "port": 47806,
             "address": "127.0.0.1"
         } ]
     },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "sqlite3",
+                    "params": {
+                        "database_file": "data/example.org.sqlite3"
+                    },
+                    "cache-enable": true,
+                    "cache-zones": [
+                        "example.org"
+                    ]
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },
index fc0a25d9ade45392f44fcff7ea3ab20a3282683f..bc4ff5fa6a97a88359200601870862b7b1029df4 100644 (file)
             "address": "127.0.0.1"
         } ]
     },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "sqlite3",
+                    "params": {
+                        "database_file": "data/test_nonexistent_db.sqlite3"
+                    }
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },
index a6d88ee0131cb1dfcc9aa6e616aee9221a0128a0..0e735da29b0d42addb1dc91054a7d7b9816b680f 100644 (file)
@@ -9,20 +9,27 @@
     },
     "Auth": {
         "database_file": "data/inmem-xfrin.sqlite3",
-        "datasources": [ {
-            "type": "memory",
-            "class": "IN",
-            "zones": [ {
-                "origin": "example.org",
-                "file": "data/inmem-xfrin.sqlite3",
-                "filetype": "sqlite3"
-            } ]
-        } ],
         "listen_on": [ {
             "port": 47806,
             "address": "127.0.0.1"
         } ]
     },
+    "data_sources": {
+        "classes": {
+            "IN": [
+                {
+                    "type": "sqlite3",
+                    "params": {
+                        "database_file": "data/inmem-xfrin.sqlite3"
+                    },
+                    "cache-enable": true,
+                    "cache-zones": [
+                        "example.org"
+                    ]
+                }
+            ]
+        }
+    },
     "Boss": {
         "components": {
             "b10-auth": { "kind": "needed", "special": "auth" },