Navigation


Changeset 449:c5e37091553a in freeDiameter for extensions/app_diameap


Ignore:
Timestamp:
Jul 29, 2010, 2:07:30 PM (14 years ago)
Author:
Souheil Ben Ayed <souheil@tera.ics.keio.ac.jp>
Branch:
default
Phase:
public
Message:

Updated app_diameap documentation and diameap.sql script

Location:
extensions/app_diameap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_diameap/README

    r441 r449  
    4141        See freeDiameter documentation (http://www.freediameter.net/)
    4242
    43 2- Edit the extensions/CMakeList.txt file to add DiamEAP to freeDiameter.
     432-Create a new MySQL database and add tables using the sql script 'diameap.sql'.
     44
     453- Edit the extensions/CMakeList.txt file to add DiamEAP to freeDiameter.
    4446
    4547Add the following lines:
     
    5254Note: you can enable DiamEAP to be built with freeDiameter by setting the BUILD_APP_DIAMEAP to ON. If you enable it here you don't need to enable it when building freeDiameter.
    5355
    54 3- Enable DiamEAP by enabling BUILD_DIAMEAP option with CMake:
     564- Enable DiamEAP by enabling BUILD_APP_DIAMEAP option with CMake:
    5557
    56 cmake -DBUILD_DIAMEAP:BOOl=ON ../
     58cmake -DBUILD_APP_DIAMEAP:BOOl=ON ../
    5759
    5860
  • extensions/app_diameap/diameap.sql

    r425 r449  
    66#                                                                       #
    77#                                                                       #
    8 # MySQL command to load the scrip:                                      #
     8# MySQL command to load the script:                                     #
    99#    mysql> mysql -u username -p password diameap_ui <  diameap.sql     #
    1010#                                                                       #
    1111#########################################################################
    1212
    13 CREATE TABLE IF NOT EXISTS `authz` (
    14   `id` int(11) NOT NULL AUTO_INCREMENT,
    15   `grp` int(11) NOT NULL,
    16   `attribute` set('Service-Type','Callback-Number','Callback-Id','Idle-Timeout','Port-Limit','NAS-Filter-Rule','Filter-Id','Configuration-Token','QoS-Filter-Rule','Framed-Protocol','Framed-Routing','Framed-MTU','Framed-Compression','Framed-IP-Address','Framed-IP-Netmask','Framed-Route','Framed-Pool','Framed-Interface-Id','Framed-IPv6-Prefix','Framed-IPv6-Pool','Framed-IPv6-Route','Framed-IPX-Network','Framed-Appletalk-Link','Framed-Appletalk-Network','Framed-Appletalk-Zone') Not NULL DEFAULT 'Service-Type',
    17   `op` set('==','>','>=','<','<=','!=','~=','=+','+==','+>','+>=','+<','+<=','+!=','+~=','==+','>+','>=+','<+','<=+','!=+') NOT NULL DEFAULT '==',
    18   `value` char(255) NOT NULL,
    19   PRIMARY KEY (`id`)
    20 );
     13-- --------------------------------------------------------
     14
     15--
     16-- Table structure for table `authe`
     17--
    2118
    2219CREATE TABLE IF NOT EXISTS `authe` (
     
    2825);
    2926
     27-- --------------------------------------------------------
     28
     29--
     30-- Table structure for table `authz`
     31--
     32
     33CREATE TABLE IF NOT EXISTS `authz` (
     34  `id` int(11) NOT NULL AUTO_INCREMENT,
     35  `grp` int(11) NOT NULL,
     36  `attribute` set('NAS-IPv6-Address','NAS-Identifier','NAS-IP-Address','NAS-Port','NAS-Port-Id','NAS-Port-Type','Called-Station-Id','Calling-Station-Id','Connect-Info','Originating-Line-Info','Service-Type','Callback-Number','Callback-Id','Idle-Timeout','Port-Limit','NAS-Filter-Rule','Filter-Id','Configuration-Token','QoS-Filter-Rule','Framed-Protocol','Framed-Routing','Framed-MTU','Framed-Compression','Framed-IP-Address','Framed-IP-Netmask','Framed-Route','Framed-Pool','Framed-Interface-Id','Framed-IPv6-Prefix','Framed-IPv6-Pool','Framed-IPv6-Route','Framed-IPX-Network','Framed-Appletalk-Link','Framed-Appletalk-Network','Framed-Appletalk-Zone') NOT NULL DEFAULT 'Service-Type',
     37  `op` set('==','>','>=','<','<=','!=','~=','=+','+==','+>','+>=','+<','+<=','+!=','+~=','==+','>+','>=+','<+','<=+','!=+') NOT NULL DEFAULT '==',
     38  `value` char(255) NOT NULL,
     39  PRIMARY KEY (`id`)
     40);
     41
     42-- --------------------------------------------------------
     43
     44--
     45-- Table structure for table `grp`
     46--
     47
    3048CREATE TABLE IF NOT EXISTS `grp` (
    3149  `id` int(11) NOT NULL AUTO_INCREMENT,
     
    3452  PRIMARY KEY (`id`)
    3553);
     54
     55-- --------------------------------------------------------
     56
     57--
     58-- Table structure for table `users`
     59--
    3660
    3761CREATE TABLE IF NOT EXISTS `users` (
     
    4569);
    4670
     71-- --------------------------------------------------------
     72
     73--
     74-- Table structure for table `user_grp`
     75--
     76
    4777CREATE TABLE IF NOT EXISTS `user_grp` (
    4878  `id` int(11) NOT NULL AUTO_INCREMENT,
Note: See TracChangeset for help on using the changeset viewer.