Commit 215d84f0 authored by Thomas Markwalder's avatar Thomas Markwalder

[#761,!447] Updated doc and added ChangeLog

parent 65d268ce
1645. [func] tmark
Binary option data may now be specified as a single-quoted
text string, within double quotes: "'some text'". This is
handy for binary options that convey text such as urls or
file names.
(Gitlab #761,!447, git TBD)
1644. [doc] marcin, fdupont
Added a warning about class dependence on built-in classes.
(Gitlab #727,!466, git 9977d2927cf9b9cf1cd13de30aa5551ca900165b)
......
......@@ -1401,6 +1401,27 @@ Care should be taken to use proper encoding when using hexadecimal
format; Kea's ability to validate data correctness in hexadecimal is
limited.
As of Kea 1.6.0, it is also possible to specify data for binary options as
a single-quoted text string within double quotes as shown (note that
``csv-format`` must be set to false):
::
"Dhcp4": {
"option-data": [
{
"name": "user-class",
"code": 77,
"space": "dhcp4",
"csv-format": false,
"data": "'convert this text to binary'"
},
...
],
...
}
Most of the parameters in the "option-data" structure are optional and
can be omitted in some circumstances, as discussed in :ref:`dhcp4-option-data-defaults`.
......
......@@ -1162,6 +1162,26 @@ Care should be taken to use proper encoding when using hexadecimal
format; Kea's ability to validate data correctness in hexadecimal is
limited.
As of Kea 1.6.0, it is also possible to specify data for binary options as
a single-quoted text string within double quotes as shown (note that
``csv-format`` must be set to false):
::
"Dhcp6": {
"option-data": [
{
"name": "subscriber-id",
"code": 38,
"space": "dhcp6",
"csv-format": false,
"data": "'convert this text to binary'"
},
...
],
...
}
Most of the parameters in the "option-data" structure are optional and
can be omitted in some circumstances, as discussed in :ref:`dhcp6-option-data-defaults`.
Only one of name or code
......
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