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 <label>List of systems</label>
11 <defaultSortColumn>1</defaultSortColumn>
13 <objectType>
14 <label>Opsi host</label>
15 <objectClass>FAKE_OC_OpsiHost</objectClass>
16 <category>opsi</category>
17 <class>opsiGeneric</class>
18 <image>plugins/systems/images/select_winstation.png</image>
19 </objectType>
21 <objectType>
22 <label>New workstation</label>
23 <objectClass>FAKE_OC_NewWorkstation</objectClass>
24 <category>workstation</category>
25 <class>workgeneric</class>
26 <image>plugins/systems/images/select_new_workstation.png</image>
27 </objectType>
29 <objectType>
30 <label>Locked server</label>
31 <objectClass>goServer__IS_LOCKED</objectClass>
32 <category>server</category>
33 <class>servgeneric</class>
34 <image>plugins/systems/images/server_locked.png</image>
35 </objectType>
37 <objectType>
38 <label>Locked workstation</label>
39 <objectClass>gotoWorkstation__IS_LOCKED</objectClass>
40 <category>workstation</category>
41 <class>workgeneric</class>
42 <image>plugins/systems/images/workstation_locked.png</image>
43 </objectType>
45 <objectType>
46 <label>Locked terminal</label>
47 <objectClass>gotoTerminal__IS_LOCKED</objectClass>
48 <category>terminal</category>
49 <class>termgeneric</class>
50 <image>plugins/systems/images/terminal_locked.png</image>
51 </objectType>
54 <objectType>
55 <label>New terminal</label>
56 <objectClass>FAKE_OC_NewTerminal</objectClass>
57 <category>terminal</category>
58 <class>termgeneric</class>
59 <image>plugins/systems/images/select_new_terminal.png</image>
60 </objectType>
62 <objectType>
63 <label>New unknown device</label>
64 <objectClass>FAKE_OC_ArpNewDevice</objectClass>
65 <category>terminal</category>
66 <class>termgeneric</class>
67 <image>plugins/systems/images/select_newsystem.png</image>
68 </objectType>
70 <objectType>
71 <label>New device</label>
72 <objectClass>FAKE_OC_NewDevice</objectClass>
73 <category>terminal</category>
74 <class>termgeneric</class>
75 <image>plugins/systems/images/select_newsystem.png</image>
76 </objectType>
78 <objectType>
79 <label>Workstation template</label>
80 <objectClass>FAKE_OC_WorkstationTemplate</objectClass>
81 <category>workstation</category>
82 <class>workgeneric</class>
83 <image>plugins/systems/images/select_default.png</image>
84 </objectType>
86 <objectType>
87 <label>Terminal template</label>
88 <objectClass>FAKE_OC_TerminalTemplate</objectClass>
89 <category>terminal</category>
90 <class>termgeneric</class>
91 <image>plugins/systems/images/select_default.png</image>
92 </objectType>
94 <objectType>
95 <label>Winstation</label>
96 <objectClass>FAKE_OC_winstation</objectClass>
97 <category>winworkstation</category>
98 <class>wingeneric</class>
99 <image>plugins/systems/images/select_winstation.png</image>
100 </objectType>
102 <objectType>
103 <label>Server</label>
104 <objectClass>goServer</objectClass>
105 <category>server</category>
106 <class>servgeneric</class>
107 <image>plugins/systems/images/select_server.png</image>
108 </objectType>
110 <objectType>
111 <label>Workstation</label>
112 <objectClass>gotoWorkstation</objectClass>
113 <category>workstation</category>
114 <class>workgeneric</class>
115 <image>plugins/systems/images/select_workstation.png</image>
116 </objectType>
118 <objectType>
119 <label>Terminal</label>
120 <objectClass>gotoTerminal</objectClass>
121 <category>terminal</category>
122 <class>termgeneric</class>
123 <image>plugins/systems/images/select_terminal.png</image>
124 </objectType>
126 <objectType>
127 <label>Printer</label>
128 <objectClass>gotoPrinter</objectClass>
129 <category>printer</category>
130 <class>printGeneric</class>
131 <image>plugins/systems/images/select_printer.png</image>
132 </objectType>
134 <objectType>
135 <label>Phone</label>
136 <objectClass>goFonHardware</objectClass>
137 <category>phone</category>
138 <class>phoneGeneric</class>
139 <image>plugins/systems/images/select_phone.png</image>
140 </objectType>
142 <objectType>
143 <label>Component</label>
144 <objectClass>ieee802Device</objectClass>
145 <category>component</category>
146 <class>componentGeneric</class>
147 <image>plugins/systems/images/select_component.png</image>
148 </objectType>
150 </definition>
152 <table>
153 <layout>|20px;c||250px|170px;r|</layout>
155 <department>
156 <value>%{filter:objectType(dn,objectClass)}</value>
157 </department>
159 <department>
160 <value>%{filter:departmentLink(row,dn,description)}</value>
161 <span>2</span>
162 </department>
164 <column>
165 <value>%{filter:objectType(dn,objectClass)}</value>
166 </column>
168 <column>
169 <label>Name</label>
170 <sortAttribute>cn</sortAttribute>
171 <sortType>string</sortType>
172 <value>%{filter:link(row,dn,"%s",cn)}</value>
173 <export>true</export>
174 </column>
176 <column>
177 <label>Description</label>
178 <sortAttribute>description</sortAttribute>
179 <sortType>string</sortType>
180 <value>%{filter:link(row,dn,"%s",description)}</value>
181 <export>true</export>
182 </column>
184 <column>
185 <label>Actions</label>
186 <value>%{filter:actions(dn,row,objectClass)}</value>
187 </column>
189 </table>
191 <actionmenu>
193 <action>
194 <type>sub</type>
195 <image>images/lists/new.png</image>
196 <label>Create</label>
198 <action>
199 <name>new_goServer</name>
200 <type>entry</type>
201 <image>plugins/systems/images/select_server.png</image>
202 <label>Server</label>
203 <depends>servgeneric</depends>
204 </action>
206 <action>
207 <name>new_gotoWorkstation</name>
208 <type>entry</type>
209 <image>plugins/systems/images/select_workstation.png</image>
210 <label>Workstation</label>
211 <depends>workgeneric</depends>
212 </action>
214 <action>
215 <name>new_gotoTerminal</name>
216 <type>entry</type>
217 <image>plugins/systems/images/select_terminal.png</image>
218 <label>Terminal</label>
219 <depends>termgeneric</depends>
220 </action>
222 <action>
223 <name>new_gotoPrinter</name>
224 <type>entry</type>
225 <image>plugins/systems/images/select_printer.png</image>
226 <label>Network printer</label>
227 <depends>printgeneric</depends>
228 </action>
230 <action>
231 <name>new_goFonHardware</name>
232 <type>entry</type>
233 <image>plugins/systems/images/select_phone.png</image>
234 <label>Phone</label>
235 <depends>phoneGeneric</depends>
236 </action>
238 <action>
239 <name>new_ieee802Device</name>
240 <type>entry</type>
241 <image>plugins/systems/images/select_component.png</image>
242 <label>Network device</label>
243 <depends>componentGeneric</depends>
244 </action>
246 <action>
247 <name>new_FAKE_OC_OpsiHost</name>
248 <type>entry</type>
249 <image>plugins/systems/images/select_winstation.png</image>
250 <label>Opsi client</label>
251 <depends>opsi</depends>
252 </action>
253 </action>
255 <action>
256 <type>separator</type>
257 </action>
259 <action>
260 <type>sub</type>
261 <image>images/rocket.png</image>
262 <label>Trigger action</label>
264 <action>
265 <name>T_DaemonEvent_halt</name>
266 <depends>DaemonEvent_halt</depends>
267 <type>entry</type>
268 <image>images/lists/reload.png</image>
269 <label>Halt </label>
270 </action>
272 <action>
273 <name>T_DaemonEvent_reboot</name>
274 <depends>DaemonEvent_reboot</depends>
275 <type>entry</type>
276 <image>images/lists/reload.png</image>
277 <label>Reboot</label>
278 </action>
280 <action>
281 <name>T_DaemonEvent_wakeup</name>
282 <depends>DaemonEvent_wakeup</depends>
283 <type>entry</type>
284 <image>images/lists/on.png</image>
285 <label>Wakeup</label>
286 </action>
288 <action>
289 <name>T_DaemonEvent_update</name>
290 <depends>DaemonEvent_update</depends>
291 <type>entry</type>
292 <image>plugins/goto/images/update.png</image>
293 <label>Update</label>
294 </action>
296 <action>
297 <name>T_DaemonEvent_lock</name>
298 <depends>DaemonEvent_lock</depends>
299 <type>entry</type>
300 <image>images/lists/locked.png</image>
301 <label>Lock</label>
302 </action>
304 <action>
305 <name>T_DaemonEvent_activate</name>
306 <depends>DaemonEvent_activate</depends>
307 <type>entry</type>
308 <image>images/lists/unlocked.png</image>
309 <label>Activate</label>
310 </action>
312 <action>
313 <name>T_DaemonEvent_reinstall</name>
314 <depends>DaemonEvent_reinstall</depends>
315 <type>entry</type>
316 <image>plugins/goto/images/reinstall.png</image>
317 <label>Reinstall</label>
318 </action>
321 </action>
325 <action>
326 <type>sub</type>
327 <image>plugins/systems/images/clock.png</image>
328 <label>Schedule action</label>
330 <action>
331 <name>S_DaemonEvent_halt</name>
332 <depends>DaemonEvent_halt</depends>
333 <type>entry</type>
334 <image>images/lists/off.png</image>
335 <label>Halt</label>
336 </action>
338 <action>
339 <name>S_DaemonEvent_reboot</name>
340 <depends>DaemonEvent_reboot</depends>
341 <type>entry</type>
342 <image>images/lists/reload.png</image>
343 <label>Reboot</label>
344 </action>
346 <action>
347 <name>S_DaemonEvent_wakeup</name>
348 <depends>DaemonEvent_wakeup</depends>
349 <type>entry</type>
350 <image>images/lists/on.png</image>
351 <label>Wakeup</label>
352 </action>
354 <action>
355 <name>S_DaemonEvent_update</name>
356 <depends>DaemonEvent_update</depends>
357 <type>entry</type>
358 <image>plugins/goto/images/update.png</image>
359 <label>Update</label>
360 </action>
362 <action>
363 <name>S_DaemonEvent_lock</name>
364 <depends>DaemonEvent_lock</depends>
365 <type>entry</type>
366 <image>images/lists/locked.png</image>
367 <label>Lock</label>
368 </action>
370 <action>
371 <name>S_DaemonEvent_activate</name>
372 <depends>DaemonEvent_activate</depends>
373 <type>entry</type>
374 <image>images/lists/unlocked.png</image>
375 <label>Activate</label>
376 </action>
378 <action>
379 <name>S_DaemonEvent_reinstall</name>
380 <depends>DaemonEvent_reinstall</depends>
381 <type>entry</type>
382 <image>plugins/goto/images/reinstall.png</image>
383 <label>Reinstall</label>
384 </action>
386 </action>
388 <action>
389 <type>separator</type>
390 </action>
392 <action>
393 <name>activateMultiple</name>
394 <depends>DaemonEvent_activate</depends>
395 <type>entry</type>
396 <image>images/lists/unlocked.png</image>
397 <label>Activate systems</label>
398 </action>
400 <action>
401 <name>remove</name>
402 <type>entry</type>
403 <image>images/lists/trash.png</image>
404 <label>Remove</label>
405 </action>
407 <action>
408 <type>exporter</type>
409 </action>
411 <action>
412 <type>separator</type>
413 </action>
415 <action>
416 <type>copypaste</type>
417 </action>
419 <action>
420 <type>snapshot</type>
421 </action>
423 </actionmenu>
425 <actiontriggers snapshot="true" copypaste="true">
427 <action>
428 <name>setPassword</name>
429 <type>entry</type>
430 <objectclass>FAKE_OC_PWD_changeAble</objectclass>
431 <image>images/lists/key.png</image>
432 <label>Change password</label>
433 </action>
436 <action>
437 <name>createISO</name>
438 <type>entry</type>
439 <objectclass>gotoWorkstation</objectclass>
440 <objectclass>FAIobject</objectclass>
441 <image>plugins/systems/images/cdrom.png</image>
442 <acl>workstation/workgeneric[createFAICD:w]</acl>
443 <label>Create ISO</label>
444 </action>
446 <action>
447 <name>cp</name>
448 <type>copypaste</type>
449 </action>
451 <action>
452 <name>edit</name>
453 <type>entry</type>
454 <image>images/lists/edit.png</image>
455 <label>Edit role</label>
456 </action>
458 <action>
459 <name>snapshot</name>
460 <type>snapshot</type>
461 </action>
463 <action>
464 <name>remove</name>
465 <type>entry</type>
466 <image>images/lists/trash.png</image>
467 <acl>%acl[d]</acl>
468 <label>Remove system</label>
469 </action>
471 </actiontriggers>
473 </list>