Code

3a15c3a24ea23d57634e6607d11ff179533d264d
[gosa.git] / gosa-plugins / systems / admin / systems / system-list.xml
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 <!--
14     <objectType>
15       <label>Device</label>
16       <objectClass>registeredDevice</objectClass>
17       <category>Device</category>
18       <class>Device</class>
19       <image>images/lists/edit.png</image>
20     </objectType>
21 -->
22     <objectType>
23       <label>Opsi host</label>
24       <objectClass>FAKE_OC_OpsiHost</objectClass>
25       <category>opsi</category>
26       <class>opsiGeneric</class>
27       <image>plugins/systems/images/select_winstation.png</image>
28     </objectType>
30     <objectType>
31       <label>New workstation</label>
32       <objectClass>FAKE_OC_NewWorkstation</objectClass>
33       <category>workstation</category>
34       <class>workgeneric</class>
35       <image>plugins/systems/images/select_workstation.png[new]</image>
36     </objectType>
38     <objectType>
39       <label>Locked server</label>
40       <objectClass>goServer__IS_LOCKED</objectClass>
41       <category>server</category>
42       <class>servgeneric</class>
43       <image>plugins/systems/images/select_server.png[locked]</image>
44     </objectType>
46     <objectType>
47       <label>Locked workstation</label>
48       <objectClass>gotoWorkstation__IS_LOCKED</objectClass>
49       <category>workstation</category>
50       <class>workgeneric</class>
51       <image>plugins/systems/images/select_workstation.png[locked]</image>
52     </objectType>
54     <objectType>
55       <label>Locked terminal</label>
56       <objectClass>gotoTerminal__IS_LOCKED</objectClass>
57       <category>terminal</category>
58       <class>termgeneric</class>
59       <image>plugins/systems/images/select_terminal.png[locked]</image>
60     </objectType>
63     <objectType>
64       <label>New terminal</label>
65       <objectClass>FAKE_OC_NewTerminal</objectClass>
66       <category>terminal</category>
67       <class>termgeneric</class>
68       <image>plugins/systems/images/select_terminal.png[new]</image>
69     </objectType>
71     <objectType>
72       <label>New unknown device</label>
73       <objectClass>FAKE_OC_ArpNewDevice</objectClass>
74       <category>incoming</category>
75       <class>ArpNewDevice</class>
76       <image>images/lists/element.png[new]</image>
77     </objectType>
79     <objectType>
80       <label>New device</label>
81       <objectClass>FAKE_OC_NewDevice</objectClass>
82       <category>incoming</category>
83       <class>systemManagement</class>
84       <image>images/lists/element.png[new]</image>
85     </objectType>
87     <objectType>
88       <label>Workstation template</label>
89       <objectClass>FAKE_OC_WorkstationTemplate</objectClass>
90       <category>workstation</category>
91       <class>workgeneric</class>
92       <image>plugins/systems/images/select_default.png</image>
93     </objectType>
95     <objectType>
96       <label>Terminal template</label>
97       <objectClass>FAKE_OC_TerminalTemplate</objectClass>
98       <category>terminal</category>
99       <class>termgeneric</class>
100       <image>plugins/systems/images/select_default.png</image>
101     </objectType>
103     <objectType>
104       <label>Windows workstation</label>
105       <objectClass>FAKE_OC_winstation</objectClass>
106       <category>winworkstation</category>
107       <class>wingeneric</class>
108       <image>plugins/systems/images/select_winstation.png</image>
109     </objectType>
111     <objectType>
112       <label>Server</label>
113       <objectClass>goServer</objectClass>
114       <category>server</category>
115       <class>servgeneric</class>
116       <image>plugins/systems/images/select_server.png</image>
117     </objectType>
119     <objectType>
120       <label>Workstation</label>
121       <objectClass>gotoWorkstation</objectClass>
122       <category>workstation</category>
123       <class>workgeneric</class>
124       <image>plugins/systems/images/select_workstation.png</image>
125     </objectType>
127     <objectType>
128       <label>Terminal</label>
129       <objectClass>gotoTerminal</objectClass>
130       <category>terminal</category>
131       <class>termgeneric</class>
132       <image>plugins/systems/images/select_terminal.png</image>
133     </objectType>
135     <objectType>
136       <label>Printer</label>
137       <objectClass>gotoPrinter</objectClass>
138       <category>printer</category>
139       <class>printgeneric</class>
140       <image>plugins/systems/images/select_printer.png</image>
141     </objectType>
143     <objectType>
144       <label>Phone</label>
145       <objectClass>goFonHardware</objectClass>
146       <category>phone</category>
147       <class>phoneGeneric</class>
148       <image>plugins/systems/images/select_phone.png</image>
149     </objectType>
151     <objectType>
152       <label>Component</label>
153       <objectClass>ieee802Device</objectClass>
154       <category>component</category>
155       <class>componentGeneric</class>
156       <image>plugins/systems/images/select_component.png</image>
157     </objectType>
159   </definition>
161   <table>
162     <layout>|20px;c|||80px|170px;r|</layout>
164     <department>
165       <value>%{filter:objectType(dn,objectClass)}</value>
166     </department>
168     <department>
169       <value>%{filter:departmentLink(row,dn,description)}</value>
170       <span>2</span>
171     </department>
173     <column>
174       <value>%{filter:objectType(dn,objectClass)}</value>
175     </column>
177     <column>
178       <label>Name</label>
179       <sortAttribute>cn</sortAttribute>
180       <sortType>string</sortType>
181       <value>%{filter:filterLink(row,dn,"%s",cn,pid)}</value>
182       <export>true</export>
183     </column>
185     <column>
186       <label>Description</label>
187       <sortAttribute>description</sortAttribute>
188       <sortType>string</sortType>
189       <value>%{filter:filterSystemDescription(row,dn,pid,state,description)}</value>
190       <export>true</export>
191     </column>
193     <column>
194       <label>Release</label>
195       <sortAttribute>description</sortAttribute>
196       <sortType>string</sortType>
197       <value>%{filter:systemRelease(row,dn,"%s",objectClass,FAIclass)}</value>
198       <export>true</export>
199     </column>
201     <column>
202       <label>Actions</label>
203       <value>%{filter:actions(dn,row,objectClass)}</value>
204     </column>
206   </table>
208   <actionmenu>
210     <action>
211      <type>sub</type>
212      <image>images/lists/element.png[new]</image>
213      <label>Create</label>
215      <action>
216       <name>new_device</name>
217       <type>entry</type>
218       <image>images/lists/edit.png</image>
219       <label>Device</label>
220       <depends>Device</depends>
221      </action>
223      <action>
224       <name>new_goServer</name>
225       <type>entry</type>
226       <image>plugins/systems/images/select_server.png[new]</image>
227       <label>Server</label>
228       <depends>servgeneric</depends>
229      </action>
231      <action>
232       <name>new_gotoWorkstation</name>
233       <type>entry</type>
234       <image>plugins/systems/images/select_workstation.png[new]</image>
235       <label>Workstation</label>
236       <depends>workgeneric</depends>
237      </action>
239      <action>
240       <name>new_gotoTerminal</name>
241       <type>entry</type>
242       <image>plugins/systems/images/select_terminal.png[new]</image>
243       <label>Terminal</label>
244       <depends>termgeneric</depends>
245      </action>
247      <action>
248       <name>new_gotoPrinter</name>
249       <type>entry</type>
250       <image>plugins/systems/images/select_printer.png[new]</image>
251       <label>Network printer</label>
252       <depends>printgeneric</depends>
253      </action>
255      <action>
256       <name>new_goFonHardware</name>
257       <type>entry</type>
258       <image>plugins/systems/images/select_phone.png[new]</image>
259       <label>Phone</label>
260       <depends>phoneGeneric</depends>
261      </action>
263      <action>
264       <name>new_ieee802Device</name>
265       <type>entry</type>
266       <image>plugins/systems/images/select_component.png[new]</image>
267       <label>Network device</label>
268       <depends>componentGeneric</depends>
269      </action>
271      <action>
272       <name>new_FAKE_OC_OpsiHost</name>
273       <type>entry</type>
274       <image>plugins/systems/images/select_winstation.png[new]</image>
275       <label>Opsi client</label>
276       <depends>opsi</depends>
277      </action>
278     </action>
280     <action>
281       <type>separator</type>
282     </action>
284     <action>
285      <type>sub</type>
286      <image>images/rocket.png</image>
287      <label>Trigger action</label>
289       <action>
290         <name>T_DaemonEvent_halt</name>
291         <depends>DaemonEvent_halt</depends>
292         <type>entry</type>
293         <image>images/lists/reload.png</image>
294         <label>Halt </label>
295       </action>
297       <action>
298         <name>T_DaemonEvent_reboot</name>
299         <depends>DaemonEvent_reboot</depends>
300         <type>entry</type>
301         <image>images/lists/reload.png</image>
302         <label>Reboot</label>
303       </action>
305       <action>
306         <name>T_DaemonEvent_wakeup</name>
307         <depends>DaemonEvent_wakeup</depends>
308         <type>entry</type>
309         <image>images/lists/on.png</image>
310         <label>Wakeup</label>
311       </action>
313       <action>
314         <name>T_DaemonEvent_update</name>
315         <depends>DaemonEvent_update</depends>
316         <type>entry</type>
317         <image>plugins/goto/images/update.png</image>
318         <label>Update</label>
319       </action>
321       <action>
322         <name>T_DaemonEvent_lock</name>
323         <depends>DaemonEvent_lock</depends>
324         <type>entry</type>
325         <image>images/lists/locked.png</image>
326         <label>Lock</label>
327       </action>
329       <action>
330         <name>T_DaemonEvent_activate</name>
331         <depends>DaemonEvent_activate</depends>
332         <type>entry</type>
333         <image>images/lists/unlocked.png</image>
334         <label>Activate</label>
335       </action>
337       <action>
338         <name>T_DaemonEvent_reinstall</name>
339         <depends>DaemonEvent_reinstall</depends>
340         <type>entry</type>
341         <image>plugins/goto/images/reinstall.png</image>
342         <label>Reinstall</label>
343       </action>
346     </action>
350     <action>
351      <type>sub</type>
352      <image>plugins/systems/images/clock.png</image>
353      <label>Schedule action</label>
355       <action>
356         <name>S_DaemonEvent_halt</name>
357         <depends>DaemonEvent_halt</depends>
358         <type>entry</type>
359         <image>images/lists/off.png</image>
360         <label>Halt</label>
361       </action>
363       <action>
364         <name>S_DaemonEvent_reboot</name>
365         <depends>DaemonEvent_reboot</depends>
366         <type>entry</type>
367         <image>images/lists/reload.png</image>
368         <label>Reboot</label>
369       </action>
371       <action>
372         <name>S_DaemonEvent_wakeup</name>
373         <depends>DaemonEvent_wakeup</depends>
374         <type>entry</type>
375         <image>images/lists/on.png</image>
376         <label>Wakeup</label>
377       </action>
379       <action>
380         <name>S_DaemonEvent_update</name>
381         <depends>DaemonEvent_update</depends>
382         <type>entry</type>
383         <image>plugins/goto/images/update.png</image>
384         <label>Update</label>
385       </action>
387       <action>
388         <name>S_DaemonEvent_lock</name>
389         <depends>DaemonEvent_lock</depends>
390         <type>entry</type>
391         <image>images/lists/locked.png</image>
392         <label>Lock</label>
393       </action>
395       <action>
396         <name>S_DaemonEvent_activate</name>
397         <depends>DaemonEvent_activate</depends>
398         <type>entry</type>
399         <image>images/lists/unlocked.png</image>
400         <label>Activate</label>
401       </action>
403       <action>
404         <name>S_DaemonEvent_reinstall</name>
405         <depends>DaemonEvent_reinstall</depends>
406         <type>entry</type>
407         <image>plugins/goto/images/reinstall.png</image>
408         <label>Reinstall</label>
409       </action>
411     </action>
413     <action>
414       <type>separator</type>
415     </action>
417     <action>
418       <name>activateMultiple</name>
419       <depends>DaemonEvent_activate</depends>
420       <type>entry</type>
421       <image>images/lists/unlocked.png</image>
422       <label>Activate systems</label>
423     </action>
425     <action>
426       <name>remove</name>
427       <type>entry</type>
428       <image>images/lists/trash.png</image>
429       <label>Remove</label>
430     </action>
432     <action>
433       <type>exporter</type>
434     </action>
436     <action>
437       <type>separator</type>
438     </action>
440     <action>
441       <type>copypaste</type>
442     </action>
444     <action>
445       <type>snapshot</type>
446     </action>
448   </actionmenu>
450   <actiontriggers snapshot="true" copypaste="true">
452     <action>
453       <name>setPassword</name>
454       <type>entry</type>
455       <objectclass>FAKE_OC_PWD_changeAble</objectclass>
456       <image>images/lists/key.png</image>
457       <label>Change password</label>
458     </action>
461     <action>
462       <name>createISO</name>
463       <type>entry</type>
464       <objectclass>gotoWorkstation</objectclass>
465       <objectclass>FAIobject</objectclass>
466       <image>plugins/systems/images/cdrom.png</image>
467       <acl>workstation/workgeneric[createFAICD:w]</acl>
468       <label>Create ISO</label>
469     </action>
471     <action>
472       <name>cp</name>
473       <type>copypaste</type>
474     </action>
476     <action>
477       <name>edit</name>
478       <type>entry</type>
479       <image>images/lists/edit.png</image>
480       <label>Edit role</label>
481     </action>
483     <action>
484       <name>snapshot</name>
485       <type>snapshot</type>
486     </action>
488     <action>
489       <name>remove</name>
490       <type>entry</type>
491       <image>images/lists/trash.png</image>
492       <acl>%acl[d]</acl>
493       <label>Remove system</label>
494     </action>
496   </actiontriggers>
498 </list>