As of Kea 3.1.2, before deleting an option definition, the server will first
check if there are any options specified that depend upon that defintion. If
so the delete command will be rejected with an error message explaining why.
-This default behavior may be overridden by ihcluding an optional ``force``
-parameter as shown below:
+This default behavior may be overridden by setting the optional ``force``
+parameter to true as shown below:
.. code-block:: json
"This command deletes a DHCPv4 option definition from the configuration database."
],
"cmd-comment": [
- "This command includes a list with exactly one option definition specification, comprising an option name and code. The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error."
+ "This command includes a list with exactly one option definition specification, comprising an option name and code. The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. As of Kea 3.1.2, before deleting an option definition, the server will first check if there are any options specified that depend upon that defintion. If so the delete command will be rejected with an error message explaining why. This default behavior may be overridden by setting the optional ``force`` parameter to true."
],
"cmd-syntax": [
"{",
" \"option-defs\": [ {",
" \"code\": <option code>,",
" \"space\": <option space>",
+ " \"force\": false",
" } ],",
" \"remote\": {",
" <specification of the database to connect to>",
"This command deletes a DHCPv6 option definition from the configuration database."
],
"cmd-comment": [
- "This command includes a list with exactly one option definition specification, comprising an option name and code. The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error."
+ "This command includes a list with exactly one option definition specification, comprising an option name and code. The ``server-tags`` list is mandatory and must contain exactly one server tag. Specifying an empty list, a value of ``null``, or multiple server tags will result in an error. As of Kea 3.1.2, before deleting an option definition, the server will first check if there are any options specified that depend upon that defintion. If so the delete command will be rejected with an error message explaining why. This default behavior may be overridden by setting the optional ``force`` parameter to true."
],
"cmd-syntax": [
"{",
" \"option-defs\": [ {",
" \"code\": <option code>,",
" \"space\": <option space>",
+ " \"force\": false",
" } ],",
" \"remote\": {",
" <specification of the database to connect to>",