1 module openflow-provider-config {
3 namespace "urn:opendaylight:params:xml:ns:yang:openflow:provider:config";
4 prefix "openflow-provider-config";
7 "Configuration for an Openflow provider.";
9 revision "2016-05-10" {
14 typedef non-zero-uint32-type {
20 typedef non-zero-uint16-type {
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;
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.";
42 leaf global-notification-quota {
43 description "Global notification quota";
48 leaf is-statistics-polling-on {
49 description "If enabled, periodic statistics gathering will be
50 turned on. If false takes precedence over the per-capability configuration.";
55 leaf is-table-statistics-polling-on {
56 description "If enabled, periodic table statistics gathering will be
62 leaf is-flow-statistics-polling-on {
63 description "If enabled, periodic flow statistics gathering will be
69 leaf is-group-statistics-polling-on {
70 description "If enabled, periodic group statistics gathering will be
76 leaf is-meter-statistics-polling-on {
77 description "If enabled, periodic meter statistics gathering will be
83 leaf is-port-statistics-polling-on {
84 description "If enabled, periodic port statistics gathering will be
90 leaf is-queue-statistics-polling-on {
91 description "If enabled, periodic queue statistics gathering will be
97 leaf is-statistics-rpc-enabled {
99 description "Expose backward compatible statistics rpcs providing
100 result in form of async notification. This is deprecated, use direct
101 statistics instead.";
106 leaf barrier-interval-timeout-limit {
107 description "Barrier timeout";
108 type non-zero-uint32-type;
112 leaf barrier-count-limit {
113 description "Barrier limit";
114 type non-zero-uint16-type;
118 leaf echo-reply-timeout {
119 description "How long we should wait for echo reply (value is in
121 type non-zero-uint32-type;
125 leaf thread-pool-min-threads {
126 description "Mininum (starting) number of threads in thread pool";
131 leaf thread-pool-max-threads {
132 description "Maximum number of threads in thread pool";
133 type non-zero-uint16-type;
137 leaf thread-pool-timeout {
138 description "After how much time (in seconds) of inactivity will be
139 threads in pool terminated";
144 leaf enable-flow-removed-notification {
145 description "Turning on flow removed notification";
150 leaf skip-table-features {
151 description "Ability to skip pulling and storing of large table
152 features. These features are still available via rpc but if set to
153 true then maintenance in DS will be omitted";
158 leaf basic-timer-delay {
159 description "Initial delay used in polling the statistics, value is
161 type non-zero-uint32-type;
165 leaf maximum-timer-delay {
166 description "Maximum timer delay is the wait time to collect next
167 statistics used in polling the statistics, value is in
169 type non-zero-uint32-type;
173 leaf use-single-layer-serialization {
174 description "When true, Yang models are serialized and deserialized
175 directly to and from format supported by device, so serialization
176 and deserialization is faster. Otherwise, models are first
177 serialized to Openflow specification models and then to format
178 supported by device, and reversed when deserializing.";
183 leaf enable-equal-role {
184 description "When true, openflowplugin won't send any specific role
185 request down to the switch after plugin internally decides the
186 ownership of the device using Entity Ownership Service. In this
187 scenario, controller connection for the device will be in equal
188 role. The behavior will be same for single node setup and clustered
189 setup. In clustered scenario, all the controller will be in equal
190 role for the device. In this case device will send all asynchronous
191 event messages (e.g packet_in) to all the controllers, but openflowplugin
192 will drop these events for the controller instances that is internally
193 not owning the device.";
198 leaf device-connection-rate-limit-per-min {
199 description "To limit the number of datapath nodes connecting to odl controller
200 instance per minute. Default value 0 indicates that the device connection rate
201 limiter will be disabled.";
206 leaf device-connection-hold-time-in-seconds {
207 description "device connection hold time is the least time delay in seconds a
208 device has to maintain between its consecutive connection attempts. If time delay
209 between the previous connection and the current connection is within device
210 connection hold time, the device will not be allowed to connect to the controller.
211 Default value of the device connection hold time is 0 second.";
216 leaf device-datastore-removal-delay {
217 description "Delay (in milliseconds) before device is removed from
218 the operational data store in the event of device disconnection
219 from the controller.";
221 type non-zero-uint32-type;