Commit 8d48151f authored by scottma's avatar scottma
Browse files

Update _3gpp-nr-nrm-ecmappingrule.yang

parent 3f0ad9e0
Loading
Loading
Loading
Loading
Loading
+13 −18
Original line number Diff line number Diff line
@@ -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 
@@ -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;