From 4f81aa605ba14e8ff90022bb5b36d12725c37f03 Mon Sep 17 00:00:00 2001 From: Kamailio Dev Date: Wed, 17 Oct 2018 13:46:27 +0200 Subject: [PATCH] modules: readme files regenerated - pipelimit ... [skip ci] --- src/modules/pipelimit/README | 212 +++++++++++++++++------------------ 1 file changed, 103 insertions(+), 109 deletions(-) diff --git a/src/modules/pipelimit/README b/src/modules/pipelimit/README index 05d05f27a8b..598f47d4861 100644 --- a/src/modules/pipelimit/README +++ b/src/modules/pipelimit/README @@ -24,42 +24,40 @@ Daniel-Constantin Mierla 1. Admin Guide 1. Overview + 2. Algorithms + 3. Dependencies - 1.1. Algorithms + 3.1. Kamailio Modules + 3.2. External Libraries or Applications - 2. Dependencies + 4. Parameters - 2.1. Kamailio Modules - 2.2. External Libraries or Applications + 4.1. hash_size (int) + 4.2. db_url (string) + 4.3. plp_table_name (string) + 4.4. plp_pipeid_column (string) + 4.5. plp_limit_column (string) + 4.6. plp_algorithm_column (string) + 4.7. timer_interval (integer) + 4.8. timer_mode (integer) + 4.9. load_fetch (integer) + 4.10. reply_code (integer) + 4.11. reply_reason (string) - 3. Parameters + 5. Functions - 3.1. hash_size (int) - 3.2. db_url (string) - 3.3. plp_table_name (string) - 3.4. plp_pipeid_column (string) - 3.5. plp_limit_column (string) - 3.6. plp_algorithm_column (string) - 3.7. timer_interval (integer) - 3.8. timer_mode (integer) - 3.9. load_fetch (integer) - 3.10. reply_code (integer) - 3.11. reply_reason (string) + 5.1. pl_check(name [, algorithm, limit]) + 5.2. pl_drop([ [min ], max ]) - 4. Functions + 6. RPC Commands - 4.1. pl_check(name [, algorithm, limit]) - 4.2. pl_drop([ [min ], max ]) - - 5. RPC Commands - - 5.1. pl.list - 5.2. pl.stats - 5.3. pl.set_pipe - 5.4. pl.get_pipes - 5.5. pl.set_pid - 5.6. pl.get_pid - 5.7. pl.push_load + 6.1. pl.list + 6.2. pl.stats + 6.3. pl.set_pipe + 6.4. pl.get_pipes + 6.5. pl.set_pid + 6.6. pl.get_pid + 6.7. pl.push_load List of Examples @@ -84,47 +82,43 @@ Chapter 1. Admin Guide Table of Contents 1. Overview + 2. Algorithms + 3. Dependencies - 1.1. Algorithms - - 2. Dependencies + 3.1. Kamailio Modules + 3.2. External Libraries or Applications - 2.1. Kamailio Modules - 2.2. External Libraries or Applications + 4. Parameters - 3. Parameters + 4.1. hash_size (int) + 4.2. db_url (string) + 4.3. plp_table_name (string) + 4.4. plp_pipeid_column (string) + 4.5. plp_limit_column (string) + 4.6. plp_algorithm_column (string) + 4.7. timer_interval (integer) + 4.8. timer_mode (integer) + 4.9. load_fetch (integer) + 4.10. reply_code (integer) + 4.11. reply_reason (string) - 3.1. hash_size (int) - 3.2. db_url (string) - 3.3. plp_table_name (string) - 3.4. plp_pipeid_column (string) - 3.5. plp_limit_column (string) - 3.6. plp_algorithm_column (string) - 3.7. timer_interval (integer) - 3.8. timer_mode (integer) - 3.9. load_fetch (integer) - 3.10. reply_code (integer) - 3.11. reply_reason (string) + 5. Functions - 4. Functions + 5.1. pl_check(name [, algorithm, limit]) + 5.2. pl_drop([ [min ], max ]) - 4.1. pl_check(name [, algorithm, limit]) - 4.2. pl_drop([ [min ], max ]) + 6. RPC Commands - 5. RPC Commands - - 5.1. pl.list - 5.2. pl.stats - 5.3. pl.set_pipe - 5.4. pl.get_pipes - 5.5. pl.set_pid - 5.6. pl.get_pid - 5.7. pl.push_load + 6.1. pl.list + 6.2. pl.stats + 6.3. pl.set_pipe + 6.4. pl.get_pipes + 6.5. pl.set_pid + 6.6. pl.get_pid + 6.7. pl.push_load 1. Overview - 1.1. Algorithms - This module implements traffic limiting for SIP requests. The module defines in an abstract mode the notion of 'pipe', which can @@ -139,7 +133,7 @@ Chapter 1. Admin Guide new module which is focused on just traffic shaping policies, the implementation of queues was discarded. -1.1. Algorithms +2. Algorithms Algorithms are based from the ratelimit module, which describes the algorithms in more detail. The algorithms are used by the pipelimit @@ -187,38 +181,38 @@ Chapter 1. Admin Guide going up/down instantly by thousands - it takes up to 20 seconds for the controller to adapt to the new request rate. -2. Dependencies +3. Dependencies - 2.1. Kamailio Modules - 2.2. External Libraries or Applications + 3.1. Kamailio Modules + 3.2. External Libraries or Applications -2.1. Kamailio Modules +3.1. Kamailio Modules The following modules must be loaded before this module: * database connection module. * sl: Stateless Request Handling. -2.2. External Libraries or Applications +3.2. External Libraries or Applications The following libraries or applications must be installed before running Kamailio with this module loaded: * None. -3. Parameters +4. Parameters - 3.1. hash_size (int) - 3.2. db_url (string) - 3.3. plp_table_name (string) - 3.4. plp_pipeid_column (string) - 3.5. plp_limit_column (string) - 3.6. plp_algorithm_column (string) - 3.7. timer_interval (integer) - 3.8. timer_mode (integer) - 3.9. load_fetch (integer) - 3.10. reply_code (integer) - 3.11. reply_reason (string) + 4.1. hash_size (int) + 4.2. db_url (string) + 4.3. plp_table_name (string) + 4.4. plp_pipeid_column (string) + 4.5. plp_limit_column (string) + 4.6. plp_algorithm_column (string) + 4.7. timer_interval (integer) + 4.8. timer_mode (integer) + 4.9. load_fetch (integer) + 4.10. reply_code (integer) + 4.11. reply_reason (string) -3.1. hash_size (int) +4.1. hash_size (int) Used to compute the number of slots for the internal hash table, as power of 2 (number of slots = 2^hash_size, aka 1<