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 | type enumeration { | ||||
7 | enum ethernet; | ||||
8 | enum atm; | ||||
9 | } | ||||
surya-huawei | b2c64c5 | 2017-06-22 10:25:35 +0530 | [diff] [blame^] | 10 | must "ifType != ethernet" { |
Vidyashree Rama | 13b4c55 | 2016-06-20 15:12:43 +0530 | [diff] [blame] | 11 | description "ifType is not ethernet"; |
12 | } | ||||
13 | } | ||||
14 | } |