def list_pool(hostname, username, password, name=None):
    '''
    A function to connect to a bigip device and list all pools or a specific pool.

    hostname