[SR-Users] pipelimit db schema

thrillerbee thrillerbee at gmail.com
Wed Feb 23 20:32:44 CET 2011


Is there a fifo command available to reload pipelimit config from db?
something like 'kamctl fifo pl_reload'?

On Wed, Feb 23, 2011 at 9:02 AM, thrillerbee <thrillerbee at gmail.com> wrote:

> Cool, thanks.
>
>
> On Wed, Feb 23, 2011 at 12:36 AM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>> Hello,
>>
>>
>> On 2/23/11 12:30 AM, thrillerbee wrote:
>>
>>> Can anyone point me to the db schema for the new pipelimit module?
>>>
>>
>> seems I forgot to add it to db creation script. I will fix that in the
>> next days. Meanwhile you can use:
>>
>> INSERT INTO version (table_name, table_version) values ('pl_pipes','1');
>> CREATE TABLE pl_pipes (
>>  id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL,
>>  pipeid VARCHAR(64) DEFAULT '' NOT NULL,
>>  algorithm VARCHAR(32) DEFAULT '' NOT NULL,
>>  plimit INT DEFAULT 0 NOT NULL,
>>  CONSTRAINT pipeid_idx UNIQUE (pipeid)
>> ) ENGINE=MyISAM;
>>
>> This is inside sources, modules/pipelimit/pl_db.c
>>
>> Thanks, Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> http://www.asipto.com
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110223/e157fe7a/attachment.htm>


More information about the sr-users mailing list