[sr-dev] git:tmp/k3.0_sr_backports: utils/kamctl: removed unsupported commands to manage lcr gateways and routes

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Feb 15 13:21:20 CET 2010


Module: sip-router
Branch: tmp/k3.0_sr_backports
Commit: 014da575f25556ece0a8500e822b97ad0eb74d26
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=014da575f25556ece0a8500e822b97ad0eb74d26

Author: Juha Heinanen <jh at tutpro.com>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Feb 10 22:37:44 2010 +0200

utils/kamctl: removed unsupported commands to manage lcr gateways and routes
(cherry picked from commit d8d9165324f32e82f6e8cbb5e07f33ddd697cd1d)

---

 utils/kamctl/kamctl.8    |   15 ---------------
 utils/kamctl/kamctl.base |   15 ---------------
 2 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/utils/kamctl/kamctl.8 b/utils/kamctl/kamctl.8
index 4343a88..96c8787 100644
--- a/utils/kamctl/kamctl.8
+++ b/utils/kamctl/kamctl.8
@@ -57,26 +57,11 @@ Grant user membership(s) (*)
 .TP 16
 .I  Least cost routes (lcr) managment command:
 .TP             
-.B lcr show 
-Show gateways and routes tables
-.TP
 .B lcr dump
 Show in memory gateways and routes tables
 .TP
 .B lcr reload 
 Reload lcr gateways and routes
-.TP
-.B lcr addgw <gw_name> <ip> <port> <scheme> <transport> <grp_id> <flags> <tag> <strip> <weight> <hostname> <ping>
-Add a gateway with flags, tag, strip, weight, hostname, and ping (flags, tag, strip, weight, hostname, and ping are optional)
-.TP
-.B lcr rmgw <gw_name> 
-Delete a gateway
-.TP
-.B lcr addroute <prefix> <from> <grp_id> <prio>
-Add a route ( use '' to match anything in <from> )
-.TP
-.B lcr rmroute <prefix> <from> <grp_id> <prio>
-Delete a route
 
 .TP 16
 .I Carrierroute tables('cr') managment commands:
diff --git a/utils/kamctl/kamctl.base b/utils/kamctl/kamctl.base
index 3a3816d..79025c2 100644
--- a/utils/kamctl/kamctl.base
+++ b/utils/kamctl/kamctl.base
@@ -362,23 +362,8 @@ usage_lcr() {
 	mecho " -- command 'lcr' - manage least cost routes (lcr)"
 	echo
 cat <<EOF
-   * IP addresses must be entered in dotted quad format e.g. 1.2.3.4   *
-   * <uri_scheme> and <transport> must be entered in integer or text,  *
-   * e.g. transport '2' is identical to transport 'tcp'.               *
-   *   scheme: 1=sip, 2=sips;   transport: 1=udp, 2=tcp, 3=tls, 4=sctp *
-   * Examples:  lcr addgw level3 1.2.3.4 5080 sip tcp 1                *
-   *            lcr addroute +1 '' 1 1                                 *
- lcr show .......... show gateways and routes tables
  lcr dump .......... show in memory gateways and routes tables
  lcr reload ........ reload lcr gateways and routes
- lcr addgw <gw_name> <ip> <port> <scheme> <transport> <grp_id> <flags> <tag> <strip> <weight> <hostname> <ping>
-           ......... add a gateway with flags, tag, strip, weight, hostname, and ping
-           ......... (flags, tag, strip, weight, hostname, and ping are optional)
- lcr rmgw <gw_name> delete a gateway
- lcr addroute <prefix> <from> <grp_id> <prio>
-           ......... add a route ( use '' to match anything in <from> )
- lcr rmroute <prefix> <from> <grp_id> <prio>
-           ......... delete a route
 EOF
 }
 USAGE_FUNCTIONS="$USAGE_FUNCTIONS usage_lcr"




More information about the sr-dev mailing list