功能 #2863
增加CU高级参数配置
0%
描述
1.配置管理增加CU高级参数配置;
2.增加ini文件的获取、修改接口;
文件
历史记录
由 钱 伯宁 更新于 2 个月 之前
oam-backend <=> gnb_agent3.0
获取配置接口:
edit-config
operation:exec
module:cu
type:.ini
value:
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_1/NUM_BLOCKS" type="number(string)"></config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_3/NUM_BLOCKS" type="number(string)"></config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-0/NUM_BLOCKS" type="number(string)"></config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-1/NUM_BLOCKS" type="number(string)"></config>
响应body:
{
"data": "<config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_1/NUM_BLOCKS\">10000</config><config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_3/NUM_BLOCKS\">20000</config><config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-0/NUM_BLOCKS\">10000</config><config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-1/NUM_BLOCKS\">20000</config>"
}
修改配置接口:
get-config
operation:query
module:cu
type:.ini
value:
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_1/NUM_BLOCKS" type="number(string)">20000</config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_3/NUM_BLOCKS" type="number(string)">20000</config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-0/NUM_BLOCKS" type="number(string)">20000</config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-1/NUM_BLOCKS" type="number(string)">20000</config>
响应body:
{
"result": "success",
"data":"ok"
}
由 钱 伯宁 更新于 2 个月 之前
钱 伯宁 写到:
oam-backend <=> gnb_agent3.0
获取配置接口:
edit-config
operation:exec
module:cu
type:.ini
value:
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_1/NUM_BLOCKS" type="number(string)"></config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_3/NUM_BLOCKS" type="number(string)"></config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-0/NUM_BLOCKS" type="number(string)"></config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-1/NUM_BLOCKS" type="number(string)"></config>
响应body: {
"data": "<config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_1/NUM_BLOCKS\">10000</config><config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_3/NUM_BLOCKS\">20000</config><config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-0/NUM_BLOCKS\">10000</config><config xpath=\"/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-1/NUM_BLOCKS\">20000</config>"
}修改配置接口:
get-config
operation:query
module:cu
type:.ini
value:
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_1/NUM_BLOCKS" type="number(string)">20000</config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/mem_config.ini:FIXED_POOL_1_SIZE_3/NUM_BLOCKS" type="number(string)">20000</config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-0/NUM_BLOCKS" type="number(string)">20000</config>
<config xpath="/root/yzmm/rel/GNB/cu/cu/nr_hl_cu/config/pool_config.ini:2045-1/NUM_BLOCKS" type="number(string)">20000</config>
响应body: {
"result": "success",
"data":"ok"
}
其中修改接口为:
<config xpath=\"/tmp/mem_config_dl.txt:FIXED_POOL_1_SIZE_4/NUM_BLOCKS\">
<xpathVal>21</xpathVal>
</config>
<config xpath=\"/tmp/pool_config.txt:2045-0/NumBlocks\">
<xpathVal>21</xpathVal>
</config>
由 马 党旗 更新于 2 个月 之前
- 文件 20250303-141720.jpg 20250303-141720.jpg 已添加
- 状态 从 进行中 变更为 转测试
3.0基站才支持的特性,如附件(20250303-141720.jpg)所示。