From afc580a583985de909ca9a9e60f15ceb38b5557a Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 2 Oct 2012 14:27:38 -0700 Subject: DMA Radius Manager export, #18456 --- FS/FS/Schema.pm | 2 ++ FS/FS/radius_group.pm | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'FS') diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index c932d7f81..4e1395114 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -2454,6 +2454,8 @@ sub tables_hashref { 'groupname', 'varchar', '', $char_d, '', '', 'description', 'varchar', 'NULL', $char_d, '', '', 'priority', 'int', '', '', '1', '', + 'speed_up', 'int', 'NULL', '', '', '', + 'speed_down', 'int', 'NULL', '', '', '', ], 'primary_key' => 'groupnum', 'unique' => [ ['groupname'] ], diff --git a/FS/FS/radius_group.pm b/FS/FS/radius_group.pm index 37aa0f37b..f1a4efe7f 100644 --- a/FS/FS/radius_group.pm +++ b/FS/FS/radius_group.pm @@ -47,6 +47,8 @@ description priority - for export +=item speed_up, speed_down - connection speeds in bits per second. Some +exports may use this to generate appropriate RADIUS attributes. =back @@ -176,6 +178,8 @@ sub check { || $self->ut_text('groupname') || $self->ut_textn('description') || $self->ut_numbern('priority') + || $self->ut_numbern('speed_up') + || $self->ut_numbern('speed_down') ; return $error if $error; -- cgit v1.2.1