Commit f6594e4c authored by Jose Antonio Ordoñez Lucena's avatar Jose Antonio Ordoñez Lucena
Browse files

Edit _3gpp-common-yang-types.yang

parent 47cb85aa
Loading
Loading
Loading
Loading
Loading
+22 −2
Original line number Diff line number Diff line
@@ -319,7 +319,7 @@ module _3gpp-common-yang-types {
   
    choice npnidChoice {
      leaf-list cAGIdList {
        type string;
        type CagId;
        max-elements 256;
        description "It identifies a CAG list containing up to 12 
          CAG-identifiers per Ue or up to 12 CAG-identifiers per cell, 
@@ -329,7 +329,7 @@ module _3gpp-common-yang-types {
      }
     
      leaf-list nIDList {
        type string;
        type Nid;
        max-elements 16;
        description "It identifies a list of NIDs containing up to 16 NIDs, see
        TS 38.331. NID is used to combine with PLMN ID to identify an SNPN.
@@ -991,6 +991,26 @@ module _3gpp-common-yang-types {
    }  
  }

  typedef Nid {
    description "This represents the Network Identifier, which
      together with a PLMN ID is used to identify a SNPN.";
    type string {
      pattern '^[A-Fa-f0-9]{11}$';
    }
    reference "3GPP TS 23.003 and 3GPP TS 23.501 clause 5.3.2.1.";
  }

  typedef CagId {
    description "This represents the identifier of a Closed Access
      Group (CAG), which together with a PLMN ID is used to 
      identify a PNI-NPN.";
    type string {
      pattern '^[A-Fa-f0-9]{8}$';
    }
    reference "3GPP TS 23.003 and 3GPP TS 23.501.";
  }


  /* DistinguishedName pattern is built up based on the 
    EBNF in 32.300 clause 7.3  EBNF of DN String Representation