mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#761,!447] Updated doc and added ChangeLog
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user