vs groups feature
[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']['linkEntities'] = 'tableHandler';
218 $ophandler['object']['edit']['unlinkEntities'] = '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'] = 'tableHandler';
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'] = 'tableHandler';
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_rs'] = 'new RS pool';
372 $tabhandler['ipv4slb']['default'] = 'renderVSList';
373 $tabhandler['ipv4slb']['vs'] = 'renderVSGList';
374 $tabhandler['ipv4slb']['lbs'] = 'renderLBList';
375 $tabhandler['ipv4slb']['rspools'] = 'renderRSPoolList';
376 $tabhandler['ipv4slb']['rservers'] = 'renderRealServerList';
377 $tabhandler['ipv4slb']['defconfig'] = 'renderSLBDefConfig';
378 $tabhandler['ipv4slb']['new_vs'] = 'renderNewVSForm';
379 $tabhandler['ipv4slb']['new_rs'] = 'renderNewRSPoolForm';
380 $ophandler['ipv4slb']['new_vs']['add'] = 'addVService';
381 $ophandler['ipv4slb']['new_rs']['add'] = 'addRSPool';
382 $ophandler['ipv4slb']['defconfig']['save'] = 'updateSLBDefConfig';
383
384 $page['ipv4vs']['parent'] = 'ipv4slb:default';
385 $page['ipv4vs']['bypass'] = 'vs_id';
386 $page['ipv4vs']['bypass_type'] = 'uint';
387 $tab['ipv4vs']['default'] = 'View';
388 $tab['ipv4vs']['edit'] = 'Edit';
389 $tab['ipv4vs']['editlblist'] = 'VSG links';
390 $tab['ipv4vs']['tags'] = 'Tags';
391 $tab['ipv4vs']['files'] = 'Files';
392 $tabhandler['ipv4vs']['default'] = 'renderVirtualService';
393 $tabhandler['ipv4vs']['edit'] = 'renderEditVService';
394 $tabhandler['ipv4vs']['editlblist'] = 'renderSLBEditTab';
395 $tabhandler['ipv4vs']['tags'] = 'renderEntityTags';
396 $tabhandler['ipv4vs']['files'] = 'renderFilesForEntity';
397 $trigger['ipv4vs']['tags'] = 'trigger_tags';
398 $ophandler['ipv4vs']['edit']['updIPv4VS'] = 'updateVService';
399 $ophandler['ipv4vs']['edit']['del'] = 'deleteVService';
400 $ophandler['ipv4vs']['editlblist']['addLB'] = 'addLoadBalancer';
401 $ophandler['ipv4vs']['editlblist']['delLB'] = 'tableHandler';
402 $ophandler['ipv4vs']['editlblist']['updLB'] = 'tableHandler';
403 $ophandler['ipv4vs']['tags']['saveTags'] = 'saveEntityTags';
404 $ophandler['ipv4vs']['files']['addFile'] = 'addFileToEntity';
405 $ophandler['ipv4vs']['files']['linkFile'] = 'linkFileToEntity';
406 $ophandler['ipv4vs']['files']['unlinkFile'] = 'unlinkFile';
407
408 $page['ipvs']['parent'] = 'ipv4slb:vs';
409 $page['ipvs']['bypass'] = 'vs_id';
410 $page['ipvs']['bypass_type'] = 'uint';
411 $tab['ipvs']['default'] = 'View';
412 $tab['ipvs']['edit'] = 'Edit';
413 $tab['ipvs']['editvslinks'] = 'VSG links';
414 $tab['ipvs']['tags'] = 'Tags';
415 $tab['ipvs']['files'] = 'Files';
416 $tab['ipvs']['convert'] = 'Migrate';
417 $tabhandler['ipvs']['default'] = 'renderVS';
418 $tabhandler['ipvs']['edit'] = 'renderEditVS';
419 $tabhandler['ipvs']['editvslinks'] = 'renderTripletForm';
420 $tabhandler['ipvs']['tags'] = 'renderEntityTags';
421 $tabhandler['ipvs']['files'] = 'renderFilesForEntity';
422 $tabhandler['ipvs']['convert'] = 'renderIPVSConvert';
423 $ophandler['ipvs']['edit']['updVS'] = 'updateVS';
424 $ophandler['ipvs']['edit']['addIP'] = 'addIPToVS';
425 $ophandler['ipvs']['edit']['addPort'] = 'addPortToVS';
426 $ophandler['ipvs']['edit']['updIP'] = 'updateIPInVS';
427 $ophandler['ipvs']['edit']['updPort'] = 'updatePortInVS';
428 $ophandler['ipvs']['edit']['delIP'] = 'removeIPFromVS';
429 $ophandler['ipvs']['edit']['delPort'] = 'removePortFromVS';
430 $ophandler['ipvs']['editvslinks']['addLink'] = 'createTriplet';
431 $ophandler['ipvs']['editvslinks']['del'] = 'removeTriplet';
432 $ophandler['ipvs']['editvslinks']['updPort'] = 'updateTripletConfig';
433 $ophandler['ipvs']['editvslinks']['updIp'] = 'updateTripletConfig';
434 $ophandler['ipvs']['tags']['saveTags'] = 'saveEntityTags';
435 $ophandler['ipvs']['files']['addFile'] = 'addFileToEntity';
436 $ophandler['ipvs']['files']['linkFile'] = 'linkFileToEntity';
437 $ophandler['ipvs']['files']['unlinkFile'] = 'unlinkFile';
438 $ophandler['ipvs']['convert']['convert'] = 'doVSMigrate';
439 $trigger['ipvs']['tags'] = 'trigger_tags';
440 $trigger['ipvs']['convert'] = 'trigger_ipvs_convert';
441
442 $page['ipv4rspool']['parent'] = 'ipv4slb:rspools';
443 $page['ipv4rspool']['bypass'] = 'pool_id';
444 $page['ipv4rspool']['bypass_type'] = 'uint';
445 $tab['ipv4rspool']['default'] = 'View';
446 $tab['ipv4rspool']['edit'] = 'Edit';
447 $tab['ipv4rspool']['editlblist'] = 'VS links';
448 $tab['ipv4rspool']['editvslinks'] = 'VSG links';
449 $tab['ipv4rspool']['editrslist'] = 'RS list';
450 $tab['ipv4rspool']['tags'] = 'Tags';
451 $tab['ipv4rspool']['files'] = 'Files';
452 $trigger['ipv4rspool']['tags'] = 'trigger_tags';
453 $tabhandler['ipv4rspool']['default'] = 'renderRSPool';
454 $tabhandler['ipv4rspool']['edit'] = 'renderEditRSPool';
455 $tabhandler['ipv4rspool']['editrslist'] = 'renderRSPoolServerForm';
456 $tabhandler['ipv4rspool']['editvslinks'] = 'renderTripletForm';
457 $tabhandler['ipv4rspool']['editlblist'] = 'renderSLBEditTab';
458 $tabhandler['ipv4rspool']['tags'] = 'renderEntityTags';
459 $tabhandler['ipv4rspool']['files'] = 'renderFilesForEntity';
460 $ophandler['ipv4rspool']['edit']['updIPv4RSP'] = 'tableHandler';
461 $ophandler['ipv4rspool']['edit']['cloneIPv4RSP'] = 'cloneRSPool';
462 $ophandler['ipv4rspool']['edit']['del'] = 'deleteRSPool';
463 $ophandler['ipv4rspool']['editrslist']['addRS'] = 'addRealServer';
464 $ophandler['ipv4rspool']['editrslist']['delRS'] = 'tableHandler';
465 $ophandler['ipv4rspool']['editrslist']['updRS'] = 'updateRealServer';
466 $ophandler['ipv4rspool']['editrslist']['addMany'] = 'addRealServers';
467 $ophandler['ipv4rspool']['editlblist']['addLB'] = 'addLoadBalancer';
468 $ophandler['ipv4rspool']['editlblist']['delLB'] = 'tableHandler';
469 $ophandler['ipv4rspool']['editlblist']['updLB'] = 'tableHandler';
470 $ophandler['ipv4rspool']['editvslinks']['addLink'] = 'createTriplet';
471 $ophandler['ipv4rspool']['editvslinks']['del'] = 'removeTriplet';
472 $ophandler['ipv4rspool']['editvslinks']['updPort'] = 'updateTripletConfig';
473 $ophandler['ipv4rspool']['editvslinks']['updIp'] = 'updateTripletConfig';
474 $ophandler['ipv4rspool']['tags']['saveTags'] = 'saveEntityTags';
475 $ophandler['ipv4rspool']['files']['addFile'] = 'addFileToEntity';
476 $ophandler['ipv4rspool']['files']['linkFile'] = 'linkFileToEntity';
477 $ophandler['ipv4rspool']['files']['unlinkFile'] = 'unlinkFile';
478
479 $page['search']['handler'] = 'searchHandler';
480 $page['search']['parent'] = 'index';
481 $page['search']['bypass'] = 'q';
482
483 $page['config']['title'] = 'Configuration';
484 $page['config']['handler'] = 'renderConfigMainpage';
485 $page['config']['parent'] = 'index';
486
487 $page['userlist']['title'] = 'Local users';
488 $page['userlist']['parent'] = 'config';
489 $tab['userlist']['default'] = 'View';
490 $tab['userlist']['edit'] = 'Edit';
491 $tabhandler['userlist']['default'] = 'renderUserList';
492 $tabhandler['userlist']['edit'] = 'renderUserListEditor';
493 $ophandler['userlist']['edit']['updateUser'] = 'updateUser';
494 $ophandler['userlist']['edit']['createUser'] = 'createUser';
495
496 $page['user']['parent'] = 'userlist';
497 $page['user']['bypass'] = 'user_id';
498 $page['user']['bypass_type'] = 'uint';
499 $tab['user']['default'] = 'View';
500 $tab['user']['tags'] = 'Tags';
501 $tab['user']['files'] = 'Files';
502 $tabhandler['user']['default'] = 'renderUser';
503 $tabhandler['user']['tags'] = 'renderEntityTags';
504 $tabhandler['user']['files'] = 'renderFilesForEntity';
505 $ophandler['user']['tags']['saveTags'] = 'saveEntityTags';
506 $ophandler['user']['files']['addFile'] = 'addFileToEntity';
507 $ophandler['user']['files']['linkFile'] = 'linkFileToEntity';
508 $ophandler['user']['files']['unlinkFile'] = 'unlinkFile';
509
510 $page['perms']['title'] = 'Permissions';
511 $page['perms']['parent'] = 'config';
512 $tab['perms']['default'] = 'View';
513 $tab['perms']['edit'] = 'Edit';
514 $tabhandler['perms']['default'] = 'renderRackCodeViewer';
515 $tabhandler['perms']['edit'] = 'renderRackCodeEditor';
516 $ophandler['perms']['edit']['saveRackCode'] = 'saveRackCode';
517
518 $page['parentmap']['title'] = 'Object container compatibility';
519 $page['parentmap']['parent'] = 'config';
520 $tab['parentmap']['default'] = 'View';
521 $tab['parentmap']['edit'] = 'Edit';
522 $tabhandler['parentmap']['default'] = 'renderObjectParentCompatViewer';
523 $tabhandler['parentmap']['edit'] = 'renderObjectParentCompatEditor';
524 $ophandler['parentmap']['edit']['add'] = 'tableHandler';
525 $ophandler['parentmap']['edit']['del'] = 'tableHandler';
526
527 $page['portmap']['title'] = 'Port compatibility';
528 $page['portmap']['parent'] = 'config';
529 $tab['portmap']['default'] = 'View';
530 $tab['portmap']['edit'] = 'Edit';
531 $tabhandler['portmap']['default'] = 'renderOIFCompatViewer';
532 $tabhandler['portmap']['edit'] = 'renderOIFCompatEditor';
533 $ophandler['portmap']['edit']['add'] = 'tableHandler';
534 $ophandler['portmap']['edit']['del'] = 'tableHandler';
535 $ophandler['portmap']['edit']['addPack'] = 'addOIFCompatPack';
536 $ophandler['portmap']['edit']['delPack'] = 'delOIFCompatPack';
537
538 $page['portifcompat']['title'] = 'Enabled port types';
539 $page['portifcompat']['parent'] = 'config';
540 $tab['portifcompat']['default'] = 'View';
541 $tab['portifcompat']['edit'] = 'Edit';
542 $tabhandler['portifcompat']['default'] = 'renderIIFOIFCompat';
543 $tabhandler['portifcompat']['edit'] = 'renderIIFOIFCompatEditor';
544 $ophandler['portifcompat']['edit']['add'] = 'addIIFOIFCompat';
545 $ophandler['portifcompat']['edit']['del'] = 'tableHandler';
546 $ophandler['portifcompat']['edit']['addPack'] = 'addIIFOIFCompatPack';
547 $ophandler['portifcompat']['edit']['delPack'] = 'delIIFOIFCompatPack';
548
549 $page['attrs']['title'] = 'Attributes';
550 $page['attrs']['parent'] = 'config';
551 $tab['attrs']['default'] = 'View';
552 $tab['attrs']['editattrs'] = 'Edit attributes';
553 $tab['attrs']['editmap'] = 'Edit map';
554 $tabhandler['attrs']['default'] = 'renderAttributes';
555 $tabhandler['attrs']['editattrs'] = 'renderEditAttributesForm';
556 $tabhandler['attrs']['editmap'] = 'renderEditAttrMapForm';
557 $ophandler['attrs']['editattrs']['add'] = 'tableHandler';
558 $ophandler['attrs']['editattrs']['del'] = 'tableHandler';
559 $ophandler['attrs']['editattrs']['upd'] = 'tableHandler';
560 $ophandler['attrs']['editmap']['add'] = 'supplementAttrMap';
561 $ophandler['attrs']['editmap']['del'] = 'tableHandler';
562
563 $page['dict']['title'] = 'Dictionary';
564 $page['dict']['parent'] = 'config';
565 $tab['dict']['default'] = 'View';
566 $tab['dict']['chapters'] = 'Manage chapters';
567 $tabhandler['dict']['default'] = 'renderDictionary';
568 $tabhandler['dict']['chapters'] = 'renderChaptersEditor';
569 $ophandler['dict']['chapters']['add'] = 'tableHandler';
570 $ophandler['dict']['chapters']['del'] = 'tableHandler';
571 $ophandler['dict']['chapters']['upd'] = 'tableHandler';
572
573 $page['chapter']['parent'] = 'dict';
574 $page['chapter']['bypass'] = 'chapter_no';
575 $page['chapter']['bypass_type'] = 'uint';
576 $tab['chapter']['default'] = 'View';
577 $tab['chapter']['edit'] = 'Edit';
578 $tabhandler['chapter']['default'] = 'renderChapter';
579 $tabhandler['chapter']['edit'] = 'renderChapterEditor';
580 $ophandler['chapter']['edit']['add'] = 'tableHandler';
581 $ophandler['chapter']['edit']['del'] = 'tableHandler';
582 $ophandler['chapter']['edit']['upd'] = 'tableHandler';
583
584 $page['ui']['title'] = 'User interface';
585 $page['ui']['parent'] = 'config';
586 $tab['ui']['default'] = 'View';
587 $tab['ui']['edit'] = 'Change';
588 $tab['ui']['reset'] = 'Reset';
589 $tabhandler['ui']['default'] = 'renderUIConfig';
590 $tabhandler['ui']['edit'] = 'renderConfigEditor';
591 $tabhandler['ui']['reset'] = 'renderUIResetForm';
592 $ophandler['ui']['edit']['upd'] = 'updateUI';
593 $ophandler['ui']['reset']['go'] = 'resetUIConfig';
594
595 $page['tagtree']['title'] = 'Tag tree';
596 $page['tagtree']['parent'] = 'config';
597 $tab['tagtree']['default'] = 'View';
598 $tab['tagtree']['edit'] = 'Edit';
599 $tabhandler['tagtree']['default'] = 'renderTagTree';
600 $tabhandler['tagtree']['edit'] = 'renderTagTreeEditor';
601 $ophandler['tagtree']['edit']['createTag'] = 'tableHandler';
602 $ophandler['tagtree']['edit']['destroyTag'] = 'tableHandler';
603 $ophandler['tagtree']['edit']['updateTag'] = 'tableHandler';
604
605 $page['myaccount']['title'] = 'My account';
606 $page['myaccount']['parent'] = 'config';
607 $tab['myaccount']['default'] = 'Info';
608 $tab['myaccount']['mypassword'] = 'Password change';
609 $tab['myaccount']['interface'] = 'Interface preferences';
610 $tab['myaccount']['qlinks'] = 'Quick links';
611 $trigger['myaccount']['mypassword'] = 'trigger_passwdchange';
612 $tabhandler['myaccount']['default'] = 'renderMyAccount';
613 $tabhandler['myaccount']['mypassword'] = 'renderMyPasswordEditor';
614 $tabhandler['myaccount']['interface'] = 'renderConfigEditor';
615 $tabhandler['myaccount']['qlinks'] = 'renderMyQuickLinks';
616 $ophandler['myaccount']['mypassword']['changeMyPassword'] = 'changeMyPassword';
617 $ophandler['myaccount']['interface']['upd'] = 'saveMyPreferences';
618 $ophandler['myaccount']['interface']['reset'] = 'resetMyPreference';
619 $ophandler['myaccount']['qlinks']['save'] = 'saveQuickLinks';
620
621 $page['cacti']['title'] = 'Cacti';
622 $page['cacti']['parent'] = 'config';
623 $tab['cacti']['default'] = 'View';
624 $tab['cacti']['servers'] = 'Manage servers';
625 $tabhandler['cacti']['default'] = 'renderCactiConfig';
626 $tabhandler['cacti']['servers'] = 'renderCactiServersEditor';
627 $ophandler['cacti']['servers']['add'] = 'tableHandler';
628 $ophandler['cacti']['servers']['del'] = 'tableHandler';
629 $ophandler['cacti']['servers']['upd'] = 'tableHandler';
630
631 $page['munin']['title'] = 'Munin';
632 $page['munin']['parent'] = 'config';
633 $tab['munin']['default'] = 'View';
634 $tab['munin']['servers'] = 'Manage servers';
635 $tabhandler['munin']['default'] = 'renderMuninConfig';
636 $tabhandler['munin']['servers'] = 'renderMuninServersEditor';
637 $ophandler['munin']['servers']['add'] = 'tableHandler';
638 $ophandler['munin']['servers']['del'] = 'tableHandler';
639 $ophandler['munin']['servers']['upd'] = 'tableHandler';
640
641 $page['reports']['title'] = 'Reports';
642 $page['reports']['parent'] = 'index';
643 $tab['reports']['default'] = 'System';
644 $tab['reports']['rackcode'] = 'RackCode';
645 $tab['reports']['ipv4'] = 'IPv4';
646 $tab['reports']['ipv6'] = 'IPv6';
647 $tab['reports']['ports'] = 'Ports';
648 $tab['reports']['8021q'] = '802.1Q';
649 $tab['reports']['warranty'] = 'Expirations';
650 $tab['reports']['local'] = 'local'; // this one is set later in init.php
651 $trigger['reports']['local'] = 'trigger_localreports';
652 $tabhandler['reports']['default'] = 'renderSystemReports';
653 $tabhandler['reports']['rackcode'] = 'renderRackCodeReports';
654 $tabhandler['reports']['ipv4'] = 'renderIPv4Reports';
655 $tabhandler['reports']['ipv6'] = 'renderIPv6Reports';
656 $tabhandler['reports']['ports'] = 'renderPortsReport';
657 $tabhandler['reports']['8021q'] = 'render8021QReport';
658 $tabhandler['reports']['warranty'] = 'renderExpirations';
659 $tabhandler['reports']['local'] = 'renderLocalReports';
660
661 $page['files']['title'] = 'Files';
662 $page['files']['parent'] = 'index';
663 $tab['files']['default'] = 'Browse';
664 $tab['files']['manage'] = 'Manage';
665 $tabhandler['files']['default'] = 'renderFileBrowser';
666 $tabhandler['files']['manage'] = 'renderFileManager';
667 $ophandler['files']['manage']['addFile'] = 'addFileWithoutLink';
668 $ophandler['files']['manage']['unlinkFile'] = 'unlinkFile';
669 $ophandler['files']['manage']['deleteFile'] = 'deleteFile';
670
671 $page['file']['bypass'] = 'file_id';
672 $page['file']['bypass_type'] = 'uint';
673 $page['file']['parent'] = 'files';
674 $tab['file']['default'] = 'View';
675 $tab['file']['edit'] = 'Properties';
676 $tab['file']['tags'] = 'Tags';
677 $tab['file']['editText'] = 'Edit text';
678 $tab['file']['replaceData'] = 'Upload replacement';
679 $tab['file']['download'] = 'Download';
680 $trigger['file']['tags'] = 'trigger_tags';
681 $trigger['file']['editText'] = 'trigger_file_editText';
682 $tabhandler['file']['default'] = 'renderFile';
683 $tabhandler['file']['edit'] = 'renderFileProperties';
684 $tabhandler['file']['tags'] = 'renderEntityTags';
685 $tabhandler['file']['editText'] = 'renderTextEditor';
686 $tabhandler['file']['replaceData'] = 'renderFileReuploader';
687 $tabhandler['file']['download'] = 'renderFileDownloader';
688 $ophandler['file']['edit']['updateFile'] = 'tableHandler';
689 $ophandler['file']['tags']['saveTags'] = 'saveEntityTags';
690 $ophandler['file']['editText']['updateFileText'] = 'updateFileText';
691 $ophandler['file']['replaceData']['replaceFile'] = 'replaceFile';
692
693 $page['8021q']['title'] = '802.1Q';
694 $page['8021q']['parent'] = 'index';
695 $tab['8021q']['default'] = 'Status';
696 $tab['8021q']['vdlist'] = 'Manage domains';
697 $tab['8021q']['vstlist'] = 'Manage templates';
698 $tabhandler['8021q']['default'] = 'render8021QStatus';
699 $tabhandler['8021q']['vdlist'] = 'renderVLANDomainListEditor';
700 $tabhandler['8021q']['vstlist'] = 'renderVSTListEditor';
701 $ophandler['8021q']['vdlist']['add'] = 'createVLANDomain';
702 $ophandler['8021q']['vdlist']['del'] = 'tableHandler';
703 $ophandler['8021q']['vdlist']['upd'] = 'tableHandler';
704 $ophandler['8021q']['vstlist']['add'] = 'tableHandler';
705 $ophandler['8021q']['vstlist']['del'] = 'tableHandler';
706 $ophandler['8021q']['vstlist']['upd'] = 'tableHandler';
707
708 $page['vlandomain']['parent'] = '8021q';
709 $page['vlandomain']['bypass'] = 'vdom_id';
710 $page['vlandomain']['bypass_type'] = 'uint';
711 $tab['vlandomain']['default'] = 'View';
712 $tab['vlandomain']['vlanlist'] = 'VLAN list';
713 $tab['vlandomain']['8021qorder'] = '802.1Q orders';
714 $trigger['vlandomain']['8021qorder'] = 'trigger_8021q_configured';
715 $tabhandler['vlandomain']['default'] = 'renderVLANDomain';
716 $tabhandler['vlandomain']['8021qorder'] = 'render8021QOrderForm';
717 $tabhandler['vlandomain']['vlanlist'] = 'renderVLANDomainVLANList';
718 $ophandler['vlandomain']['8021qorder']['add'] = 'add8021QOrder';
719 $ophandler['vlandomain']['8021qorder']['del'] = 'del8021QOrder';
720 $ophandler['vlandomain']['vlanlist']['add'] = 'tableHandler';
721 $ophandler['vlandomain']['vlanlist']['del'] = 'tableHandler';
722 $ophandler['vlandomain']['vlanlist']['upd'] = 'tableHandler';
723 $delayauth['vlandomain-8021qorder-add'] = TRUE;
724 $delayauth['vlandomain-8021qorder-del'] = TRUE;
725
726 $page['vlan']['parent'] = 'vlandomain';
727 $page['vlan']['bypass'] = 'vlan_ck';
728 $page['vlan']['bypass_type'] = 'string';
729 $tab['vlan']['default'] = 'View';
730 $tab['vlan']['edit'] = 'Edit';
731 $tab['vlan']['ipv4'] = 'IPv4';
732 $tab['vlan']['ipv6'] = 'IPv6';
733 $trigger['vlan']['ipv4'] = 'trigger_vlan_ipv4net';
734 $trigger['vlan']['ipv6'] = 'trigger_vlan_ipv6net';
735 $tabhandler['vlan']['default'] = 'renderVLANInfo';
736 $tabhandler['vlan']['edit'] = 'renderEditVlan';
737 $tabhandler['vlan']['ipv4'] = 'renderVLANIPLinks';
738 $tabhandler['vlan']['ipv6'] = 'renderVLANIPLinks';
739 $ophandler['vlan']['edit']['del'] = 'deleteVlan';
740 $ophandler['vlan']['edit']['clear'] = 'clearVlan';
741 $ophandler['vlan']['edit']['upd'] = 'tableHandler';
742 $ophandler['vlan']['ipv4']['bind'] = 'bindVLANtoIPv4';
743 $ophandler['vlan']['ipv4']['unbind'] = 'unbindVLANfromIPv4';
744 $ophandler['vlan']['ipv6']['bind'] = 'bindVLANtoIPv6';
745 $ophandler['vlan']['ipv6']['unbind'] = 'unbindVLANfromIPv6';
746
747 $page['vst']['parent'] = '8021q';
748 $page['vst']['bypass'] = 'vst_id';
749 $page['vst']['bypass_type'] = 'uint';
750 $tab['vst']['default'] = 'View';
751 $tab['vst']['editrules'] = 'Edit';
752 $tab['vst']['8021qorder'] = '802.1Q orders';
753 $tab['vst']['tags'] = 'Tags';
754 $trigger['vst']['editrules'] = 'trigger_vst_editrules';
755 $trigger['vst']['8021qorder'] = 'trigger_8021q_configured';
756 $trigger['vst']['tags'] = 'trigger_tags';
757 $tabhandler['vst']['default'] = 'renderVST';
758 $tabhandler['vst']['editrules'] = 'renderVSTRulesEditor';
759 $tabhandler['vst']['8021qorder'] = 'render8021QOrderForm';
760 $tabhandler['vst']['tags'] = 'renderEntityTags';
761 $ophandler['vst']['editrules']['clone'] = 'cloneVST';
762 $ophandler['vst']['editrules']['upd'] = 'updVSTRule';
763 $ophandler['vst']['8021qorder']['add'] = 'add8021QOrder';
764 $ophandler['vst']['8021qorder']['del'] = 'del8021QOrder';
765 $ophandler['vst']['tags']['saveTags'] = 'saveEntityTags';
766 $delayauth['vst-8021qorder-add'] = TRUE;
767 $delayauth['vst-8021qorder-del'] = TRUE;
768
769 $page['dqueue']['parent'] = '8021q';
770 $page['dqueue']['bypass'] = 'dqcode';
771 $page['dqueue']['bypass_type'] = 'enum/dqcode';
772 $tab['dqueue']['default'] = 'View';
773 $tabhandler['dqueue']['default'] = 'renderDeployQueue';
774
775 $page['objectlog']['title'] = 'Log records';
776 $page['objectlog']['parent'] = 'index';
777 $tab['objectlog']['default'] = 'View';
778 $tabhandler['objectlog']['default'] = 'allObjectLogs';
779
780 $page['virtual']['title'] = 'Virtual Resources';
781 $page['virtual']['parent'] = 'index';
782 $tab['virtual']['default'] = 'Summary';
783 $tabhandler['virtual']['default'] = 'renderVirtualResourcesSummary';
784
785 $ajaxhandler['get-tag-select'] = 'getTagSelectAJAX';
786 $ajaxhandler['get-location-select'] = 'getLocationSelectAJAX';
787 $ajaxhandler['verifyCode'] = 'verifyCodeAJAX';
788 $ajaxhandler['get-port-link'] = 'getPortInfoAJAX';
789 $ajaxhandler['get-port-mac'] = 'getPortInfoAJAX';
790 $ajaxhandler['get-port-conf'] = 'getPortInfoAJAX';
791 $ajaxhandler['upd-ip-name'] = 'updateIPNameAJAX';
792 $ajaxhandler['upd-ip-comment'] = 'updateIPCommentAJAX';
793 $ajaxhandler['upd-rack-sort-order'] = 'updateRackSortOrderAJAX';
794 $ajaxhandler['upd-reservation-port'] = 'updatePortRsvAJAX';
795 $ajaxhandler['upd-reservation-cable'] = 'updateCableIdAJAX';
796 $ajaxhandler['net-usage'] = 'getNetUsageAJAX';
797 $ajaxhandler['get-slb-form'] = 'renderSLBFormAJAX';
798
799 ?>