blob: 6175c354e7d59bea5e946756fed3d07a0c1853ee [file] [log] [blame]
Vidyashree Rama25bf4d02016-03-29 14:37:02 +05301module Test {
2 yang-version 1;
3 namespace http://example.com/schema/ds0;
4 prefix On;
5
6 import interface-module {
7 prefix "if";
8 }
Vinod Kumar Sd4deb062016-04-15 18:08:57 +05309 import ietf-yang-types {
10 prefix "P";
11 }
Vidyashree Rama25bf4d02016-03-29 14:37:02 +053012 augment "/if:interfaces/if:ifEntry" {
13 when "if:ifType='ds0'";
14 leaf ds0ChannelNumber {
15 type P:ChannelNumber;
16 }
17 }
18}