Commit 17b30d99 authored by lengyelb's avatar lengyelb
Browse files

corrected inVariant and a 5g datatype

parent 13b2cca1
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -27,9 +27,9 @@ module _3gpp-5g-common-yang-types {
  
    leaf sd {
      description "Slice Differentiator
        If not needed, the value can be set to FFFFFF.";
        If not needed, the value can be set to ff:ff:ff.";
      type yang:hex-string {
        length 6;
        length 8;
      }
      reference "3GPP TS 23.003";
    }
+11 −4
Original line number Diff line number Diff line
@@ -66,15 +66,22 @@ module _3gpp-common-yang-extensions {

  extension inVariant {
    description
      "Indicates that the value for the data node can only be set when its
      parent data node is being created. To change the value after that, the
      parent data node must be deleted and recreated with the data node
      "Indicates that the value for the data node can only be set when the list 
      data node representing the containing object(MOI) is created.
      The above statement in YANG terms means, that the value for the data 
      node can only be set when the list entry that is the parent of the 
      restricted node's ancestor container named 'attributes' is being created. 
      To change the value after that, the mentioned 
      list data node must be deleted and recreated with the restricted data node
      having the new value.

      If a list or container already has the inVariant 
      extension, that is also valid for all contained data nodes.

      It is unnecessary to use and MUST NOT be used for key leafs.

      The statement MUST only be a substatement of a leaf, leaf-list, list 
      statements that is config=true.
      statement that is config=true.
      Zero or one inVariant statement is allowed per parent statement.
      NO substatements are allowed.