Vidyashree Rama | 506cbe1 | 2016-03-28 11:59:27 +0530 | [diff] [blame] | 1 | module rock { |
| 2 | namespace "http://example.net/rock"; |
| 3 | prefix "rock"; |
| 4 | |
| 5 | notification link-failure { |
| 6 | description "A link failure has been detected"; |
| 7 | status deprecated; |
| 8 | reference "reference"; |
| 9 | typedef my-type { |
| 10 | status deprecated; |
| 11 | type int32; |
| 12 | } |
| 13 | leaf if-name { |
| 14 | type leafref { |
| 15 | path "/interface/name"; |
| 16 | } |
| 17 | } |
| 18 | leaf if-admin-status { |
Gaurav Agrawal | d9d6cc8 | 2016-03-29 02:17:23 +0530 | [diff] [blame] | 19 | type P:admin-status; |
Vidyashree Rama | 506cbe1 | 2016-03-28 11:59:27 +0530 | [diff] [blame] | 20 | } |
| 21 | leaf if-oper-status { |
Gaurav Agrawal | d9d6cc8 | 2016-03-29 02:17:23 +0530 | [diff] [blame] | 22 | type P:oper-status; |
Vidyashree Rama | 506cbe1 | 2016-03-28 11:59:27 +0530 | [diff] [blame] | 23 | } |
| 24 | } |
| 25 | } |