def compile_metrics(start_time, stop_time=None):
 start_time = int(start_time)
 xml = _get_rrd_updates(_get_rrd_server(), start_time)
 if xml:
  doc = minidom.parseString(xml)
  return _parse_rrd_update(doc, start_time, stop_time)
 raise exception.CouldNotFetchMetrics()

def compile_metrics ( start_time , stop_time = None ) : start_time = int ( start_time ) xml = _get_rrd_updates ( _get_rrd_server ( ) , start_time ) if xml : doc = minidom . parseString ( xml ) return _parse_rrd_update ( doc , start_time , stop_time ) raise exception . CouldNotFetchMetrics ( )
compile bandwidth usage .