Vidyashree Rama | e2bd9ba | 2016-03-29 14:37:02 +0530 | [diff] [blame] | 1 | module 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 S | f677daf | 2016-04-15 18:08:57 +0530 | [diff] [blame] | 9 | import ietf-yang-types { |
10 | prefix "P"; | ||||
11 | } | ||||
Vidyashree Rama | e2bd9ba | 2016-03-29 14:37:02 +0530 | [diff] [blame] | 12 | augment "/if:interfaces/if:ifEntry" { |
13 | when "if:ifType='ds0'"; | ||||
14 | leaf ds0ChannelNumber { | ||||
15 | type P:ChannelNumber; | ||||
16 | } | ||||
17 | } | ||||
18 | } |