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

def get_all_vswitches(content):
    '''
    Get all the virtual switches
    '''
    vswitches = []
    hosts = get_all_hosts(content)
    for h in hosts:
        for s in h.config.network.vswitch:
            vswitches.append(s)
    return vswitches