Commit b3a0b6da authored by lindbladj's avatar lindbladj
Browse files

Minor fixes (type name changes, moves) based on review by Balazs.

parent 08b9f96e
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -104,14 +104,14 @@ module _3gpp-5g-common-yang-types {
    }  
  }

  typedef LoadThresholdT {
  typedef EnergySavingLoadThresholdT {
    type uint32 {
      range 0..10000;
    }
    units 1/10000;
  }

  typedef TimeDurationT {
  typedef EnergySavingTimeDurationT {
    type uint32 {
      range 0..900;
    }
@@ -122,9 +122,10 @@ module _3gpp-5g-common-yang-types {
    type uint32 { 
      range "0..1007"; 
    }
    reference "clause 7.4.2 of TS 38.211";
  }

  typedef TimeOfDayT {
  typedef UTC24TimeOfDayT {
    description "Time of day in HH:MM or H:MM 24-hour format per UTC 
      time zone.";
    type string {
+5 −25
Original line number Diff line number Diff line
@@ -27,36 +27,16 @@ module _3gpp-nr-nrm-cesmanagementfunction {
    leaf loadThreshold {
      description "This attribute is used by distributed ES algorithms to allow
        a cell to enter the energySaving state.";
      type type5g3gpp:LoadThresholdT;
      type type5g3gpp:EnergySavingLoadThresholdT;
    }
    leaf timeDuration {
      description "The time duration indicates how long the traffic load 
        (either for UL or DL) in the cell needs to have been above the 
        threshold to wake up one or more original cells which have been 
        provided backup coverage by the candidate cell.";
      type type5g3gpp:TimeDurationT;
      type type5g3gpp:EnergySavingLoadThresholdT;
    }
  }

  typedef TimeOfDayT {
    description "Time of day in HH:MM or H:MM 24-hour format per UTC time zone.";
    type string {
      pattern "(([01]?[0-9])|(2[0-3])):([0-5][0-9])";
    }
  }

  typedef DayOfWeekT {
    type enumeration {
      enum Monday;
      enum Tuesday;
      enum Wednesday;
      enum Thursday;
      enum Friday;
      enum Saturday;
      enum Sunday;
    }
  }

  grouping CESManagementFunctionGrp {
    description "Represents the CESManagementFunction IOC.";

@@ -238,19 +218,19 @@ module _3gpp-nr-nrm-cesmanagementfunction {
        If set, the endTime must also be set. If not set, this is 
        interpreted as around the clock.";
      must ../endTime;
      type TimeOfDayT;
      type type5g3gpp:UTC24TimeOfDayT;
    }
    leaf endTime {
      description "If endTime has a lower value than startTime, it will 
        be interpreted as referring to the following day.";
      must ../startTime;
      type TimeOfDayT;
      type type5g3gpp:UTC24TimeOfDayT;
    }
    leaf-list daysOfWeek {
      description "Specifies that the not allowed periods are only 
        applicable to the specified days in UTC timezone. Every day if 
        not set.";
      type DayOfWeekT;
      type type5g3gpp:DayOfWeekT;
    }
  }

+4 −4
Original line number Diff line number Diff line
@@ -27,14 +27,14 @@ module _3gpp-nr-nrm-desmanagementfunction {
    leaf loadThreshold {
      description "This attribute is used by distributed ES algorithms to allow
        a cell to enter the energySaving state.";
      type type5g3gpp:LoadThresholdT;
      type type5g3gpp:EnergySavingLoadThresholdT;
    }
    leaf timeDuration {
      description "The time duration indicates how long the traffic load 
        (either for UL or DL) in the cell needs to have been above the 
        threshold to wake up one or more original cells which have been 
        provided backup coverage by the candidate cell.";
      type type5g3gpp:TimeDurationT;
      type type5g3gpp:EnergySavingTimeDurationT;
    }
  }

@@ -145,12 +145,12 @@ module _3gpp-nr-nrm-desmanagementfunction {
        If set, the endTime must also be set. If not set, this is 
        interpreted as around the clock.";
      must ../endTime;
      type type5g3gpp:TimeOfDayT;
      type type5g3gpp:UTC24TimeOfDayT;
    }
    leaf endTime {
      description "If endTime has a lower value than startTime, it will 
        be interpreted as referring to the following day.";
      type type5g3gpp:TimeOfDayT;
      type type5g3gpp:UTC24TimeOfDayT;
      must ../startTime;
    }
    leaf-list daysOfWeek {