summaryrefslogtreecommitdiffstats
path: root/tests/yanglint/modules/modmandatory.yang
blob: 4d4854024583f22b8bf36371300db811bb3cda5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module modmandatory {
  namespace "urn:yanglint:modmandatory";
  prefix mm;

  container mmc {
    leaf lft {
      type int16;
      mandatory true;
    }
    leaf lff {
      type int16;
    }
  }
}