mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
xml_docs: update traffic script documentation
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Tim Beale <timbeale@samba.org> Autobuild-User(master): Douglas Bagnall <dbagnall@samba.org> Autobuild-Date(master): Wed Jan 9 03:53:58 CET 2019 on sn-devel-144
This commit is contained in:
parent
3c10cecac1
commit
b2a9d4c1f6
@ -118,8 +118,7 @@
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>The model is stored in JSON format, and also contains
|
<para>The model is stored in JSON format, and also contains
|
||||||
information about the conversation rate and DNS traffic
|
information about the packet rate and DNS traffic rate.</para>
|
||||||
rate.</para>
|
|
||||||
|
|
||||||
|
|
||||||
<refsect2>
|
<refsect2>
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
<cmdsynopsis>
|
<cmdsynopsis>
|
||||||
<command>traffic_replay</command>
|
<command>traffic_replay</command>
|
||||||
<arg choice="opt">-F, --fixed-password <test-password></arg>
|
<arg choice="opt">-F, --fixed-password <test-password></arg>
|
||||||
|
<arg choice="opt">-T, --packets-per-second <number></arg>
|
||||||
<arg choice="opt">-S, --scale-traffic <scale by factor></arg>
|
<arg choice="opt">-S, --scale-traffic <scale by factor></arg>
|
||||||
<arg choice="opt">-r, --replay-rate <scale by factor></arg>
|
<arg choice="opt">-r, --replay-rate <scale by factor></arg>
|
||||||
<arg choice="opt">-D, --duration <seconds></arg>
|
<arg choice="opt">-D, --duration <seconds></arg>
|
||||||
@ -41,6 +42,9 @@
|
|||||||
<arg choice="opt">-P, --machine-pass</arg>
|
<arg choice="opt">-P, --machine-pass</arg>
|
||||||
<arg choice="opt">--option <option></arg>
|
<arg choice="opt">--option <option></arg>
|
||||||
<arg choice="opt">-d, --debuglevel <debug level></arg>
|
<arg choice="opt">-d, --debuglevel <debug level></arg>
|
||||||
|
<arg choice="opt">--conversation-persistence <0-1></arg>
|
||||||
|
<arg choice="opt">--latency-timeout <seconds></arg>
|
||||||
|
<arg choice="opt">--stop-on-any-error</arg>
|
||||||
<arg choice="req">summary-file</arg>
|
<arg choice="req">summary-file</arg>
|
||||||
<arg choice="req">dns-hostname</arg>
|
<arg choice="req">dns-hostname</arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
@ -53,6 +57,7 @@
|
|||||||
<arg choice="opt">--number-of-groups <total groups></arg>
|
<arg choice="opt">--number-of-groups <total groups></arg>
|
||||||
<arg choice="opt">--average-groups-per-user <average number></arg>
|
<arg choice="opt">--average-groups-per-user <average number></arg>
|
||||||
<arg choice="opt">--group-memberships <total memberships></arg>
|
<arg choice="opt">--group-memberships <total memberships></arg>
|
||||||
|
<arg choice="opt">--max-members <group size></arg>
|
||||||
<arg choice="req">dns-hostname</arg>
|
<arg choice="req">dns-hostname</arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
|
|
||||||
@ -104,11 +109,10 @@
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>summary-file</term>
|
<term>summary-file</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
File containing the network traffic to replay. This should either be
|
File containing the network traffic to replay. This should be a
|
||||||
a traffic-summary (generated by <command>traffic_summary.pl</command>)
|
traffic-model (generated by <command>traffic_learner</command>).
|
||||||
or a traffic-model (generated by <command>traffic_learner</command>).
|
Based on this file, this tool will generate 'conversations' which
|
||||||
Based on this file, this tool will generate 'conversations' which
|
represent Samba activity between a network host and the DC.
|
||||||
represent Samba activity between a network host and the DC.
|
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -153,7 +157,7 @@
|
|||||||
When the summary-file is a traffic-model (produced by
|
When the summary-file is a traffic-model (produced by
|
||||||
<command>traffic_learner</command>), use these options to alter the
|
<command>traffic_learner</command>), use these options to alter the
|
||||||
traffic that gets generated.</para>
|
traffic that gets generated.</para>
|
||||||
<itemizedlist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>-D|--duration <seconds></term>
|
<term>-D|--duration <seconds></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
@ -163,22 +167,34 @@
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>-r|--replay-rate <factor></term>
|
<term>-T|--packets-per-second <number></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Replays the traffic faster by this factor. This option won't
|
Generate this many packets per second, regardless of
|
||||||
affect the number of conversations (which is based on the
|
the traffic rate of the sample on which the model
|
||||||
traffic model), but the rate at which the packets are sent will
|
was based. This cannot be used with <option>-S</option>.
|
||||||
be increased.
|
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>-S|--scale-traffic <factor></term>
|
<term>-S|--scale-traffic <factor></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Increases the number of conversations by this factor. This
|
Increases the number of conversations by this factor,
|
||||||
option won't affect the rate at which packets get sent (which
|
relative to the original traffic sample on which the
|
||||||
is still based on the traffic model), but it will mean more
|
model was based. This option won't affect the rate at
|
||||||
conversations get replayed.
|
which packets get sent (which is still based on the
|
||||||
|
traffic model), but it will mean more conversations
|
||||||
|
get replayed. It cannot be combined with
|
||||||
|
<option>-T</option>, which sets the traffic rate in a
|
||||||
|
different way.
|
||||||
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>-r|--replay-rate <factor></term>
|
||||||
|
<listitem><para> Replays the traffic faster by this
|
||||||
|
factor. This option won't affect the number of packets
|
||||||
|
sent, but it will squeeze them into fewer
|
||||||
|
conversations, which may reduce resource usage.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -201,7 +217,28 @@
|
|||||||
a traffic-summary file, or to use the --random-seed option.
|
a traffic-summary file, or to use the --random-seed option.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</itemizedlist>
|
<varlistentry>
|
||||||
|
<term>--stop-on-any-error</term>
|
||||||
|
<listitem><para> Any client error causes the whole run to stop.
|
||||||
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>--conversation-persistence <0-1></term>
|
||||||
|
<listitem><para> Conversation termination (as decided
|
||||||
|
by the model) is re-interpreted as a long pause with
|
||||||
|
this probability. </para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term>--latency-timeout <seconds></term>
|
||||||
|
<listitem><para> Wait this long at the end of the run
|
||||||
|
for outstanding reply packets. The number of
|
||||||
|
conversations that have not finished at the end of the
|
||||||
|
timeout is a failure metric. </para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
</variablelist>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -241,7 +278,7 @@
|
|||||||
Creates the specified number of groups, for assigning the test
|
Creates the specified number of groups, for assigning the test
|
||||||
users to. Note that users are not automatically assigned to
|
users to. Note that users are not automatically assigned to
|
||||||
groups - use either --average-groups-per-user or
|
groups - use either --average-groups-per-user or
|
||||||
--group-membership to do this.
|
--group-memberships to do this.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -268,7 +305,13 @@
|
|||||||
on average. Some users will belong to more groups and some
|
on average. Some users will belong to more groups and some
|
||||||
users will belong to fewer groups, but the total of all
|
users will belong to fewer groups, but the total of all
|
||||||
member linked attributes would be 300. This option is
|
member linked attributes would be 300. This option is
|
||||||
incompatible with the --group-membership option.
|
incompatible with the --average-groups-per-user option.
|
||||||
|
</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term>--max-members <group size></term>
|
||||||
|
<listitem><para> Limit the largest group to this size,
|
||||||
|
even if the other group options would have it otherwise.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
Loading…
Reference in New Issue
Block a user