Remove config knob for reconciliation framework
[openflowplugin.git] / openflowplugin-api / src / main / yang / openflow-provider-config.yang
1 module openflow-provider-config {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:openflow:provider:config";
4     prefix "openflow-provider-config";
5
6     description
7         "Configuration for an Openflow provider.";
8
9     revision "2016-05-10" {
10         description
11             "Initial revision";
12     }
13
14     typedef non-zero-uint32-type {
15         type uint32 {
16             range "1..max";
17         }
18     }
19
20     typedef non-zero-uint16-type {
21         type uint16 {
22             range "1..max";
23         }
24     }
25
26     container openflow-provider-config {
27         leaf rpc-requests-quota {
28             description "Quota for maximum number of RPC requests";
29             type non-zero-uint16-type;
30             default 20000;
31         }
32
33         leaf switch-features-mandatory {
34             description "This parameter indicates whether it is mandatory for
35                 switch to support OF1.3 features : table, flow, meter,group. If this
36                 is set to true and switch doesn't support these features its
37                 connection will be denied.";
38             type boolean;
39             default false;
40         }
41
42         leaf global-notification-quota {
43             description "Global notification quota";
44             type uint32;
45             default 64000;
46         }
47
48         leaf is-statistics-polling-on {
49             description "If enabled, periodic statistics gathering will be
50                 turned on";
51             type boolean;
52             default "true";
53         }
54
55         leaf is-statistics-rpc-enabled {
56             status deprecated;
57             description "Expose backward compatible statistics rpcs providing
58                 result in form of async notification. This is deprecated, use direct
59                 statistics instead.";
60             type boolean;
61             default "false";
62         }
63
64         leaf barrier-interval-timeout-limit {
65             description "Barrier timeout";
66             type non-zero-uint32-type;
67             default 500;
68         }
69
70         leaf barrier-count-limit {
71             description "Barrier limit";
72             type non-zero-uint16-type;
73             default 25600;
74         }
75
76         leaf echo-reply-timeout {
77             description "How long we should wait for echo reply (value is in
78                 milliseconds";
79             type non-zero-uint32-type;
80             default 2000;
81         }
82
83         leaf thread-pool-min-threads {
84             description "Mininum (starting) number of threads in thread pool";
85             type uint16;
86             default 1;
87         }
88
89         leaf thread-pool-max-threads {
90             description "Maximum number of threads in thread pool";
91             type non-zero-uint16-type;
92             default 32000;
93         }
94
95         leaf thread-pool-timeout {
96             description "After how much time (in seconds) of inactivity will be
97                 threads in pool terminated";
98             type uint32;
99             default 60;
100         }
101
102         leaf enable-flow-removed-notification {
103             description "Turning on flow removed notification";
104             type boolean;
105             default "true";
106         }
107
108         leaf skip-table-features {
109             description "Ability to skip pulling and storing of large table
110                 features. These features are still available via rpc but if set to
111                 true then maintenance in DS will be omitted";
112             type boolean;
113             default "true";
114         }
115
116         leaf basic-timer-delay {
117             description "Initial delay used in polling the statistics, value is
118                 in milliseconds";
119             type non-zero-uint32-type;
120             default 3000;
121         }
122
123         leaf maximum-timer-delay {
124             description "Maximum timer delay is the wait time to collect next
125                 statistics used in polling the statistics, value is in
126                 milliseconds";
127             type non-zero-uint32-type;
128             default 900000;
129         }
130
131         leaf use-single-layer-serialization {
132             description "When true, Yang models are serialized and deserialized
133                 directly to and from format supported by device, so serialization
134                 and deserialization is faster. Otherwise, models are first
135                 serialized to Openflow specification models and then to format
136                 supported by device, and reversed when deserializing.";
137             type boolean;
138             default "true";
139         }
140     }
141 }