blob: 239e0b6ff6320a16a781ccc8759e833e57094480 [file] [log] [blame]
Vidyashree Rama13b4c552016-06-20 15:12:43 +05301module 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}