def FlushBuffer(self):
    assert self._output is not None
    if not self._buffer:
      return
    for entry in self._buffer:
      if self._needs_separator:
        self._output.write('\n')
      self._needs_separator = True
      self._output.write(entry)
    self._output.flush()
    self._buffer = []
Called by dhcp-bridge when IP is leased.
dataset/ETHPy150Open viewfinderco/viewfinder/backend/logs/log_merger.py/LocalLogMerge.FlushBuffer--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/network/manager.py/NetworkManager.lease_fixed_ip