[ovs-dev] [PATCH v7 1/7] ovn: specify addresses of type "router" lsps as "router"

Ben Pfaff blp at ovn.org
Sat Jan 14 00:12:48 UTC 2017


On Fri, Jan 06, 2017 at 12:00:28PM -0800, Mickey Spiegel wrote:
> Currently in OVN, when a logical switch port of type "router" is
> created, the MAC and optionally IP addresses of the peer logical
> router port must be specified again as the addresses of the logical
> switch port.
> 
> This patch allows the logical switch port's addresses to be
> specified as the string "router", rather than explicitly copying the
> logical router port's MAC and optionally IP addresses.  The router
> addresses are used to populate the logical switch's destination
> lookup, and to populate op->lsp_addrs in ovn-northd.c, which in turn
> is used to generate logical switch ARP and ND replies.  Since ipam
> already looks at logical router ports, the only ipam modification
> necessary is to skip logical switch ports with addresses "router".
> 
> Signed-off-by: Mickey Spiegel <mickeys.dev at gmail.com>
> Acked-by: Ben Pfaff <blp at ovn.org>

I applied this to master.


More information about the dev mailing list