code: def l2traceroute_result_output_l2_hop_results_l2_hop_ingress_interface_name(self, **kwargs):
          
          config = ET.Element("config")
          l2traceroute_result = ET.Element("l2traceroute_result")
          config = l2traceroute_result
          output = ET.SubElement(l2traceroute_result, "output")
          l2_hop_results = ET.SubElement(output, "l2-hop-results")
          l2_hop = ET.SubElement(l2_hop_results, "l2-hop")
          ingress = ET.SubElement(l2_hop, "ingress")
          interface_name = ET.SubElement(ingress, "interface-name")
          interface_name.text = kwargs.pop('interface_name')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code