Commit 724d5edb authored by scottma's avatar scottma Committed by lengyelb
Browse files

Add new file

parent 49edb841
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
module _3gpp-nr-nrm-ecmappingrule {
  yang-version 1.1;
  namespace urn:3gpp:sa5:_3gpp-nr-nrm-ecmappingrule;
  prefix ecmap3gpp;
  
  import _3gpp-common-top { prefix top3gpp; }
  
  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 2024, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, 
    TTA, TTC). All rights reserved.";
  reference "3GPP TS 28.541";

  revision 2024-08-21 { reference CR-1337 ; } 
  
  grouping NGRANECMappingRuleGrp {
    description "Represents the NGRANECMappingRule IOC.";
    leaf eCMRInputMinValue {
      type uint8;
      description "The minimum value of to be applied 
        for mapping from this attribute to the energy cost.";
    }
    
    leaf eCMRInputMaxValue {
      type uint8;
      description "The maximum value of to be applied 
        for mapping from this attribute to the energy cost.";  
    }

    leaf eCTimeInterval {
      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.";
      units seconds;
    }
  }

  grouping NGRANECMappingRuleSubtree {
    description "Helps augmenting NGRANECMappingRule into multiple places.";
    list NGRANECMappingRule {
      key id;
      uses top3gpp:Top_Grp;
      min-elements 1;
      max-elements 1;
      leaf idx { type uint32; }
      container attributes {
        uses NGRANECMappingRuleGrp;  
      }
    }
  }
}