From 73e27070fdbaa572842cb2bac063cccad577f999 Mon Sep 17 00:00:00 2001 From: Joey Chou Date: Thu, 21 Oct 2021 21:31:37 +0200 Subject: [PATCH 1/2] Add new file --- yang-models/3gpp-nr-nrm-dlbofunction.yang | 77 +++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 yang-models/3gpp-nr-nrm-dlbofunction.yang diff --git a/yang-models/3gpp-nr-nrm-dlbofunction.yang b/yang-models/3gpp-nr-nrm-dlbofunction.yang new file mode 100644 index 000000000..4f3a94468 --- /dev/null +++ b/yang-models/3gpp-nr-nrm-dlbofunction.yang @@ -0,0 +1,77 @@ + +module _3gpp-nr-nrm-dlbofunction { + yang-version 1.1; + namespace "urn:3gpp:sa5:_3gpp-nr-nrm-dlbofunction"; + prefix "dlbof3gpp"; + + import _3gpp-common-subnetwork { prefix subnet3gpp; } + import _3gpp-common-top { prefix top3gpp; } + import _3gpp-nr-nrm-gnbcucpfunction { prefix gnbcucp3gpp; } + import _3gpp-common-managed-element { prefix me3gpp; } + import _3gpp-nr-nrm-nrcellcu { prefix nrcellcu3gpp; } + + organization "3GPP SA5"; + contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464"; + description "Defines the YANG mapping of the DLBOFunction + Information Object Class (IOC) that is part of the NR Network Resource + Model (NRM)."; + reference "3GPP TS 28.541 5G Network Resource Model (NRM)"; + + grouping DLBOFunctionGrp { + description "Represents the DLBOFunction IOC."; + + leaf dlboControl { + description "This attribute determines whether the LBO function is + enabled or disabled."; + type boolean; + } + + leaf maximumDeviationHoTrigger { + description "This parameter defines the maximum allowed absolute deviation of the Handover Trigger, from the default point of operation."; + type int32 { range "-20..20"; } + units "0.5"; + } + + leaf minimumTimeBetweenHoTriggerChange { + description "This parameter defines the minimum allowed time interval between two Handover Trigger change performed by MRO. This is used to control the stability and convergence of the algorithm."; + type int32 { range "0..604800"; } + units "1"; + } + + } + + grouping DLBOFunctionSubtree { + list DLBOFunction { + description "This IOC contains attributes to support the D-SON function + of LBO. + + In the case where multiple DLBO MOIs exist at different levels of the + containment tree, the DLBO MOI at the lower level overrides the DLBO + MOIs at higher level(s) of the same containment tree."; + reference "clause 7.1.2 in TS 28.313"; + key id; + uses top3gpp:Top_Grp; + container attributes { + uses DLBOFunctionGrp; + } + } + } + + augment "/me3gpp:ManagedElement/gnbcucp3gpp:GNBCUCPFunction/"+ + "nrcellcu3gpp:NRCellCU" { + if-feature nrcellcu3gpp:DLBOFunction; + uses DLBOFunctionSubtree; + } + augment /me3gpp:ManagedElement/gnbcucp3gpp:GNBCUCPFunction { + if-feature gnbcucp3gpp:DLBOFunction; + uses DLBOFunctionSubtree; + } + augment /me3gpp:ManagedElement { + if-feature me3gpp:DLBOFunction; + uses DLBOFunctionSubtree; + } + augment /subnet3gpp:SubNetwork { + if-feature subnet3gpp:DLBOFunction; + uses DLBOFunctionSubtree; + } +} -- GitLab From b5c1d7d497c1a2a2ebec1e17a3cabd44adbd42c3 Mon Sep 17 00:00:00 2001 From: "U-ERICSSON\\ETHBLL" Date: Fri, 22 Oct 2021 14:03:55 +0200 Subject: [PATCH 2/2] Renamed file dlbofunc adding the lead underscore and corrected features for containment. --- ...on.yang => _3gpp-nr-nrm-dlbofunction.yang} | 37 +++++++++++++------ 1 file changed, 26 insertions(+), 11 deletions(-) rename yang-models/{3gpp-nr-nrm-dlbofunction.yang => _3gpp-nr-nrm-dlbofunction.yang} (68%) diff --git a/yang-models/3gpp-nr-nrm-dlbofunction.yang b/yang-models/_3gpp-nr-nrm-dlbofunction.yang similarity index 68% rename from yang-models/3gpp-nr-nrm-dlbofunction.yang rename to yang-models/_3gpp-nr-nrm-dlbofunction.yang index 4f3a94468..e3146a24b 100644 --- a/yang-models/3gpp-nr-nrm-dlbofunction.yang +++ b/yang-models/_3gpp-nr-nrm-dlbofunction.yang @@ -1,4 +1,3 @@ - module _3gpp-nr-nrm-dlbofunction { yang-version 1.1; namespace "urn:3gpp:sa5:_3gpp-nr-nrm-dlbofunction"; @@ -17,6 +16,22 @@ module _3gpp-nr-nrm-dlbofunction { Model (NRM)."; reference "3GPP TS 28.541 5G Network Resource Model (NRM)"; + revision 2021-10-22 { reference "CR-0577"; } + + feature DLBOUnderGNBCUCPFunction { + description "The DLBOFunction shall be available under + GNBCUCPFunction"; + } + + feature DLBOUnderManagedElement { + description "The DLBOFunction shall be available under + ManagedElement"; + } + + feature DLBOUnderSubNetwork { + description "The DLBOFunction shall be available under + SubNetwork"; + } grouping DLBOFunctionGrp { description "Represents the DLBOFunction IOC."; @@ -27,13 +42,17 @@ module _3gpp-nr-nrm-dlbofunction { } leaf maximumDeviationHoTrigger { - description "This parameter defines the maximum allowed absolute deviation of the Handover Trigger, from the default point of operation."; + description "This parameter defines the maximum allowed absolute + deviation of the Handover Trigger, from the default point of + operation."; type int32 { range "-20..20"; } units "0.5"; } leaf minimumTimeBetweenHoTriggerChange { - description "This parameter defines the minimum allowed time interval between two Handover Trigger change performed by MRO. This is used to control the stability and convergence of the algorithm."; + description "This parameter defines the minimum allowed time interval + between two Handover Trigger change performed by MRO. This is used + to control the stability and convergence of the algorithm."; type int32 { range "0..604800"; } units "1"; } @@ -59,19 +78,15 @@ module _3gpp-nr-nrm-dlbofunction { augment "/me3gpp:ManagedElement/gnbcucp3gpp:GNBCUCPFunction/"+ "nrcellcu3gpp:NRCellCU" { - if-feature nrcellcu3gpp:DLBOFunction; - uses DLBOFunctionSubtree; - } - augment /me3gpp:ManagedElement/gnbcucp3gpp:GNBCUCPFunction { - if-feature gnbcucp3gpp:DLBOFunction; + if-feature DLBOUnderGNBCUCPFunction; uses DLBOFunctionSubtree; } augment /me3gpp:ManagedElement { - if-feature me3gpp:DLBOFunction; + if-feature DLBOUnderManagedElement; uses DLBOFunctionSubtree; } augment /subnet3gpp:SubNetwork { - if-feature subnet3gpp:DLBOFunction; + if-feature DLBOUnderSubNetwork; uses DLBOFunctionSubtree; } -} +} \ No newline at end of file -- GitLab