def list_profile(hostname, username, password, profile_type, name=None, ):
    '''
    A function to connect to a bigip device and list an existing profile.  If no name is provided than all
    profiles of the specified type will be listed.