Bharat saraswal | 6a5911f | 2016-08-02 18:43:16 +0530 | [diff] [blame^] | 1 | module remote { |
| 2 | yang-version "1"; |
| 3 | namespace "http://rob.sh/yang/test/typedef/remote"; |
| 4 | prefix "remote"; |
| 5 | |
| 6 | import second-remote { prefix sr; } |
| 7 | |
| 8 | organization "BugReports Inc"; |
| 9 | contact "A bug reporter"; |
| 10 | |
| 11 | description |
| 12 | "A test module"; |
| 13 | revision 2014-01-01 { |
| 14 | description "april-fools"; |
| 15 | reference "fooled-you"; |
| 16 | } |
| 17 | |
| 18 | typedef remote-definition { |
| 19 | type string; |
| 20 | } |
| 21 | |
| 22 | typedef remote-local-definition { |
| 23 | type local-definition; |
| 24 | } |
| 25 | |
| 26 | typedef local-definition { |
| 27 | type string; |
| 28 | } |
| 29 | |
| 30 | typedef hybrid-definition { |
| 31 | type sr:second-remote-definition; |
| 32 | } |
| 33 | } |