code: def l2traceroute_input_protocolType_IP_dest_ip(self, **kwargs):
          
          config = ET.Element("config")
          l2traceroute = ET.Element("l2traceroute")
          config = l2traceroute
          input = ET.SubElement(l2traceroute, "input")
          protocolType = ET.SubElement(input, "protocolType")
          IP = ET.SubElement(protocolType, "IP")
          dest_ip = ET.SubElement(IP, "dest-ip")
          dest_ip.text = kwargs.pop('dest_ip')
  
          callback = kwargs.pop('callback', self._callback)
          return callback(config)
docs: Auto Generated Code