summaryrefslogtreecommitdiffstats
path: root/tests/yanglint/modules/moddefault.yang
blob: 26570c3c3fe44e4046462582da52e93d1c53196c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module moddefault {
  namespace "urn:yanglint:moddefault";
  prefix md;

  container mdc {
    leaf lf {
      type uint16;
    }
    leaf di {
      type int16;
      default "5";
    }
    leaf ds {
      type string;
      default "str";
    }
  }

}