def list_profile(hostname, username, password, profile_type, name):
    '''
    A function to list an existing profile.

    hostname