File: features.yang

package info (click to toggle)
sysrepo 3.7.11-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 6,720 kB
  • sloc: ansic: 85,593; sh: 145; makefile: 29
file content (31 lines) | stat: -rw-r--r-- 407 bytes parent folder | download | duplicates (5)
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
module features {
    namespace "urn:features";
    prefix feat;

    include features-sub;

    import test {
        prefix t;
    }

    feature feat1;

    feature feat3 {
        if-feature feat2;
    }

    leaf l1 {
        type string;
    }

    leaf l2 {
        if-feature feat1;
        type leafref {
            path "/t:test-leaf";
        }
    }

    leaf l3 {
        type string;
    }
}