@classmethod
def list_by_node_id(cls, context, node_id, limit=None, marker=None,
    sort_key=None, sort_dir=None):
    """Return a list of VolumeConnector objects related to a given node ID.

        :param context: security context
        :param node_id: the integer ID of the node
        :param limit: maximum number of resources to return in a single result
        :param marker: pagination marker for large data sets
        :param sort_key: column to sort results by
        :param sort_dir: direction to sort. "asc" or "desc".
        :returns: a list of :class:`VolumeConnector` objects
        :raises: InvalidParameterValue if sort_key does not exist
        """
    db_connectors = cls.dbapi.get_volume_connectors_by_node_id(node_id,
        limit=limit, marker=marker, sort_key=sort_key, sort_dir=sort_dir)
    return cls._from_db_object_list(context, db_connectors)
