blob: 6d97cccb67716b2785f541882000ad3bb17cfd04 [file] [log] [blame]
sonu gupta1bb37b82016-11-11 16:51:18 +05301module bit {
2
3 yang-version 1;
4
5 namespace "ydt.bit";
6
7 prefix "bit";
8
9 organization "ON-LAB";
10
11 description "This module defines for bit classifier.";
12
13 revision "2016-05-24" {
14 description "Initial revision.";
15 }
16/*
17 leaf mybits {
18 type bits {
19 bit disable-nagle {
20 position 0;
21 }
22 bit auto-sense-speed {
23 position 1;
24 }
25 bit 10-Mb-only {
26 position 2;
27 }
28 }
29 default "auto-sense-speed";
30 }
31 */
32
33 list bitList {
34 config false;
35 leaf bit {
36 type bits {
37 bit disable-nagle {
38 position 0;
39 }
40 bit auto-sense-speed {
41 position 1;
42 }
43 bit ten-Mb-only {
44 position 2;
45 }
46 }
47 default "auto-sense-speed";
48
49 }
50 }
51}