Browse Source

[2307] add new -e option

and add some TODOs
Jeremy C. Reed 11 years ago
parent
commit
bb9d7998c4
1 changed files with 16 additions and 1 deletions
  1. 16 1
      tests/tools/perfdhcp/perfdhcp.xml

+ 16 - 1
tests/tools/perfdhcp/perfdhcp.xml

@@ -41,10 +41,13 @@
     </copyright>
   </docinfo>
 
+<!-- TODO: some examples show -fflag and -f flag - do both work? -->
+<!-- TODO: rewrite descriptions so say string or number etc -->
+
   <refsynopsisdiv>
     <cmdsynopsis>
       <command>perfdhcp</command>
-      <arg><option>-v</option></arg>
+      <arg><option>-e</option></arg>
     </cmdsynopsis>
   </refsynopsisdiv>
 
@@ -90,6 +93,18 @@
    elapsed-time option in the (second/request) template.
         The value 0 disables it.</para></listitem></varlistentry>
 
+<varlistentry><term><option>-e</option><replaceable class="parameter">lease-type</replaceable></term><listitem><para>
+The type of lease being requested from the server.
+It may be one of the following: address-only, prefix-only or
+    address-and-prefix. The address-only indicates that the regular
+    address (v4 or v6) will be requested. The prefix-only indicates
+    that the IPv6 prefix will be requested. The address-and-prefix
+    indicates that both IPv6 address and prefix will be requested.
+    The '-e prefix-only' and '-e address-and-prefix' must not be
+    used with -4.
+ (The -6 option must be used if lease type other than '-e address-only'.)
+</para></listitem></varlistentry>
+
         <varlistentry><term><option>-h</option></term><listitem><para>Print help.</para></listitem></varlistentry>
 
         <varlistentry><term><option>-i</option></term><listitem><para>Do only the initial part of an exchange: DO or SA, depending on