Commit e3be3c1e authored by qiwen's avatar qiwen Committed by lengyelb
Browse files

Update file _3gpp-5gc-nrm-amffunction.yang

parent 7ca1d150
Loading
Loading
Loading
Loading
+57 −0
Original line number Diff line number Diff line
@@ -25,6 +25,44 @@ module _3gpp-5gc-nrm-amffunction {
  revision 2019-05-31 { reference "Ericsson refactoring."; }
  revision 2018-08-07 { reference "Initial revision"; }

  grouping satelliteBackhaulInfo{
    description "Defines information related to satellite backhaul category
     and corresponding information of gNB.";
    reference "3GPP TS 23.501";

    leaf globalgNBID{
      description "Unique identifier of a gNB.";
      reference "3GPP TS 38.413";
      type int64;
      mandatory true;
    }

    leaf satelliteBackhaulCategory{
      description "Satellite backhaul category refers to the type of the satellite
      used in the backhaul. Only a single backhaul category can be indicated.";
      reference "3GPP TS 29.571";
      type enumeration{
        enum GEO;
        enum MEO;
        enum LEO;
        enum OTHER_SAT;
        enum DYNAMIC_GEO;
        enum DYNAMIC_MEO;
        enum DYNAMIC_LEO;
        enum DYNAMIC_OTHER_SAT;
        enum NON_SATELLITE;
      }
      mandatory true;
    }

    leaf geoSatelliteId{
      description "Unique identifier of a GEO satellite.";
      reference "3GPP TS 29.571";
      type string;
      //condition present only if the UPF is deployed on the satellite. 
    }
  }

  grouping AMFFunctionGrp {
    description "Represents the AMFFunction IOC";
    uses mf3gpp:ManagedFunctionGrp;
@@ -77,6 +115,25 @@ module _3gpp-5gc-nrm-amffunction {
      uses types5g3gpp:CommModel;
    }

    leaf satelliteBackhaulSupported{
      description "It indicates whether AMF supports the reporting of satellite
       backhaul information and indicating the satellite backhaul category
        change to SMF.";
      reference "3GPP TS 23.501";
      type boolean;
      mandatory true;
    }

    leaf-list satelliteBackhaulInfoList{
      description "Specifies a list of satellite backhaul information. It can be
       used by NF and NF services.";
      min-element 1;
      uses satelliteBackhaulInfo;
    }

    must "if (../satelliteBackhaulSupported = 1 ) then 
    exists (../satelliteBackhaulInfoList) else true()";

  }
  
  augment "/me3gpp:ManagedElement" {