DOT: fixed broken code for visualizing configuration using dot

Fixed broken code which visualizes the system configuration by generating a
tree from each component's children, starting from root.
Requires DOT (hence pydot).
This commit is contained in:
Uri Wiener
2012-05-10 18:04:27 -05:00
parent f2f7fa1a1c
commit cb1b63ea61
3 changed files with 43 additions and 36 deletions

View File

@@ -89,6 +89,8 @@ def parse_options():
help="Dump configuration output file [Default: %default]")
option("--json-config", metavar="FILE", default="config.json",
help="Create JSON output of the configuration [Default: %default]")
option("--dot-config", metavar="FILE", default="config.dot",
help="Create DOT & pdf outputs of the configuration [Default: %default]")
# Debugging options
group("Debugging Options")