r2085 + use __FILE__ throughout showError() calls not enclosed into any function
[racktables] / install / init-dictbase.sql
CommitLineData
e673ee24
DO
1INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (1,'string','OEM S/N 1');
2INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (2,'dict','HW type');
3INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (3,'string','FQDN');
4INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (4,'dict','SW type');
5INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (5,'string','SW version');
6INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (6,'uint','number of ports');
7INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (7,'float','max. current, Ampers');
8INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (8,'float','power load, percents');
9INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (14,'string','contact person');
10INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (13,'float','max power, Watts');
11INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (16,'uint','flash memory, MB');
12INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (17,'uint','DRAM, MB');
13INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (18,'uint','CPU, MHz');
14INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (20,'string','OEM S/N 2');
15INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (21,'string','support contract expiration');
16INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (22,'string','HW warranty expiration');
17INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (24,'string','SW warranty expiration');
c8b74094 18INSERT INTO `Attribute` (`attr_id`, `attr_type`, `attr_name`) VALUES (25,'string','UUID');
e673ee24 19
e673ee24
DO
20INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,1,0);
21INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,2,11);
22INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,3,0);
e673ee24 23INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,4,13);
1412c822
DO
24INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,14,0);
25INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,21,0);
26INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,22,0);
c8b74094 27INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,25,0);
1412c822 28INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (4,24,0);
d47fc84f
DO
29INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (5,1,0);
30INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (5,2,18);
1412c822 31INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (6,1,0);
d47fc84f 32INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (6,2,19);
1412c822
DO
33INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (6,20,0);
34INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,1,0);
e673ee24 35INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,2,17);
1412c822 36INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,3,0);
e673ee24 37INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,4,16);
1412c822
DO
38INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,5,0);
39INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,14,0);
40INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,16,0);
41INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,17,0);
42INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,18,0);
43INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,21,0);
44INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,22,0);
45INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (7,24,0);
46INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,1,0);
d47fc84f 47INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,2,12);
1412c822 48INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,3,0);
d47fc84f
DO
49INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,4,14);
50INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,5,0);
1412c822
DO
51INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,14,0);
52INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,16,0);
53INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,17,0);
54INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,18,0);
55INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,20,0);
56INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,21,0);
57INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,22,0);
58INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (8,24,0);
59INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (9,6,0);
d47fc84f 60INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (12,1,0);
1412c822
DO
61INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (12,3,0);
62INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (12,7,0);
63INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (12,8,0);
64INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (12,13,0);
65INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (12,20,0);
ebdb792c
DO
66INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (445, 1, 0);
67INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (445, 2, 21);
68INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (445, 3, 0);
69INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (445, 5, 0);
70INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (445, 14, 0);
71INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (445, 22, 0);
72INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (447, 1, 0);
73INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (447, 2, 22);
74INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (447, 3, 0);
75INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (447, 5, 0);
76INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (447, 14, 0);
77INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (447, 22, 0);
f505ff9d 78INSERT INTO `AttributeMap` (`objtype_id`, `attr_id`, `chapter_no`) VALUES (15, 2, 23);
e673ee24 79
e673ee24 80INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (11,'no','server models');
ebdb792c 81INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (12,'no','network switch models');
e673ee24
DO
82INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (13,'no','server OS type');
83INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (14,'no','switch OS type');
84INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (1,'yes','RackObjectType');
85INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (2,'yes','PortType');
86INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (3,'yes','RackRow');
87INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (16,'no','router OS type');
88INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (17,'no','router models');
89INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (18,'no','disk array models');
90INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (19,'no','tape library models');
ebdb792c
DO
91INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (21,'no','KVM switch models');
92INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (22,'no','multiplexer models');
f44dafde 93INSERT INTO `Chapter` (`chapter_no`, `sticky`, `chapter_name`) VALUES (23, 'no', 'console models');
e673ee24 94
e673ee24 95INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (17,17);
d47fc84f
DO
96INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (18,18);
97INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (19,19);
98INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (20,20);
99INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (21,21);
100INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (22,22);
101INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (23,23);
102INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (24,24);
103INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (25,25);
104INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (26,26);
105INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (27,27);
106INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (28,28);
107INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (18,19);
108INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (19,18);
109INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (18,24);
110INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (24,18);
111INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (19,24);
112INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (24,19);
113INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (29,29);
114INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (20,21);
115INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (21,20);
116INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (22,23);
117INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (23,22);
118INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (25,26);
119INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (26,25);
120INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (27,28);
121INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (28,27);
122INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (30,30);
e673ee24 123INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (16,16);
e673ee24 124INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (17,17);
d47fc84f 125INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (18,18);
e673ee24 126INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (19,19);
d221c17d
DO
127INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (20,20);
128INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (21,21);
129INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (22,22);
130INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (23,23);
131INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (24,24);
132INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (25,25);
133INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (26,26);
134INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (27,27);
135INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (28,28);
d47fc84f
DO
136INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (18,19);
137INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (19,18);
138INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (18,24);
139INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (24,18);
140INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (19,24);
141INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (24,19);
142INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (29,29);
d8515eff
DO
143INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (29,681);
144INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (29,682);
d47fc84f
DO
145INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (20,21);
146INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (21,20);
147INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (22,23);
148INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (23,22);
149INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (25,26);
150INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (26,25);
151INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (27,28);
152INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (28,27);
153INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (30,30);
154INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (16,16);
155INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (32,32);
0b777017 156INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (33,446);
d47fc84f
DO
157INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (34,34);
158INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (35,35);
159INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (36,36);
160INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (37,37);
161INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (38,38);
162INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (39,39);
163INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (40,40);
164INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (41,41);
499dfa73 165INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (439,439);
ebdb792c 166INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (446,33);
d8515eff
DO
167INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (681,29);
168INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (681,681);
169INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (681,682);
170INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (682,29);
171INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (682,681);
172INSERT INTO `PortCompat` (`type1`, `type2`) VALUES (682,682);
e673ee24 173
e673ee24
DO
174INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,1,'BlackBox');
175INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,2,'PDU');
176INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,3,'Shelf');
177INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,4,'Server');
178INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,5,'DiskArray');
179INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,6,'TapeLibrary');
180INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,7,'Router');
ebdb792c 181INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,8,'network switch');
e673ee24
DO
182INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,9,'PatchPanel');
183INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,10,'CableOrganizer');
184INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,11,'Placeholder');
185INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,12,'UPS');
d47fc84f
DO
186INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,13,'Modem');
187INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,14,'MediaConverter');
188INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,15,'console');
189INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,16,'power plug');
190INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,17,'BNC/10Base2');
191INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,18,'RJ-45/10Base-T');
192INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,19,'RJ-45/100Base-TX');
193INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,20,'SC/100Base-FX');
194INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,21,'LC/100Base-FX');
195INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,22,'SC/100Base-SX');
196INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,23,'LC/100Base-SX');
197INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,24,'RJ-45/1000Base-T');
198INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,25,'SC/1000Base-SX');
199INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,26,'LC/1000Base-SX');
200INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,27,'SC/1000Base-LX');
201INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,28,'LC/1000Base-LX');
d8515eff 202INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,29,'async serial (RJ-45)');
d47fc84f
DO
203INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,30,'LC/10GBase-SR');
204INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,31,'veth (Xen bridge)');
205INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,32,'sync serial');
ebdb792c 206INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,33,'KVM (host)');
d47fc84f
DO
207INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,34,'1000Base-ZX');
208INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,35,'10GBase-ER');
209INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,36,'10GBase-LR');
210INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,37,'10GBase-LRM');
211INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,38,'10GBase-ZR');
212INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,39,'10GBase-LX4');
213INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,40,'10GBase-CX4');
214INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,41,'10GBase-Kx');
ab0ec3ef
DO
215INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,439,'dry contact');
216INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,440,'unknown');
ebdb792c
DO
217INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,445,'KVM switch');
218INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,446,'KVM (console)');
219INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (1,447,'multiplexer');
d8515eff
DO
220INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,681,'async serial (DB-9)');
221INSERT INTO `Dictionary` (`chapter_no`, `dict_key`, `dict_value`) VALUES (2,682,'async serial (DB-25)');
9a6012eb 222
027c1370
DO
223INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('rtwidth_0','9','uint','no','yes','');
224INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('rtwidth_1','21','uint','no','yes','');
225INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('rtwidth_2','9','uint','no','yes','');
226INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('color_F','8fbfbf','string','no','yes','HSV: 180-25-75. Free atoms, they are available for allocation to objects.');
227INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('color_A','bfbfbf','string','no','yes','HSV: 0-0-75. Absent atoms.');
228INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('color_U','bf8f8f','string','no','yes','HSV: 0-25-75. Unusable atoms. Some problems keep them from being free.');
229INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('color_T','408080','string','no','yes','HSV: 180-50-50. Taken atoms, object_id should be set for such.');
230INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('color_Th','80ffff','string','no','yes','HSV: 180-50-100. Taken atoms with highlight. They are not stored in the database and are only used for highlighting.');
231INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('color_Tw','804040','string','no','yes','HSV: 0-50-50. Taken atoms with object problem. This is detected at runtime.');
232INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('color_Thw','ff8080','string','no','yes','HSV: 0-50-100. An object can be both current and problematic. We run highlightObject() first and markupObjectProblems() second.');
68050963 233INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('default_port_type','24','uint','no','no','Default port type');
027c1370
DO
234INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('MASSCOUNT','15','uint','no','no','"Fast" form is this many records tall');
235INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('MAXSELSIZE','30','uint','no','no','<SELECT> lists height');
236INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('enterprise','MyCompanyName','string','no','no','Organization name');
237INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('NAMEFUL_OBJTYPES','4,7,8','string','yes','no','Expect common name configured for the following object types');
238INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('ROW_SCALE','2','uint','no','no','Picture scale for rack row display');
239INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('PORTS_PER_ROW','12','uint','no','no','Ports per row in VLANs tab');
240INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('IPV4_ADDRS_PER_PAGE','256','uint','no','no','IPv4 addresses per page');
241INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('DEFAULT_RACK_HEIGHT','42','uint','yes','no','Default rack height');
a6305acc 242INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('REQUIRE_ASSET_TAG_FOR','4,7,8','string','yes','no','Require asset tag for the following object types');
e1a0d061
DO
243INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('DEFAULT_SLB_VS_PORT','','uint','yes','no','Default port of SLB virtual service');
244INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('DEFAULT_SLB_RS_PORT','','uint','yes','no','Default port of SLB real server');
d48e0a20 245INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('IPV4_PERFORMERS','1,4,7,8,12,14,445,447','string','yes','no','IPv4-capable object types');
e1a0d061 246INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('NATV4_PERFORMERS','4,7,8','string','yes','no','NATv4-capable object types');
f2154c9f 247INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('USER_AUTH_SRC','database','string','no','no','User authentication source');
a6f83a72 248INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('DETECT_URLS','no','string','yes','no','Detect URLs in text fields');
4b8d413e 249INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('RACK_PRESELECT_THRESHOLD','1','uint','no','no','Rack pre-selection threshold');
7e7a8387 250INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('DEFAULT_IPV4_RS_INSERVICE','no','string','no','no','Inservice status for new SLB real servers');
95ababbe 251INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('AUTOPORTS_CONFIG','4 = 1*33*kvm + 2*24*eth%u;15 = 1*446*kvm','string','yes','no','AutoPorts configuration');
05facf33 252INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('DEFAULT_OBJECT_TYPE','4','uint','yes','no','Default object type for new objects');
194e3748
DO
253INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('SHOW_EXPLICIT_TAGS','yes','string','no','no','Show explicit tags');
254INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('SHOW_IMPLICIT_TAGS','yes','string','no','no','Show implicit tags');
255INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('SHOW_AUTOMATIC_TAGS','no','string','no','no','Show automatic tags');
3861eef6 256INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('IPV4_AUTO_RELEASE','1','uint','no','no','Auto-release IPv4 addresses on allocation');
b0348307
DO
257INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('SHOW_LAST_TAB','no','string','yes','no','Remember last tab shown for each page');
258INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('COOKIE_TTL','1209600','uint','yes','no','Cookies lifetime in seconds');
d35cd472 259INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('DB_VERSION','0.16.0','string','no','yes','Database version.');
032a2fb2 260
d35cd472 261INSERT INTO `Script` VALUES ('RackCode','allow {$userid_1}');