| |
- check_ncc_downtime(start, end, config)
- Check to see if the time during which PASS processing will be ongoing, intersects
with the daily NCC downtime.
- check_time(t, stage, config)
- find_all_itimes(mscl, config)
- Find the latest intercept time (modulo 5 minutes) for each SU on a calendar.
- find_itime(atime, hga_track_windows, config, slew_list=[], silent=False)
- Find a good intercept time after atime.
- find_maps(itime, mscl)
- Find the map files that intersect itime.
- get_hgatrack_windows(mscl)
- Return a windows list of time where both HGAs are tracking.
- get_prev_su(config)
- Find the previous main SU on the calendar.
- intercept_time_spcs(itime, mscl, cl, config)
- Find the SPCs that intersect a particular intercept time.
- maps_to_spcs(imaps, clout)
- output_milestones(load_time, config)
- Create a string containing the various milestones of producing an intercept SMS.
- parse_inputs(args)
- run(*args)
- Creates a report of deadlines and possible command timeline intercept
times.
WARNING: Map files will be overwritten.
USAGE --
do find_intercept_times [optional arguments]
optional arguments:
-config=<path> input configuration file path
-prep_time=<t> time to allow for calendar prep (in seconds)
-ccs_review_time=<t> where <t> is the time ccs needs for review in seconds.
-distribution_time=<t> where <t> is the time it takes to distribute PASS
products in seconds.
-pass_time=<t> where <t> is the time it takes to run and check PASS
products in seconds.
-sms_time=<t> where <t> is the time it takes to generate the sms
products in seconds.
-calendar_build_time=<t> where <t> is the time it takes to rework the calendar
in seconds.
-start=<t> where <t> is the time at which calendar rework is assumed
to have started in spss time format YYYY.DDD:HH:MM:SS.
Defaults to the current time
-intercept_times=<list> a comma separated list of potential intercept times
-first_change_times=<list> a comma separated list of times when the first SMS difference
may occur
-calendar_name=<calname> the name of the calendar/SMS being intercepted. Required.
-su=<sunit_id> the first changed SU. The tool will find an intercept time
based on this being the first changed SU.
-nssc_uplinks=<i> the minimum number of required NSSC uplinks for the changed
NSSC command load
-486_uplinks=<i> the minimum number of required 486 uplinks for the changed
486 command load
-verbose produce lots more output
-min_uplink_window=<t> the minimum time to allow for the command loads in seconds.
-ncc_dowtime_dur=<t> the time to allow for daily NCC downtime in seconds.
-change_to_intercept_time=<t> the minimum time to allow between the first change on the
calendar and the intercept time
-output=<path> file path where the output will be sent.
-pass_sms_id=<passname> the PASS SMS name. Required if the calendar is not on the
baseline. Otherwise, it is not needed, the tool will
find the PASS SMS name itself.
If an input is not specified on the command line, it's value will be determined by the config file.
The default config file is $PE_DAT/find_intercept_times.cfg.
|