Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
22fe2bf8
Commit
22fe2bf8
authored
Dec 03, 2015
by
Shawn Routhier
Browse files
Merge branch 'trac4218' Remove .text operator form classification documentation
parents
e05819fb
e1870780
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
22fe2bf8
106x. [doc] sar
Remove description of option[xx].text operator from classification
until it's use becomes clearer.
(Trac #4218, git TBD)
1065. [func] tomek
Configuration parameters for setting up external hosts storage
are now implemented. This feature is considered experimental
...
...
doc/guide/classify.xml
View file @
22fe2bf8
...
...
@@ -160,7 +160,9 @@
<row><entry>
String
</entry><entry>
'example'
</entry><entry>
A string
</entry></row>
<row><entry>
Hex String
</entry><entry>
0XABCD
</entry><entry>
A hexadecimal string
</entry></row>
<row><entry>
Integer
</entry><entry>
123
</entry><entry>
An integer value
</entry></row>
<!-- Text option not fully defined yet, leave it out
<row><entry>Option Text</entry><entry>option[code].text</entry><entry>The value of the option with code "code" from the packet as text</entry></row>
-->
<row><entry>
Option Hex
</entry><entry>
option[code].hex
</entry><entry>
The value of the option with code "code" from the packet as hex
</entry></row>
</tbody>
</tgroup>
...
...
@@ -176,11 +178,10 @@
</para>
<para>
"option[code]" extracts the value of the option with the given code
"option[code]
.hex
" extracts the value of the option with the given code
from the incoming packet. If the packet doesn't contain the option, it
returns the empty string. The string can be presented as text or hex
with the ".text" or ".hex" modifiers. In both cases only the payload
is presented; the type code and length fields are not included.
returns the empty string. The string is presented as a byte string of
the option payload without the type code or length fields.
</para>
<para>
...
...
@@ -269,7 +270,7 @@
"client-classes": [
<userinput>
{
"name": "Client_foo",
"test": "substring(option[61].
t
ex
t
,0,3) == 'foo'",
"test": "substring(option[61].
h
ex,0,3) == 'foo'",
"option-data": [
{
"name": "domain-name-servers",
...
...
@@ -335,7 +336,7 @@
"client-classes": [
{
"name": "Client_foo",
"test": "substring(option[61].
t
ex
t
,0,3) == 'foo'",
"test": "substring(option[61].
h
ex,0,3) == 'foo'",
"option-data": [
{
"name": "domain-name-servers",
...
...
doc/guide/dhcp4-srv.xml
View file @
22fe2bf8
...
...
@@ -1738,7 +1738,7 @@ It is merely echoed by the server
"client-classes": [
{
<userinput>
"name": "Client_foo",
"test": "substring(option[61].
t
ex
t
,0,3) == 'foo'",
"test": "substring(option[61].
h
ex,0,3) == 'foo'",
"option-data": [
{
"name": "domain-name-servers",
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment