blob: 71ada48ffa7abad31916be75bbc6386bdc2e6df3 [file] [log] [blame]
sonu gupta1bb37b82016-11-11 16:51:18 +05301module binarytest {
2
3 yang-version 1;
4
5 namespace "ydt.binarytest";
6
7 prefix "binarytest";
8
9 organization "ON-LAB";
10
11 description "This module defines for binarytest classifier.";
12
13 revision "2016-05-24" {
14 description "Initial revision.";
15 }
16
17 list binaryList {
18 config false;
19 leaf binary {
20 type binary;
21 }
22 leaf binaryWithRange {
23 type binary {
24 length "2 .. 10";
25 }
26 }
27 leaf binaryWithMultiRange {
28 type binary {
29 length "min..10 | 20 | 30..max";
30 }
31 }
32 }
33}