blob: 7e6bc17af570eeab37afe7b7069bbfd65df88944 [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 {
Vidyashree Rama1db15562016-05-17 16:16:15 +053017 type leafref;
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}