Bharat saraswal | d14cbe8 | 2016-07-14 13:26:18 +0530 | [diff] [blame] | 1 | module test1 { |
| 2 | namespace "test1:test1"; |
| 3 | prefix test1 ; |
| 4 | |
| 5 | organization ""; |
| 6 | contact ""; |
| 7 | |
| 8 | description |
| 9 | "Defines basic service types for L3VPN service."; |
| 10 | |
| 11 | revision "2015-12-16" { |
| 12 | reference ""; |
| 13 | } |
| 14 | |
| 15 | container cont1 { |
| 16 | container cont2 { |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | augment /cont1/cont2 { |
| 21 | leaf leaf4 { |
| 22 | type int32; |
| 23 | } |
| 24 | container cont1s { |
| 25 | container cont1s { |
| 26 | } |
| 27 | } |
| 28 | } |
Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame] | 29 | |
Vidyashree Rama | 120446e | 2017-04-25 16:55:25 +0530 | [diff] [blame] | 30 | rpc rpc-input { |
Bharat saraswal | 9fab16b | 2016-09-23 23:27:24 +0530 | [diff] [blame] | 31 | input { |
| 32 | leaf leaf1 { |
| 33 | type int32; |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | rpc rpc-output { |
| 39 | output { |
| 40 | leaf leaf1 { |
| 41 | type int32; |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | rpc rpc-input-output { |
| 47 | input { |
| 48 | leaf leaf1 { |
| 49 | type int32; |
| 50 | } |
| 51 | } |
| 52 | output { |
| 53 | leaf leaf1 { |
| 54 | type int32; |
| 55 | } |
| 56 | } |
Vidyashree Rama | 120446e | 2017-04-25 16:55:25 +0530 | [diff] [blame] | 57 | } |
Bharat saraswal | d14cbe8 | 2016-07-14 13:26:18 +0530 | [diff] [blame] | 58 | } |