Auto Generated Code

def hardware_port_group_mode_performance(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        hardware = ET.SubElement(config, "hardware", xmlns="urn:brocade.com:mgmt:brocade-hardware")
        port_group = ET.SubElement(hardware, "port-group")
        name_key = ET.SubElement(port_group, "name")
        name_key.text = kwargs.pop('name')
        mode = ET.SubElement(port_group, "mode")
        performance = ET.SubElement(mode, "performance")

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