def l2traceroute_input_src_mac(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        l2traceroute = ET.Element("l2traceroute")
        config = l2traceroute
        input = ET.SubElement(l2traceroute, "input")
        src_mac = ET.SubElement(input, "src-mac")
        src_mac.text = kwargs.pop('src_mac')

        callback = kwargs.pop('callback', self._callback)
        return callback(config)