blob: 072df23add9be814626560492139d3d0ab91ba6c [file] [log] [blame]
Vidyashree Rama506cbe12016-03-28 11:59:27 +05301module rock {
2 namespace "http://example.net/rock";
3 prefix "rock";
4
Vinod Kumar Sd4deb062016-04-15 18:08:57 +05305 import ietf-yang-types {
6 prefix "P";
7 }
Vidyashree Rama506cbe12016-03-28 11:59:27 +05308 notification link-failure {
9 description "A link failure has been detected";
10 status deprecated;
11 reference "reference";
12 typedef my-type {
13 status deprecated;
14 type int32;
15 }
16 leaf if-name {
17 type leafref {
18 path "/interface/name";
19 }
20 }
21 leaf if-admin-status {
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053022 type P:admin-status;
Vidyashree Rama506cbe12016-03-28 11:59:27 +053023 }
24 leaf if-oper-status {
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053025 type P:oper-status;
Vidyashree Rama506cbe12016-03-28 11:59:27 +053026 }
27 }
28}