X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=vswitchd%2Fvswitch.xml;h=4288ee6b37f50715b1449a4d1526165534f975cf;hb=5ae616d6387a4c5332b8018f204899fb6bd7c9b9;hp=6565b9582e6ab898b5b914ac9e679d6dcb599f73;hpb=bffc058934d43fb5a2c8629ee914a949ddf80c8e;p=openvswitch
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 6565b958..4288ee6b 100644
--- a/vswitchd/vswitch.xml
+++ b/vswitchd/vswitch.xml
@@ -1,15 +1,20 @@
A database with this schema holds the configuration for one Open
- vSwitch daemon. The root of the configuration for the daemon is
- the table, which must have exactly one
+
+ A database with this schema holds the configuration for one Open
+ vSwitch daemon. The top-level configuration for the daemon is the
+ table, which must have exactly one
record. Records in other tables are significant only when they
- can be reached directly or indirectly from the
- table.
A port that has more than one interface is a ``bonded port.'' Bonding - allows for load balancing and fail-over. Open vSwitch supports - ``source load balancing'' (SLB) and "active backup" bonding. SLB - bonding assigns flows to slaves based on source MAC address and output - VLAN, with periodic rebalancing as traffic patterns change. Active - backup bonding assigns all flows to one slave, failing over to a backup - slave when the active slave is disabled. Neither form of bonding - require 802.3ad or other special support from the upstream switch to - which the slave devices are connected.
+ allows for load balancing and fail-over. Some kinds of bonding will + work with any kind of upstream switch: + +balance-slb
active-backup
+ The following modes require the upstream switch to support 802.3ad with
+ successful LACP negotiation. If LACP negotiation fails then
+ balance-slb
style flow hashing is used as a fallback:
+
balance-tcp
stable
Attempts to always assign a given flow to the same slave
+ consistently. In an effort to maintain stability, no load
+ balancing is done. Uses a similar hashing strategy to
+ balance-tcp
, always taking into account L3 and L4
+ fields even if LACP negotiations are unsuccessful.
Slave selection decisions are made based on
+ bond-stable-id
if set. Otherwise, OpenFlow port
+ number is used. Decisions are consistent across all ovs-vswitchd
+ instances with equivalent bond-stable-id
s.
These columns apply only to bonded ports. Their values are otherwise ignored.
The type of bonding used for a bonded port. Currently supported
- values are balance-slb
and active-backup
.
- Defaults to SLB if unset.
The type of bonding used for a bonded port. Defaults to
+ balance-slb
if unset.
+
Configures LACP on this port. LACP allows directly connected
+ switches to negotiate which links may be bonded. LACP may be enabled
+ on non-bonded ports for the benefit of any switches they may be
+ connected to. active
ports are allowed to initiate LACP
+ negotiations. passive
ports are allowed to participate
+ in LACP negotiations initiated by a remote switch, but not allowed to
+ initiate such negotiations themselves. If unset Open vSwitch will
+ choose a reasonable default.
miimon
to detect failures. bond-hash-basis
lacp-system-id
lacp-system-priority
lacp-time
The LACP timing which should be used on this
+ . Possible values are fast
,
+ slow
and a positive number of milliseconds. By
+ default slow
is used. When configured to be
+ fast
LACP heartbeats are requested at a rate of once
+ per second causing connectivity problems to be detected more
+ quickly. In slow
mode, heartbeats are requested at
+ a rate of once every 30 seconds.
Users may manually set a heartbeat transmission rate to increase
+ the fault detection speed further. When manually set, OVS
+ expects the partner switch to be configured with the same
+ transmission rate. Manually setting lacp-time
to
+ something other than fast
or slow
is
+ not supported by the LACP specification.
lacp-heartbeat
true
to enable.
+ df_inherit
true
to enable.df_default
df_inherit
option
+ is not set, or if the encapsulated packet is not IP. Default
+ is enabled; set to false
to disable.pmtud
false
to disable.false
to disable.
header_cache
true
to enable.
df_inherit
true
to enable.df_default
df_inherit
option
+ is not set, or if the encapsulated packet is not IP. Default
+ is enabled; set to false
to disable.pmtud
false
to disable.false
to disable.
capwap
remote_ip
and
local_ip
. If two ports are defined that are the same
except one includes local_ip
and the other does not,
@@ -931,19 +1030,31 @@
(otherwise it will be the system default, typically 64).
Default is the system default TTL.
+ df_inherit
true
to enable.df_default
df_inherit
option
+ is not set, or if the encapsulated packet is not IP. Default
+ is enabled; set to false
to disable.pmtud
false
to disable.false
to disable.
header_cache
null
- The observed state of the physical network link; - i.e. whether a carrier is detected by the interface. + The observed state of the physical network link. This is ordinarily + the link's carrier status. If the interface's is + a bond configured for miimon monitoring, it is instead the network + link's miimon status.
+ This column will be empty for an interface that does not + have an MTU as, for example, some kinds of tunnels do not. +
+ 802.1ag Connectivity Fault Management (CFM) allows a group of + Maintenance Points (MPs) called a Maintenance Association (MA) to + detect connectivity problems with each other. MPs within a MA should + have complete and exclusive interconnectivity. This is verified by + occasionally broadcasting Continuity Check Messages (CCMs) at a + configurable transmission interval. +
+ +cfm_interval
bond-stable-id
stable
bond mode to
+ make slave selection decisions. Allocating
+ bond-stable-id
s consistently across interfaces
+ participating in a bond will guarantee consistent slave selection
+ decisions across ovs-vswitchd instances when using
+ stable
bonding mode.lacp-port-id
lacp-port-priority
lacp-aggregation-key
linux-htb
are:
min-rate
max-rate
linux-hfsc
are:
min-rate
max-rate