summaryrefslogtreecommitdiffstats
path: root/tests/fuzz/corpus/lys_parse_mem/issue976_b.yang
blob: ee0b6214e80551ab802ac6cbc8d144627cc931dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module issue976_b {
  yang-version 1.1;
  namespace "ns2";
  prefix acl;

  container acls {
    list acl {
      key "name";
      leaf name {
        type string;
      }
      container aces {
        list ace {
          key "name";
          leaf name {
            type string {
              length "1..64";
            }
          }
          container matches {
            leaf egress-interface {
              type if:interface-ref;
            }
            leaf ingress-interface {
              type if:interface-ref;
            }
          }
        }
      }
    }
  }
}