summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Admin/Viz.py
Commit message (Collapse)AuthorAgeFilesLines
* Admin: Add full PY3K compatibilitySol Jerome2011-04-261-1/+2
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* bcfg2-admin: PY3K + PEP8 fixesSol Jerome2011-04-061-5/+8
| | | | Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
* Help layout fixedFabian Affolter2011-01-051-1/+2
| | | | (cherry picked from commit 027abccc723a0985afa9096c31b1e071914583dc)
* Updated files to match PEP 257Fabian Affolter2010-06-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5894 ce84e21b-d406-0410-9b95-82705330c041
* Pylint/PEP 8 Code cleanupsSol Jerome2009-10-071-1/+2
| | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5477 ce84e21b-d406-0410-9b95-82705330c041
* Admin-modes: Implement plugin whitelists/blacklists for modes that don't requireNarayan Desai2009-10-021-1/+6
| | | | | | | a full server Viz : Use the new blacklist option to speed up viz performance git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5474 ce84e21b-d406-0410-9b95-82705330c041
* Viz: remove spurious raise SystemExitNarayan Desai2009-10-021-1/+0
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5473 ce84e21b-d406-0410-9b95-82705330c041
* Fix nasty core hang, which would manifest itself as a lockup upon shutdown ↵Narayan Desai2009-10-021-0/+1
| | | | | | | | | | | | | | | | | | | for bcfg2-{server,info,admin} The root cause of this issue was our use of external threads. Without a channel for data requesting plugin (and hence thread) shutdown, plugin threads would continue, unabated, forever. This would cause the python interpreter to hang forever waiting for a futex. Added a new shutdown method to Bcfg2.Server.Plugin.Plugin which sets a state flag upon shutdown request. Plugin threads must cycle periodically, even if no work is available, to ensure that the shutdown flag is honored in a reasonable amount of time. Also, the shutdown method is triggered using atexit. This means that scripts may need to explicitly sys.exit or raise SystemExit, depending on circumstances. This addresses at least one, but probably more tickets, however I am currently offline. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5472 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin viz: Implement support for arbitrary output typesNarayan Desai2009-07-071-14/+12
| | | | | | bcfg2-admin viz now takes the output filename into consideration when choosing the output file type. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5310 ce84e21b-d406-0410-9b95-82705330c041
* Fix tb in Viz (Reported by Michael Jinks)Sol Jerome2009-03-071-2/+2
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5110 ce84e21b-d406-0410-9b95-82705330c041
* os.popen is deprecated in 2.6 (http://docs.python.org/library/os.html#os.popen)Sol Jerome2009-02-201-17/+19
| | | | | | | Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5088 ce84e21b-d406-0410-9b95-82705330c041
* Improve help messages for bcfg2-admin (and modes)Sol Jerome2008-09-121-6/+22
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4910 ce84e21b-d406-0410-9b95-82705330c041
* Fix -H mode in bcfg2-admin vizNarayan Desai2008-08-071-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4871 ce84e21b-d406-0410-9b95-82705330c041
* Change include host option to -HNarayan Desai2008-08-041-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4850 ce84e21b-d406-0410-9b95-82705330c041
* support for alternate metadata plugins in viz admin modeAndrew Brestick2008-08-011-67/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4846 ce84e21b-d406-0410-9b95-82705330c041
* added support for alternate metadata plugins in bcfg2-adminAndrew Brestick2008-07-311-12/+9
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4845 ce84e21b-d406-0410-9b95-82705330c041
* Resolves clients.xml overwrite issue in #567, fixes configuration issues ↵Andrew Brestick2008-06-231-0/+3
| | | | | | with certain bcfg2-admin modes git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4706 ce84e21b-d406-0410-9b95-82705330c041
* Probe data loaded whenever Metadata plugin is usedAndrew Brestick2008-06-201-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4702 ce84e21b-d406-0410-9b95-82705330c041
* Harden Viz mode against failures (Analogue to [4425])Narayan Desai2008-03-201-8/+11
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4426 ce84e21b-d406-0410-9b95-82705330c041
* Fix viz modeNarayan Desai2008-02-191-5/+4
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4385 ce84e21b-d406-0410-9b95-82705330c041
* Handle group coloring more robustly (Fixes issue reported by Matt Baker on ↵Narayan Desai2008-01-281-5/+6
| | | | | | irc) (analogous to r4295 in the stable branch) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4296 ce84e21b-d406-0410-9b95-82705330c041
* Fix use of category names with hyphens (Resolves Ticket #518)Narayan Desai2008-01-241-1/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4286 ce84e21b-d406-0410-9b95-82705330c041
* Admin fixupsNarayan Desai2008-01-081-2/+1
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4196 ce84e21b-d406-0410-9b95-82705330c041
* bcfg2-admin: use Bcfg2.SettingsRobert Gogolok2007-12-301-3/+3
| | | | git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4133 ce84e21b-d406-0410-9b95-82705330c041
* Refactor of bcfg2-admin (all modes moved to discrete modules in ↵Narayan Desai2007-12-291-0/+143
Bcfg2.Server.Admin git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4125 ce84e21b-d406-0410-9b95-82705330c041