1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4 <definition>
5 <departmentBrowser>true</departmentBrowser>
6 <departmentRootVisible>false</departmentRootVisible>
7 <baseMode>true</baseMode>
8 <multiSelect>true</multiSelect>
9 <template>system-list.tpl</template>
10 <module>server</module>
11 <label>List of systems</label>
12 <defaultSortColumn>1</defaultSortColumn>
14 <objectType>
15 <label>Opsi host</label>
16 <objectClass>FAKE_OC_OpsiHost</objectClass>
17 <category>opsi</category>
18 <class>opsiGeneric</class>
19 <image>plugins/systems/images/select_winstation.png</image>
20 </objectType>
22 <objectType>
23 <label>New workstation</label>
24 <objectClass>FAKE_OC_NewWorkstation</objectClass>
25 <category>workstation</category>
26 <class>workgeneric</class>
27 <image>plugins/systems/images/select_new_workstation.png</image>
28 </objectType>
30 <objectType>
31 <label>Locked server</label>
32 <objectClass>goServer__IS_LOCKED</objectClass>
33 <category>server</category>
34 <class>servgeneric</class>
35 <image>plugins/systems/images/server_locked.png</image>
36 </objectType>
38 <objectType>
39 <label>Locked workstation</label>
40 <objectClass>gotoWorkstation</objectClass>
41 <category>workstation</category>
42 <class>workgeneric</class>
43 <image>plugins/systems/images/workstation_locked.png</image>
44 </objectType>
46 <objectType>
47 <label>Locked terminal</label>
48 <objectClass>gotoTerminal</objectClass>
49 <category>terminal</category>
50 <class>termgeneric</class>
51 <image>plugins/systems/images/terminal_locked.png</image>
52 </objectType>
55 <objectType>
56 <label>New terminal</label>
57 <objectClass>FAKE_OC_NewTerminal</objectClass>
58 <category>terminal</category>
59 <class>termgeneric</class>
60 <image>plugins/systems/images/select_new_terminal.png</image>
61 </objectType>
63 <objectType>
64 <label>New unknown device</label>
65 <objectClass>FAKE_OC_NewUnknownDevice</objectClass>
66 <category>terminal</category>
67 <class>termgeneric</class>
68 <image>plugins/systems/images/select_newsystem.png</image>
69 </objectType>
71 <objectType>
72 <label>New device</label>
73 <objectClass>FAKE_OC_NewDevice</objectClass>
74 <category>terminal</category>
75 <class>termgeneric</class>
76 <image>plugins/systems/images/select_newsystem.png</image>
77 </objectType>
79 <objectType>
80 <label>Workstation template</label>
81 <objectClass>FAKE_OC_WorkstationTemplate</objectClass>
82 <category>workstation</category>
83 <class>workgeneric</class>
84 <image>plugins/systems/images/select_default.png</image>
85 </objectType>
87 <objectType>
88 <label>Terminal template</label>
89 <objectClass>FAKE_OC_TerminalTemplate</objectClass>
90 <category>terminal</category>
91 <class>termgeneric</class>
92 <image>plugins/systems/images/select_default.png</image>
93 </objectType>
95 <objectType>
96 <label>Winstation</label>
97 <objectClass>FAKE_OC_winstation</objectClass>
98 <category>winworkstation</category>
99 <class>wingeneric</class>
100 <image>plugins/systems/images/select_winstation.png</image>
101 </objectType>
103 <objectType>
104 <label>Server</label>
105 <objectClass>goServer</objectClass>
106 <category>server</category>
107 <class>servgeneric</class>
108 <image>plugins/systems/images/select_server.png</image>
109 </objectType>
111 <objectType>
112 <label>Workstation</label>
113 <objectClass>gotoWorkstation</objectClass>
114 <category>workstation</category>
115 <class>workgeneric</class>
116 <image>plugins/systems/images/select_workstation.png</image>
117 </objectType>
119 <objectType>
120 <label>Terminal</label>
121 <objectClass>gotoTerminal</objectClass>
122 <category>terminal</category>
123 <class>termgeneric</class>
124 <image>plugins/systems/images/select_terminal.png</image>
125 </objectType>
127 <objectType>
128 <label>Printer</label>
129 <objectClass>gotoPrinter</objectClass>
130 <category>printer</category>
131 <class>printGeneric</class>
132 <image>plugins/systems/images/select_printer.png</image>
133 </objectType>
135 <objectType>
136 <label>Phone</label>
137 <objectClass>goPhoneHardware</objectClass>
138 <category>phone</category>
139 <class>phoneGeneric</class>
140 <image>plugins/systems/images/select_phone.png</image>
141 </objectType>
143 <objectType>
144 <label>Component</label>
145 <objectClass>ieee802Device</objectClass>
146 <category>component</category>
147 <class>componentGeneric</class>
148 <image>plugins/systems/images/select_component.png</image>
149 </objectType>
151 </definition>
153 <table>
154 <layout>|20px;c||250px|170px;r|</layout>
156 <department>
157 <value>%{filter:objectType(dn,objectClass)}</value>
158 </department>
160 <department>
161 <value>%{filter:departmentLink(row,dn,description)}</value>
162 <span>2</span>
163 </department>
165 <column>
166 <value>%{filter:objectType(dn,objectClass)}</value>
167 </column>
169 <column>
170 <label>Name</label>
171 <sortAttribute>cn</sortAttribute>
172 <sortType>string</sortType>
173 <value>%{filter:link(row,dn,"%s",cn)}</value>
174 <export>true</export>
175 </column>
177 <column>
178 <label>Description</label>
179 <sortAttribute>description</sortAttribute>
180 <sortType>string</sortType>
181 <value>%{filter:link(row,dn,"%s",description)}</value>
182 <export>true</export>
183 </column>
185 <column>
186 <label>Actions</label>
187 <value>%{filter:actions(dn,row,objectClass)}</value>
188 </column>
190 </table>
192 <actionmenu>
194 <action>
195 <type>sub</type>
196 <image>images/lists/new.png</image>
197 <label>Create</label>
199 <action>
200 <name>new_server</name>
201 <type>entry</type>
202 <image>plugins/systems/images/select_server.png</image>
203 <label>Server</label>
204 <depends>servgeneric</depends>
205 </action>
207 <action>
208 <name>new_workstation</name>
209 <type>entry</type>
210 <image>plugins/systems/images/select_workstation.png</image>
211 <label>Workstation</label>
212 <depends>workgeneric</depends>
213 </action>
215 <action>
216 <name>new_terminal</name>
217 <type>entry</type>
218 <image>plugins/systems/images/select_terminal.png</image>
219 <label>Terminal</label>
220 <depends>termgeneric</depends>
221 </action>
223 <action>
224 <name>new_printer</name>
225 <type>entry</type>
226 <image>plugins/systems/images/select_printer.png</image>
227 <label>Network printer</label>
228 <depends>printgeneric</depends>
229 </action>
231 <action>
232 <name>new_phone</name>
233 <type>entry</type>
234 <image>plugins/systems/images/select_phone.png</image>
235 <label>Phone</label>
236 <depends>phoneGeneric</depends>
237 </action>
239 <action>
240 <name>new_component</name>
241 <type>entry</type>
242 <image>plugins/systems/images/select_component.png</image>
243 <label>Network device</label>
244 <depends>componentGeneric</depends>
245 </action>
247 <action>
248 <name>new_opsi_client</name>
249 <type>entry</type>
250 <image>plugins/systems/images/select_winstation.png</image>
251 <label>Opsi client</label>
252 <depends>opsi</depends>
253 </action>
254 </action>
256 <action>
257 <type>separator</type>
258 </action>
260 <action>
261 <type>sub</type>
262 <image>images/rocket.png</image>
263 <label>Trigger action</label>
265 <action>
266 <name>T_DaemonEvent_halt</name>
267 <depends>DaemonEvent_halt</depends>
268 <type>entry</type>
269 <image>images/lists/reload.png</image>
270 <label>Halt </label>
271 </action>
273 <action>
274 <name>T_DaemonEvent_reboot</name>
275 <depends>DaemonEvent_reboot</depends>
276 <type>entry</type>
277 <image>images/lists/reload.png</image>
278 <label>Reboot</label>
279 </action>
281 <action>
282 <name>T_DaemonEvent_wakeup</name>
283 <depends>DaemonEvent_wakeup</depends>
284 <type>entry</type>
285 <image>images/lists/on.png</image>
286 <label>Wakeup</label>
287 </action>
289 <action>
290 <name>T_DaemonEvent_update</name>
291 <depends>DaemonEvent_update</depends>
292 <type>entry</type>
293 <image>plugins/goto/images/update.png</image>
294 <label>Update</label>
295 </action>
297 <action>
298 <name>T_DaemonEvent_lock</name>
299 <depends>DaemonEvent_lock</depends>
300 <type>entry</type>
301 <image>images/lists/locked.png</image>
302 <label>Lock</label>
303 </action>
305 <action>
306 <name>T_DaemonEvent_activate</name>
307 <depends>DaemonEvent_activate</depends>
308 <type>entry</type>
309 <image>images/lists/unlocked.png</image>
310 <label>Activate</label>
311 </action>
313 <action>
314 <name>T_DaemonEvent_reinstall</name>
315 <depends>DaemonEvent_reinstall</depends>
316 <type>entry</type>
317 <image>plugins/goto/images/reinstall.png</image>
318 <label>Reinstall</label>
319 </action>
322 </action>
326 <action>
327 <type>sub</type>
328 <image>plugins/systems/images/clock.png</image>
329 <label>Schedule action</label>
331 <action>
332 <name>S_DaemonEvent_halt</name>
333 <depends>DaemonEvent_halt</depends>
334 <type>entry</type>
335 <image>images/lists/off.png</image>
336 <label>Halt</label>
337 </action>
339 <action>
340 <name>S_DaemonEvent_reboot</name>
341 <depends>DaemonEvent_reboot</depends>
342 <type>entry</type>
343 <image>images/lists/reload.png</image>
344 <label>Reboot</label>
345 </action>
347 <action>
348 <name>S_DaemonEvent_wakeup</name>
349 <depends>DaemonEvent_wakeup</depends>
350 <type>entry</type>
351 <image>images/lists/on.png</image>
352 <label>Wakeup</label>
353 </action>
355 <action>
356 <name>S_DaemonEvent_update</name>
357 <depends>DaemonEvent_update</depends>
358 <type>entry</type>
359 <image>plugins/goto/images/update.png</image>
360 <label>Update</label>
361 </action>
363 <action>
364 <name>S_DaemonEvent_lock</name>
365 <depends>DaemonEvent_lock</depends>
366 <type>entry</type>
367 <image>images/lists/locked.png</image>
368 <label>Lock</label>
369 </action>
371 <action>
372 <name>S_DaemonEvent_activate</name>
373 <depends>DaemonEvent_activate</depends>
374 <type>entry</type>
375 <image>images/lists/unlocked.png</image>
376 <label>Activate</label>
377 </action>
379 <action>
380 <name>S_DaemonEvent_reinstall</name>
381 <depends>DaemonEvent_reinstall</depends>
382 <type>entry</type>
383 <image>plugins/goto/images/reinstall.png</image>
384 <label>Reinstall</label>
385 </action>
387 </action>
389 <action>
390 <type>separator</type>
391 </action>
393 <action>
394 <name>DaemonEvent_activate</name>
395 <depends>DaemonEvent_activate</depends>
396 <type>entry</type>
397 <image>images/lists/unlocked.png</image>
398 <label>Activate systems</label>
399 </action>
401 <action>
402 <name>remove</name>
403 <type>entry</type>
404 <image>images/lists/trash.png</image>
405 <label>Remove</label>
406 </action>
408 <action>
409 <type>exporter</type>
410 </action>
412 <action>
413 <type>separator</type>
414 </action>
416 <action>
417 <type>copypaste</type>
418 </action>
420 <action>
421 <type>snapshot</type>
422 </action>
424 </actionmenu>
426 <actiontriggers snapshot="true" copypaste="true">
428 <action>
429 <name>createISO</name>
430 <type>entry</type>
431 <objectclass>gotoWorkstation</objectclass>
432 <image>plugins/systems/images/cdrom.png</image>
433 <acl>workstation/workgeneric[createFAICD:w]</acl>
434 <label>Create ISO</label>
435 </action>
437 <action>
438 <name>cp</name>
439 <type>copypaste</type>
440 </action>
442 <action>
443 <name>edit</name>
444 <type>entry</type>
445 <image>images/lists/edit.png</image>
446 <label>Edit role</label>
447 </action>
449 <action>
450 <name>snapshot</name>
451 <type>snapshot</type>
452 </action>
454 <action>
455 <name>remove</name>
456 <type>entry</type>
457 <image>images/lists/trash.png</image>
458 <acl>roles/role[d]</acl>
459 <label>Remove role</label>
460 </action>
462 </actiontriggers>
464 </list>