-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsql.pon_olt.txt
More file actions
20 lines (20 loc) · 855 Bytes
/
sql.pon_olt.txt
File metadata and controls
20 lines (20 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
CREATE TABLE IF NOT EXISTS `pon_olt` (
`id` smallint UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL DEFAULT 'new olt',
`ip` varchar(15) NOT NULL,
`snmp_port` smallint NOT NULL DEFAULT '0',
`vendor` varchar(20) NOT NULL DEFAULT '',
`model` varchar(20) NOT NULL DEFAULT '',
`firmware` varchar(48) NOT NULL DEFAULT '',
`ro_comunity` varchar(32) NOT NULL DEFAULT '',
`rw_comunity` varchar(32) NOT NULL DEFAULT '',
`pon_type` varchar(16) NOT NULL DEFAULT 'gpon',
`mng_tmpl` int(4) NOT NULL DEFAULT '0',
`param` varchar(1024) DEFAULT NULL,
`descr` varchar(250) NOT NULL DEFAULT '',
`status` tinyint(1) NOT NULL DEFAULT '9',
`enable` tinyint(1) NOT NULL DEFAULT '0',
`changed` int NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `olt_uniq` (`ip`,`snmp_port`,`pon_type`)
) ENGINE=InnoDB COMMENT='OLT list';