X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vswitchd%2Fvswitch.xml;h=e62594097765936aac04a942e9ec1e984f8f302c;hb=cc457b0fa2e45555b354d7107cabf9c9adc89183;hp=4396779ba1eb27c8f4e99d5c3a8adc2d7c9cf603;hpb=0ad90c845b7e82090a846fbe9f927e8d1c84cfc9;p=sliver-openvswitch.git diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml index 4396779ba..e62594097 100644 --- a/vswitchd/vswitch.xml +++ b/vswitchd/vswitch.xml @@ -71,6 +71,109 @@ The Citrix XenServer universally unique identifier for the physical host as displayed by xe host-list. + + +

+ When ovs-vswitchd starts up, it has an empty flow table + and therefore it handles all arriving packets in its default fashion + according to its configuration, by dropping them or sending them to + an OpenFlow controller or switching them as a standalone switch. + This behavior is ordinarily desirable. However, if + ovs-vswitchd is restarting as part of a ``hot-upgrade,'' + then this leads to a relatively long period during which packets are + mishandled. +

+

+ This option allows for improvement. When ovs-vswitchd + starts with this value set as true, it will neither + flush or expire previously set datapath flows nor will it send and + receive any packets to or from the datapath. When this value is + later set to false, ovs-vswitchd will + start receiving packets from the datapath and re-setup the flows. +

+

+ Thus, with this option, the procedure for a hot-upgrade of + ovs-vswitchd becomes roughly the following: +

+
    +
  1. + Stop ovs-vswitchd. +
  2. +
  3. + Set + to true. +
  4. +
  5. + Start ovs-vswitchd. +
  6. +
  7. + Use ovs-ofctl (or some other program, such as an + OpenFlow controller) to restore the OpenFlow flow table + to the desired state. +
  8. +
  9. + Set + to false (or remove it entirely from the database). +
  10. +
+

+ The ovs-ctl's ``restart'' and ``force-reload-kmod'' + functions use the above config option during hot upgrades. +

+
+ + +

+ A number of flows as a nonnegative integer. This sets number of + flows at which eviction from the datapath flow table will be + triggered. If there are a large number of flows then increasing this + value to around the number of flows present can result in reduced CPU + usage and packet loss. +

+

+ The default is 2500. Values below 100 will be rounded up to 100. +

+
+ + +

+ Specifies userspace behaviour for handling flow misses. This takes + precedence over flow-eviction-threshold. +

+

+

+
auto
+
Handle automatically based on the flow-eviction-threshold and + the flow setup governer (default, recommended).
+
with-facets
+
Always create facets. Expensive kernel flow creation and + statistics tracking is always performed, even on flows with only + a small number of packets.
+
without-facets
+
Always handle without facets. Forces flow misses to be handled + in userspace. May cause an increase in CPU usage and packet loss + on high throughput.
+
+

+
+ + +

+ Specifies the number of threads for software datapaths to use for + handling new flows. The default is one less than the number of + online CPU cores (but at least 1). +

+

+ This configuration is per datapath. If you have more than one + software datapath (e.g. some system bridges and some + netdev bridges), then the total number of threads is + n-handler-threads times the number of software + datapaths. +

+
@@ -547,20 +650,6 @@ datapath ID. - -

- A number of flows as a nonnegative integer. This sets number of - flows at which eviction from the kernel flow table will be triggered. - If there are a large number of flows then increasing this value to - around the number of flows present can result in reduced CPU usage - and packet loss. -

-

- The default is 1000. Values below 100 will be rounded up to 100. -

-
- Option to allow forwarding of BPDU frames when NORMAL action is @@ -1135,6 +1224,12 @@ on a host. + + A positive interface index as defined for SNMP MIB-II in RFCs 1213 and + 2863, if the interface has one, otherwise 0. The ifindex is useful for + seamless integration with protocols such as SNMP and sFlow. + + The MAC address in use by this interface. @@ -1768,7 +1863,7 @@ times the expected reception rate, will signal a connectivity fault. In the case of a unidirectional connectivity issue, the system not receiving BFD control messages will signal the problem - to its peer in the messages is transmists. + to its peer in the messages it transmits.

@@ -1801,6 +1896,24 @@ specified. Defaults to 100. + + decay_min_rx is used to set the min_rx, + when there is no obvious incoming data traffic at the interface. + It cannot be set less than the min_rx. The decay feature + is disabled by setting the decay_min_rx to 0. And the + feature is reset everytime itself or min_rx is + reconfigured. + + + + When forwarding_if_rx is true the interface will be + considered capable of packet I/O as long as there is packet + received at interface. This is important in that when link becomes + temporarily conjested, consecutive BFD control packets can be lost. + And the forwarding_if_rx can prevent link failover by + detecting non-control packets received at interface. + + Concatenated path down may be used when the local system should not have traffic forwarded to it for some reason other than a connectivty @@ -1811,6 +1924,21 @@ false. + + When set to true, Check Tunnel Key will make BFD only accept control + messages with an in_key of zero. Defaults to + false. + + + + An Ethernet address in the form + xx:xx:xx:xx:xx:xx + to set the destination mac address of the bfd packet. If this + field is set, it is assumed that all the bfd packets destined to this + interface also has the same destination mac address. If not set, a + default value of 00:23:20:00:00:01 is used. + + @@ -2000,6 +2128,43 @@ compatibility with 802.1ag compliant implementations. Defaults to false. + + +

+ When true, and + is true, the CFM + module operates in demand mode. When in demand mode, traffic + received on the is used to indicate + liveness. CCMs are still transmitted and received, but if the + is receiving traffic, their absence does not + cause a connectivity fault. +

+ +

+ Demand mode has a couple of caveats: +

+

+ + When down, the CFM module marks all CCMs it generates as @@ -3356,6 +3521,18 @@ referenced from a . + + The maximum period in seconds for which an IPFIX flow record is + cached and aggregated before being sent. If not specified, + defaults to 0. If 0, caching is disabled. + + + + The maximum number of IPFIX flow records that can be cached at a + time. If not specified, defaults to 0. If 0, caching is + disabled. + + The overall purpose of these columns is described under Common Columns at the beginning of this document.