summaryrefslogtreecommitdiffstats
path: root/src/bin/perfdhcp/perfdhcp.xml
diff options
context:
space:
mode:
authorTomek Mrugalski <tomasz@isc.org>2018-04-24 10:02:04 +0200
committerTomek Mrugalski <tomasz@isc.org>2018-05-24 15:15:46 +0200
commit7c70e7783650cc6cf250e53c3c82fe96faf2a6ea (patch)
tree9ebb115b15603725e8855ed6a72e50fd4adc025f /src/bin/perfdhcp/perfdhcp.xml
parent[master] Date updated in kea-shell guide (diff)
downloadkea-7c70e7783650cc6cf250e53c3c82fe96faf2a6ea.tar.xz
kea-7c70e7783650cc6cf250e53c3c82fe96faf2a6ea.zip
[github77] -o code,hexstring is now supported in perfdhcp
Diffstat (limited to 'src/bin/perfdhcp/perfdhcp.xml')
-rw-r--r--src/bin/perfdhcp/perfdhcp.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/bin/perfdhcp/perfdhcp.xml b/src/bin/perfdhcp/perfdhcp.xml
index 95d47a828a..c7d489548b 100644
--- a/src/bin/perfdhcp/perfdhcp.xml
+++ b/src/bin/perfdhcp/perfdhcp.xml
@@ -65,6 +65,7 @@
<arg choice="opt" rep="norepeat"><option>-M <replaceable class="parameter">mac-list-file</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-n <replaceable class="parameter">num-request</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-O <replaceable class="parameter">random-offset</replaceable></option></arg>
+ <arg choice="opt" rep="norepeat"><option>-o <replaceable class="parameter">code,hexstring</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-p <replaceable class="parameter">test-period</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-P <replaceable class="parameter">preload</replaceable></option></arg>
<arg choice="opt" rep="norepeat"><option>-r <replaceable class="parameter">rate</replaceable></option></arg>
@@ -416,6 +417,28 @@
</varlistentry>
<varlistentry>
+ <term><option>-o <replaceable class="parameter">code,hexstring</replaceable></option></term>
+ <listitem>
+ <para>
+ This forces perfdhcp to insert specified extra option (or
+ options if used several times) into packets being
+ transmitted. The code specifies option code and the
+ hexstring is a hexadecimal string that defines the content
+ of the option. Care should be taken as perfdhcp does not
+ offer any kind of logic behind those options. They're
+ simply inserted into packets being sent as is. Be careful
+ not to insert options that are already inserted. For
+ example, to insert client class identifier (option code
+ 60) with a string 'docsis', you can use -o
+ 60,646f63736973. The <option>-o</option> may be used
+ multiple times. It is necessary to specify protocol family
+ (either <option>-4</option> or <option>-6</option>) before
+ using <option>-o</option>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-P <replaceable class="parameter">preload</replaceable></option></term>
<listitem>
<para>