From: ankita.singhal Date: Fri, 22 Aug 2025 11:50:43 +0000 (+0200) Subject: [SDC]: Update datatypes for sd and maxNumberofUEs as per 3gpp X-Git-Tag: 1.14.4~4 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F141892%2F2;p=sdc.git [SDC]: Update datatypes for sd and maxNumberofUEs as per 3gpp Issue-ID: SDC-4765 Change-Id: I3097ba3ff7c4ca0c6b4e3f531292fdbd6f5c6a5c Signed-off-by: ankita.singhal --- diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml index 222f89547e..6aea7d1d28 100644 --- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml +++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml @@ -3545,8 +3545,10 @@ tosca.datatypes.3gpp.Snssai: description: > This attribute specifies the Slice/Service type (SST) of the network slice. sd: - type: integer + type: string required: false + constraints: + - pattern: '^[A-Fa-f0-9]{6}$' description: > This attribute specifies the Slice Differentiator (SD), which is optional information that complements the slice/service type(s) to differentiate amongst multiple Network Slices. Pattern: '^[A-Fa-f0-9]{6}$' @@ -3737,3 +3739,21 @@ tosca.datatypes.3gpp.XlThpt: description: > This attribute describes the maximum data rate. +tosca.datatypes.3gpp.MaxNumberOfUEs: + derived_from: tosca.datatypes.Root + description: | + Represents the maximum number of User Equipments (UEs) that may simultaneously access + the network slice or network slice subnet instance, either via 3GPP or non-3GPP access. + Only one of the two properties should typically be used depending on the access type. + properties: + 3GPPNoOfUEs: + type: integer + required: false + description: > + Specifies the maximum number of UEs may simultaneously access the network slice or network slice subnet instance on 3GPP access. + + non3GPPNoOfUEs: + type: integer + required: false + description: > + Specifies the maximum number of UEs may simultaneously access the network slice or network slice subnet instance on non-3GPP access.