Prechádzať zdrojové kódy

cdp: removed empty functions sections from docs

Daniel-Constantin Mierla 11 rokov pred
rodič
commit
f096ee13ca
2 zmenil súbory, kde vykonal 18 pridanie a 17 odobranie
  1. 18 8
      modules/cdp/README
  2. 0 9
      modules/cdp/doc/cdp_admin.xml

+ 18 - 8
modules/cdp/README

@@ -33,9 +33,10 @@ Richard Good
               4.1. config_file (string)
               4.2. latency_threshold (int)
 
-        5. Functions
+        5. RPC Commands
 
-              5.1.
+              5.1. cdp.disable_peer
+              5.2. cdp.enable_peer
 
         6. Configuration Examples
 
@@ -138,9 +139,10 @@ Chapter 1. Admin Guide
         4.1. config_file (string)
         4.2. latency_threshold (int)
 
-   5. Functions
+   5. RPC Commands
 
-        5.1.
+        5.1. cdp.disable_peer
+        5.2. cdp.enable_peer
 
    6. Configuration Examples
 
@@ -225,12 +227,20 @@ modparam("cdp", "config_file", "/etc/kamailio/diametercfg.xml")
 modparam("cdp", "latency_threshold", 1000)
 ...
 
-5. Functions
+5. RPC Commands
 
-   5.1.
+   5.1. cdp.disable_peer
+   5.2. cdp.enable_peer
 
-   No functions available from configuration. See API for internal
-   functions.
+   exported RPC commands.
+
+5.1. cdp.disable_peer
+
+   instantly disable a particular diameter peer.
+
+5.2. cdp.enable_peer
+
+   enabe/re-enable a diameter peer
 
 6. Configuration Examples
 

+ 0 - 9
modules/cdp/doc/cdp_admin.xml

@@ -128,15 +128,6 @@ modparam("cdp", "latency_threshold", 1000)
     </section>
   </section>
 
-  <section>
-    <title>Functions</title>
-
-    <section>
-      <para>No functions available from configuration. See API for internal
-      functions.</para>
-    </section>
-  </section>
-
   <section>
     <title>RPC Commands</title>