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

  rpc rpc {
    input {
      leaf lfi {
        type string;
      }
    }
    output {
      container con {
        leaf lfo {
          type int16;
        }
      }
    }
  }
}