[ovs-git] [openvswitch/ovs] 2c5cbb: ovn: Add address set support.

GitHub noreply at github.com
Sun Jul 3 03:30:25 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2c5cbb15ff5231858df2608e8cd7ac46ff6bd78c
      https://github.com/openvswitch/ovs/commit/2c5cbb15ff5231858df2608e8cd7ac46ff6bd78c
  Author: Russell Bryant <russell at ovn.org>
  Date:   2016-07-02 (Sat, 02 Jul 2016)

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

  Log Message:
  -----------
  ovn: Add address set support.

Update the OVN expression parser to support address sets.  Previously,
you could have a set of IP or MAC addresses in this form:

    {addr1, addr2, ..., addrN}

This patch adds support for a bit of indirection where we can define a
set of addresses and refer to them by name.

    $name

This '$name' can be used in the expresssions like

    {addr1, addr2, $name, ... }
    {$name}
    $name

A future patch will expose the ability to define address sets for use.

Signed-off-by: Russell Bryant <russell at ovn.org>
Co-authored-by: Babu Shanmugam <bschanmu at redhat.com>
Signed-off-by: Babu Shanmugam <bschanmu at redhat.com>
[blp at ovn.org made numerous small changes]
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list