Auto Generated Code

def overlay_gateway_site_mac_learning_protocol(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        overlay_gateway = ET.SubElement(config, "overlay-gateway", xmlns="urn:brocade.com:mgmt:brocade-tunnels")
        name_key = ET.SubElement(overlay_gateway, "name")
        name_key.text = kwargs.pop('name')
        site = ET.SubElement(overlay_gateway, "site")
        name_key = ET.SubElement(site, "name")
        name_key.text = kwargs.pop('name')
        mac_learning = ET.SubElement(site, "mac-learning")
        protocol = ET.SubElement(mac_learning, "protocol")
        protocol.text = kwargs.pop('protocol')

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