Code

Updated Server service
[gosa.git] / gosa-plugins / systems / admin / systems / serverService-list.xml
1 <?xml version="1.0" encoding="UTF-8"?>
3 <list>
4   <definition>
5     <departmentBrowser>false</departmentBrowser>
6     <departmentRootVisible>false</departmentRootVisible>
7     <baseMode>false</baseMode>
8     <multiSelect>true</multiSelect>
9     <template>serverService-list.tpl</template>
10     <label>List of services</label>
11     <defaultSortColumn>1</defaultSortColumn>
13     <objectType>
14       <label>Service</label>
15       <objectClass>FAKE_OC_ServerService</objectClass>
16       <category>server</category>
17       <class>ServerService</class>
18       <image>images/lits/new.png</image>
19     </objectType>
21   </definition>
23   <table>
24     <layout>||250px|170px;r|</layout>
26     <column>
27       <label>Description</label>
28       <sortAttribute>Message</sortAttribute>
29       <sortType>string</sortType>
30       <value>%{filter:link(row,dn,"%s",Message)}</value>
31       <export>true</export>
32     </column>
34     <column>
35       <label>Actions</label>
36       <value>%{filter:actions(dn,row,objectClass)}</value>
37     </column>
39   </table>
41   <actionmenu>
43     <action>
44      <type>sub</type>
45      <image>images/lists/new.png</image>
46      <label>Create</label>
48      <action>
49       <name>new_goServer</name>
50       <type>entry</type>
51       <image>plugins/systems/images/select_server.png</image>
52       <label>Server</label>
53       <depends>servgeneric</depends>
54      </action>
56      <action>
57       <name>new_gotoWorkstation</name>
58       <type>entry</type>
59       <image>plugins/systems/images/select_workstation.png</image>
60       <label>Workstation</label>
61       <depends>workgeneric</depends>
62      </action>
64      <action>
65       <name>new_gotoTerminal</name>
66       <type>entry</type>
67       <image>plugins/systems/images/select_terminal.png</image>
68       <label>Terminal</label>
69       <depends>termgeneric</depends>
70      </action>
72      <action>
73       <name>new_gotoPrinter</name>
74       <type>entry</type>
75       <image>plugins/systems/images/select_printer.png</image>
76       <label>Network printer</label>
77       <depends>printgeneric</depends>
78      </action>
80      <action>
81       <name>new_goFonHardware</name>
82       <type>entry</type>
83       <image>plugins/systems/images/select_phone.png</image>
84       <label>Phone</label>
85       <depends>phoneGeneric</depends>
86      </action>
88      <action>
89       <name>new_ieee802Device</name>
90       <type>entry</type>
91       <image>plugins/systems/images/select_component.png</image>
92       <label>Network device</label>
93       <depends>componentGeneric</depends>
94      </action>
96      <action>
97       <name>new_FAKE_OC_OpsiHost</name>
98       <type>entry</type>
99       <image>plugins/systems/images/select_winstation.png</image>
100       <label>Opsi client</label>
101       <depends>opsi</depends>
102      </action>
103     </action>
105     <action>
106       <type>separator</type>
107     </action>
109     <action>
110      <type>sub</type>
111      <image>images/rocket.png</image>
112      <label>Trigger action</label>
114       <action>
115         <name>T_DaemonEvent_halt</name>
116         <depends>DaemonEvent_halt</depends>
117         <type>entry</type>
118         <image>images/lists/reload.png</image>
119         <label>Halt </label>
120       </action>
122       <action>
123         <name>T_DaemonEvent_reboot</name>
124         <depends>DaemonEvent_reboot</depends>
125         <type>entry</type>
126         <image>images/lists/reload.png</image>
127         <label>Reboot</label>
128       </action>
130       <action>
131         <name>T_DaemonEvent_wakeup</name>
132         <depends>DaemonEvent_wakeup</depends>
133         <type>entry</type>
134         <image>images/lists/on.png</image>
135         <label>Wakeup</label>
136       </action>
138       <action>
139         <name>T_DaemonEvent_update</name>
140         <depends>DaemonEvent_update</depends>
141         <type>entry</type>
142         <image>plugins/goto/images/update.png</image>
143         <label>Update</label>
144       </action>
146       <action>
147         <name>T_DaemonEvent_lock</name>
148         <depends>DaemonEvent_lock</depends>
149         <type>entry</type>
150         <image>images/lists/locked.png</image>
151         <label>Lock</label>
152       </action>
154       <action>
155         <name>T_DaemonEvent_activate</name>
156         <depends>DaemonEvent_activate</depends>
157         <type>entry</type>
158         <image>images/lists/unlocked.png</image>
159         <label>Activate</label>
160       </action>
162       <action>
163         <name>T_DaemonEvent_reinstall</name>
164         <depends>DaemonEvent_reinstall</depends>
165         <type>entry</type>
166         <image>plugins/goto/images/reinstall.png</image>
167         <label>Reinstall</label>
168       </action>
171     </action>
175     <action>
176      <type>sub</type>
177      <image>plugins/systems/images/clock.png</image>
178      <label>Schedule action</label>
180       <action>
181         <name>S_DaemonEvent_halt</name>
182         <depends>DaemonEvent_halt</depends>
183         <type>entry</type>
184         <image>images/lists/off.png</image>
185         <label>Halt</label>
186       </action>
188       <action>
189         <name>S_DaemonEvent_reboot</name>
190         <depends>DaemonEvent_reboot</depends>
191         <type>entry</type>
192         <image>images/lists/reload.png</image>
193         <label>Reboot</label>
194       </action>
196       <action>
197         <name>S_DaemonEvent_wakeup</name>
198         <depends>DaemonEvent_wakeup</depends>
199         <type>entry</type>
200         <image>images/lists/on.png</image>
201         <label>Wakeup</label>
202       </action>
204       <action>
205         <name>S_DaemonEvent_update</name>
206         <depends>DaemonEvent_update</depends>
207         <type>entry</type>
208         <image>plugins/goto/images/update.png</image>
209         <label>Update</label>
210       </action>
212       <action>
213         <name>S_DaemonEvent_lock</name>
214         <depends>DaemonEvent_lock</depends>
215         <type>entry</type>
216         <image>images/lists/locked.png</image>
217         <label>Lock</label>
218       </action>
220       <action>
221         <name>S_DaemonEvent_activate</name>
222         <depends>DaemonEvent_activate</depends>
223         <type>entry</type>
224         <image>images/lists/unlocked.png</image>
225         <label>Activate</label>
226       </action>
228       <action>
229         <name>S_DaemonEvent_reinstall</name>
230         <depends>DaemonEvent_reinstall</depends>
231         <type>entry</type>
232         <image>plugins/goto/images/reinstall.png</image>
233         <label>Reinstall</label>
234       </action>
236     </action>
238     <action>
239       <type>separator</type>
240     </action>
242     <action>
243       <name>activateMultiple</name>
244       <depends>DaemonEvent_activate</depends>
245       <type>entry</type>
246       <image>images/lists/unlocked.png</image>
247       <label>Activate systems</label>
248     </action>
250     <action>
251       <name>remove</name>
252       <type>entry</type>
253       <image>images/lists/trash.png</image>
254       <label>Remove</label>
255     </action>
257     <action>
258       <type>exporter</type>
259     </action>
261     <action>
262       <type>separator</type>
263     </action>
265     <action>
266       <type>copypaste</type>
267     </action>
269     <action>
270       <type>snapshot</type>
271     </action>
273   </actionmenu>
275   <actiontriggers snapshot="true" copypaste="true">
277     <action>
278       <name>setPassword</name>
279       <type>entry</type>
280       <objectclass>FAKE_OC_PWD_changeAble</objectclass>
281       <image>images/lists/key.png</image>
282       <label>Change password</label>
283     </action>
286     <action>
287       <name>createISO</name>
288       <type>entry</type>
289       <objectclass>gotoWorkstation</objectclass>
290       <objectclass>FAIobject</objectclass>
291       <image>plugins/systems/images/cdrom.png</image>
292       <acl>workstation/workgeneric[createFAICD:w]</acl>
293       <label>Create ISO</label>
294     </action>
296     <action>
297       <name>cp</name>
298       <type>copypaste</type>
299     </action>
301     <action>
302       <name>edit</name>
303       <type>entry</type>
304       <image>images/lists/edit.png</image>
305       <label>Edit role</label>
306     </action>
308     <action>
309       <name>snapshot</name>
310       <type>snapshot</type>
311     </action>
313     <action>
314       <name>remove</name>
315       <type>entry</type>
316       <image>images/lists/trash.png</image>
317       <acl>%acl[d]</acl>
318       <label>Remove system</label>
319     </action>
321   </actiontriggers>
323 </list>