Auto Generated Code

def overlay_gateway_attach_vlan_mac(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')
        attach = ET.SubElement(overlay_gateway, "attach")
        vlan = ET.SubElement(attach, "vlan")
        vid_key = ET.SubElement(vlan, "vid")
        vid_key.text = kwargs.pop('vid')
        mac = ET.SubElement(vlan, "mac")
        mac.text = kwargs.pop('mac')

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