<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _line_parser(line):
    '''
    Call action for different lines
    '''
    section = _analyse_status_type(line)
    fields = line.strip().split()

    switch = {
        '': _empty,
        'RESOURCE': _add_res,
        'PEERNODE': _add_peernode,
        'LOCALDISK': _add_volume,
        'PEERDISK': _add_volume,
    }

    func = switch.get(section, _unknown_parser)

    func(line)