split config.py and parser.py into two modules. updated all files to use the
[monitor.git] / todo
1
2 TODO:
3  * reimplement the config.py / .config mechanism.  i'd like for many commands
4    to share very similar argument or argument sets, as well as have some
5    common config options.  I'm not sure the best way to do this.
6     
7          - features of config.py
8                 * parse arguments and return an object with attributes equal to the
9                   parser values.
10                 * maintain values consistently across modules at run time.
11                 * have default values that are not specified at each run time.
12                 * easy to import and use
13
14          - config module is available via 'import config' or as returned by
15                   parsermodule.parse_args()
16      - python supports load-once modules, so subsequent imports refer to the
17           same module object.
18            
19
20  * Find a better location to place and pull the PKL files currently in the pdb
21    directory.  Ultimately, these should be stored in a real DB.  Until then,
22    they should sit in a location that is accessible from the www scripts,
23    backend scripts, and user utilities.
24
25  * clean up plc.py; there's a lot of redundent code.
26
27  * figure out python paths for user commands.
28    - directories for pickle files.
29    - add user in rpm install
30    - user permissions for data files for day-to-day operations.
31
32  * fix BayTechCtrlCUnibe expect script.
33
34 Lower priority:
35  * Add a more structured, 'automate' library of scripts and means of making
36    batch calls, etc.
37
38  * add a third package for user tools that will interact with the Monitor
39    service.  Mostly, I'm guessing this would be queries for the live status of
40    nodes and a more reliable 'reboot' and 'reinstall' mechanism than currently
41    availble with PLC.
42
43 Done:
44  * pull out global configuration information from various files, like rt_db,
45    mailer.py,  auth.py, and any others.  Create a single configuration file
46    from which all others pull.
47
48    - convert plc and other files to use the new monitorconfig.py rather than
49      auth, or plc.*
50    - need to alter all import 'auth' statements.