github.com/openconfig/goyang@v1.4.5/pkg/yang/testdata/deviate-notsupported.yang (about)

     1  module deviate {
     2      prefix "d";
     3      namespace "urn:d";
     4  
     5      grouping substmts {
     6          container child {
     7              leaf zzz { type string; }
     8          }
     9      }
    10  
    11      container target {
    12          uses substmts;
    13      }
    14  
    15      list target-list {
    16          key "k";
    17  
    18          leaf k { type string; }
    19          uses substmts;
    20      }
    21  
    22      leaf a-leaf { type string; }
    23      leaf a-leaflist { type string; }
    24  
    25      leaf survivor { type string; }
    26  
    27      deviation /target {
    28          deviate not-supported;
    29      }
    30  
    31      deviation /target-list {
    32          deviate not-supported;
    33      }
    34  
    35      deviation /a-leaf {
    36          deviate not-supported;
    37      }
    38  
    39      deviation /a-leaflist {
    40          deviate not-supported;
    41      }
    42  }