Loading yang-models/_3gpp-nr-nrm-ecimappingrule.yang 0 → 100644 +95 −0 Original line number Diff line number Diff line module _3gpp-5gc-nrm-ecimappingrule { yang-version 1.1; namespace urn:3gpp:sa5:_3gpp-5gc-nrm-ecimappingrule; prefix ecimapping3gpp; import _3gpp-common-top { prefix top3gpp; } import _3gpp-common-subnetwork { prefix subnet3gpp; } import _3gpp-common-managed-element { prefix me3gpp; } import _3gpp-nr-nrm-externalgnbcucpfunction {prefix gnbcucp3gpp; } organization "3gpp SA5"; contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464"; description "This IOC represents the unified mapping rule input to support Energy Cost Index Mapping when Energy Cost Reporting. Copyright 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved."; reference "3GPP TS 28.541"; revision 2024-08-12 { reference CR-1336 ; } grouping ECIMappingRuleInput { description "Input to the unified mapping rule to support ECI."; reference "3GPP TS 28.541"; leaf eciMRInputMinimumValue { type uint8; description "The minimum value of to be applied for mapping from this attribute to the energy cost."; } leaf eciMRInputMaximumValue { type uint8; description "The maximum value of to be applied for mapping from this attribute to the energy cost."; } leaf eciTimeInterval { type uint8; description "Time interval (in seconds) that should be applied for collecting values of mapping rule attribute to be used for computing the energy cost."; } } grouping NGRANECIMappingRuleGrp { description "Represents the NGRANECIMappingRule IOC."; list dynamic5QIs { description "This IOC represents a unified mapping rule."; key id; uses top3gpp:Top_Grp; container attributes { uses ECIMappingRuleInput; } } } grouping NGRANECIMappingRuleSetGrp { description "Represents the NGRANECIMappingRuleSet IOC."; list dynamic5QIs { description "This IOC represents a group of mapping rules."; key id; uses top3gpp:Top_Grp; container attributes { uses NGRANECIMappingRuleGrp; } } } grouping NGRANECIMappingRuleSetSubtree { description "Helps augmenting NGRANECIMappingRuleSet into multiple places."; list NGRANECIMappingRuleSet { description "Specifies the ECI mapping rules, see 3GPP TS 28.541."; key "id"; uses top3gpp:Top_Grp; container attributes { uses NGRANECIMappingRuleSetGrp; } uses NGRANECIMappingRuleGrp; } } augment "/subnet3gpp:SubNetwork" { uses NGRANECIMappingRuleSetSubtree; } augment "/me3gpp:ManagedElement" { uses NGRANECIMappingRuleSetSubtree; } augment "/me3gpp:ManagedElement" { uses gnbcucp3gpp:NGRANECIMappingRuleSetSubtree; } } Loading
yang-models/_3gpp-nr-nrm-ecimappingrule.yang 0 → 100644 +95 −0 Original line number Diff line number Diff line module _3gpp-5gc-nrm-ecimappingrule { yang-version 1.1; namespace urn:3gpp:sa5:_3gpp-5gc-nrm-ecimappingrule; prefix ecimapping3gpp; import _3gpp-common-top { prefix top3gpp; } import _3gpp-common-subnetwork { prefix subnet3gpp; } import _3gpp-common-managed-element { prefix me3gpp; } import _3gpp-nr-nrm-externalgnbcucpfunction {prefix gnbcucp3gpp; } organization "3gpp SA5"; contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464"; description "This IOC represents the unified mapping rule input to support Energy Cost Index Mapping when Energy Cost Reporting. Copyright 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved."; reference "3GPP TS 28.541"; revision 2024-08-12 { reference CR-1336 ; } grouping ECIMappingRuleInput { description "Input to the unified mapping rule to support ECI."; reference "3GPP TS 28.541"; leaf eciMRInputMinimumValue { type uint8; description "The minimum value of to be applied for mapping from this attribute to the energy cost."; } leaf eciMRInputMaximumValue { type uint8; description "The maximum value of to be applied for mapping from this attribute to the energy cost."; } leaf eciTimeInterval { type uint8; description "Time interval (in seconds) that should be applied for collecting values of mapping rule attribute to be used for computing the energy cost."; } } grouping NGRANECIMappingRuleGrp { description "Represents the NGRANECIMappingRule IOC."; list dynamic5QIs { description "This IOC represents a unified mapping rule."; key id; uses top3gpp:Top_Grp; container attributes { uses ECIMappingRuleInput; } } } grouping NGRANECIMappingRuleSetGrp { description "Represents the NGRANECIMappingRuleSet IOC."; list dynamic5QIs { description "This IOC represents a group of mapping rules."; key id; uses top3gpp:Top_Grp; container attributes { uses NGRANECIMappingRuleGrp; } } } grouping NGRANECIMappingRuleSetSubtree { description "Helps augmenting NGRANECIMappingRuleSet into multiple places."; list NGRANECIMappingRuleSet { description "Specifies the ECI mapping rules, see 3GPP TS 28.541."; key "id"; uses top3gpp:Top_Grp; container attributes { uses NGRANECIMappingRuleSetGrp; } uses NGRANECIMappingRuleGrp; } } augment "/subnet3gpp:SubNetwork" { uses NGRANECIMappingRuleSetSubtree; } augment "/me3gpp:ManagedElement" { uses NGRANECIMappingRuleSetSubtree; } augment "/me3gpp:ManagedElement" { uses gnbcucp3gpp:NGRANECIMappingRuleSetSubtree; } }