浏览代码

* New implementation of lcr part of lcr module.
* Entries of lcr table are now stored in in-memory cache for high
performance (see README for execution times of lcr related functions).
* Gateways can now be assigned a weight within their groups.
* Support for prefix_mode=1 has been dropped.
* lcr_dump MI function has been split into lcr_gw_dump and lcr_lcr_dump
functions.
* lcr_reload function is now executed under a lock.
* Testing is welcomed.


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@5084 689a6050-402a-0410-94f2-e92a70836424

Juha Heinanen 17 年之前
父节点
当前提交
8ecee0c1c4
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8 1
      lib/srdb1/schema/gw.xml

+ 8 - 1
lib/srdb1/schema/gw.xml

@@ -10,7 +10,7 @@
 
 <table id="gw" xmlns:db="http://docbook.org/ns/docbook">
     <name>gw</name>
-    <version>7</version>
+    <version>8</version>
     <type db="mysql">&MYSQL_TABLE_TYPE;</type>
     <description>
         <db:para>This table contains Least Cost Routing Gateway definitions for the LCR module.
@@ -85,6 +85,13 @@
         <description>Request URI user part tag</description>
     </column>
 
+    <column>
+        <name>weight</name>
+        <type>unsigned int</type>
+        <null/>
+        <description>Weight of gateway within gw_grp.  Valid values are 1-254.</description>
+    </column>
+
     <column>
         <name>flags</name>
         <type>unsigned int</type>