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