Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/spst/UnixTransition/doc/gimme_snaps.html
Дата изменения: Fri Apr 8 12:46:14 2016 Дата индексирования: Mon Apr 11 01:31:32 2016 Кодировка: Поисковые слова: п п п п п п п п п п п п |
gimme_snaps (version 9/25/08) | index gimme_snaps.py |
Reserves SUs from the specified 'pool' for the specified week.
TITLE: gimme_snaps.py
DEVELOPER: Merle Reinhart, 5-APR-2000
PURPOSE: This tool will reserve the requested number of SUs from the
specified pool for the specified week and create a file of
the reserved SUs that can be used by the calendar builder.
USAGE: do gimme_snaps <week_id> <pool> <number> [<week_size>]
where: <week_id> is the calendar week the reservations are for
<pool> is the SU 'pool' from which to make the
reservations
<number> is the total number to attempt to reserve
<week_size> is the size of the calendar in days
RETURNS: nothing
MOD HISTORY:
Pythonized the fetching of POOL SUs. drc 2/21/02
Add constraint scenario check in supersnaps query. drc 5/6/03
Add the dead_sis parameter. drc 9/21/04
move gimme_snaps.isql to python; add exclude configs option. drc 2/6/07
Get the dead configs from spss_sys_util.get_dead_configs. drc 9/25/08
Modules | ||||||
|
Functions | ||
|
Data | ||
QSCHED_POOL_ORDER_NUM = {'LRP': 'LR', 'POOL': 'PR', 'SNAP': 'SR', 'SPEC': 'ER'} SNAP_TYPES = ['SNAP', 'LRP', 'SPEC', 'POOL'] TEST = False __version__ = '9/25/08' |