From: Andrei Pavel Date: Fri, 18 Jun 2021 14:59:07 +0000 (+0300) Subject: [#1119] move -F flag outside DHCPv6-only section X-Git-Tag: Kea-1.9.9~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=580cef4f7b1a71ffe1c811b2f79486a3ddefd73a;p=thirdparty%2Fkea.git [#1119] move -F flag outside DHCPv6-only section --- diff --git a/doc/sphinx/man/perfdhcp.8.rst b/doc/sphinx/man/perfdhcp.8.rst index d46c2a34fb..238c6c1bb7 100644 --- a/doc/sphinx/man/perfdhcp.8.rst +++ b/doc/sphinx/man/perfdhcp.8.rst @@ -172,6 +172,13 @@ Options The ``-e prefix-only`` and ``-e address-and-prefix`` forms may not be used with the ``-4`` option. +``-F release-rate`` + Specifies the rate at which RELEASE requests are sent to a server. This value + is only valid when used in conjunction with the exchange rate (given + by ``-r rate``). Furthermore, the sum of this value and the renew-rate + (given by ``-f rate``) must be equal to or less than the exchange + rate value. + ``-f renew-rate`` Specifies the rate at which DHCPv4 or DHCPv6 renew requests are sent to a server. This value is only valid when used in conjunction with the exchange @@ -342,13 +349,6 @@ The following options only apply for DHCPv6 (i.e. when ``-6`` is given). ``-c`` Adds a rapid-commit option (exchanges will be SOLICIT-ADVERTISE). -``-F release-rate`` - Specifies the rate at which RELEASE requests are sent to a server. This value - is only valid when used in conjunction with the exchange rate (given - by ``-r rate``). Furthermore, the sum of this value and the renew-rate - (given by ``-f rate``) must be equal to or less than the exchange - rate value. - ``-A encapsulation-level`` Specifies that relayed traffic must be generated. The argument specifies the level of encapsulation, i.e. how many relay agents are diff --git a/src/bin/perfdhcp/command_options.cc b/src/bin/perfdhcp/command_options.cc index 3c591303f0..9c36806c7f 100644 --- a/src/bin/perfdhcp/command_options.cc +++ b/src/bin/perfdhcp/command_options.cc @@ -1221,6 +1221,11 @@ Options: -E: Offset of the (DHCPv4) secs field / (DHCPv6) elapsed-time option in the (second/request) template. The value 0 disables it. +-F: Rate at which Release requests are sent to + a server. This value is only valid when used in conjunction with + the exchange rate (given by -r). Furthermore the sum of + this value and the renew-rate (given by -f) must be equal + to or less than the exchange rate. -f: Rate at which DHCPv4 or DHCPv6 renew requests are sent to a server. This value is only valid when used in conjunction with the exchange rate (given by -r). Furthermore the sum of @@ -1300,11 +1305,6 @@ DHCPv4 only options: DHCPv6 only options: -c: Add a rapid commit option (exchanges will be SA). --F: Rate at which Release requests are sent to - a server. This value is only valid when used in conjunction with - the exchange rate (given by -r). Furthermore the sum of - this value and the renew-rate (given by -f) must be equal - to or less than the exchange rate. -A: Specifies that relayed traffic must be generated. The argument specifies the level of encapsulation, i.e. how many relay agents are simulated. Currently the only supported