File: issue772.yang

package info (click to toggle)
libyang 5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 11,212 kB
  • sloc: ansic: 131,170; xml: 671; sh: 448; tcl: 325; makefile: 19
file content (54 lines) | stat: -rw-r--r-- 859 bytes parent folder | download | duplicates (7)
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'";
    }
  }
}