'Add an object with the specified attributes at dn.'

def add_s(self, dn, attr):

    if server_fail:
        raise SERVER_DOWN()
    key = ('%s%s' % (self.__prefix, dn))
    value_dict = {k: _to_json(v) for (k, v) in attr}
    Store.instance().hmset(key, value_dict)
