ovn-northd.8: Correct description of sending out inport.
[cascardo/ovs.git] / ovn / TODO
index 1a178c2..1f2a73f 100644 (file)
--- a/ovn/TODO
+++ b/ovn/TODO
@@ -2,77 +2,6 @@
 
 * L3 support
 
-** OVN_Northbound schema
-
-*** Needs to support interconnected routers
-
-It should be possible to connect one router to another, e.g. to
-represent a provider/tenant router relationship.  This requires
-an OVN_Northbound schema change.
-
-*** Needs to support extra routes
-
-Currently a router port has a single route associated with it, but
-presumably we should support multiple routes.  For connections from
-one router to another, this doesn't seem to matter (just put more than
-one connection between them), but for connections between a router and
-a switch it might matter because a switch has only one router port.
-
-*** Logical router port names in ACLs
-
-Currently the ACL table documents that the logical router port is
-always named "ROUTER".  This can't work directly using logical patch
-ports to connect a logical switch to its logical router, because every
-row in the Logical_Port table must have a unique name.  This probably
-means that we should change the convention for the ACL table so that
-the logical router port name is unique; for example, we could change
-the Logical_Router_Port table to require the 'name' column to be
-unique, and then use that name in the ACL table.
-
-Another alternative would be to add a way to have aliases for logical
-ports, but I'm not sure that's a rathole we really want to go down.
-
-** OVN_SB schema
-
-*** Allow output to ingress port
-
-Sometimes when a packet ingresses into a router, it has to egress the
-same port.  One example is a "one-armed" router that has multiple
-routes on a single port (or in which a host is (mis)configured to send
-every IP packet to the router, e.g. due to a bad netmask).  Another is
-when a router needs to send an ICMP reply to an ingressing packet.
-
-To some degree this problem is layered, because there are two
-different notions of "ingress port".  The first is the OpenFlow
-ingress port, essentially a physical port identifier.  This is
-implemented as part of ovs-vswitchd's OpenFlow implementation.  It
-prevents a reply from being sent across the tunnel on which it
-arrived.  It is questionable whether this OpenFlow feature is useful
-to OVN.  (OVN already has to override it to allow a packet from one
-nested container to be forwarded to a different nested container.)
-OVS make it possible to disable this feature of OpenFlow by setting
-the OpenFlow input port field to 0.  (If one does this too early, of
-course, it means that there's no way to actually match on the input
-port in the OpenFlow flow tables, but one can work around that by
-instead setting the input port just before the output action, possibly
-wrapping these actions in push/pop pairs to preserve the input port
-for later.)
-
-The second is the OVN logical ingress port, which is implemented in
-ovn-controller as part of the logical abstraction, using an OVS
-register.  Dropping packets directed to the logical ingress port is
-implemented through an OpenFlow table not directly visible to the
-logical flow table.  Currently this behavior can't be disabled, but
-various ways to ensure it could be implemented, e.g. the same as for
-OpenFlow by allowing the logical inport to be zeroed, or by
-introducing a new action that ignores the inport.
-
-** ovn-northd
-
-*** What flows should it generate?
-
-See description in ovn-northd(8).
-
 ** New OVN logical actions
 
 *** arp
@@ -186,22 +115,7 @@ userspace-only and no one has complained yet.)
 
 *** ICMPv6
 
-** IP to MAC binding
-
-Somehow it has to be possible for an L3 logical router to map from an
-IP address to an Ethernet address.  This can happen statically or
-dynamically.  Probably both cases need to be supported eventually.
-
-*** Static IP to MAC binding
-
-Commonly, for a VM, the binding of an IP address to a MAC is known
-statically.  The Logical_Port table in the OVN_Northbound schema can
-be revised to make these bindings known.  Then ovn-northd can
-integrate the bindings into the logical router flow table.
-(ovn-northd can also integrate them into the logical switch flow table
-to terminate ARP requests from VIFs.)
-
-*** Dynamic IP to MAC bindings
+** Dynamic IP to MAC bindings
 
 Some bindings from IP address to MAC will undoubtedly need to be
 discovered dynamically through ARP requests.  It's straightforward
@@ -222,32 +136,32 @@ place for this in the OVN_Southbound database.
 
 Details need to be worked out, including:
 
-**** OVN_Southbound schema changes.
+*** OVN_Southbound schema changes.
 
 Possibly bindings could be added to the Port_Binding table by adding
 or modifying columns.  Another possibility is that another table
 should be added.
 
-**** Logical_Flow representation
+*** Logical_Flow representation
 
 It would be really nice to maintain the general-purpose nature of
 logical flows, but these bindings might have to include some
 hard-coded special cases, especially when it comes to the relationship
 with populating the bindings into the OVN_Southbound table.
 
-**** Tracking queries
+*** Tracking queries
 
 It's probably best to only record in the database responses to queries
 actually issued by an L3 logical router, so somehow they have to be
 tracked, probably by putting a tentative binding without a MAC address
 into the database.
 
-**** Renewal and expiration.
+*** Renewal and expiration.
 
 Something needs to make sure that bindings remain valid and expire
 those that become stale.
 
-*** MTU handling (fragmentation on output)
+** MTU handling (fragmentation on output)
 
 ** Ratelimiting.