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_workstation.png[new]</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_terminal.png[new]</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_default.png[new]</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_default.png[new]</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|||80px|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>Release</label>
186 <sortAttribute>description</sortAttribute>
187 <sortType>string</sortType>
188 <value>%{filter:systemRelease(row,dn,"%s",objectClass,FAIclass)}</value>
189 <export>true</export>
190 </column>
192 <column>
193 <label>Actions</label>
194 <value>%{filter:actions(dn,row,objectClass)}</value>
195 </column>
197 </table>
199 <actionmenu>
201 <action>
202 <type>sub</type>
203 <image>images/lists/element.png[new]</image>
204 <label>Create</label>
206 <action>
207 <name>new_goServer</name>
208 <type>entry</type>
209 <image>plugins/systems/images/select_server.png[new]</image>
210 <label>Server</label>
211 <depends>servgeneric</depends>
212 </action>
214 <action>
215 <name>new_gotoWorkstation</name>
216 <type>entry</type>
217 <image>plugins/systems/images/select_workstation.png[new]</image>
218 <label>Workstation</label>
219 <depends>workgeneric</depends>
220 </action>
222 <action>
223 <name>new_gotoTerminal</name>
224 <type>entry</type>
225 <image>plugins/systems/images/select_terminal.png[new]</image>
226 <label>Terminal</label>
227 <depends>termgeneric</depends>
228 </action>
230 <action>
231 <name>new_gotoPrinter</name>
232 <type>entry</type>
233 <image>plugins/systems/images/select_printer.png[new]</image>
234 <label>Network printer</label>
235 <depends>printgeneric</depends>
236 </action>
238 <action>
239 <name>new_goFonHardware</name>
240 <type>entry</type>
241 <image>plugins/systems/images/select_phone.png[new]</image>
242 <label>Phone</label>
243 <depends>phoneGeneric</depends>
244 </action>
246 <action>
247 <name>new_ieee802Device</name>
248 <type>entry</type>
249 <image>plugins/systems/images/select_component.png[new]</image>
250 <label>Network device</label>
251 <depends>componentGeneric</depends>
252 </action>
254 <action>
255 <name>new_FAKE_OC_OpsiHost</name>
256 <type>entry</type>
257 <image>plugins/systems/images/select_winstation.png[new]</image>
258 <label>Opsi client</label>
259 <depends>opsi</depends>
260 </action>
261 </action>
263 <action>
264 <type>separator</type>
265 </action>
267 <action>
268 <type>sub</type>
269 <image>images/rocket.png</image>
270 <label>Trigger action</label>
272 <action>
273 <name>T_DaemonEvent_halt</name>
274 <depends>DaemonEvent_halt</depends>
275 <type>entry</type>
276 <image>images/lists/reload.png</image>
277 <label>Halt </label>
278 </action>
280 <action>
281 <name>T_DaemonEvent_reboot</name>
282 <depends>DaemonEvent_reboot</depends>
283 <type>entry</type>
284 <image>images/lists/reload.png</image>
285 <label>Reboot</label>
286 </action>
288 <action>
289 <name>T_DaemonEvent_wakeup</name>
290 <depends>DaemonEvent_wakeup</depends>
291 <type>entry</type>
292 <image>images/lists/on.png</image>
293 <label>Wakeup</label>
294 </action>
296 <action>
297 <name>T_DaemonEvent_update</name>
298 <depends>DaemonEvent_update</depends>
299 <type>entry</type>
300 <image>plugins/goto/images/update.png</image>
301 <label>Update</label>
302 </action>
304 <action>
305 <name>T_DaemonEvent_lock</name>
306 <depends>DaemonEvent_lock</depends>
307 <type>entry</type>
308 <image>images/lists/locked.png</image>
309 <label>Lock</label>
310 </action>
312 <action>
313 <name>T_DaemonEvent_activate</name>
314 <depends>DaemonEvent_activate</depends>
315 <type>entry</type>
316 <image>images/lists/unlocked.png</image>
317 <label>Activate</label>
318 </action>
320 <action>
321 <name>T_DaemonEvent_reinstall</name>
322 <depends>DaemonEvent_reinstall</depends>
323 <type>entry</type>
324 <image>plugins/goto/images/reinstall.png</image>
325 <label>Reinstall</label>
326 </action>
329 </action>
333 <action>
334 <type>sub</type>
335 <image>plugins/systems/images/clock.png</image>
336 <label>Schedule action</label>
338 <action>
339 <name>S_DaemonEvent_halt</name>
340 <depends>DaemonEvent_halt</depends>
341 <type>entry</type>
342 <image>images/lists/off.png</image>
343 <label>Halt</label>
344 </action>
346 <action>
347 <name>S_DaemonEvent_reboot</name>
348 <depends>DaemonEvent_reboot</depends>
349 <type>entry</type>
350 <image>images/lists/reload.png</image>
351 <label>Reboot</label>
352 </action>
354 <action>
355 <name>S_DaemonEvent_wakeup</name>
356 <depends>DaemonEvent_wakeup</depends>
357 <type>entry</type>
358 <image>images/lists/on.png</image>
359 <label>Wakeup</label>
360 </action>
362 <action>
363 <name>S_DaemonEvent_update</name>
364 <depends>DaemonEvent_update</depends>
365 <type>entry</type>
366 <image>plugins/goto/images/update.png</image>
367 <label>Update</label>
368 </action>
370 <action>
371 <name>S_DaemonEvent_lock</name>
372 <depends>DaemonEvent_lock</depends>
373 <type>entry</type>
374 <image>images/lists/locked.png</image>
375 <label>Lock</label>
376 </action>
378 <action>
379 <name>S_DaemonEvent_activate</name>
380 <depends>DaemonEvent_activate</depends>
381 <type>entry</type>
382 <image>images/lists/unlocked.png</image>
383 <label>Activate</label>
384 </action>
386 <action>
387 <name>S_DaemonEvent_reinstall</name>
388 <depends>DaemonEvent_reinstall</depends>
389 <type>entry</type>
390 <image>plugins/goto/images/reinstall.png</image>
391 <label>Reinstall</label>
392 </action>
394 </action>
396 <action>
397 <type>separator</type>
398 </action>
400 <action>
401 <name>activateMultiple</name>
402 <depends>DaemonEvent_activate</depends>
403 <type>entry</type>
404 <image>images/lists/unlocked.png</image>
405 <label>Activate systems</label>
406 </action>
408 <action>
409 <name>remove</name>
410 <type>entry</type>
411 <image>images/lists/trash.png</image>
412 <label>Remove</label>
413 </action>
415 <action>
416 <type>exporter</type>
417 </action>
419 <action>
420 <type>separator</type>
421 </action>
423 <action>
424 <type>copypaste</type>
425 </action>
427 <action>
428 <type>snapshot</type>
429 </action>
431 </actionmenu>
433 <actiontriggers snapshot="true" copypaste="true">
435 <action>
436 <name>setPassword</name>
437 <type>entry</type>
438 <objectclass>FAKE_OC_PWD_changeAble</objectclass>
439 <image>images/lists/key.png</image>
440 <label>Change password</label>
441 </action>
444 <action>
445 <name>createISO</name>
446 <type>entry</type>
447 <objectclass>gotoWorkstation</objectclass>
448 <objectclass>FAIobject</objectclass>
449 <image>plugins/systems/images/cdrom.png</image>
450 <acl>workstation/workgeneric[createFAICD:w]</acl>
451 <label>Create ISO</label>
452 </action>
454 <action>
455 <name>cp</name>
456 <type>copypaste</type>
457 </action>
459 <action>
460 <name>edit</name>
461 <type>entry</type>
462 <image>images/lists/edit.png</image>
463 <label>Edit role</label>
464 </action>
466 <action>
467 <name>snapshot</name>
468 <type>snapshot</type>
469 </action>
471 <action>
472 <name>remove</name>
473 <type>entry</type>
474 <image>images/lists/trash.png</image>
475 <acl>%acl[d]</acl>
476 <label>Remove system</label>
477 </action>
479 </actiontriggers>
481 </list>