From: Alan T. DeKok Date: Wed, 10 Sep 2014 13:06:42 +0000 (-0400) Subject: Added schema for DHCP IP pools. X-Git-Tag: release_3_0_5~567 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bb930a328f7b11451d98b43a8d227cbefd35648;p=thirdparty%2Ffreeradius-server.git Added schema for DHCP IP pools. With a key on Calling-Station-Id. --- diff --git a/raddb/mods-config/sql/ippool-dhcp/mysql/schema.sql b/raddb/mods-config/sql/ippool-dhcp/mysql/schema.sql new file mode 100644 index 00000000000..cd31c215cae --- /dev/null +++ b/raddb/mods-config/sql/ippool-dhcp/mysql/schema.sql @@ -0,0 +1,19 @@ +# +# Table structure for table 'radippool' +# +CREATE TABLE radippool ( + id int(11) unsigned NOT NULL auto_increment, + pool_name varchar(30) NOT NULL, + framedipaddress varchar(15) NOT NULL default '', + nasipaddress varchar(15) NOT NULL default '', + calledstationid VARCHAR(30) NOT NULL, + callingstationid VARCHAR(30) NOT NULL, + expiry_time DATETIME NULL default NULL, + username varchar(64) NOT NULL default '', + pool_key varchar(30) NOT NULL, + PRIMARY KEY (id), + KEY radippool_poolname_expire (pool_name, expiry_time), + KEY callingstationid (callingstationid), + KEY framedipaddress (framedipaddress), + KEY radippool_nasip_poolkey_ipaddress (nasipaddress, pool_key, framedipaddress) +) ENGINE=InnoDB;