Commit 6a4df2ef authored by qiwen's avatar qiwen Committed by lengyelb
Browse files

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

parent 4a75186f
Loading
Loading
Loading
Loading
+82 −14
Original line number Diff line number Diff line
@@ -30,12 +30,89 @@ module _3gpp-5gc-nrm-amffunction {
     and corresponding information of gNB.";
    reference "3GPP TS 23.501";

    leaf globalgNBID{
    choice GlobalRanNodeID{
      description "Unique identifier of an NG-RAN node.";
      reference "3GPP TS 38.413";

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

      case ng-eNB{
        leaf Global ng-eNB ID{
          type string{
            pattern '^(MacroNGeNB-[A-Fa-f0-9]{5}|LMacroNGeNB-[A-Fa-f0-9]{6}|SMacroNGeNB-[A-Fa-f0-9]{5})$';
          }
          description "This represents the identifier of the ng-eNB ID as specified in clause 9.3.1.8 of 
          3GPP TS 38.413. The value of the ng-eNB ID shall be encoded in hexadecimal representation. 
          Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and 
          shall represent 4 bits. The padding 0 shall be added to make multiple nibbles, so the most 
          significant character representing the padding 0 if required together with the 4 most 
          significant bits of the ng-eNB ID shall appear first in the string, and the character 
          representing the 4 least significant bit of the ng-eNB ID (to form a nibble) shall appear
          last in the string.";
          mandatory true;
        }
      }

      case N3IWF{
        leaf N3IWF ID{
          type string{
            pattern '^[A-Fa-f0-9]+$';
          }
          description "This IE shall contain the N3IWF identifier received over NGAP and shall be encoded as a 
            string of hexadecimal characters. Each character in the string shall take a value of "0" 
            to "9", "a" to "f" or "A" to "F" and shall represent 4 bits. The most significant 
            character representing the 4 most significant bits of the N3IWF ID shall appear first in 
            the string, and the character representing the 4 least significant bit of the N3IWF ID 
            shall appear last in the string.";
          mandatory true;
        } 
      }

      case TNGF{
        leaf TNGF ID{
          type string{
            pattern '^[A-Fa-f0-9]+$';
          }
          description "This represents the identifier of the TNGF ID as specified in clause 9.3.1.161 of 
          3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a value
          of "0" to "9", "a"  to "f" or "A" to "F" and shall represent 4 bits. The most significant
          character representing the  4 most significant bits of the TNGF ID shall appear first in
          the string, and the character  representing the 4 least significant bit of the TNGF ID
          shall appear last in the string.";
          mandatory true;
        }
      }
      
      case TWIF{
        leaf TWIF ID{
          type string;
          description "This represents the TWIF identification as specified in clause 9.3.1.163 of TS 38.413";
          mandatory true;
        }
      }

      case W-AGF{
        leaf W-AGF ID{
          type string{
            pattern '^[A-Fa-f0-9]+$';
          }
          description "This represents the identifier of the W-AGF ID as specified in clause 9.3.1.162 of 
          3GPP TS 38.413 in hexadecimal representation. Each character in the string shall take a
          value  of "0" to "9", "a" to "f" or "A" to "F" and shall represent 4 bits. The most
          significant  character representing the 4 most significant bits of the W-AGF ID shall
          appear first in the  string, and the character representing the 4 least significant bit
          of the W-AGF ID shall  appear last in the string.";
          mandatory true;
        }
      }
    }

    leaf satelliteBackhaulCategory{
      description "Satellite backhaul category refers to the type of the
@@ -117,19 +194,10 @@ 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;
    }

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