Vidyashree Rama | 13b4c55 | 2016-06-20 15:12:43 +0530 | [diff] [blame] | 1 | module Test { |
2 | yang-version 1; | ||||
3 | namespace http://huawei.com; | ||||
4 | prefix Ant; | ||||
5 | leaf ifType { | ||||
6 | when "ifType != 'ethernet'" { | ||||
7 | description "ifType is not ethernet"; | ||||
8 | } | ||||
9 | type enumeration { | ||||
10 | enum ethernet; | ||||
11 | enum atm; | ||||
12 | } | ||||
13 | } | ||||
14 | } |