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
55 leaf is-statistics-rpc-enabled {
57 description "Expose backward compatible statistics rpcs providing
58 result in form of async notification. This is deprecated, use direct
64 leaf barrier-interval-timeout-limit {
65 description "Barrier timeout";
66 type non-zero-uint32-type;
70 leaf barrier-count-limit {
71 description "Barrier limit";
72 type non-zero-uint16-type;
76 leaf echo-reply-timeout {
77 description "How long we should wait for echo reply (value is in
79 type non-zero-uint32-type;
83 leaf thread-pool-min-threads {
84 description "Mininum (starting) number of threads in thread pool";
89 leaf thread-pool-max-threads {
90 description "Maximum number of threads in thread pool";
91 type non-zero-uint16-type;
95 leaf thread-pool-timeout {
96 description "After how much time (in seconds) of inactivity will be
97 threads in pool terminated";
102 leaf enable-flow-removed-notification {
103 description "Turning on flow removed notification";
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";
116 leaf basic-timer-delay {
117 description "Initial delay used in polling the statistics, value is
119 type non-zero-uint32-type;
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
127 type non-zero-uint32-type;
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.";