Loading yang-models/_3gpp-common-yang-types.yang +8 −18 Original line number Diff line number Diff line Loading @@ -785,24 +785,14 @@ module _3gpp-common-yang-types { + '(([^,=+<>#;\\"\r\n*]|(\\[a-fA-F0-9]{2}))*' + '([^,=+<>#;\\"\r\n* ]|(\\[a-fA-F0-9]{2})))?)*'; } description "Represents the international standard for the representation of Distinguished Name (RFC 4512). The format of the DistinguishedName REGEX is: {AttributeType = AttributeValue} AttributeType consists of alphanumeric and hyphen (OIDs not allowed). All other characters are restricted. The Attribute value cannot contain control characters or the following characters : \\ > < ; \" + , (Comma) and White space The Attribute value can contain the following characters if they are excaped : \\ > < ; \" + , (Comma) and White space The Attribute value can contain control characters if its an escaped double digit hex number. Examples could be UID=nobody@example.com,DC=example,DC=com CN=John Smith,OU=Sales,O=ACME Limited,L=Moab,ST=Utah,C=US"; reference "RFC 4512 Lightweight Directory Access Protocol (LDAP): Directory Information Models"; description "Represents the 3GPP standard for DistinguishedName. Limitations: - RDNSeparator: don't allow SpaceChar or CarriageReturnChar - NullDN: Disallow nullDN that is the same as not providing a DN - NamesOfClassAndNamingAttribute format not allowed (eg. ManagedElement.mykey=345436)"; reference "3GPP TS 32.300"; } typedef QOffsetRange { Loading Loading
yang-models/_3gpp-common-yang-types.yang +8 −18 Original line number Diff line number Diff line Loading @@ -785,24 +785,14 @@ module _3gpp-common-yang-types { + '(([^,=+<>#;\\"\r\n*]|(\\[a-fA-F0-9]{2}))*' + '([^,=+<>#;\\"\r\n* ]|(\\[a-fA-F0-9]{2})))?)*'; } description "Represents the international standard for the representation of Distinguished Name (RFC 4512). The format of the DistinguishedName REGEX is: {AttributeType = AttributeValue} AttributeType consists of alphanumeric and hyphen (OIDs not allowed). All other characters are restricted. The Attribute value cannot contain control characters or the following characters : \\ > < ; \" + , (Comma) and White space The Attribute value can contain the following characters if they are excaped : \\ > < ; \" + , (Comma) and White space The Attribute value can contain control characters if its an escaped double digit hex number. Examples could be UID=nobody@example.com,DC=example,DC=com CN=John Smith,OU=Sales,O=ACME Limited,L=Moab,ST=Utah,C=US"; reference "RFC 4512 Lightweight Directory Access Protocol (LDAP): Directory Information Models"; description "Represents the 3GPP standard for DistinguishedName. Limitations: - RDNSeparator: don't allow SpaceChar or CarriageReturnChar - NullDN: Disallow nullDN that is the same as not providing a DN - NamesOfClassAndNamingAttribute format not allowed (eg. ManagedElement.mykey=345436)"; reference "3GPP TS 32.300"; } typedef QOffsetRange { Loading