Loading yang-models/_3gpp-nr-nrm-ecmappingrule.yang +13 −18 Original line number Diff line number Diff line Loading @@ -25,7 +25,8 @@ module _3gpp-nr-nrm-ecmappingrule { description "ECMappingRule shall be contained under ManagedElement."; } grouping ECMappingRuleInputGrp { grouping NGRANECMappingRuleGrp { description "Represents the NGRANECMappingRule IOC."; leaf eCMRInputMinValue { type uint8; description "The minimum value of to be applied Loading @@ -44,29 +45,23 @@ module _3gpp-nr-nrm-ecmappingrule { should be applied for collecting values of mapping rule attribute to be used for computing the energy cost."; units seconds; } } grouping NGRANECMappingRuleGrp { description "Represents the NGRANECMappingRule IOC."; list rules { key id; uses top3gpp:Top_Grp; container attributes { uses ECMappingRuleInputGrp; } } }; } grouping NGRANECMappingRuleSubtree { description "Helps augmenting NGRANECMappingRule into multiple places."; list mappingrule { key idx; list NGRANECMappingRule { key id; use top3gpp:Top_Grp; min-elements 1; max-elements 1; leaf idx { type unit32; } container attributes { uses NGRANECMappingRuleGrp; } } } } augment "/subnet3gpp:SubNetwork" { if-feature ECMappingRuleUnderSubNetwork; Loading Loading
yang-models/_3gpp-nr-nrm-ecmappingrule.yang +13 −18 Original line number Diff line number Diff line Loading @@ -25,7 +25,8 @@ module _3gpp-nr-nrm-ecmappingrule { description "ECMappingRule shall be contained under ManagedElement."; } grouping ECMappingRuleInputGrp { grouping NGRANECMappingRuleGrp { description "Represents the NGRANECMappingRule IOC."; leaf eCMRInputMinValue { type uint8; description "The minimum value of to be applied Loading @@ -44,29 +45,23 @@ module _3gpp-nr-nrm-ecmappingrule { should be applied for collecting values of mapping rule attribute to be used for computing the energy cost."; units seconds; } } grouping NGRANECMappingRuleGrp { description "Represents the NGRANECMappingRule IOC."; list rules { key id; uses top3gpp:Top_Grp; container attributes { uses ECMappingRuleInputGrp; } } }; } grouping NGRANECMappingRuleSubtree { description "Helps augmenting NGRANECMappingRule into multiple places."; list mappingrule { key idx; list NGRANECMappingRule { key id; use top3gpp:Top_Grp; min-elements 1; max-elements 1; leaf idx { type unit32; } container attributes { uses NGRANECMappingRuleGrp; } } } } augment "/subnet3gpp:SubNetwork" { if-feature ECMappingRuleUnderSubNetwork; Loading