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

def __mgmt(name, _type, action):
    '''
    Perform zone management
    '''
    # It's permanent because the 4 concerned functions need the permanent option, it's wrong without
    cmd = '--{0}-{1}={2} --permanent'.format(action, _type, name)

    return __firewall_cmd(cmd)