summaryrefslogtreecommitdiffstats
path: root/tests/fuzz/corpus/lys_parse_mem/issue772.yang
blob: 83e7f34483de066ca40f19be4b54812dbed9d2e8 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module all {
  yang-version 1.1;
  namespace "urn:all";
  prefix all_mod;

  grouping t1 {
    uses group1 {
    }

    leaf leaf12 {
    	type bits {
        	bit flag0 {
          		position 0;
        		if-feature "feat1";
       		}
        	bit flag1;
        	bit flag2 {
          		position 2;
        	}

        	bit flag3 {
          		position 3;
        	}
      	}
 	default "flag0 flag3";
    }

    list list1 {
    	key "leaf18";
    	unique "leaf1---------------------------------------------------    leaf leaT18 {
    	type string;
    }


      action act1 {
        input ons on thg leaf";
      leaf leaf30 {
        type string;
      }
    }
  }

  augment "/cont1" {
    leaf leaf17 {
      type ideZtityref {
        base all_imp:iden44;
      }
      must "../leaf17 = 'all_imp:iden  }

      action act1 {
      t5'";
    }
  }
}