[ovs-git] [openvswitch/ovs] 6335d0: actions: Implement OVN "arp" action.

GitHub noreply at github.com
Sat Mar 12 22:07:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 6335d074ed721ccb714abbf73f88cf7d2fa3108d
      https://github.com/openvswitch/ovs/commit/6335d074ed721ccb714abbf73f88cf7d2fa3108d
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-03-11 (Fri, 11 Mar 2016)

  Changed paths:
    M lib/ofp-actions.h
    M lib/packets.c
    M lib/packets.h
    M ovn/controller/ovn-controller.c
    M ovn/controller/pinctrl.c
    M ovn/controller/pinctrl.h
    M ovn/lib/actions.c
    M ovn/lib/actions.h
    M ovn/ovn-sb.xml
    M tests/ovn.at

  Log Message:
  -----------
  actions: Implement OVN "arp" action.

An upcoming commit will use this as a building block in adding ARP support
to the OVN L3 logical router implementation.

Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: f1c16a8585df9f7eacb20fc8f0ab8edd26f3b9dc
      https://github.com/openvswitch/ovs/commit/f1c16a8585df9f7eacb20fc8f0ab8edd26f3b9dc
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-03-11 (Fri, 11 Mar 2016)

  Changed paths:
    M ovn/controller/lflow.c
    M ovn/lib/actions.c
    M ovn/lib/actions.h
    M ovn/lib/expr.c
    M ovn/lib/expr.h
    M tests/test-ovn.c

  Log Message:
  -----------
  ovn: Use callback function instead of simap for logical port number map.

An simap is convenient but it isn't very flexible.  If the client wants to
keep extra data with each node then it has to build a second parallel data
structure.  A callback function is kind of a pain for the clients from the
point of view of having to write it and deal with auxiliary data, etc., but
it allows the storage to be more flexible.

An upcoming commit will make further use of this capability.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>


  Commit: bce7cf454b43e8a59c2abaae21e41fd6efdd6f1a
      https://github.com/openvswitch/ovs/commit/bce7cf454b43e8a59c2abaae21e41fd6efdd6f1a
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-03-11 (Fri, 11 Mar 2016)

  Changed paths:
    M ovn/controller/automake.mk
    M ovn/controller/lflow.c
    M ovn/controller/lflow.h
    A ovn/controller/lport.c
    A ovn/controller/lport.h
    M ovn/controller/ovn-controller.c

  Log Message:
  -----------
  ovn-controller: Add data structure for indexing lports, multicast groups.

This was more or less implemented inside lflow.c until now, but some
upcoming code that shouldn't be in that file needs to use it too.

This also adds a second index on lports, so that lports can be looked up
based on the logical datapath tunnel key and the logical port tunnel key.
An upcoming commit will add a user for this new index.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>


  Commit: 0bac7164d727898492c54ab54f7e745a1d963e1e
      https://github.com/openvswitch/ovs/commit/0bac7164d727898492c54ab54f7e745a1d963e1e
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-03-12 (Sat, 12 Mar 2016)

  Changed paths:
    M ovn/TODO
    M ovn/controller/lflow.c
    M ovn/controller/lflow.h
    M ovn/controller/ovn-controller.c
    M ovn/controller/pinctrl.c
    M ovn/controller/pinctrl.h
    M ovn/lib/actions.c
    M ovn/lib/actions.h
    M ovn/lib/expr.c
    M ovn/lib/expr.h
    M ovn/northd/ovn-northd.8.xml
    M ovn/northd/ovn-northd.c
    M ovn/ovn-architecture.7.xml
    M ovn/ovn-sb.ovsschema
    M ovn/ovn-sb.xml
    M ovn/utilities/ovn-sbctl.c
    M tests/ovn.at
    M tests/test-ovn.c

  Log Message:
  -----------
  ovn: Implement basic ARP support for L3 logical routers.

This is sufficient support that an L3 logical router can now transmit
packets to VMs (and other destinations) without having to know the
IP-to-MAC binding in advance.  The details are carefully documented in all
of the appropriate places.

There are several important caveats that need to be fixed before this can
be taken seriously in production.  These are documented in ovn/TODO.  The
most important of these are renewal, expiration, and limiting the size of
the ARP table.

Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/5fec03b1178d...0bac7164d727


More information about the git mailing list