summaryrefslogtreecommitdiffstats
path: root/tests/yanglint/modules/modaction.yang
blob: 5a3f92fa0687d34bd2e0011410fb74512a7c169c (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
module modaction {
  yang-version 1.1;
  namespace "urn:yanglint:modaction";
  prefix ma;

  container con {
    list ls {
      key "lfkey";
      leaf lfkey {
        type string;
      }
      action act {
        input {
          leaf lfi {
            type string;
          }
        }
        output {
          leaf lfo {
            type int16;
          }
        }
      }
    }
  }
}