surya-huawei | 5ccbac3 | 2017-07-27 12:24:18 +0530 | [diff] [blame] | 1 | module hello { |
2 | yang-version 1; | ||||
3 | namespace "urn:params:xml:ns:yang:hello"; | ||||
4 | prefix "hello"; | ||||
5 | |||||
6 | revision "2015-01-05" { | ||||
7 | description "Initial revision of hello model"; | ||||
8 | } | ||||
9 | |||||
10 | rpc hello-world { | ||||
11 | input { | ||||
12 | leaf x { | ||||
13 | type string; | ||||
14 | } | ||||
15 | } | ||||
16 | |||||
17 | output { | ||||
18 | leaf greeting { | ||||
19 | type string; | ||||
20 | } | ||||
21 | } | ||||
22 | } | ||||
Sean Condon | e6adc30 | 2017-08-24 15:01:42 +0100 | [diff] [blame] | 23 | |
24 | rpc hello-second { | ||||
25 | input { | ||||
26 | leaf x { | ||||
27 | type string; | ||||
28 | } | ||||
29 | } | ||||
30 | |||||
31 | output { | ||||
32 | leaf greeting { | ||||
33 | type string; | ||||
34 | } | ||||
35 | } | ||||
36 | } | ||||
surya-huawei | 5ccbac3 | 2017-07-27 12:24:18 +0530 | [diff] [blame] | 37 | } |