Browse Source

modules/lcr: added note about 'kamctl eval_weights' command

Juha Heinanen 15 years ago
parent
commit
fcd61b36e0
2 changed files with 6 additions and 4 deletions
  1. 4 3
      modules/lcr/README
  2. 2 1
      modules/lcr/doc/lcr_admin.xml

+ 4 - 3
modules/lcr/README

@@ -235,9 +235,10 @@ Chapter 1. Admin Guide
    Weight is an integer value from 1 to 254. Weight implementation is
    Weight is an integer value from 1 to 254. Weight implementation is
    fast, but unfair favoring larger weight values at the expense smaller
    fast, but unfair favoring larger weight values at the expense smaller
    ones. For example, if two gateways have weights 1 and 2, probability
    ones. For example, if two gateways have weights 1 and 2, probability
-   that the gateway with weight 1 is tried first is 1/4, not 1/3. A script
-   is provided in lcr/utils directory that can be used to check the
-   probabilities resulting from a given set of weight values.
+   that the gateway with weight 1 is tried first is 1/4, not 1/3. Two
+   scripts are provided in lcr/utils directory that can be used to check
+   the probabilities resulting from a given set of weight values. Same can
+   be done with command 'kamctl eval_weights'.
 
 
    The function next_gw() can then be used to select one gateway at a time
    The function next_gw() can then be used to select one gateway at a time
    for forwarding. Upon each call, unless "dont_strip_of_tag" flag is set,
    for forwarding. Upon each call, unless "dont_strip_of_tag" flag is set,

+ 2 - 1
modules/lcr/doc/lcr_admin.xml

@@ -73,8 +73,9 @@
 	fast, but unfair favoring larger weight values at the expense smaller
 	fast, but unfair favoring larger weight values at the expense smaller
 	ones.  For example, if two gateways have weights 1 and 2, probability
 	ones.  For example, if two gateways have weights 1 and 2, probability
 	that the gateway with weight 1 is tried first is 1/4, not 1/3.
 	that the gateway with weight 1 is tried first is 1/4, not 1/3.
-	A script is provided in lcr/utils directory that can be used to
+	Two scripts are provided in lcr/utils directory that can be used to
 	check the probabilities resulting from a given set of weight values.
 	check the probabilities resulting from a given set of weight values.
+	Same can be done with command 'kamctl eval_weights'.
 	</para>
 	</para>
 	<para>
 	<para>
         The function <emphasis>next_gw()</emphasis> can then be used to
         The function <emphasis>next_gw()</emphasis> can then be used to