1
#ifndef __SGE_OPTIONS_H
2
#define __SGE_OPTIONS_H
3
/*___INFO__MARK_BEGIN__*/
4
/*************************************************************************
6
* The Contents of this file are made available subject to the terms of
7
* the Sun Industry Standards Source License Version 1.2
9
* Sun Microsystems Inc., March, 2001
12
* Sun Industry Standards Source License Version 1.2
13
* =================================================
14
* The contents of this file are subject to the Sun Industry Standards
15
* Source License Version 1.2 (the "License"); You may not use this file
16
* except in compliance with the License. You may obtain a copy of the
17
* License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
19
* Software provided under this License is provided on an "AS IS" basis,
20
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
21
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
22
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
23
* See the License for the specific provisions governing your rights and
24
* obligations concerning the Software.
26
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
28
* Copyright: 2001 by Sun Microsystems, Inc.
30
* All Rights Reserved.
32
************************************************************************/
33
/*___INFO__MARK_END__*/
125
gc_OPT, /* dummy from qconf to qmaster to get complex */
141
ap_OPT, /* add pe object */
142
mp_OPT, /* mod pe object */
143
dp_OPT, /* del pe object */
144
sp_OPT, /* show pe object */
145
spl_OPT, /* show pe object list */
146
sconfl_OPT, /* show list of local configurations */
147
dconf_OPT, /* delete local configuration */
148
starthist_OPT, /* flush history */
159
Ap_OPT, /* add pe object from file */
160
Mp_OPT, /* mod pe object from file */
162
msconf_OPT, /* modify SGE scheduler configuration */
163
Msconf_OPT, /* mofify SGE scheduler configuration from file*/
164
aus_OPT, /* SGE add user */
165
Aus_OPT, /* SGE add user from file */
166
mus_OPT, /* SGE modify user */
167
Mus_OPT, /* SGE modify user from file */
168
dus_OPT, /* SGE delete user */
169
sus_OPT, /* SGE show user */
171
susl_OPT, /* SGE show user list */
172
aprj_OPT, /* SGE add project */
173
Aprj_OPT, /* SGE add project from file */
174
Mprj_OPT, /* SGE modify project from file */
175
mprj_OPT, /* SGE modify project */
176
dprj_OPT, /* SGE delete project */
177
sprj_OPT, /* SGE show project */
178
sprjl_OPT, /* SGE show project list */
179
mstree_OPT, /* SGE modify sharetree */
180
Mstree_OPT, /* SGE modify sharetree from file*/
181
astree_OPT, /* SGE add sharetree */
182
Astree_OPT, /* SGE add sharetree from file*/
183
dstree_OPT, /* SGE delete sharetree */
184
sstree_OPT, /* SGE show sharetree */
186
mu_OPT, /* edit userset object (not only SGE) */
187
Mu_OPT, /* modify userset from file */
188
dl_OPT, /* SGE deadline initiation */
189
P_OPT, /* SGE Project */
190
ot_OPT, /* SGE override tickets option */
192
/* added for checkpointing */
193
ackpt_OPT, /* add ckpt element */
194
Ackpt_OPT, /* add ckpt element from file */
195
dckpt_OPT, /* delete ckpt element */
196
mckpt_OPT, /* modify ckpt element */
197
Mckpt_OPT, /* modify ckpt element from file */
198
sckpt_OPT, /* show ckpt element */
199
sckptl_OPT, /* show all ckpt elements */
200
ckptobj_OPT, /* -ckpt in qsub */
202
dul_OPT, /* "-dul <user_set>," in qconf */
203
display_OPT, /* -display option for qsh */
204
sss_OPT, /* show scheduler state */
205
sick_OPT, /* show deficient configurations */
206
ssconf_OPT, /* show scheduler configuration */
208
/* calendar management */
209
acal_OPT, /* add new calendar interactively */
210
Acal_OPT, /* add new calendar from file */
211
mcal_OPT, /* modify calendar interactively */
212
Mcal_OPT, /* modify calendar from file */
213
dcal_OPT, /* remove calendar */
214
scal_OPT, /* show calendar */
215
scall_OPT, /* show calendar list */
216
w_OPT, /* warn mode concerning verification of schedulability */
218
/* share tree node */
219
astnode_OPT, /* SGE add share tree node */
220
dstnode_OPT, /* SGE delete share tree node */
221
mstnode_OPT, /* SGE modify share tree node */
222
sstnode_OPT, /* SGE show share tree node */
223
rsstnode_OPT, /* SGE show share tree node and its children */
226
verbose_OPT, /* verbose option for q(r)sh */
227
inherit_OPT, /* inherit option for qrsh, inherit existing job $JOB_ID */
228
nostdin_OPT, /* nostdin option for qrsh, pass as -n option to rsh */
229
noshell_OPT, /* noshell option for qrsh, pass as noshell option to qrsh_starter */
230
pty_OPT, /* pty option for qrsh, start job in a pty */
232
/* add/set/delete/modify sge objects */
233
mattr_OPT, /* modify a sublist of an object */
234
rattr_OPT, /* overwrite a sublist */
235
dattr_OPT, /* delete some elements of a sublist */
236
aattr_OPT, /* add a element to a sublist */
237
Mattr_OPT, /* modifiy a sublist from file */
238
Rattr_OPT, /* overwrite a sublist from file */
239
Dattr_OPT, /* aelete a sublist from file */
240
Aattr_OPT, /* add a element to a sublist from file */
241
sobjl_OPT, /* show object list which matches conf value */
242
purge_OPT, /* delete element which value matches given string */
244
#ifndef __SGE_NO_USERMAPPING__
245
/* added for user mapping */
246
aumap_OPT, /* add new user mapping entry */
247
Aumap_OPT, /* add new user mapping entry from file */
248
dumap_OPT, /* delete user mapping entry */
249
mumap_OPT, /* modify user mapping entry */
250
sumap_OPT, /* show user mapping entry */
251
sumapl_OPT, /* show user mapping entry list */
252
Mumap_OPT, /* modify user mapping entry from file */
255
/* added for host groups */
256
ahgrp_OPT, /* add new host group entry */
257
Ahgrp_OPT, /* add new host group entry from file */
258
dhgrp_OPT, /* delete host group entry */
259
mhgrp_OPT, /* modify host group entry */
260
shgrp_OPT, /* show host group entry */
261
shgrp_tree_OPT, /* show host group entry as tree*/
262
shgrp_resolved_OPT, /* show host group entry with resolved hostlist */
263
shgrpl_OPT, /* show host group entry list */
264
Mhgrp_OPT, /* modify host group entry from file */
266
/* added for event clients */
267
secl_OPT, /* show event client list */
268
kec_OPT, /* kill event client */
270
cu_OPT, /* SGEEE sharetree - clear all user/project usage */
271
R_OPT, /* SGEEE sharetree - clear all user/project usage */
273
/* added for resource quota sets */
274
srqs_OPT, /* show resource quota set */
275
srqsl_OPT, /* show resource quota set list */
276
arqs_OPT, /* add resource quota set */
277
Arqs_OPT, /* add resource quota set from file */
278
mrqs_OPT, /* modfiy resource quota set */
279
Mrqs_OPT, /* modify resource quota set from file */
280
drqs_OPT, /* delete resource quota set */
281
ar_OPT, /* advanced resservation option */
282
he_OPT, /* error handling for qrsub */
283
explain_OPT, /* explain error in qrstat */
284
xml_OPT, /* generate xml outout */
285
terse_OPT, /* tersed output */
286
at_OPT, /* add/start thread */
287
kt_OPT /* kill/terminate thread */
290
/* macros used in parsing */
291
#define VALID_OPT(opt,who) (sge_options[opt][who])
293
extern unsigned short sge_options[][ALL_OPT + 1];
295
#endif /* __SGE_OPTIONS_H */