/* SPDX-License-Identifier: BSD-2-Clause-Patent
 *
 * SPDX-FileCopyrightText: 2020 the prplMesh contributors (see AUTHORS.md)
 *
 * This code is subject to the terms of the BSD+Patent license.
 * See LICENSE file for more details.
 */

#include "ambiorix_dummy.h"

namespace beerocks {
namespace nbapi {

bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const std::string &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const int8_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const int16_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const int32_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const int64_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const uint8_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const uint16_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const uint32_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const uint64_t &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const bool &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const double &value)
{
    return true;
}
bool AmbiorixDummy::set(const std::string &relative_path, const std::string &parameter,
                        const sMacAddr &value)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               int8_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               int16_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               int32_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               int64_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               uint8_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               uint16_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               uint32_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               uint64_t *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               double *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               bool *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               std::string *param_val)
{
    return true;
}
bool AmbiorixDummy::read_param(const std::string &obj_path, const std::string &param_name,
                               sMacAddr *param_val)
{
    return true;
}
std::string AmbiorixDummy::add_instance(const std::string &relative_path) { return {}; }
bool AmbiorixDummy::remove_instance(const std::string &relative_path, uint32_t index)
{
    return true;
}
uint32_t AmbiorixDummy::get_instance_index(const std::string &specific_path, const std::string &key)
{
    // Return false (0) because method can be used for checking instance present in Data Model or not
    return 0;
}
std::string AmbiorixDummy::get_datamodel_time_format() { return {}; }

bool AmbiorixDummy::remove_all_instances(const std::string &relative_path) { return true; }

bool AmbiorixDummy::add_optional_subobject(const std::string &path_to_obj,
                                           const std::string &subobject_name)
{
    return true;
}

bool AmbiorixDummy::remove_optional_subobject(const std::string &path_to_obj,
                                              const std::string &subobject_name)
{
    return true;
}

bool AmbiorixDummy::set_current_time(const std::string &path_to_object, const std::string &param)
{
    return true;
}

bool AmbiorixDummy::set_time(const std::string &path_to_object, const std::string &time_stamp)
{
    return true;
}

} // namespace nbapi
} // namespace beerocks
