MmagicwindyydInitial framework
60ac629a创建于 2025年11月7日历史提交
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2025-2025. All rights reserved.
 * ubs-engine is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */

#ifndef UBSE_CONST_DEF_H
#define UBSE_CONST_DEF_H

#ifdef __cplusplus
extern "C" {
#endif

#define UBSE_CLUSTER_ID_MAX_LEN 32
#define UBSE_CLUSTER_NODE_MAX_NUM 36
#define UBSE_BUS_INSTANCE_ID_MAX_LEN 128
#define UBSE_GLOBAL_SLOT_ID_MAX_LEN 32
#define UBSE_CPU_MAX_NUM 4
#define UBSE_HOST_NAME_MAX_LEN 128
#define UBSE_EID_MAX_LEN 128
#define UBSE_GUID_MAX_LEN 128
#define UBSE_UPI_MAX_LEN 128
#define UBSE_CNA_MAX_LEN 128
#define UBSE_NODE_ID_MAX_LEN 16

#ifdef __cplusplus
}
#endif
#endif // UBSE_CONST_DEF_H