class_docstr: Thread-safe store for node reservations.
  
  Args:
    :required: expected number of nodes in the cluster.
docstr: Add a reservation.
  
  Args:
    :meta: a dictonary of metadata about a node
docstr_tok: ["Add","a","reservation",".","Args",":",":","meta",":","a","dictonary","of","metadata","about","a","node"]
code: def add(self, meta):
      """Add a reservation.
  
      Args:
        :meta: a dictonary of metadata about a node
      """
      with self.lock:
          self.reservations.append(meta)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import nested_scopes
  from __future__ import print_function
  import logging
  import os
  import pickle
  import select
  import socket
  import struct
  import sys
  import threading
  import time
  from .None import util
label_desc: Use image node_id 2 for calling the Reservations obj's underlying member method code with example usage: obj.add(meta) without return types