code: def l2traceroute_output_l2traceroutedone(self, **kwargs):
          
          config = ET.Element("config")
          l2traceroute = ET.Element("l2traceroute")
          config = l2traceroute
          output = ET.SubElement(l2traceroute, "output")
          l2traceroutedone = ET.SubElement(output, "l2traceroutedone")
          l2traceroutedone.text = kwargs.pop('l2traceroutedone')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code