[ovs-git] [openvswitch/ovs] 204180: ovn: specify addresses of type "router" lsps as "r...

GitHub noreply at github.com
Sat Jan 14 00:12:33 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2041809932c65f71acb55ae493e33f5372f3c93d
      https://github.com/openvswitch/ovs/commit/2041809932c65f71acb55ae493e33f5372f3c93d
  Author: Mickey Spiegel <mickeys.dev at gmail.com>
  Date:   2017-01-13 (Fri, 13 Jan 2017)

  Changed paths:
    M ovn/northd/ovn-northd.c
    M ovn/ovn-nb.xml
    M ovn/utilities/ovn-nbctl.8.xml
    M ovn/utilities/ovn-nbctl.c
    M tests/ovn.at

  Log Message:
  -----------
  ovn: specify addresses of type "router" lsps as "router"

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>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list