This class reads in and stores all config data needed to visualize the clusters load or job status
Class to hold configuration data for the cluster visualisation
Determines configuration file locations as well as base configuration directory and sets the relevant values in the ClustervizConfig object
Configuration files: nodes, clusterviz.conf
Sets the config file to the given filename
Parameter: | fname (string) – filename of the config file |
---|
Sets the display mode to the given value
Parameter: | display_mode (string) – the display mode; either ‘job’ or ‘load’ |
---|
Sets interactive mode on or off
Parameter: | mode (boolean) – mode for interactive display (either True or False) |
---|
Sets the log file to the given filename
Parameter: | fname (string) – filename of the log file |
---|
Sets the nodes file to the given filename
Parameter: | fname (string) – filename of the nodes file |
---|
Sets the output file to the given filename
Parameter: | fname (string) – filename of the output image file |
---|
Sets the name of the pbsnodes xml file to the given filename
Parameter: | fname (string) – pbsnodes xml filename |
---|
File containing the Node class
The Node class. Every node contains information about its name, capabilities, status and position in the grid. This information can be updated and visualized.
File containing the NodeGrid class
The NodeGrid class
The main update routine for the visualization
Parameters: |
|
---|
The NodeGridDisplay class
Controls various display aspects of a node grid
The NodeGridDisplay class
The handler for the output of pbsnodes -x. The parsed file is in XML-Format.
The XML handler class for processing pbsnodes XML output
Process the characters in the XML data
Parameter: | content (string) – the current character(s) (i.e. content) to be processed |
---|
Method to call at the end of an XML element
Parameter: | name (string) – the element name |
---|
Method to call at the beginning of an XML element
Parameters: |
|
---|
An object of this class stores various messages from other modules and shows them according to configuration.
Holds data and functions for the text log.