X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fvswitch.xml;h=4288ee6b37f50715b1449a4d1526165534f975cf;hb=7ee20df120d4d56df894abc00a60fe1bc43a058d;hp=328cf354c283c546f29c3943cdc806c6c5029a96;hpb=289df16d29e963aef8c9df590300add4ab722ac9;p=openvswitch
diff --git a/vswitchd/vswitch.xml b/vswitchd/vswitch.xml
index 328cf354..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.
+ can be reached directly or indirectly from the table. Records that are not reachable from
+ the table are automatically deleted
+ from the database, except for records in a few distinguished
+ ``root set'' tables noted below.
+
A port mirror within a .
A port mirror configures a bridge to send selected frames to special
@@ -1524,6 +1579,12 @@
+
+ To be selected for mirroring, a given packet must enter or leave the
+ bridge through a selected port and it must also be in one of the
+ selected VLANs.
+
+
If true, every packet arriving or departing on any port is
selected for mirroring.
@@ -1544,9 +1605,13 @@
+
+ These columns are mutually exclusive. Exactly one of them must be
+ nonempty.
+
+
- Output port for selected packets, if nonempty. Mutually exclusive
- with .
+ Output port for selected packets, if nonempty.
Specifying a port for mirror output reserves that port exclusively
for mirroring. No frames other than those selected for mirroring
will be forwarded to the port, and any frames received on the port
@@ -1555,8 +1620,7 @@
- Output VLAN for selected packets, if nonempty. Mutually exclusive
- with .
+ Output VLAN for selected packets, if nonempty.
The frames will be sent out all ports that trunk
, as well as any ports with implicit VLAN
. When a mirrored frame is sent out a
@@ -1687,23 +1751,6 @@
The specified TCP port (default: 6633) on the host at
the given ip, which must be expressed as an IP address
(not a DNS name).
- discover
-
- Enables controller discovery.
- In controller discovery mode, Open vSwitch broadcasts a DHCP
- request with vendor class identifier OpenFlow
across
- all of the bridge's network devices. It will accept any valid
- DHCP reply that has the same vendor class identifier and includes
- a vendor-specific option with code 1 whose contents are a string
- specifying the location of the controller in the same format as
- .
- The DHCP reply may also, optionally, include a vendor-specific
- option with code 2 whose contents are a string specifying the URI
- to the base of the OpenFlow PKI
- (e.g. http://192.168.0.1/openflow/pki
). This URI is
- used only for bootstrapping the OpenFlow PKI at initial switch
- setup; ovs-vswitchd
does not use it at all.
-
The following connection methods are currently supported for service
@@ -1763,10 +1810,7 @@
-
If not specified, the default is implementation-specific. If
- is discover
, the connection mode
- is always treated as in-band
regardless of the actual
- setting.
+ If not specified, the default is implementation-specific.
@@ -1783,7 +1827,8 @@
number of seconds, it will send a probe. If a response is not
received for the same additional amount of time, Open vSwitch
assumes the connection has been broken and attempts to reconnect.
- Default is implementation-specific.
+ Default is implementation-specific. A value of 0 disables
+ inactivity probes.
@@ -1816,33 +1861,9 @@
-
- These values are considered only when
- is discover
.
-
-
- A POSIX
- extended regular expression against which the discovered controller
- location is validated. The regular expression is implicitly
- anchored at the beginning of the controller location string, as
- if it begins with ^
. If not specified, the default
- is implementation-specific.
-
-
-
- Whether to update /etc/resolv.conf
when the
- controller is discovered. If not specified, the default
- is implementation-specific. Open vSwitch will only modify
- /etc/resolv.conf
if the DHCP response that it receives
- specifies one or more DNS servers.
-
-
-
These values are considered only in in-band control mode (see
- ) and only when
- is not discover
. (For controller discovery, the network
- configuration obtained via DHCP is used instead.)
+ ).
When multiple controllers are configured on a single bridge, there
should be only one set of unique values in these columns. If different
@@ -1892,15 +1913,11 @@
other
- Allows the controller access to all OpenFlow features.
-
-
master
- Equivalent to
other
, except that there may be at
most one master controller at a time. When a controller configures
itself as master
, any existing master is demoted to
the slave
role.
-
-
slave
- Allows the controller read-only access to OpenFlow features.
Attempts to modify the flow table will be rejected with an
@@ -1917,19 +1934,23 @@
- A human-readable description of the last error on the connection
to the controller; i.e.
strerror(errno)
. This key
will exist only if an error has occurred.
-
-
state
- The state of the connection to the controller. Possible values
- are:
VOID
, BACKOFF
,
- CONNECTING
, ACTIVE
, and
- IDLE
.
-
-
- time_in_state
- - Seconds since connecting to (if currently connected) or
- disconnecting from (if currently disconnected) this
- controller.
+ are: VOID
(connection is disabled),
+ BACKOFF
(attempting to reconnect at an increasing
+ period), CONNECTING
(attempting to connect),
+ ACTIVE
(connected, remote host responsive), and
+ IDLE
(remote host idle, sending keep-alive). These
+ values may change in the future. They are provided only for human
+ consumption.
+ sec_since_connect
+ - The amount of time since this controller last successfully
+ connected to the switch (in seconds). Value is empty if controller
+ has never successfully connected.
+ sec_since_disconnect
+ - The amount of time since this controller last disconnected from
+ the switch (in seconds). Value is empty if controller has never
+ disconnected.
@@ -2060,6 +2081,7 @@
will send a probe. If a response is not received for the same
additional amount of time, Open vSwitch assumes the connection has been
broken and attempts to reconnect. Default is implementation-specific.
+ A value of 0 disables inactivity probes.
@@ -2092,15 +2114,23 @@
The state of the connection to the manager. Possible values
are: VOID
(connection is disabled),
BACKOFF
(attempting to reconnect at an increasing
- period), CONNECT_IN_PROGRESS
(attempting to connect),
+ period), CONNECTING
(attempting to connect),
ACTIVE
(connected, remote host responsive), and
- IDLE
(remote host unresponsive, disconnecting). These
+ IDLE
(remote host idle, sending keep-alive). These
values may change in the future. They are provided only for human
consumption.
- time_in_state
- - Milliseconds since the
state
key changed.
+ sec_since_connect
+ - The amount of time since this manager last successfully connected
+ to the database (in seconds). Value is empty if manager has never
+ successfully connected.
+
+
+ sec_since_disconnect
+ - The amount of time since this manager last disconnected from the
+ database (in seconds). Value is empty if manager has never
+ disconnected.