Loading yang-models/_3gpp-common-yang-types.yang +208 −30 Original line number Diff line number Diff line Loading @@ -116,7 +116,27 @@ module _3gpp-common-yang-types { yext3gpp:inVariant; } } grouping SNssai { description "Single Network Slice Selection Assistance Information(S-NSSAI)"; reference "3GPP TS 23.003"; leaf sd { description "Slice Differentiator If not needed, the value can be set to ff:ff:ff."; type yang:hex-string { length 8; } reference "3GPP TS 23.003"; } leaf sst { type uint8; description "Slice/Service Type. Values 0 to 127 belong to standardized SST range and are defined in 3GPP TS 23.501. Values 128 to 255 belong to operator-specific range."; } } grouping ProcessMonitorGrp { description "Provides attributes to monitor the progress of processes with specific purpose and limited lifetime running on MnS producers. Loading Loading @@ -333,7 +353,43 @@ module _3gpp-common-yang-types { enum OFF; } } grouping SPNInfoIdGrp { description "This data type represents the SNPN identification consisting of MCC, MNC, and optionally NID."; leaf mcc { type string; description "Mobile Country Code (MCC) of the SNPN."; } leaf mnc { type string; description "Mobile Network Code (MNC) of the SNPN."; } leaf nId { type string; description "Network Identifier (NID) of the SNPN."; } } grouping SNPNIdGrp { description "This <<dataType>> represents the information of a SNPN identification"; leaf mCC { description "This is the Mobile Country Code (MCC) of the PLMN identifier. See TS 23.003 [13] subclause 2.2 and 12.1"; type string; } leaf mNC { description "This is the Mobile Network Code (MNC) of the PLMN identifier. See TS 23.003 [13] subclause 2.2 and 12.1."; type string; } leaf nId { description "Network Identity; Shall be present if PlmnIdNid identifies an SNPN"; type string; } } // grouping ManagedNFProfile will be removed as it is // being moved to _3gpp-5gc-nrm-nfprofile grouping ManagedNFProfile { Loading @@ -359,6 +415,14 @@ module _3gpp-common-yang-types { type NfType; description "Type of the Network Function" ; } 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; } leaf hostAddr { mandatory true; Loading @@ -373,6 +437,51 @@ module _3gpp-common-yang-types { allowed to consume NF Service(s) of NF Service Producer."; reference "See TS 23.501" ; } 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; } list sNPNList { key "mcc mnc nId"; description "SNPN(s) of the Network Function. This attributeIE shall be present if the NF pertains to one or more SNPNs."; reference "TS 29.510"; uses SPNInfoIdGrp; } list allowedSNPNs { description "SNPNs allowed to access the NF instance. The absence of this attribute in the NF profile indicates that no SNPN, other than the SNPN(s) registered in the snpnList attribute of the NF Profile, is allowed to access the service instance"; key "mCC mNC"; uses SNPNIdGrp; } 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 (regular expression according to the ECMA-262 dialect [75]) representing the NF domain names within the PLMN of the NRF allowed to access the NF instance If not provided, any NF domain is allowed to access the NF."; 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."; key "sst sd"; uses SNssai; } leaf location { type string ; Loading @@ -390,29 +499,107 @@ module _3gpp-common-yang-types { nfServiceList parameters, those will have precedence over this value."; reference "TS 29.510" ; } leaf nFSrvGroupId { type string ; description "This parameter defines identity of the group that is served by the NF instance. May be config false or true depending on the ManagedFunction. Config=true for Udrinfo. Config=false for UdmInfo and AusfInfo. Shall be present if ../nfType = UDM or AUSF or UDR. "; leaf-list recoveryTime { description "Timestamp when the NF was (re)started. The NRF shall notify NFs subscribed to receiving notifications of changes of the NF profile, if the NF recoveryTime is changed"; type yang:date-and-time; } leaf nfServicePersistence { description "This parameter indicates whether the different service instances of a same NF Service in the NF instance, supporting a same API version, are capable to persist their resource state in shared storage and therefore these resources are available after a new NF service instance supporting the same API version is selected by a NF Service Consumer "; reference "TS 29.510"; type boolean; } leaf-list supportedDataSetIds { type enumeration { enum SUBSCRIPTION; enum POLICY; enum EXPOSURE; enum APPLICATION; leaf-list nfSetIdList { type string ; min-elements 1; description "A NF Set Identifier is a globally unique identifier of a set of equivalent and interchangeable CP NFs from a given network that provide distribution, redundancy and scalability (see clause 5.21.3 of 3GPP TS 23.501 [2]).An NF Set Identifier shall be constructed from the MCC, MNC, NID (for SNPN), NF type and a Set ID. A NF Set Identifier shall be formatted as the following string: set<Set ID>.<nftype>set.5gc.mnc<MNC>.mcc<MCC> for a NF Set in a PLMN, or set<Set ID>.<nftype>set.5gc.nid<NID>.mnc<MNC>.mcc<MCC> for a NF Set in a SNPN.At most one NF Set ID shall be indicated per PLMN-ID or SNPN of the NF."; } leaf-list nfProfileChangesSupportInd { description "This parameter indicates if the NF Service Consumer supports or does not support receiving NF Profile Changes. It may be present in the NFRegister or NFUpdate (NF Profile Complete Replacement) request and shall be absent in the response (see Annex B 3GPP TS 29.510 [23]). "; max-elements 1; type boolean; } list defaultNotificationSubscriptions { description "Notification endpoints for different notification types. This attribute may contain multiple default subscriptions for a same notification type; in that case, those default subscriptions are used as alternative notification endpoints."; key notificationType; min-elements 1; uses types3gpp:DefaultNotificationSubscription; } description "List of supported data sets in the UDR instance. May be present if ../nfType = UDR"; reference "TS 29.510" ; leaf servingScope { description "This parameter indicates the served geographical areas of a NF instance."; type string; } leaf-list lcHSupportInd { description "This parameter indicates whether the NF supports or does not support Load Control based on LCI Header."; reference "clause 6.3 of 3gpp TS 29.500"; max-elements 1; type boolean; } leaf-list olcHSupportInd { description "This parameter indicates whether the NF supports or does not support Overload Control based on OCI Header ."; reference "clause 6.4 of 3gpp TS 29.500"; max-elements 1; type boolean; } leaf-list nfSetRecoveryTimeList { description "This parameter contains the recovery time of NF Set(s) indicated by the NfSetId, where the NF instance belongs."; type yang:date-and-time ; max-elements 1; } leaf-list serviceSetRecoveryTimeList { description "This parameter contains the recovery time of NF Service Set(s) configured in the NF instance, which are indicated by the NfServiceSetId"; type yang:date-and-time ; max-elements 1; } leaf scpDomains { description "This parameter shall carry the list of SCP domains the SCP belongs to, or the SCP domain the NF (other than SCP) or the SEPP belongs to.."; type string; } leaf vendorId { description "Vendor ID of the NF instance, according to the IANA-assigned SMI Network Management Private Enterprise Codes [77]. allowedValues: 6 decimal digits; if the SMI code has less than 6 digits, it shall be padded with leading digits 0 to complete a 6-digit string value."; type string; } leaf-list interPlmnFqdn { description "If the NF needs to be discoverable by other NFs in a different PLMN, then an FQDN that is used for inter-PLMN routing is specified."; type inet:domain-name; } leaf-list smfServingAreas { type string ; description "Defines the SMF service area(s) the UPF can serve. Loading @@ -420,15 +607,6 @@ module _3gpp-common-yang-types { reference "TS 29.510" ; } leaf priority { type uint16; description "This parameter defines 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. Shall be present if ../nfType = AMF "; reference "TS 29.510" ; } } typedef usageState { Loading Loading
yang-models/_3gpp-common-yang-types.yang +208 −30 Original line number Diff line number Diff line Loading @@ -116,7 +116,27 @@ module _3gpp-common-yang-types { yext3gpp:inVariant; } } grouping SNssai { description "Single Network Slice Selection Assistance Information(S-NSSAI)"; reference "3GPP TS 23.003"; leaf sd { description "Slice Differentiator If not needed, the value can be set to ff:ff:ff."; type yang:hex-string { length 8; } reference "3GPP TS 23.003"; } leaf sst { type uint8; description "Slice/Service Type. Values 0 to 127 belong to standardized SST range and are defined in 3GPP TS 23.501. Values 128 to 255 belong to operator-specific range."; } } grouping ProcessMonitorGrp { description "Provides attributes to monitor the progress of processes with specific purpose and limited lifetime running on MnS producers. Loading Loading @@ -333,7 +353,43 @@ module _3gpp-common-yang-types { enum OFF; } } grouping SPNInfoIdGrp { description "This data type represents the SNPN identification consisting of MCC, MNC, and optionally NID."; leaf mcc { type string; description "Mobile Country Code (MCC) of the SNPN."; } leaf mnc { type string; description "Mobile Network Code (MNC) of the SNPN."; } leaf nId { type string; description "Network Identifier (NID) of the SNPN."; } } grouping SNPNIdGrp { description "This <<dataType>> represents the information of a SNPN identification"; leaf mCC { description "This is the Mobile Country Code (MCC) of the PLMN identifier. See TS 23.003 [13] subclause 2.2 and 12.1"; type string; } leaf mNC { description "This is the Mobile Network Code (MNC) of the PLMN identifier. See TS 23.003 [13] subclause 2.2 and 12.1."; type string; } leaf nId { description "Network Identity; Shall be present if PlmnIdNid identifies an SNPN"; type string; } } // grouping ManagedNFProfile will be removed as it is // being moved to _3gpp-5gc-nrm-nfprofile grouping ManagedNFProfile { Loading @@ -359,6 +415,14 @@ module _3gpp-common-yang-types { type NfType; description "Type of the Network Function" ; } 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; } leaf hostAddr { mandatory true; Loading @@ -373,6 +437,51 @@ module _3gpp-common-yang-types { allowed to consume NF Service(s) of NF Service Producer."; reference "See TS 23.501" ; } 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; } list sNPNList { key "mcc mnc nId"; description "SNPN(s) of the Network Function. This attributeIE shall be present if the NF pertains to one or more SNPNs."; reference "TS 29.510"; uses SPNInfoIdGrp; } list allowedSNPNs { description "SNPNs allowed to access the NF instance. The absence of this attribute in the NF profile indicates that no SNPN, other than the SNPN(s) registered in the snpnList attribute of the NF Profile, is allowed to access the service instance"; key "mCC mNC"; uses SNPNIdGrp; } 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 (regular expression according to the ECMA-262 dialect [75]) representing the NF domain names within the PLMN of the NRF allowed to access the NF instance If not provided, any NF domain is allowed to access the NF."; 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."; key "sst sd"; uses SNssai; } leaf location { type string ; Loading @@ -390,29 +499,107 @@ module _3gpp-common-yang-types { nfServiceList parameters, those will have precedence over this value."; reference "TS 29.510" ; } leaf nFSrvGroupId { type string ; description "This parameter defines identity of the group that is served by the NF instance. May be config false or true depending on the ManagedFunction. Config=true for Udrinfo. Config=false for UdmInfo and AusfInfo. Shall be present if ../nfType = UDM or AUSF or UDR. "; leaf-list recoveryTime { description "Timestamp when the NF was (re)started. The NRF shall notify NFs subscribed to receiving notifications of changes of the NF profile, if the NF recoveryTime is changed"; type yang:date-and-time; } leaf nfServicePersistence { description "This parameter indicates whether the different service instances of a same NF Service in the NF instance, supporting a same API version, are capable to persist their resource state in shared storage and therefore these resources are available after a new NF service instance supporting the same API version is selected by a NF Service Consumer "; reference "TS 29.510"; type boolean; } leaf-list supportedDataSetIds { type enumeration { enum SUBSCRIPTION; enum POLICY; enum EXPOSURE; enum APPLICATION; leaf-list nfSetIdList { type string ; min-elements 1; description "A NF Set Identifier is a globally unique identifier of a set of equivalent and interchangeable CP NFs from a given network that provide distribution, redundancy and scalability (see clause 5.21.3 of 3GPP TS 23.501 [2]).An NF Set Identifier shall be constructed from the MCC, MNC, NID (for SNPN), NF type and a Set ID. A NF Set Identifier shall be formatted as the following string: set<Set ID>.<nftype>set.5gc.mnc<MNC>.mcc<MCC> for a NF Set in a PLMN, or set<Set ID>.<nftype>set.5gc.nid<NID>.mnc<MNC>.mcc<MCC> for a NF Set in a SNPN.At most one NF Set ID shall be indicated per PLMN-ID or SNPN of the NF."; } leaf-list nfProfileChangesSupportInd { description "This parameter indicates if the NF Service Consumer supports or does not support receiving NF Profile Changes. It may be present in the NFRegister or NFUpdate (NF Profile Complete Replacement) request and shall be absent in the response (see Annex B 3GPP TS 29.510 [23]). "; max-elements 1; type boolean; } list defaultNotificationSubscriptions { description "Notification endpoints for different notification types. This attribute may contain multiple default subscriptions for a same notification type; in that case, those default subscriptions are used as alternative notification endpoints."; key notificationType; min-elements 1; uses types3gpp:DefaultNotificationSubscription; } description "List of supported data sets in the UDR instance. May be present if ../nfType = UDR"; reference "TS 29.510" ; leaf servingScope { description "This parameter indicates the served geographical areas of a NF instance."; type string; } leaf-list lcHSupportInd { description "This parameter indicates whether the NF supports or does not support Load Control based on LCI Header."; reference "clause 6.3 of 3gpp TS 29.500"; max-elements 1; type boolean; } leaf-list olcHSupportInd { description "This parameter indicates whether the NF supports or does not support Overload Control based on OCI Header ."; reference "clause 6.4 of 3gpp TS 29.500"; max-elements 1; type boolean; } leaf-list nfSetRecoveryTimeList { description "This parameter contains the recovery time of NF Set(s) indicated by the NfSetId, where the NF instance belongs."; type yang:date-and-time ; max-elements 1; } leaf-list serviceSetRecoveryTimeList { description "This parameter contains the recovery time of NF Service Set(s) configured in the NF instance, which are indicated by the NfServiceSetId"; type yang:date-and-time ; max-elements 1; } leaf scpDomains { description "This parameter shall carry the list of SCP domains the SCP belongs to, or the SCP domain the NF (other than SCP) or the SEPP belongs to.."; type string; } leaf vendorId { description "Vendor ID of the NF instance, according to the IANA-assigned SMI Network Management Private Enterprise Codes [77]. allowedValues: 6 decimal digits; if the SMI code has less than 6 digits, it shall be padded with leading digits 0 to complete a 6-digit string value."; type string; } leaf-list interPlmnFqdn { description "If the NF needs to be discoverable by other NFs in a different PLMN, then an FQDN that is used for inter-PLMN routing is specified."; type inet:domain-name; } leaf-list smfServingAreas { type string ; description "Defines the SMF service area(s) the UPF can serve. Loading @@ -420,15 +607,6 @@ module _3gpp-common-yang-types { reference "TS 29.510" ; } leaf priority { type uint16; description "This parameter defines 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. Shall be present if ../nfType = AMF "; reference "TS 29.510" ; } } typedef usageState { Loading