Vidyashree Rama | 620b6e9 | 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 { | ||||
19 | type admin-status; | ||||
20 | } | ||||
21 | leaf if-oper-status { | ||||
22 | type oper-status; | ||||
23 | } | ||||
24 | } | ||||
25 | } |