blob: 1e0f144aee566a97d6a2ed9d7240619a82ee84d4 [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 {
janani b6240d292016-05-17 18:20:33 +053017 type string;
Vidyashree Rama506cbe12016-03-28 11:59:27 +053018 }
19 leaf if-admin-status {
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053020 type P:admin-status;
Vidyashree Rama506cbe12016-03-28 11:59:27 +053021 }
22 leaf if-oper-status {
Gaurav Agrawald9d6cc82016-03-29 02:17:23 +053023 type P:oper-status;
Vidyashree Rama506cbe12016-03-28 11:59:27 +053024 }
25 }
26}