'configure sflow export'

def config_export(self):

    xml_str = ''
    if (not self.export_route):
        return xml_str
    if (self.export_route == 'enable'):
        if (self.sflow_dict['export'] and (self.sflow_dict['export'].get('ExportRoute') == 'disable')):
            xml_str = '<exports><export    operation="delete"><ExportRoute>disable</ExportRoute></export></exports>'
            self.updates_cmd.append('undo    sflow    export    extended-route-data    disable')
    elif ((not self.sflow_dict['export']) or (self.sflow_dict['export'].get('ExportRoute') != 'disable')):
        xml_str = '<exports><export    operation="create"><ExportRoute>disable</ExportRoute></export></exports>'
        self.updates_cmd.append('sflow    export    extended-route-data    disable')
    return xml_str
