Parcourir la source

[master] fixing example conf files

Wlodek Wencel il y a 10 ans
Parent
commit
d6d10a1e19

+ 1 - 1
doc/examples/ddns/sample1.json

@@ -105,7 +105,7 @@
             "name": "d2.sha1.key",
             "name": "d2.sha1.key",
             "algorithm": "HMAC-SHA1",
             "algorithm": "HMAC-SHA1",
             "secret": "hRrp29wzUv3uzSNRLlY68w=="
             "secret": "hRrp29wzUv3uzSNRLlY68w=="
-        }
+        },
         {
         {
             "name": "d2.sha512.key",
             "name": "d2.sha512.key",
             "algorithm": "HMAC-SHA512",
             "algorithm": "HMAC-SHA512",

+ 1 - 1
doc/examples/kea4/multiple-options.json

@@ -5,7 +5,7 @@
 
 
 {
 {
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 1 - 1
doc/examples/kea4/reservations.json

@@ -5,7 +5,7 @@
 
 
 {
 {
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 1 - 1
doc/examples/kea4/several-subnets.json

@@ -6,7 +6,7 @@
 
 
 {
 {
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 1 - 1
doc/examples/kea4/single-subnet.json

@@ -6,7 +6,7 @@
 
 
 {
 {
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 1 - 1
doc/examples/kea6/advanced.json

@@ -11,7 +11,7 @@
 
 
 {
 {
 # Kea is told to listen on ethX network interface only.
 # Kea is told to listen on ethX network interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 1 - 1
doc/examples/kea6/multiple-options.json

@@ -5,7 +5,7 @@
 
 
 {
 {
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 3 - 1
doc/examples/kea6/reservations.json

@@ -8,7 +8,9 @@
 
 
 {
 {
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces": [ "ethX" ],
+  "interfaces-config": {
+    "interfaces": [ "ethX" ]
+  },
 
 
 # We need to specify lease type. As of May 2014, three backends are supported:
 # We need to specify lease type. As of May 2014, three backends are supported:
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require
 # memfile, mysql and pgsql. We'll just use memfile, because it doesn't require

+ 1 - 1
doc/examples/kea6/several-subnets.json

@@ -6,7 +6,7 @@
 
 
 {
 {
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 1 - 1
doc/examples/kea6/simple.json

@@ -7,7 +7,7 @@
 
 
 { 
 { 
 # Kea is told to listen on ethX interface only.
 # Kea is told to listen on ethX interface only.
-  "interfaces-config:" {
+  "interfaces-config": {
     "interfaces": [ "ethX" ]
     "interfaces": [ "ethX" ]
   },
   },
 
 

+ 1 - 1
doc/examples/kea6/stateless.json

@@ -7,7 +7,7 @@
 
 
 {
 {
 "Dhcp6": {
 "Dhcp6": {
-    "interfaces-config:" {
+    "interfaces-config": {
         "interfaces": [ "ethX" ]
         "interfaces": [ "ethX" ]
     },
     },