Commit 800ed7de authored by rosabolzek's avatar rosabolzek
Browse files

update nfprofile to aligne with stage 2

parent 474f90b5
Loading
Loading
Loading
Loading
Loading
+5 −109
Original line number Diff line number Diff line
@@ -12,10 +12,11 @@ module _3gpp-5gc-nrm-nfprofile {
  organization "3gpp SA5";
  contact "https://www.3gpp.org/DynaReport/TSG-WG--S5--officials.htm?Itemid=464";
  description "NF profile class.
    Copyright 2024, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, 
    Copyright 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, 
    TTA, TTC). All rights reserved.";
  reference "3GPP TS 29.510";
  
  revision 2025-08-25 { reference CR-1557 ; } 
  revision 2024-04-12 { reference CR-1218 ; } 
  revision 2023-11-18 { reference CR-1103 ; }
  revision 2023-09-18 { reference CR-1043 ; } 
@@ -41,15 +42,6 @@ module _3gpp-5gc-nrm-nfprofile {
      type NFStatus;
    }
     
    leaf heartBeatTimer {
      description "Time in seconds expected between 2 consecutive
                   heart-beat messages from an NF Instance to the NRF.
                   It may be included in the registration request.
                   When present in the request it shall contain the
                   heartbeat time proposed by the NF service consumer.";
      type uint16;
    }
    
    list plmnList {
      description "PLMN(s) of the Network Function.
        This IE shall be present if this information
@@ -71,26 +63,6 @@ module _3gpp-5gc-nrm-nfprofile {
      uses Snssai;
    }
       
    list perPlmnSnssaiList {
      description "This IE may be included when the list of
       S-NSSAIs supported by the NF for each PLMN it is supporting
        is different. When present, this IE shall include the S-NSSAIs
         supported by the Network Function for each PLMN supported by
          the Network Function. When present, this IE shall
           override sNssais IE.";
      min-elements 1;
      key idx; 
      leaf idx { type uint32; }
      uses PlmnSnssai;
    }
    
    leaf-list nsiList {
      description "NSI identities of the Network Function.
                   If not provided, the NF can serve any NSI.";
                   min-elements 1;
      type string;
    }
    
    leaf fqdn {
      description "FQDN of the Network Function. For AMF, the
       FQDN registered with the NRF shall be that of the AMF Name.";
@@ -104,82 +76,6 @@ module _3gpp-5gc-nrm-nfprofile {
      type inet:domain-name;
    }

    leaf-list ipv4Addresses {
      description "IPv4 address(es) of the Network Function.";
      min-elements 1;
      type inet:ipv4-address;
    }
    
    leaf-list ipv6Addresses {
      description "IPv6 address(es) of the Network Function.";
      min-elements 1;
      type inet:ipv6-address;
    }
    
    list allowedPlmns {
      description "PLMNs allowed to access the NF instance.
                   If not provided, any PLMN is allowed to access the NF.";
      
      min-elements 1;
      key "mcc mnc";
      uses types3gpp:PLMNId;
    }
    
    leaf-list allowedNfTypes {
      description "Type of the NFs allowed to access the NF instance.
                   If not provided, any NF type is allowed to access the NF.";
      min-elements 1;
      type types3gpp:NfType;
    }
    
    leaf-list allowedNfDomains {
      description "Pattern representing the NF domain names allowed 
      to access the NF instance. If not provided, 
      any NF domain is allowed to access the NF.";
      min-elements 1;
      type string;
    }
    
    list allowedNssais { 
      description "S-NSSAI of the allowed slices to access the NF instance.
                   If not provided, any slice is allowed to access the NF.";
      min-elements 1;
      key "sst sd";
      uses Snssai;
    }
    
    leaf priority {
      description "Priority (relative to other NFs of the same type)
       in the range of 0-65535, to be used for NF selection;
                   lower values indicate a higher priority.
                    If priority is also present in the nfServiceList
                     parameters,
                   those will have precedence over this value. 
                   The NRF may overwrite the received priority value
                    when exposing
                   an NFProfile with the Nnrf_NFDiscovery service.";
      type uint16;
    }
    
    leaf capacity {
      description "Static capacity information in the range of 0-65535,
       expressed as a weight relative to other NF instances of
        the same type; if capacity is also present in the nfServiceList
         parameters, those will have precedence over this value.";
      type uint16;
    }
    
    leaf load {
      description "Dynamic load information, ranged from 0 to 100,
       indicates the current load percentage of the NF.";
      type types3gpp:Load;
    }
    
    leaf locality {
      description "Operator defined information about the location
       of the NF instance (e.g. geographic location, data center).";
      type string;
    }
    
    grouping udrInfo {