From d7555092c635882b959ecd9ec5ca70eebf0765c8 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Thu, 11 Jan 2024 10:47:37 +0800 Subject: [PATCH] fix: amf comment and ba setting --- config/param/amf_param_config.yaml | 24 ++++++++++++------------ misc/setomc.sh | 2 ++ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/config/param/amf_param_config.yaml b/config/param/amf_param_config.yaml index c66074cb..8cdaf785 100644 --- a/config/param/amf_param_config.yaml +++ b/config/param/amf_param_config.yaml @@ -15,7 +15,7 @@ amf: access: "read-write" filter: "0~255" display: "Relative Capacity" - comment: "" + comment: "0~255" - name: "sbiScheme" type: "enum" value: "0" @@ -190,7 +190,7 @@ amf: - name: "index" type: "int" value: "0" - access: "read-write" + access: "read-only" filter: '0~15' display: "Index" comment: "0~15" @@ -214,14 +214,14 @@ amf: access: "read-write" filter: "0~255" display: "Weight" - comment: "" + comment: "0~255" guami: display: "GUAMI List" array: - name: "index" type: "int" value: "0" - access: "read-write" + access: "read-only" filter: '0~15' display: "Index" comment: "0~15" @@ -236,30 +236,30 @@ amf: type: "int" value: '1' access: "read-write" - filter: '0~256' + filter: '0~255' display: "Region ID" - comment: "0~256" + comment: "0~255" - name: "setId" type: "int" value: '1' access: "read-write" filter: '0~1023' display: "Set ID" - comment: "" + comment: "0~1023" - name: "pointer" type: "int" value: '1' access: "read-write" filter: '0~63' display: "Pointer" - comment: "" + comment: "0~63" tai: display: "TAI List" array: - name: "index" type: "int" value: "0" - access: "read-write" + access: "read-only" filter: '0~15' display: "Index" comment: "0~15" @@ -276,14 +276,14 @@ amf: access: "read-write" filter: '0~8' display: "TAC" - comment: "0~8" + comment: "0~16777215" slice: display: "Slice List" array: - name: "index" type: "int" value: "0" - access: "read-write" + access: "read-only" filter: '0~15' display: "Index" comment: "0~15" @@ -300,7 +300,7 @@ amf: access: "read-write" filter: '0~127' display: "SST" - comment: "" + comment: "0~127" - name: "sd" type: "regex" value: '000001' diff --git a/misc/setomc.sh b/misc/setomc.sh index 7d243c62..511c1811 100644 --- a/misc/setomc.sh +++ b/misc/setomc.sh @@ -49,6 +49,8 @@ case "${M_ARG}" in done cp -rf ${CustomizedDir}/logo/* ${OMCStaticDir}/logo cp -rf ${CustomizedDir}/doc/* ${OMCStaticDir}/helpDoc + perl -0777 -i -pe 's/agtuser/bluearcus/g' $(DebBuildDir)/usr/local/omc/etc/default/restconf.yaml + perl -0777 -i -pe 's/agtuser/bluearcus/g' $(DebBuildDir)/usr/local/omc/bin/nehosts fi ;; upgrade | upgvue3)