'Get container entry names'

def get_container_entries(self, container, prefix):

    try:
        swift_objects = self.conn.get_container(container, prefix=prefix, full_listing=True)[1]
    except socket.error as err:
        raise exception.SwiftConnectionFailed(reason=err)
    swift_object_names = [swift_obj['name'] for swift_obj in swift_objects]
    return swift_object_names
