瀏覽代碼

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

Juha Heinanen 15 年之前
父節點
當前提交
fcd61b36e0
共有 2 個文件被更改,包括 6 次插入4 次删除
  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
    fast, but unfair favoring larger weight values at the expense smaller
    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
    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
 	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
+	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'.
 	</para>
 	<para>
         The function <emphasis>next_gw()</emphasis> can then be used to