Configuration for a particular OpenFlow table.
+
+
- 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.
+ When is evict
, this
+ controls how flows are chosen for eviction when the flow table would
+ otherwise exceed flows. Its value is a set
+ of NXM fields or sub-fields, each of which takes one of the forms
+ field[]
or
+ field[start..end]
,
+ e.g. NXM_OF_IN_PORT[]
. Please see
+ nicira-ext.h
for a complete list of NXM field names.
-
- A Maintenance Point ID (MPID) uniquely identifies each endpoint within
- a Maintenance Association. The MPID is used to identify this endpoint
- to other Maintenance Points in the MA. Each end of a link being
- monitored should have a different MPID. Must be configured to enable
- CFM on this .
-
-
-
- The MPID of the remote endpoint being monitored. If this
- does not have connectivity to an endpoint
- advertising the configured MPID, a fault is signalled. Must be
- configured to enable CFM on this
-
+
+ When a flow must be evicted due to overflow, the flow to evict is
+ chosen through an approximation of the following algorithm:
+
-
- Indicates a connectivity fault triggered by an inability to receive
- heartbeats from the remote endpoint. When a fault is triggered on
- s participating in bonds, they will be
- disabled.
-
-
+
+ -
+ Divide the flows in the table into groups based on the values of the
+ specified fields or subfields, so that all of the flows in a given
+ group have the same values for those fields. If a flow does not
+ specify a given field, that field's value is treated as 0.
+
-
+ -
+ Consider the flows in the largest group, that is, the group that
+ contains the greatest number of flows. If two or more groups all
+ have the same largest number of flows, consider the flows in all of
+ those groups.
+
-
- Boolean value indicating LACP status for this interface. If true, this
- interface has current LACP information about its LACP partner. This
- information may be used to monitor the health of interfaces in a LACP
- enabled port. This column will be empty if LACP is not enabled.
-
+ -
+ Among the flows under consideration, choose the flow that expires
+ soonest for eviction.
+
+
-
- Key-value pairs for use by external frameworks that integrate
- with Open vSwitch, rather than by Open vSwitch itself. System
- integrators should either use the Open vSwitch development
- mailing list to coordinate on common key-value definitions, or
- choose key names that are likely to be unique. The currently
- defined common key-value pairs are:
-
- attached-mac
- -
- The MAC address programmed into the ``virtual hardware'' for this
- interface, in the form
- xx:xx:xx:xx:xx:xx.
- For Citrix XenServer, this is the value of the
MAC
- field in the VIF record for this interface.
- iface-id
- - A system-unique identifier for the interface. On XenServer,
- this will commonly be the same as
-
.
-
-
- Additionally the following key-value pairs specifically
- apply to an interface that represents a virtual Ethernet interface
- connected to a virtual machine. These key-value pairs should not be
- present for other types of interfaces. Keys whose names end
- in -uuid
have values that uniquely identify the entity
- in question. For a Citrix XenServer hypervisor, these values are
- UUIDs in RFC 4122 format. Other hypervisors may use other
- formats.
-
- The currently defined key-value pairs for XenServer are:
-
- xs-vif-uuid
- - The virtual interface associated with this interface.
- xs-network-uuid
- - The virtual network to which this interface is attached.
- xs-vm-uuid
- - The VM to which this interface belongs.
-
-
+
+ The eviction process only considers flows that have an idle timeout or
+ a hard timeout. That is, eviction never deletes permanent flows.
+ (Permanent flows do count against .
+
-
- Key-value pairs for rarely used interface features.
-
- cfm_interval
- - The transmission interval of CFM heartbeats in milliseconds.
- Three missed heartbeat receptions indicate a connectivity fault.
- Defaults to 1000ms.
- bond-stable-id
- - A positive integer using in
stable
bond mode to
- make slave selection decisions. Allocating
- values
- 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
- - The LACP port ID of this
. Port IDs are
- used in LACP negotiations to identify individual ports
- participating in a bond. Must be a number between 1 and
- 65535.
- lacp-port-priority
- - The LACP port priority of this
. In
- LACP negotiations s with numerically lower
- priorities are preferred for aggregation. Must be a number between
- 1 and 65535.
- lacp-aggregation-key
- - The LACP aggregation key of this
.
- s with different aggregation keys may not
- be active within a given at the same time. Must
- be a number between 1 and 65535.
-
-
+
+ Open vSwitch ignores any invalid or unknown field specifications.
+
-
-
- Key-value pairs that report interface statistics. The current
- implementation updates these counters periodically. In the future,
- we plan to, instead, update them when an interface is created, when
- they are queried (e.g. using an OVSDB select
operation),
- and just before an interface is deleted due to virtual interface
- hot-unplug or VM shutdown, and perhaps at other times, but not on any
- regular periodic basis.
-
- The currently defined key-value pairs are listed below. These are
- the same statistics reported by OpenFlow in its struct
- ofp_port_stats
structure. If an interface does not support a
- given statistic, then that pair is omitted.
-
- -
- Successful transmit and receive counters:
-
- rx_packets
- - Number of received packets.
- rx_bytes
- - Number of received bytes.
- tx_packets
- - Number of transmitted packets.
- tx_bytes
- - Number of transmitted bytes.
-
-
- -
- Receive errors:
-
- rx_dropped
- - Number of packets dropped by RX.
- rx_frame_err
- - Number of frame alignment errors.
- rx_over_err
- - Number of packets with RX overrun.
- rx_crc_err
- - Number of CRC errors.
- rx_errors
- -
- Total number of receive errors, greater than or equal
- to the sum of the above.
-
-
-
- -
- Transmit errors:
-
- tx_dropped
- - Number of packets dropped by TX.
- collisions
- - Number of collisions.
- tx_errors
- -
- Total number of transmit errors, greater
- than or equal to the sum of the above.
-
-
-
-
-
-
+
+ When is not evict
, this
+ column has no effect.
+
+