Commit c7bf14bb authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[#10,!3] Fixing minor mistakes

     - 80% were simple trailing commas
     - one or two typos
     - our parser doesn't like escaped single quote. it's a bug in our
       parser code, but until it is fixed, I've removed the escapes.
       \' => '
parent b03227ed
......@@ -17,7 +17,7 @@
\"client-classes6\": [ ],
\"option-data4\": [ ],
\"option-data6\": [ ],
\"next-server\": "192.0.0.2",
\"next-server\": \"192.0.0.2\",
\"server-hostname\": \"server-hostname.example.org\",
\"boot-file-name\": \"bootfile.efi\",
\"host-id\": 0
......@@ -36,10 +36,10 @@
\"client-classes6\": [ ],
\"option-data4\": [ ],
\"option-data6\": [ ],
\"next-server\": "0.0.0.0",
\"next-server\": \"0.0.0.0\",
\"server-hostname\": \"\",
\"boot-file-name\": \"\",
\"host-id\": 0
}
}",
}
\ No newline at end of file
}"
}
......@@ -8,5 +8,5 @@
"cmd-syntax": "{
\"command\": \"cache-load\",
\"arguments\": \"/tmp/kea-host-cache.json\"
}",
}"
}
......@@ -18,5 +18,5 @@
\"duid\": \"00:01:ab:cd:f0:a1:c2:d3:e4\",
\"subnet-id\": 123
}
}",
}
\ No newline at end of file
}"
}
......@@ -6,5 +6,5 @@
"avail": "1.2.0",
"cmd-syntax": "{
\"command\": \"config-reload\"
}",
}"
}
......@@ -18,5 +18,5 @@
or
{\"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }",
}
\ No newline at end of file
{\"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
}
......@@ -18,5 +18,5 @@
or
{\"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }",
}
\ No newline at end of file
{\"result\": 1, \"text\": \"unsupported parameter: BOGUS (<string>:16:26)\" }"
}
......@@ -7,7 +7,7 @@
"cmd-syntax": "{
\"command\": \"config-write\",
\"arguments\": {
\"filename": \"config-modified-2017-03-15.json\"
\"filename\": \"config-modified-2017-03-15.json\"
}
}",
}
\ No newline at end of file
}"
}
......@@ -9,5 +9,5 @@
\"arguments\": {
\"max-period\": 20
}
}",
}
\ No newline at end of file
}"
}
......@@ -6,5 +6,5 @@
"avail": "1.4.0",
"cmd-syntax": "{
\"command\": \"dhcp-enable\"
}",
}
\ No newline at end of file
}"
}
......@@ -11,5 +11,5 @@
\"ip-address\": \"192.0.2.202\",
\"hw-address\": \"1a:1b:1c:1d:1e:1f\"
}
}",
}
\ No newline at end of file
}"
}
......@@ -11,5 +11,5 @@
\"ip-address\": \"192.0.2.202\"
}
}",
"cmd-comment": "leaseX-del returns a result that indicates a outcome of the operation. It has one of the following values: 0 (success), 1 (error) or 3 (empty). The empty result means that a query has been completed properly, but the object (a lease in this case) has not been found.",
}
\ No newline at end of file
"cmd-comment": "leaseX-del returns a result that indicates a outcome of the operation. It has one of the following values: 0 (success), 1 (error) or 3 (empty). The empty result means that a query has been completed properly, but the object (a lease in this case) has not been found."
}
......@@ -8,5 +8,5 @@
"cmd-syntax": "{
\"command\": \"lease4-get-all\"
}",
"cmd-comment": "The lease4-get-all command may result in very large responses.",
}
\ No newline at end of file
"cmd-comment": "The lease4-get-all command may result in very large responses."
}
......@@ -28,4 +28,4 @@
\"text\": \"IPv4 lease found.\"
}",
"resp-comment": "lease4-get returns a result that indicates a result of the operation and lease details, if found. It has one of the following values: 0 (success), 1 (error) or 2 (empty)."
}
\ No newline at end of file
}
......@@ -14,5 +14,5 @@
\"subnet-id\": 44,
\"force-create\": true
}
}",
}
\ No newline at end of file
}"
}
......@@ -10,6 +10,5 @@
\"arguments\": {
\"subnet-id\": 44
}
}"
}
",
}
\ No newline at end of file
......@@ -16,5 +16,5 @@
}",
"cmd-comment": "lease6-add can be also used to add leases for IPv6 prefixes..",
"resp-syntax": "{ \"result\": 0, \"text\": \"Lease added.\" }
{ \"result\": 1, \"text\": \"missing parameter 'ip-address' (<string>:3:19)\" }",
}
\ No newline at end of file
{ \"result\": 1, \"text\": \"missing parameter 'ip-address' (<string>:3:19)\" }"
}
......@@ -2,7 +2,7 @@
"name": "lease6-del",
"brief": "lease6-del can be used to delete a lease from the lease database.",
"description": "See <xref linkend=\"idp61\"/>",
"support": [ "kea-dhcp4", "kea-dhcp6"" ],
"support": [ "kea-dhcp4", "kea-dhcp6" ],
"avail": "1.3.0",
"hook": "lease_cmds",
"cmd-syntax": "{
......@@ -11,5 +11,5 @@
\"ip-address\": \"192.0.2.202\"
}
}",
"cmd-comment": "lease6-del returns a result that indicates a outcome of the operation. It has one of the following values: 0 (success), 1 (error) or 3 (empty).",
}
\ No newline at end of file
"cmd-comment": "lease6-del returns a result that indicates a outcome of the operation. It has one of the following values: 0 (success), 1 (error) or 3 (empty)."
}
......@@ -16,5 +16,5 @@
\"force-create\": false
}
}
",
}
\ No newline at end of file
"
}
......@@ -11,5 +11,5 @@
\"subnet-id\": 66
}
}",
"cmd-comment": "Note: not all backends support this command.",
}
\ No newline at end of file
"cmd-comment": "Note: not all backends support this command."
}
......@@ -9,5 +9,5 @@
\"arguments\": {
\"remove\": true
}
}",
}
\ No newline at end of file
}"
}
Markdown is supported
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