def _get_rrd_updates(server, start_time):
 try:
  xml = urllib.urlopen(('%s://%s:%s@%s/rrd_updates?start=%s' % (server[0], CONF.xenapi_connection_username, CONF.xenapi_connection_password, server[1], start_time)))
  return xml.read()
 except IOError:
  LOG.exception((_('Unable to obtain RRD XML updates with server details: %(server)s.') % locals()))
  return None

def _get_rrd_updates ( server , start_time ) : try : xml = urllib . urlopen ( ( '%s://%s:%s@%s/rrd_updates?start=%s' % ( server [ 0 ] , CONF . xenapi_connection_username , CONF . xenapi_connection_password , server [ 1 ] , start_time ) ) ) return xml . read ( ) except IOError : LOG . exception ( ( _ ( 'Unable to obtain RRD XML updates with server details: %(server)s.' ) % locals ( ) ) ) return None
return the rrd updates xml as a string .