Commit 66d45b1e authored by lengyelb's avatar lengyelb
Browse files

Integration_Rel18_SA5_145_YANG into Rel-18 after SA5#145 and SA#97

parent 88f7c9a3
Loading
Loading
Loading
Loading
+22 −33
Original line number Diff line number Diff line
module _3gpp-5gc-nrm-configurable5qiset {
  yang-version 1.1;
  
  namespace urn:3gpp:sa5:_3gpp-5gc-nrm-configurable5qiset;
  prefix Conf5QIs3gpp;
  prefix conf5QIs3gpp;
  
  import _3gpp-common-top { prefix top3gpp; }
  import _3gpp-common-managed-element { prefix me3gpp; }
  import _3gpp-common-subnetwork { prefix subnet3gpp; }
  
  organization "3gpp SA5";
  contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464";
@@ -15,12 +12,13 @@ module _3gpp-5gc-nrm-configurable5qiset {
    (and configurable) to the 5G NFs.";
  reference "3GPP TS 28.541";

  revision 2022-07-28 { reference "CR-0770"; }
  revision 2022-04-29 { reference "CR-0729"; }
  revision 2022-01-07 { reference CR-0643; }
  revision 2020-08-04 { reference "CR-0321"; }
  revision 2020-06-03 { reference "CR-0286"; }

  grouping PacketErrorRate {
  grouping PacketErrorRateGrp {
    leaf scalar {
      type uint32 {
        range 0..9 ;
@@ -41,11 +39,6 @@ module _3gpp-5gc-nrm-configurable5qiset {

  grouping FiveQICharacteristicsGrp {
    description "Represents the FiveQICharacteristics IOC.";
    reference "3GPP TS 28.541";
  }

  list configurableFiveQIs {
    key fiveQIValue;
    leaf fiveQIValue {
      type uint32 {
        range 0..255 ;
@@ -68,27 +61,34 @@ module _3gpp-5gc-nrm-configurable5qiset {
      type uint32 {
        range 0..127 ;
      }
      mandatory true;
      description "It indicates the Priority Level of a 5QI, as specified
        in TS 23.501.";
    }
    
    leaf packetDelayBudget {
      type uint32 {
        range 0..1023 ;
      }
      mandatory true;
      description "Indicates the Packet Delay Budget (in unit of 0.5ms)of a 5QI, 
        as specified in TS 23.501 ";
    }
    
    list packetErrorRate {
      key "scalar exponent";
      min-elements 1;
      max-elements 1;
      uses PacketErrorRate;
      reference "TS 23.501";
      uses PacketErrorRateGrp;
      description "It indicates the Packet Error Rate of a 5QI,
        as specified in TS 23.501.";
    }

    leaf averagingWindow {
      type uint32 {
        range 0..4095 ;
      }
      mandatory true;
      units ms;
      reference "TS 23.501";
    }
@@ -97,24 +97,20 @@ module _3gpp-5gc-nrm-configurable5qiset {
      type uint32{
        range 0..4095 ;
      }
      mandatory true;
      units byte;
    }
}

  grouping FiveQiCharacteristicsSubtree {
    description "Represents the FiveQICharacterics IOC.";
    list FiveQICharacteristics {
      key id;
        uses top3gpp:Top_Grp;
          container attributes {
            uses FiveQICharacteristicsGrp;
        }
    }  
  grouping Configurable5QISetGrp {
    description "Represents the Configurable5QISet IOC.
      No attributes defined.";
  }

  grouping Configurable5QISetGrp {
    description "Represents the Configurable5QISet IOC.";
    list configurable5QIs {
  grouping FiveQICharacteristicsSubtree {
    list FiveQICharacteristics {
      description "This specifies the 5QI value and the corresponding
        QoS characteristics for a 5QI.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes {
@@ -133,14 +129,7 @@ module _3gpp-5gc-nrm-configurable5qiset {
      container attributes {
        uses Configurable5QISetGrp;
      }
      uses FiveQICharacteristicsSubtree;
    }
  }
  
  augment "/subnet3gpp:SubNetwork" {
    uses Configurable5QISetSubtree;
  }

  augment "/me3gpp:ManagedElement" {
    uses Configurable5QISetSubtree;
  }
}
 No newline at end of file
+7 −1
Original line number Diff line number Diff line
module _3gpp-5gc-nrm-dynamic5qiset {
  yang-version 1.1;
  
  namespace urn:3gpp:sa5:_3gpp-5gc-nrm-dynamic5qiset;
  prefix dyn5QIs3gpp;
  
@@ -15,6 +14,7 @@ module _3gpp-5gc-nrm-dynamic5qiset {
    characteristics.";
  reference "3GPP TS 28.541";

  revision 2022-07-28 { reference "CR-0770"; }
  revision 2022-01-07 { reference CR-0643; }
  revision 2020-10-01 { reference "CR-0393"; }
  revision 2020-08-06 { reference "CR-0333"; }
@@ -22,6 +22,11 @@ module _3gpp-5gc-nrm-dynamic5qiset {
  grouping Dynamic5QISetGrp {
    description "Represents the Dynamic5QISet IOC.";
    list dynamic5QIs {
      description "This IOC specifies the dynamically assigned 5QIs 
        including their QoS characteristics, see 3GPP TS 23.501. 
        The instance of this IOC shall not be created or modified by the 
        MnS consumer except for the instance associated to 
        PCFFunction MOI or SMFFunction MOI when the PCF is not deployed.";
    key id;
    uses top3gpp:Top_Grp;
    container attributes {
@@ -40,6 +45,7 @@ module _3gpp-5gc-nrm-dynamic5qiset {
      container attributes {
        uses Dynamic5QISetGrp;
      }
      uses Conf5QIs3gpp:FiveQICharacteristicsSubtree;
    }  
  }
  
+4 −4
Original line number Diff line number Diff line
@@ -59,9 +59,9 @@ module _3gpp-common-filemanagement {

    leaf cancelJob {
      description "Setting this attribute to TRUE cancels the file download job.
         As specified in the definition of ProcessMonitor, cancellation is possible in
         the NOT_STARTED and RUNNING state. Setting the attribute to FALSE has no 
         observable result.";
         As specified in the definition of ProcessMonitor, cancellation is 
         possible in the NOT_STARTED and RUNNING state. Setting the attribute  
         to FALSE has no observable result.";
      type boolean;
      mandatory true;
    }
+30 −11
Original line number Diff line number Diff line
@@ -17,9 +17,8 @@ module _3gpp-common-mnsregistry {
  revision 2021-10-18 { reference "S5-215263"; }
  revision 2021-08-29 { reference "Initial revision, S5-214388"; }
  
  grouping MNSInfoGrp {
    description "Represents the MNSInfo IOC.";
    reference "3GPP TS 28.622";
  grouping MnsInfoGrp {
    description "Represents the MnsInfo IOC.";
    leaf mnsLabel {
      description "Human-readable name of management service.";
      mandatory true;
@@ -48,26 +47,46 @@ module _3gpp-common-mnsregistry {
    }    
    
    leaf-list mnsScope {
      description "List of the managed object instances that can be accessed using the MnS. If a complete SubNetwork can be accessed using the MnS, this attribute may contain the DN of the SubNetwork instead of the DNs of the individual managed entities within the SubNetwork.";
      description "List of the managed object instances that can be accessed
        using the MnS. If a complete SubNetwork can be accessed using the MnS,
        this attribute may contain the DN of the SubNetwork instead of the
        DNs of the individual managed entities within the SubNetwork.";
      min-elements 1;
      type types3gpp:DistinguishedName;
    }
    
  }
  
  augment "/subnet3gpp:SubNetwork" {
    list MNSRegistry {
      description "Represents the MNSRegistry IOC.";
      reference "3GPP TS 28.622";
      description "Represents the MNSRegistry IOC.
        The IOC is instantiated by the system.";
      uses top3gpp:Top_Grp;
      key id;
      max-elements 1;

      list MNSInfo {
        description "Represents the MNSInfo IOC.";
        reference "3GPP TS 28.622";
        description "This IOC represents an available Management Service (MnS)
          and provides the data required to support its discovery.
          It is name-contained by MnsRegistry.

          This information is used by the consumer to discover the producers
          of specific Management Services and to derive the addresses of the
          Management Service.

          Attributes mnsLabel, mnsType, and mnsVersion are used to describe
          the Management Service.

          Attribute mnsAddress is used to provide addressing information for
          the Management Service operations.

          Attribute mnsScope is used to provide information about the
          management scope of the Management Service. The management scope is
          defined as the set of managed object instances that can be accessed
          using the Management Service.";

        uses top3gpp:Top_Grp;
        key "mnsType mnsVersion mnsAddress";
        uses MNSInfoGrp;
        uses MnsInfoGrp;
    }
  }
}	
+127 −0
Original line number Diff line number Diff line
module _3gpp-common-qmcjob {
  yang-version 1.1;
  namespace "urn:3gpp:sa5:_3gpp-common-qmcjob";
  prefix "qmc3gpp";

  import _3gpp-common-top { prefix top3gpp; }
  import _3gpp-common-subnetwork { prefix subnet3gpp; }
  import _3gpp-common-yang-types { prefix types3gpp; }
  import _3gpp-5g-common-yang-types { prefix types5g3gpp; }
  import _3gpp-common-managed-element { prefix me3gpp; }
 
  import ietf-inet-types { prefix inet; }

  organization "3GPP SA5";
  contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464";

  description "Quality of Experience Measurement Collection Job handling";

  reference "3GPP TS 28.623
      Generic Network Resource Model (NRM)
      Integration Reference Point (IRP);
      Solution Set (SS) definitions

      3GPP TS 28.622
      Generic Network Resource Model (NRM)
      Integration Reference Point (IRP);
      Information Service (IS)";

  revision 2022-08-17 { reference "CR-0185"; }
  revision 2022-04-29 { reference "CR-0171"; }
  revision 2022-03-22 { reference "draftCR"; }
  revision 2022-01-06 { reference "CR-0142"; }
    
  grouping QMCJobGrp {
    leaf serviceType {
      description "Specifies an end user service type for QoE measurements.";
      mandatory true;
      type enumeration {
      enum DASH;
      enum MTSI;
      enum VR;
    }
    }

    leaf areaScope {
      type string;
      description "Defines the area in terms of NR cells or Tracking Area 
        where the QMC shall take place.";
    }

    leaf qoECollectionEntityAddress {
      type inet:ip-address;
      mandatory true;
      description "Specifies the address to which the QMC records shall be
        transferred.  Ipv4 or Ipv6 address(es) may be used.";
    }

    list pLMNTarget {
      max-elements 1;
      description "Defines the PLMN for which sessions shall be selected in 
        the network request session in case of area based QMC when several 
        PLMNs are supported in the RAN (this means that shared cells and not 
        shared cells are allowed for the specified PLMN. Furthermore, several 
        PLMNs can be used for not shared RAN cases as well as for shared RAN 
        cases.). Only the sessions may be selected where the PLMN that the 
        UE reports as selected PLMN is the same as the PLMN Target.";
      uses types3gpp:PLMNId;
      key "mcc mnc";
    }

    leaf qoETarget {
      type string;
      description "Specifies the target object of the QMC in case of 
        signalling based QMC.  The qoETarget attribute shall be able 
        to carry IMSI or SUPI.";
      mandatory true;
    }

    leaf qoEReference {
      type string;
      mandatory true;
      description "Identifies the QoE measurement collection job in the 
        Managed Elements and in the measurement collection entity.  The QoE
        reference shall be globally unique therefore it is composed as follows:
        MCC+MNC+QMC ID, where the MCC and MNC are coming with the QMC 
        activation request from the management system to identify one PLMN 
        containing the management system, and QMC ID is a 3 byte Octet String. 
        The QMC ID is generated by the management system or the operator.";
    }

    list sliceScope {
      description "Contains a list of S-NSSAIs (Single Network Slice Selection
        Assistance Information).  A Network Slice end to end is identified by
        S-NSSAI.";
      key "sd sst";
      uses types5g3gpp:SNssai;
    }

    leaf qMCConfigFile {
      type string;
      description "Provides a reference to a file including the parameters for 
        configuration of application layer measurements, known as Container
        for Application Layer Measurement Configuration.";
      mandatory true;
    }
  }
    
   grouping QMCJobSubTree {
   description "Helps with augmenting QMCJob into multple places.";
    list QMCJob {
      description "Represents the QMCJob IOC.";
      key id;
      uses top3gpp:Top_Grp;
      container attributes {
        uses QMCJobGrp;
      }
    }
  }
  
   augment "/subnet3gpp:SubNetwork" {
        uses QMCJobSubTree;
   }

   augment "/me3gpp:ManagedElement" {
        uses QMCJobSubTree;
   }
}
Loading