if cmd == 'config':
print """
- graph_title Xen domain network usage
- graph_args --base 1000
- graph_vlabel bits in (-) / out (+) per ${graph_period}
- graph_info This graph shows how network is utilized by Xen domains.
- graph_category network
- graph_period second"""
+graph_title Xen domain network usage
+graph_args --base 1000
+graph_vlabel bits in (-) / out (+) per ${graph_period}
+graph_info This graph shows how network is utilized by Xen domains.
+graph_category network
+graph_period second"""
for d in sorted(domains):
for direction in ('down', 'up'):
key = "%s_%s" % (d, direction)