854d5f4dac31e8c634fe67382dab31606f9a45dd
[racktables-incomplete-works] / wwwroot / inc / navigation.php
1 <?php
2
3 # This file is a part of RackTables, a datacenter and server room management
4 # framework. See accompanying file "COPYING" for the full copyright and
5 # licensing information.
6
7 /*
8
9 This file contains a series of arrays, which define RackTables as a tree
10 of discrete views ("pages"). Each such page may be in turn split info a set of
11 "tabs". In the latter case it is also possible to define a set of "operations"
12 for a particular combination of page and tab (location). These operations
13 represent actions requested by the user and often expect additional data
14 provided to be executed correctly (constraints on the additional data are
15 defined and validated in ophandlers.php).
16
17 Every page split into tabs must define a tab internally named "default". It is
18 assumed, that this default tab never defines any operations and thus remains
19 read-only.
20
21 */
22
23 $page = array();
24 $tab = array();
25 $trigger = array();
26
27 $ophandler = array();
28 $tabhandler = array();
29 $hook = array();
30 $ophandlers_stack = array();
31 $tabhandlers_stack = array();
32 $hooks_stack = array();
33
34 $delayauth = array();
35 $svghandler = array();
36 $ajaxhandler = array();
37
38 $indexlayout = array
39 (
40 array ('rackspace', 'depot', 'ipv4space', 'ipv6space'),
41 array ('files', 'reports', 'ipv4slb', '8021q'),
42 array ('config', 'objectlog', 'virtual'),
43 );
44
45 $page['index']['title'] = 'Main page';
46 $page['index']['handler'] = 'renderIndex';
47
48 $page['rackspace']['title'] = 'Rackspace';
49 $page['rackspace']['parent'] = 'index';
50 $tab['rackspace']['default'] = 'Browse';
51 $tab['rackspace']['editlocations'] = 'Manage locations';
52 $tab['rackspace']['editrows'] = 'Manage rows';
53 $tab['rackspace']['history'] = 'History';
54 $tabhandler['rackspace']['default'] = 'renderRackspace';
55 $tabhandler['rackspace']['editlocations'] = 'renderRackspaceLocationEditor';
56 $tabhandler['rackspace']['editrows'] = 'renderRackspaceRowEditor';
57 $tabhandler['rackspace']['history'] = 'renderRackspaceHistory';
58 $ophandler['rackspace']['editlocations']['addLocation'] = 'addLocation';
59 $ophandler['rackspace']['editlocations']['updateLocation'] = 'updateLocation';
60 $ophandler['rackspace']['editlocations']['deleteLocation'] = 'deleteLocation';
61 $ophandler['rackspace']['editrows']['addRow'] = 'addRow';
62 $ophandler['rackspace']['editrows']['updateRow'] = 'updateRow';
63 $ophandler['rackspace']['editrows']['deleteRow'] = 'deleteRow';
64
65 $page['depot']['parent'] = 'index';
66 $page['depot']['title'] = 'Objects';
67 $tab['depot']['default'] = 'Browse';
68 $tab['depot']['addmore'] = 'Add more';
69 $tabhandler['depot']['default'] = 'renderDepot';
70 $tabhandler['depot']['addmore'] = 'renderAddMultipleObjectsForm';
71 $ophandler['depot']['addmore']['addObjects'] = 'addMultipleObjects';
72 $ophandler['depot']['addmore']['addLotOfObjects'] = 'addLotOfObjects';
73 $ophandler['depot']['addmore']['deleteObject'] = 'deleteObject';
74
75 $page['location']['bypass'] = 'location_id';
76 $page['location']['bypass_type'] = 'uint';
77 $page['location']['parent'] = 'rackspace';
78 $tab['location']['default'] = 'View';
79 $tab['location']['edit'] = 'Properties';
80 $tab['location']['log'] = 'Log';
81 $tab['location']['tags'] = 'Tags';
82 $tab['location']['files'] = 'Files';
83 $tabhandler['location']['default'] = 'renderLocationPage';
84 $tabhandler['location']['edit'] = 'renderEditLocationForm';
85 $tabhandler['location']['log'] = 'renderObjectLogEditor';
86 $tabhandler['location']['tags'] = 'renderEntityTags';
87 $tabhandler['location']['files'] = 'renderFilesForEntity';
88 $trigger['location']['tags'] = 'trigger_tags';
89 $ophandler['location']['edit']['clearSticker'] = 'clearSticker';
90 $ophandler['location']['edit']['updateLocation'] = 'updateLocation';
91 $ophandler['location']['edit']['deleteLocation'] = 'deleteLocation';
92 $ophandler['location']['log']['add'] = 'addObjectlog';
93 $ophandler['location']['log']['del'] = 'tableHandler';
94 $ophandler['location']['tags']['saveTags'] = 'saveEntityTags';
95 $ophandler['location']['files']['addFile'] = 'addFileToEntity';
96 $ophandler['location']['files']['linkFile'] = 'linkFileToEntity';
97 $ophandler['location']['files']['unlinkFile'] = 'unlinkFile';
98
99 $page['row']['bypass'] = 'row_id';
100 $page['row']['bypass_type'] = 'uint';
101 $page['row']['parent'] = 'rackspace';
102 $tab['row']['default'] = 'View';
103 $tab['row']['editracks'] = 'Manage racks';
104 $tab['row']['newrack'] = 'Add new rack';
105 $tab['row']['tagroller'] = 'Tag roller';
106 $tab['row']['files'] = 'Files';
107 $tabhandler['row']['default'] = 'renderRow';
108 $tabhandler['row']['editracks'] = 'renderRackSortForm';
109 $tabhandler['row']['newrack'] = 'renderNewRackForm';
110 $tabhandler['row']['tagroller'] = 'renderTagRollerForRow';
111 $tabhandler['row']['files'] = 'renderFilesForEntity';
112 $ophandler['row']['tagroller']['rollTags'] = 'rollTags';
113 $ophandler['row']['newrack']['addRack'] = 'addRack';
114 $ophandler['row']['files']['addFile'] = 'addFileToEntity';
115 $ophandler['row']['files']['linkFile'] = 'linkFileToEntity';
116 $ophandler['row']['files']['unlinkFile'] = 'unlinkFile';
117
118 $page['rack']['bypass'] = 'rack_id';
119 $page['rack']['bypass_type'] = 'uint';
120 $page['rack']['parent'] = 'row';
121 $tab['rack']['default'] = 'View';
122 $tab['rack']['edit'] = 'Properties';
123 $tab['rack']['log'] = 'Log';
124 $tab['rack']['design'] = 'Design';
125 $tab['rack']['problems'] = 'Problems';
126 $tab['rack']['tags'] = 'Tags';
127 $tab['rack']['files'] = 'Files';
128 $tabhandler['rack']['default'] = 'renderRackPage';
129 $tabhandler['rack']['edit'] = 'renderEditRackForm';
130 $tabhandler['rack']['log'] = 'renderObjectLogEditor';
131 $tabhandler['rack']['design'] = 'renderRackDesign';
132 $tabhandler['rack']['problems'] = 'renderRackProblems';
133 $tabhandler['rack']['tags'] = 'renderEntityTags';
134 $tabhandler['rack']['files'] = 'renderFilesForEntity';
135 $trigger['rack']['tags'] = 'trigger_tags';
136 $ophandler['rack']['design']['updateRack'] = 'updateRackDesign';
137 $ophandler['rack']['problems']['updateRack'] = 'updateRackProblems';
138 $ophandler['rack']['edit']['clearSticker'] = 'clearSticker';
139 $ophandler['rack']['edit']['updateRack'] = 'updateRack';
140 $ophandler['rack']['edit']['deleteRack'] = 'deleteRack';
141 $ophandler['rack']['log']['add'] = 'addObjectlog';
142 $ophandler['rack']['log']['del'] = 'tableHandler';
143 $ophandler['rack']['tags']['saveTags'] = 'saveEntityTags';
144 $ophandler['rack']['files']['addFile'] = 'addFileToEntity';
145 $ophandler['rack']['files']['linkFile'] = 'linkFileToEntity';
146 $ophandler['rack']['files']['unlinkFile'] = 'unlinkFile';
147
148 $page['object']['bypass'] = 'object_id';
149 $page['object']['bypass_type'] = 'uint';
150 $page['object']['bypass_tabs'] = array ('hl_port_id', 'hl_ip');
151 $page['object']['parent'] = 'depot';
152 $tab['object']['default'] = 'View';
153 $tab['object']['edit'] = 'Properties';
154 $tab['object']['log'] = 'Log';
155 $tab['object']['rackspace'] = 'Rackspace';
156 $tab['object']['ports'] = 'Ports';
157 $tab['object']['ip'] = 'IP';
158 $tab['object']['nat4'] = 'NATv4';
159 $tab['object']['liveports'] = 'Live ports';
160 $tab['object']['livecdp'] = 'Live CDP';
161 $tab['object']['livelldp'] = 'Live LLDP';
162 $tab['object']['snmpportfinder'] = 'SNMP sync';
163 $tab['object']['editrspvs'] = 'VS links';
164 $tab['object']['editvslinks'] = 'VSG links';
165 $tab['object']['lvsconfig'] = 'keepalived.conf';
166 $tab['object']['autoports'] = 'AutoPorts';
167 $tab['object']['tags'] = 'Tags';
168 $tab['object']['files'] = 'Files';
169 $tab['object']['ucs'] = 'UCS';
170 $tab['object']['8021qorder'] = '802.1Q order';
171 $tab['object']['8021qports'] = '802.1Q ports';
172 $tab['object']['8021qsync'] = '802.1Q sync';
173 $tab['object']['cacti'] = 'Cacti Graphs';
174 $tab['object']['munin'] = 'Munin Graphs';
175 $tabhandler['object']['default'] = 'renderObject';
176 $tabhandler['object']['edit'] = 'renderEditObjectForm';
177 $tabhandler['object']['log'] = 'renderObjectLogEditor';
178 $tabhandler['object']['rackspace'] = 'renderRackSpaceForObject';
179 $tabhandler['object']['ports'] = 'renderPortsForObject';
180 $tabhandler['object']['ip'] = 'renderIPForObject';
181 $tabhandler['object']['nat4'] = 'renderNATv4ForObject';
182 $tabhandler['object']['liveports'] = 'renderPortsInfo';
183 $tabhandler['object']['livecdp'] = 'renderDiscoveredNeighbors';
184 $tabhandler['object']['livelldp'] = 'renderDiscoveredNeighbors';
185 $tabhandler['object']['snmpportfinder'] = 'renderSNMPPortFinder';
186 $tabhandler['object']['lvsconfig'] = 'renderLVSConfig';
187 $tabhandler['object']['autoports'] = 'renderAutoPortsForm';
188 $tabhandler['object']['tags'] = 'renderEntityTags';
189 $tabhandler['object']['files'] = 'renderFilesForEntity';
190 $tabhandler['object']['editrspvs'] = 'renderSLBEditTab';
191 $tabhandler['object']['editvslinks'] = 'renderTripletForm';
192 $tabhandler['object']['8021qorder'] = 'render8021QOrderForm';
193 $tabhandler['object']['8021qports'] = 'renderObject8021QPorts';
194 $tabhandler['object']['8021qsync'] = 'renderObject8021QSync';
195 $tabhandler['object']['cacti'] = 'renderObjectCactiGraphs';
196 $tabhandler['object']['munin'] = 'renderObjectMuninGraphs';
197 $tabhandler['object']['ucs'] = 'renderEditUCSForm';
198 $trigger['object']['rackspace'] = 'trigger_rackspace';
199 $trigger['object']['ports'] = 'trigger_ports';
200 $trigger['object']['ip'] = 'trigger_ip';
201 $trigger['object']['nat4'] = 'trigger_natv4';
202 $trigger['object']['liveports'] = 'trigger_liveports';
203 $trigger['object']['livecdp'] = 'trigger_LiveCDP';
204 $trigger['object']['livelldp'] = 'trigger_LiveLLDP';
205 $trigger['object']['snmpportfinder'] = 'trigger_snmpportfinder';
206 $trigger['object']['editrspvs'] = 'trigger_isloadbalancer';
207 $trigger['object']['editvslinks'] = 'trigger_isloadbalancer';
208 $trigger['object']['lvsconfig'] = 'trigger_isloadbalancer';
209 $trigger['object']['autoports'] = 'trigger_autoports';
210 $trigger['object']['tags'] = 'trigger_tags';
211 $trigger['object']['8021qorder'] = 'trigger_object_8021qorder';
212 $trigger['object']['8021qports'] = 'trigger_object_8021qports';
213 $trigger['object']['8021qsync'] = 'trigger_object_8021qsync';
214 $trigger['object']['cacti'] = 'triggerCactiGraphs';
215 $trigger['object']['munin'] = 'triggerMuninGraphs';
216 $trigger['object']['ucs'] = 'trigger_ucs';
217 $ophandler['object']['edit']['linkObjects'] = 'linkObjects';
218 $ophandler['object']['edit']['unlinkObjects'] = 'tableHandler';
219 $ophandler['object']['rackspace']['updateObjectAllocation'] = 'updateObjectAllocation';
220 $ophandler['object']['ports']['addPort'] = 'addPortForObject';
221 $ophandler['object']['ports']['editPort'] = 'editPortForObject';
222 $ophandler['object']['ports']['addMultiPorts'] = 'addMultiPorts';
223 $ophandler['object']['ports']['addBulkPorts'] = 'addBulkPorts';
224 $ophandler['object']['ports']['useup'] = 'tableHandler';
225 $ophandler['object']['ports']['delPort'] = 'tableHandler';
226 $ophandler['object']['ports']['deleteAll'] = 'tableHandler';
227 $ophandler['object']['ports']['unlinkPort'] = 'unlinkPort';
228 $ophandler['object']['ip']['upd'] = 'updIPAllocation';
229 $ophandler['object']['ip']['add'] = 'addIPAllocation';
230 $ophandler['object']['ip']['del'] = 'delIPAllocation';
231 $ophandler['object']['edit']['clearSticker'] = 'clearSticker';
232 $ophandler['object']['edit']['update'] = 'updateObject';
233 $ophandler['object']['edit']['resetObject'] = 'resetObject';
234 $ophandler['object']['log']['add'] = 'addObjectlog';
235 $ophandler['object']['log']['del'] = 'tableHandler';
236 $ophandler['object']['nat4']['addNATv4Rule'] = 'addPortForwarding';
237 $ophandler['object']['nat4']['delNATv4Rule'] = 'delPortForwarding';
238 $ophandler['object']['nat4']['updNATv4Rule'] = 'updPortForwarding';
239 $ophandler['object']['livecdp']['importDPData'] = 'importDPData';
240 $ophandler['object']['livelldp']['importDPData'] = 'importDPData';
241 $ophandler['object']['autoports']['generate'] = 'generateAutoPorts';
242 $ophandler['object']['tags']['saveTags'] = 'saveEntityTags';
243 $ophandler['object']['files']['addFile'] = 'addFileToEntity';
244 $ophandler['object']['files']['linkFile'] = 'linkFileToEntity';
245 $ophandler['object']['files']['unlinkFile'] = 'unlinkFile';
246 $ophandler['object']['editrspvs']['addLB'] = 'addLoadBalancer';
247 $ophandler['object']['editrspvs']['delLB'] = 'tableHandler';
248 $ophandler['object']['editrspvs']['updLB'] = 'tableHandler';
249 $ophandler['object']['editvslinks']['addLink'] = 'createTriplet';
250 $ophandler['object']['editvslinks']['del'] = 'removeTriplet';
251 $ophandler['object']['editvslinks']['updPort'] = 'updateTripletConfig';
252 $ophandler['object']['editvslinks']['updIp'] = 'updateTripletConfig';
253 $ophandler['object']['lvsconfig']['submitSLBConfig'] = 'submitSLBConfig';
254 $ophandler['object']['snmpportfinder']['querySNMPData'] = 'querySNMPData';
255 $ophandler['object']['8021qorder']['add'] = 'add8021QOrder';
256 $ophandler['object']['8021qorder']['del'] = 'del8021QOrder';
257 $ophandler['object']['8021qports']['save8021QConfig'] = 'save8021QPorts';
258 $ophandler['object']['8021qports']['exec8021QRecalc'] = 'process8021QRecalcRequest';
259 $ophandler['object']['8021qsync']['exec8021QPull'] = 'process8021QSyncRequest';
260 $ophandler['object']['8021qsync']['exec8021QPush'] = 'process8021QSyncRequest';
261 $ophandler['object']['8021qsync']['resolve8021QConflicts'] = 'resolve8021QConflicts';
262 $ophandler['object']['8021qsync']['updPortList'] = 'update8021QPortList';
263 $ophandler['object']['cacti']['add'] = 'tableHandler';
264 $ophandler['object']['cacti']['del'] = 'tableHandler';
265 $ophandler['object']['munin']['add'] = 'tableHandler';
266 $ophandler['object']['munin']['del'] = 'tableHandler';
267 $ophandler['object']['ucs']['autoPopulateUCS'] = 'autoPopulateUCS';
268 $ophandler['object']['ucs']['cleanupUCS'] = 'cleanupUCS';
269 $delayauth['object-8021qports-save8021QConfig'] = TRUE;
270 $delayauth['object-8021qorder-add'] = TRUE;
271 $delayauth['object-8021qorder-del'] = TRUE;
272
273 $page['ipv4space']['parent'] = 'index';
274 $tab['ipv4space']['default'] = 'Browse';
275 $tab['ipv4space']['newrange'] = 'Add';
276 $tab['ipv4space']['manage'] = 'Delete';
277 $tabhandler['ipv4space']['default'] = 'renderIPSpace';
278 $tabhandler['ipv4space']['newrange'] = 'renderIPNewNetForm';
279 $tabhandler['ipv4space']['manage'] = 'renderIPSpaceEditor';
280 $ophandler['ipv4space']['newrange']['add'] = 'addIPv4Prefix';
281 $ophandler['ipv4space']['manage']['del'] = 'delIPv4Prefix';
282
283 $page['ipv6space']['parent'] = 'index';
284 $tab['ipv6space']['default'] = 'Browse';
285 $tab['ipv6space']['newrange'] = 'Add';
286 $tab['ipv6space']['manage'] = 'Delete';
287 $tabhandler['ipv6space']['default'] = 'renderIPSpace';
288 $tabhandler['ipv6space']['newrange'] = 'renderIPNewNetForm';
289 $tabhandler['ipv6space']['manage'] = 'renderIPSpaceEditor';
290 $ophandler['ipv6space']['newrange']['add'] = 'addIPv6Prefix';
291 $ophandler['ipv6space']['manage']['del'] = 'delIPv6Prefix';
292
293 $page['ipv4net']['parent'] = 'ipv4space';
294 $page['ipv4net']['bypass'] = 'id';
295 $page['ipv4net']['bypass_type'] = 'uint';
296 $page['ipv4net']['bypass_tabs'] = array ('pg');
297 $tab['ipv4net']['default'] = 'Browse';
298 $tab['ipv4net']['properties'] = 'Properties';
299 $tab['ipv4net']['liveptr'] = 'Live PTR';
300 $tab['ipv4net']['tags'] = 'Tags';
301 $tab['ipv4net']['files'] = 'Files';
302 $tab['ipv4net']['8021q'] = '802.1Q';
303 $tabhandler['ipv4net']['default'] = 'renderIPNetwork';
304 $tabhandler['ipv4net']['properties'] = 'renderIPNetworkProperties';
305 $tabhandler['ipv4net']['liveptr'] = 'renderLivePTR';
306 $tabhandler['ipv4net']['tags'] = 'renderEntityTags';
307 $tabhandler['ipv4net']['files'] = 'renderFilesForEntity';
308 $tabhandler['ipv4net']['8021q'] = 'renderVLANIPLinks';
309 $trigger['ipv4net']['tags'] = 'trigger_tags';
310 $trigger['ipv4net']['8021q'] = 'trigger_ipv4net_vlanconfig';
311 $ophandler['ipv4net']['properties']['editRange'] = 'editIPv4Net';
312 $ophandler['ipv4net']['properties']['del'] = 'delIPv4Prefix';
313 $ophandler['ipv4net']['liveptr']['importPTRData'] = 'importPTRData';
314 $ophandler['ipv4net']['tags']['saveTags'] = 'saveEntityTags';
315 $ophandler['ipv4net']['files']['addFile'] = 'addFileToEntity';
316 $ophandler['ipv4net']['files']['linkFile'] = 'linkFileToEntity';
317 $ophandler['ipv4net']['files']['unlinkFile'] = 'unlinkFile';
318 $ophandler['ipv4net']['8021q']['bind'] = 'bindVLANtoIPv4';
319 $ophandler['ipv4net']['8021q']['unbind'] = 'unbindVLANfromIPv4';
320
321 $page['ipv6net']['parent'] = 'ipv6space';
322 $page['ipv6net']['bypass'] = 'id';
323 $page['ipv6net']['bypass_type'] = 'uint';
324 $tab['ipv6net']['default'] = 'Browse';
325 $tab['ipv6net']['properties'] = 'Properties';
326 $tab['ipv6net']['tags'] = 'Tags';
327 $tab['ipv6net']['files'] = 'Files';
328 $tab['ipv6net']['8021q'] = '802.1Q';
329 $tabhandler['ipv6net']['default'] = 'renderIPNetwork';
330 $tabhandler['ipv6net']['properties'] = 'renderIPNetworkProperties';
331 $tabhandler['ipv6net']['tags'] = 'renderEntityTags';
332 $tabhandler['ipv6net']['files'] = 'renderFilesForEntity';
333 $tabhandler['ipv6net']['8021q'] = 'renderVLANIPLinks';
334 $trigger['ipv6net']['tags'] = 'trigger_tags';
335 $trigger['ipv6net']['8021q'] = 'trigger_ipv6net_vlanconfig';
336 $ophandler['ipv6net']['properties']['editRange'] = 'editIPv6Net';
337 $ophandler['ipv6net']['properties']['del'] = 'delIPv6Prefix';
338 $ophandler['ipv6net']['tags']['saveTags'] = 'saveEntityTags';
339 $ophandler['ipv6net']['files']['addFile'] = 'addFileToEntity';
340 $ophandler['ipv6net']['files']['linkFile'] = 'linkFileToEntity';
341 $ophandler['ipv6net']['files']['unlinkFile'] = 'unlinkFile';
342 $ophandler['ipv6net']['8021q']['bind'] = 'bindVLANtoIPv6';
343 $ophandler['ipv6net']['8021q']['unbind'] = 'unbindVLANfromIPv6';
344
345 //$page['ipaddress']['parent'] = 'ipnet'; - this is commented intentionally, there is a special hack in getPath
346 $page['ipaddress']['bypass'] = 'ip';
347 $page['ipaddress']['bypass_type'] = 'inet';
348 $tab['ipaddress']['default'] = 'Browse';
349 $tab['ipaddress']['properties'] = 'Properties';
350 $tab['ipaddress']['assignment'] = 'Allocation';
351 $tab['ipaddress']['log'] = 'Change log';
352 $tabhandler['ipaddress']['default'] = 'renderIPAddress';
353 $tabhandler['ipaddress']['properties'] = 'renderIPAddressProperties';
354 $tabhandler['ipaddress']['assignment'] = 'renderIPAddressAllocations';
355 $tabhandler['ipaddress']['log'] = 'renderIPAddressLog';
356 $trigger['ipaddress']['log'] = 'triggerIPAddressLog';
357 $ophandler['ipaddress']['properties']['editAddress'] = 'editAddress';
358 $ophandler['ipaddress']['assignment']['del'] = 'delIPAllocation';
359 $ophandler['ipaddress']['assignment']['upd'] = 'updIPAllocation';
360 $ophandler['ipaddress']['assignment']['add'] = 'addIPAllocation';
361
362 $page['ipv4slb']['title'] = 'IP SLB';
363 $page['ipv4slb']['parent'] = 'index';
364 $tab['ipv4slb']['default'] = 'Virtual services';
365 $tab['ipv4slb']['vs'] = 'VS groups';
366 $tab['ipv4slb']['lbs'] = 'Load balancers';
367 $tab['ipv4slb']['rspools'] = 'RS pools';
368 $tab['ipv4slb']['rservers'] = 'Real servers';
369 $tab['ipv4slb']['defconfig'] = 'Default configs';
370 $tab['ipv4slb']['new_vs'] = 'new VS';
371 $tab['ipv4slb']['new_vsg'] = 'new VS group';
372 $tab['ipv4slb']['new_rs'] = 'new RS pool';
373 $tabhandler['ipv4slb']['default'] = 'renderVSList';
374 $tabhandler['ipv4slb']['vs'] = 'renderVSGList';
375 $tabhandler['ipv4slb']['lbs'] = 'renderLBList';
376 $tabhandler['ipv4slb']['rspools'] = 'renderRSPoolList';
377 $tabhandler['ipv4slb']['rservers'] = 'renderRealServerList';
378 $tabhandler['ipv4slb']['defconfig'] = 'renderSLBDefConfig';
379 $tabhandler['ipv4slb']['new_vs'] = 'renderNewVSForm';
380 $tabhandler['ipv4slb']['new_vsg'] = 'renderNewVSGForm';
381 $tabhandler['ipv4slb']['new_rs'] = 'renderNewRSPoolForm';
382 $ophandler['ipv4slb']['new_vs']['add'] = 'addVService';
383 $ophandler['ipv4slb']['new_vsg']['add'] = 'addVSG';
384 $ophandler['ipv4slb']['new_rs']['add'] = 'addRSPool';
385 $ophandler['ipv4slb']['defconfig']['save'] = 'updateSLBDefConfig';
386
387 $page['ipv4vs']['parent'] = 'ipv4slb:default';
388 $page['ipv4vs']['bypass'] = 'vs_id';
389 $page['ipv4vs']['bypass_type'] = 'uint';
390 $tab['ipv4vs']['default'] = 'View';
391 $tab['ipv4vs']['edit'] = 'Edit';
392 $tab['ipv4vs']['editlblist'] = 'VS links';
393 $tab['ipv4vs']['tags'] = 'Tags';
394 $tab['ipv4vs']['files'] = 'Files';
395 $tabhandler['ipv4vs']['default'] = 'renderVirtualService';
396 $tabhandler['ipv4vs']['edit'] = 'renderEditVService';
397 $tabhandler['ipv4vs']['editlblist'] = 'renderSLBEditTab';
398 $tabhandler['ipv4vs']['tags'] = 'renderEntityTags';
399 $tabhandler['ipv4vs']['files'] = 'renderFilesForEntity';
400 $trigger['ipv4vs']['tags'] = 'trigger_tags';
401 $ophandler['ipv4vs']['edit']['updIPv4VS'] = 'updateVService';
402 $ophandler['ipv4vs']['edit']['del'] = 'deleteVService';
403 $ophandler['ipv4vs']['editlblist']['addLB'] = 'addLoadBalancer';
404 $ophandler['ipv4vs']['editlblist']['delLB'] = 'tableHandler';
405 $ophandler['ipv4vs']['editlblist']['updLB'] = 'tableHandler';
406 $ophandler['ipv4vs']['tags']['saveTags'] = 'saveEntityTags';
407 $ophandler['ipv4vs']['files']['addFile'] = 'addFileToEntity';
408 $ophandler['ipv4vs']['files']['linkFile'] = 'linkFileToEntity';
409 $ophandler['ipv4vs']['files']['unlinkFile'] = 'unlinkFile';
410
411 $page['ipvs']['parent'] = 'ipv4slb:vs';
412 $page['ipvs']['bypass'] = 'vs_id';
413 $page['ipvs']['bypass_type'] = 'uint';
414 $tab['ipvs']['default'] = 'View';
415 $tab['ipvs']['edit'] = 'Edit';
416 $tab['ipvs']['editvslinks'] = 'VSG links';
417 $tab['ipvs']['tags'] = 'Tags';
418 $tab['ipvs']['files'] = 'Files';
419 $tab['ipvs']['convert'] = 'Migrate';
420 $tabhandler['ipvs']['default'] = 'renderVS';
421 $tabhandler['ipvs']['edit'] = 'renderEditVS';
422 $tabhandler['ipvs']['editvslinks'] = 'renderTripletForm';
423 $tabhandler['ipvs']['tags'] = 'renderEntityTags';
424 $tabhandler['ipvs']['files'] = 'renderFilesForEntity';
425 $tabhandler['ipvs']['convert'] = 'renderIPVSConvert';
426 $ophandler['ipvs']['edit']['updVS'] = 'updateVS';
427 $ophandler['ipvs']['edit']['del'] = 'deleteVS';
428 $ophandler['ipvs']['edit']['addIP'] = 'addIPToVS';
429 $ophandler['ipvs']['edit']['addPort'] = 'addPortToVS';
430 $ophandler['ipvs']['edit']['updIP'] = 'updateIPInVS';
431 $ophandler['ipvs']['edit']['updPort'] = 'updatePortInVS';
432 $ophandler['ipvs']['edit']['delIP'] = 'removeIPFromVS';
433 $ophandler['ipvs']['edit']['delPort'] = 'removePortFromVS';
434 $ophandler['ipvs']['editvslinks']['addLink'] = 'createTriplet';
435 $ophandler['ipvs']['editvslinks']['del'] = 'removeTriplet';
436 $ophandler['ipvs']['editvslinks']['updPort'] = 'updateTripletConfig';
437 $ophandler['ipvs']['editvslinks']['updIp'] = 'updateTripletConfig';
438 $ophandler['ipvs']['tags']['saveTags'] = 'saveEntityTags';
439 $ophandler['ipvs']['files']['addFile'] = 'addFileToEntity';
440 $ophandler['ipvs']['files']['linkFile'] = 'linkFileToEntity';
441 $ophandler['ipvs']['files']['unlinkFile'] = 'unlinkFile';
442 $ophandler['ipvs']['convert']['convert'] = 'doVSMigrate';
443 $trigger['ipvs']['tags'] = 'trigger_tags';
444 $trigger['ipvs']['convert'] = 'trigger_ipvs_convert';
445
446 $page['ipv4rspool']['parent'] = 'ipv4slb:rspools';
447 $page['ipv4rspool']['bypass'] = 'pool_id';
448 $page['ipv4rspool']['bypass_type'] = 'uint';
449 $tab['ipv4rspool']['default'] = 'View';
450 $tab['ipv4rspool']['edit'] = 'Edit';
451 $tab['ipv4rspool']['editlblist'] = 'VS links';
452 $tab['ipv4rspool']['editvslinks'] = 'VSG links';
453 $tab['ipv4rspool']['editrslist'] = 'RS list';
454 $tab['ipv4rspool']['tags'] = 'Tags';
455 $tab['ipv4rspool']['files'] = 'Files';
456 $trigger['ipv4rspool']['tags'] = 'trigger_tags';
457 $tabhandler['ipv4rspool']['default'] = 'renderRSPool';
458 $tabhandler['ipv4rspool']['edit'] = 'renderEditRSPool';
459 $tabhandler['ipv4rspool']['editrslist'] = 'renderRSPoolServerForm';
460 $tabhandler['ipv4rspool']['editvslinks'] = 'renderTripletForm';
461 $tabhandler['ipv4rspool']['editlblist'] = 'renderSLBEditTab';
462 $tabhandler['ipv4rspool']['tags'] = 'renderEntityTags';
463 $tabhandler['ipv4rspool']['files'] = 'renderFilesForEntity';
464 $ophandler['ipv4rspool']['edit']['updIPv4RSP'] = 'updIPv4RSP';
465 $ophandler['ipv4rspool']['edit']['cloneIPv4RSP'] = 'cloneRSPool';
466 $ophandler['ipv4rspool']['edit']['del'] = 'deleteRSPool';
467 $ophandler['ipv4rspool']['editrslist']['addRS'] = 'addRealServer';
468 $ophandler['ipv4rspool']['editrslist']['delRS'] = 'tableHandler';
469 $ophandler['ipv4rspool']['editrslist']['updRS'] = 'updateRealServer';
470 $ophandler['ipv4rspool']['editrslist']['addMany'] = 'addRealServers';
471 $ophandler['ipv4rspool']['editlblist']['addLB'] = 'addLoadBalancer';
472 $ophandler['ipv4rspool']['editlblist']['delLB'] = 'tableHandler';
473 $ophandler['ipv4rspool']['editlblist']['updLB'] = 'tableHandler';
474 $ophandler['ipv4rspool']['editvslinks']['addLink'] = 'createTriplet';
475 $ophandler['ipv4rspool']['editvslinks']['del'] = 'removeTriplet';
476 $ophandler['ipv4rspool']['editvslinks']['updPort'] = 'updateTripletConfig';
477 $ophandler['ipv4rspool']['editvslinks']['updIp'] = 'updateTripletConfig';
478 $ophandler['ipv4rspool']['tags']['saveTags'] = 'saveEntityTags';
479 $ophandler['ipv4rspool']['files']['addFile'] = 'addFileToEntity';
480 $ophandler['ipv4rspool']['files']['linkFile'] = 'linkFileToEntity';
481 $ophandler['ipv4rspool']['files']['unlinkFile'] = 'unlinkFile';
482
483 $page['search']['handler'] = 'searchHandler';
484 $page['search']['parent'] = 'index';
485 $page['search']['bypass'] = 'q';
486
487 $page['config']['title'] = 'Configuration';
488 $page['config']['handler'] = 'renderConfigMainpage';
489 $page['config']['parent'] = 'index';
490
491 $page['userlist']['title'] = 'Local users';
492 $page['userlist']['parent'] = 'config';
493 $tab['userlist']['default'] = 'View';
494 $tab['userlist']['edit'] = 'Edit';
495 $tabhandler['userlist']['default'] = 'renderUserList';
496 $tabhandler['userlist']['edit'] = 'renderUserListEditor';
497 $ophandler['userlist']['edit']['updateUser'] = 'updateUser';
498 $ophandler['userlist']['edit']['createUser'] = 'createUser';
499
500 $page['user']['parent'] = 'userlist';
501 $page['user']['bypass'] = 'user_id';
502 $page['user']['bypass_type'] = 'uint';
503 $tab['user']['default'] = 'View';
504 $tab['user']['properties'] = 'Properties';
505 $tab['user']['tags'] = 'Tags';
506 $tab['user']['files'] = 'Files';
507 $tabhandler['user']['default'] = 'renderUser';
508 $tabhandler['user']['tags'] = 'renderEntityTags';
509 $tabhandler['user']['files'] = 'renderFilesForEntity';
510 $tabhandler['user']['properties'] = 'renderUserProperties';
511 $ophandler['user']['properties']['edit'] = 'editUserProperties';
512 $ophandler['user']['tags']['saveTags'] = 'saveEntityTags';
513 $ophandler['user']['files']['addFile'] = 'addFileToEntity';
514 $ophandler['user']['files']['linkFile'] = 'linkFileToEntity';
515 $ophandler['user']['files']['unlinkFile'] = 'unlinkFile';
516
517 $page['perms']['title'] = 'Permissions';
518 $page['perms']['parent'] = 'config';
519 $tab['perms']['default'] = 'View';
520 $tab['perms']['edit'] = 'Edit';
521 $tabhandler['perms']['default'] = 'renderRackCodeViewer';
522 $tabhandler['perms']['edit'] = 'renderRackCodeEditor';
523 $ophandler['perms']['edit']['saveRackCode'] = 'saveRackCode';
524
525 $page['parentmap']['title'] = 'Object container compatibility';
526 $page['parentmap']['parent'] = 'config';
527 $tab['parentmap']['default'] = 'View';
528 $tab['parentmap']['edit'] = 'Edit';
529 $tabhandler['parentmap']['default'] = 'renderObjectParentCompatViewer';
530 $tabhandler['parentmap']['edit'] = 'renderObjectParentCompatEditor';
531 $ophandler['parentmap']['edit']['add'] = 'tableHandler';
532 $ophandler['parentmap']['edit']['del'] = 'tableHandler';
533
534 $page['portmap']['title'] = 'Port compatibility';
535 $page['portmap']['parent'] = 'config';
536 $tab['portmap']['default'] = 'View';
537 $tab['portmap']['edit'] = 'Edit';
538 $tabhandler['portmap']['default'] = 'renderOIFCompatViewer';
539 $tabhandler['portmap']['edit'] = 'renderOIFCompatEditor';
540 $ophandler['portmap']['edit']['add'] = 'tableHandler';
541 $ophandler['portmap']['edit']['del'] = 'tableHandler';
542 $ophandler['portmap']['edit']['addPack'] = 'addOIFCompatPack';
543 $ophandler['portmap']['edit']['delPack'] = 'delOIFCompatPack';
544
545 $page['portifcompat']['title'] = 'Enabled port types';
546 $page['portifcompat']['parent'] = 'config';
547 $tab['portifcompat']['default'] = 'View';
548 $tab['portifcompat']['edit'] = 'Edit';
549 $tabhandler['portifcompat']['default'] = 'renderIIFOIFCompat';
550 $tabhandler['portifcompat']['edit'] = 'renderIIFOIFCompatEditor';
551 $ophandler['portifcompat']['edit']['add'] = 'addIIFOIFCompat';
552 $ophandler['portifcompat']['edit']['del'] = 'tableHandler';
553 $ophandler['portifcompat']['edit']['addPack'] = 'addIIFOIFCompatPack';
554 $ophandler['portifcompat']['edit']['delPack'] = 'delIIFOIFCompatPack';
555
556 $page['attrs']['title'] = 'Attributes';
557 $page['attrs']['parent'] = 'config';
558 $tab['attrs']['default'] = 'View';
559 $tab['attrs']['editattrs'] = 'Edit attributes';
560 $tab['attrs']['editmap'] = 'Edit map';
561 $tabhandler['attrs']['default'] = 'renderAttributes';
562 $tabhandler['attrs']['editattrs'] = 'renderEditAttributesForm';
563 $tabhandler['attrs']['editmap'] = 'renderEditAttrMapForm';
564 $ophandler['attrs']['editattrs']['add'] = 'tableHandler';
565 $ophandler['attrs']['editattrs']['del'] = 'tableHandler';
566 $ophandler['attrs']['editattrs']['upd'] = 'tableHandler';
567 $ophandler['attrs']['editmap']['add'] = 'supplementAttrMap';
568 $ophandler['attrs']['editmap']['del'] = 'tableHandler';
569
570 $page['dict']['title'] = 'Dictionary';
571 $page['dict']['parent'] = 'config';
572 $tab['dict']['default'] = 'View';
573 $tab['dict']['chapters'] = 'Manage chapters';
574 $tabhandler['dict']['default'] = 'renderDictionary';
575 $tabhandler['dict']['chapters'] = 'renderChaptersEditor';
576 $ophandler['dict']['chapters']['add'] = 'tableHandler';
577 $ophandler['dict']['chapters']['del'] = 'tableHandler';
578 $ophandler['dict']['chapters']['upd'] = 'tableHandler';
579
580 $page['chapter']['parent'] = 'dict';
581 $page['chapter']['bypass'] = 'chapter_no';
582 $page['chapter']['bypass_type'] = 'uint';
583 $tab['chapter']['default'] = 'View';
584 $tab['chapter']['edit'] = 'Edit';
585 $tabhandler['chapter']['default'] = 'renderChapter';
586 $tabhandler['chapter']['edit'] = 'renderChapterEditor';
587 $ophandler['chapter']['edit']['add'] = 'tableHandler';
588 $ophandler['chapter']['edit']['del'] = 'tableHandler';
589 $ophandler['chapter']['edit']['upd'] = 'tableHandler';
590
591 $page['ui']['title'] = 'User interface';
592 $page['ui']['parent'] = 'config';
593 $tab['ui']['default'] = 'View';
594 $tab['ui']['edit'] = 'Change';
595 $tab['ui']['reset'] = 'Reset';
596 $tabhandler['ui']['default'] = 'renderUIConfig';
597 $tabhandler['ui']['edit'] = 'renderConfigEditor';
598 $tabhandler['ui']['reset'] = 'renderUIResetForm';
599 $ophandler['ui']['edit']['upd'] = 'updateUI';
600 $ophandler['ui']['reset']['go'] = 'resetUIConfig';
601
602 $page['tagtree']['title'] = 'Tag tree';
603 $page['tagtree']['parent'] = 'config';
604 $tab['tagtree']['default'] = 'View';
605 $tab['tagtree']['edit'] = 'Edit';
606 $tabhandler['tagtree']['default'] = 'renderTagTree';
607 $tabhandler['tagtree']['edit'] = 'renderTagTreeEditor';
608 $ophandler['tagtree']['edit']['createTag'] = 'tableHandler';
609 $ophandler['tagtree']['edit']['destroyTag'] = 'tableHandler';
610 $ophandler['tagtree']['edit']['updateTag'] = 'updateTag';
611
612 $page['myaccount']['title'] = 'My account';
613 $page['myaccount']['parent'] = 'config';
614 $tab['myaccount']['default'] = 'Info';
615 $tab['myaccount']['mypassword'] = 'Password change';
616 $tab['myaccount']['interface'] = 'Interface preferences';
617 $tab['myaccount']['qlinks'] = 'Quick links';
618 $trigger['myaccount']['mypassword'] = 'trigger_passwdchange';
619 $tabhandler['myaccount']['default'] = 'renderMyAccount';
620 $tabhandler['myaccount']['mypassword'] = 'renderMyPasswordEditor';
621 $tabhandler['myaccount']['interface'] = 'renderConfigEditor';
622 $tabhandler['myaccount']['qlinks'] = 'renderMyQuickLinks';
623 $ophandler['myaccount']['mypassword']['changeMyPassword'] = 'changeMyPassword';
624 $ophandler['myaccount']['interface']['upd'] = 'saveMyPreferences';
625 $ophandler['myaccount']['interface']['reset'] = 'resetMyPreference';
626 $ophandler['myaccount']['qlinks']['save'] = 'saveQuickLinks';
627
628 $page['cacti']['title'] = 'Cacti';
629 $page['cacti']['parent'] = 'config';
630 $tab['cacti']['default'] = 'View';
631 $tab['cacti']['servers'] = 'Manage servers';
632 $tabhandler['cacti']['default'] = 'renderCactiConfig';
633 $tabhandler['cacti']['servers'] = 'renderCactiServersEditor';
634 $ophandler['cacti']['servers']['add'] = 'tableHandler';
635 $ophandler['cacti']['servers']['del'] = 'tableHandler';
636 $ophandler['cacti']['servers']['upd'] = 'tableHandler';
637
638 $page['munin']['title'] = 'Munin';
639 $page['munin']['parent'] = 'config';
640 $tab['munin']['default'] = 'View';
641 $tab['munin']['servers'] = 'Manage servers';
642 $tabhandler['munin']['default'] = 'renderMuninConfig';
643 $tabhandler['munin']['servers'] = 'renderMuninServersEditor';
644 $ophandler['munin']['servers']['add'] = 'tableHandler';
645 $ophandler['munin']['servers']['del'] = 'tableHandler';
646 $ophandler['munin']['servers']['upd'] = 'tableHandler';
647
648 $page['reports']['title'] = 'Reports';
649 $page['reports']['parent'] = 'index';
650 $tab['reports']['default'] = 'System';
651 $tab['reports']['rackcode'] = 'RackCode';
652 $tab['reports']['ipv4'] = 'IPv4';
653 $tab['reports']['ipv6'] = 'IPv6';
654 $tab['reports']['ports'] = 'Ports';
655 $tab['reports']['8021q'] = '802.1Q';
656 $tab['reports']['warranty'] = 'Expirations';
657 $tab['reports']['integrity'] = 'Data Integrity';
658 $tab['reports']['local'] = 'local'; // this one is set later in init.php
659 $trigger['reports']['local'] = 'trigger_localreports';
660 $tabhandler['reports']['default'] = 'renderSystemReports';
661 $tabhandler['reports']['rackcode'] = 'renderRackCodeReports';
662 $tabhandler['reports']['ipv4'] = 'renderIPv4Reports';
663 $tabhandler['reports']['ipv6'] = 'renderIPv6Reports';
664 $tabhandler['reports']['ports'] = 'renderPortsReport';
665 $tabhandler['reports']['8021q'] = 'render8021QReport';
666 $tabhandler['reports']['warranty'] = 'renderExpirations';
667 $tabhandler['reports']['integrity'] = 'renderDataIntegrityReport';
668 $tabhandler['reports']['local'] = 'renderLocalReports';
669
670 $page['files']['title'] = 'Files';
671 $page['files']['parent'] = 'index';
672 $tab['files']['default'] = 'Browse';
673 $tab['files']['manage'] = 'Manage';
674 $tabhandler['files']['default'] = 'renderFileBrowser';
675 $tabhandler['files']['manage'] = 'renderFileManager';
676 $ophandler['files']['manage']['addFile'] = 'addFileWithoutLink';
677 $ophandler['files']['manage']['unlinkFile'] = 'unlinkFile';
678 $ophandler['files']['manage']['deleteFile'] = 'deleteFile';
679
680 $page['file']['bypass'] = 'file_id';
681 $page['file']['bypass_type'] = 'uint';
682 $page['file']['parent'] = 'files';
683 $tab['file']['default'] = 'View';
684 $tab['file']['edit'] = 'Properties';
685 $tab['file']['tags'] = 'Tags';
686 $tab['file']['editText'] = 'Edit text';
687 $tab['file']['replaceData'] = 'Upload replacement';
688 $tab['file']['download'] = 'Download';
689 $trigger['file']['tags'] = 'trigger_tags';
690 $trigger['file']['editText'] = 'trigger_file_editText';
691 $tabhandler['file']['default'] = 'renderFile';
692 $tabhandler['file']['edit'] = 'renderFileProperties';
693 $tabhandler['file']['tags'] = 'renderEntityTags';
694 $tabhandler['file']['editText'] = 'renderTextEditor';
695 $tabhandler['file']['replaceData'] = 'renderFileReuploader';
696 $tabhandler['file']['download'] = 'renderFileDownloader';
697 $ophandler['file']['edit']['updateFile'] = 'updateFile';
698 $ophandler['file']['tags']['saveTags'] = 'saveEntityTags';
699 $ophandler['file']['editText']['updateFileText'] = 'updateFileText';
700 $ophandler['file']['replaceData']['replaceFile'] = 'replaceFile';
701
702 $page['8021q']['title'] = '802.1Q';
703 $page['8021q']['parent'] = 'index';
704 $tab['8021q']['default'] = 'Status';
705 $tab['8021q']['vdlist'] = 'Manage domains';
706 $tab['8021q']['vstlist'] = 'Manage templates';
707 $tabhandler['8021q']['default'] = 'render8021QStatus';
708 $tabhandler['8021q']['vdlist'] = 'renderVLANDomainListEditor';
709 $tabhandler['8021q']['vstlist'] = 'renderVSTListEditor';
710 $ophandler['8021q']['vdlist']['add'] = 'createVLANDomain';
711 $ophandler['8021q']['vdlist']['del'] = 'tableHandler';
712 $ophandler['8021q']['vdlist']['upd'] = 'tableHandler';
713 $ophandler['8021q']['vstlist']['add'] = 'tableHandler';
714 $ophandler['8021q']['vstlist']['del'] = 'tableHandler';
715 $ophandler['8021q']['vstlist']['upd'] = 'tableHandler';
716
717 $page['vlandomain']['parent'] = '8021q';
718 $page['vlandomain']['bypass'] = 'vdom_id';
719 $page['vlandomain']['bypass_type'] = 'uint';
720 $tab['vlandomain']['default'] = 'View';
721 $tab['vlandomain']['vlanlist'] = 'VLAN list';
722 $tab['vlandomain']['8021qorder'] = '802.1Q orders';
723 $trigger['vlandomain']['8021qorder'] = 'trigger_8021q_configured';
724 $tabhandler['vlandomain']['default'] = 'renderVLANDomain';
725 $tabhandler['vlandomain']['8021qorder'] = 'render8021QOrderForm';
726 $tabhandler['vlandomain']['vlanlist'] = 'renderVLANDomainVLANList';
727 $ophandler['vlandomain']['8021qorder']['add'] = 'add8021QOrder';
728 $ophandler['vlandomain']['8021qorder']['del'] = 'del8021QOrder';
729 $ophandler['vlandomain']['vlanlist']['add'] = 'tableHandler';
730 $ophandler['vlandomain']['vlanlist']['del'] = 'tableHandler';
731 $ophandler['vlandomain']['vlanlist']['upd'] = 'tableHandler';
732 $delayauth['vlandomain-8021qorder-add'] = TRUE;
733 $delayauth['vlandomain-8021qorder-del'] = TRUE;
734
735 $page['vlan']['parent'] = 'vlandomain';
736 $page['vlan']['bypass'] = 'vlan_ck';
737 $page['vlan']['bypass_type'] = 'uint-vlan1';
738 $tab['vlan']['default'] = 'View';
739 $tab['vlan']['edit'] = 'Edit';
740 $tab['vlan']['ipv4'] = 'IPv4';
741 $tab['vlan']['ipv6'] = 'IPv6';
742 $trigger['vlan']['ipv4'] = 'trigger_vlan_ipv4net';
743 $trigger['vlan']['ipv6'] = 'trigger_vlan_ipv6net';
744 $tabhandler['vlan']['default'] = 'renderVLANInfo';
745 $tabhandler['vlan']['edit'] = 'renderEditVlan';
746 $tabhandler['vlan']['ipv4'] = 'renderVLANIPLinks';
747 $tabhandler['vlan']['ipv6'] = 'renderVLANIPLinks';
748 $ophandler['vlan']['edit']['del'] = 'deleteVlan';
749 $ophandler['vlan']['edit']['clear'] = 'clearVlan';
750 $ophandler['vlan']['edit']['upd'] = 'tableHandler';
751 $ophandler['vlan']['ipv4']['bind'] = 'bindVLANtoIPv4';
752 $ophandler['vlan']['ipv4']['unbind'] = 'unbindVLANfromIPv4';
753 $ophandler['vlan']['ipv6']['bind'] = 'bindVLANtoIPv6';
754 $ophandler['vlan']['ipv6']['unbind'] = 'unbindVLANfromIPv6';
755
756 $page['vst']['parent'] = '8021q';
757 $page['vst']['bypass'] = 'vst_id';
758 $page['vst']['bypass_type'] = 'uint';
759 $tab['vst']['default'] = 'View';
760 $tab['vst']['editrules'] = 'Edit';
761 $tab['vst']['8021qorder'] = '802.1Q orders';
762 $tab['vst']['tags'] = 'Tags';
763 $trigger['vst']['editrules'] = 'trigger_vst_editrules';
764 $trigger['vst']['8021qorder'] = 'trigger_8021q_configured';
765 $trigger['vst']['tags'] = 'trigger_tags';
766 $tabhandler['vst']['default'] = 'renderVST';
767 $tabhandler['vst']['editrules'] = 'renderVSTRulesEditor';
768 $tabhandler['vst']['8021qorder'] = 'render8021QOrderForm';
769 $tabhandler['vst']['tags'] = 'renderEntityTags';
770 $ophandler['vst']['editrules']['clone'] = 'cloneVST';
771 $ophandler['vst']['editrules']['upd'] = 'updVSTRule';
772 $ophandler['vst']['8021qorder']['add'] = 'add8021QOrder';
773 $ophandler['vst']['8021qorder']['del'] = 'del8021QOrder';
774 $ophandler['vst']['tags']['saveTags'] = 'saveEntityTags';
775 $delayauth['vst-8021qorder-add'] = TRUE;
776 $delayauth['vst-8021qorder-del'] = TRUE;
777
778 $page['dqueue']['parent'] = '8021q';
779 $page['dqueue']['bypass'] = 'dqcode';
780 $page['dqueue']['bypass_type'] = 'enum/dqcode';
781 $tab['dqueue']['default'] = 'View';
782 $tabhandler['dqueue']['default'] = 'renderDeployQueue';
783
784 $page['objectlog']['title'] = 'Log records';
785 $page['objectlog']['parent'] = 'index';
786 $tab['objectlog']['default'] = 'View';
787 $tabhandler['objectlog']['default'] = 'allObjectLogs';
788
789 $page['virtual']['title'] = 'Virtual Resources';
790 $page['virtual']['parent'] = 'index';
791 $tab['virtual']['default'] = 'Summary';
792 $tabhandler['virtual']['default'] = 'renderVirtualResourcesSummary';
793
794 $ajaxhandler['get-tag-select'] = 'getTagSelectAJAX';
795 $ajaxhandler['get-location-select'] = 'getLocationSelectAJAX';
796 $ajaxhandler['verifyCode'] = 'verifyCodeAJAX';
797 $ajaxhandler['get-port-link'] = 'getPortInfoAJAX';
798 $ajaxhandler['get-port-mac'] = 'getPortInfoAJAX';
799 $ajaxhandler['get-port-conf'] = 'getPortInfoAJAX';
800 $ajaxhandler['upd-ip-name'] = 'updateIPNameAJAX';
801 $ajaxhandler['upd-ip-comment'] = 'updateIPCommentAJAX';
802 $ajaxhandler['upd-rack-sort-order'] = 'updateRackSortOrderAJAX';
803 $ajaxhandler['upd-reservation-port'] = 'updatePortRsvAJAX';
804 $ajaxhandler['upd-reservation-cable'] = 'updateCableIdAJAX';
805 $ajaxhandler['net-usage'] = 'getNetUsageAJAX';
806 $ajaxhandler['get-slb-form'] = 'renderSLBFormAJAX';
807 $ajaxhandler['triplet-preview'] = 'getTripletConfigAJAX';
808
809 ?>