[ovs-git] [openvswitch/ovs] fc7fcb: ovn-controller: Add missing port group lflow refer...

Dumitru Ceara noreply at github.com
Tue Dec 3 19:06:37 UTC 2019


  Branch: refs/heads/branch-2.12
  Home:   https://github.com/openvswitch/ovs
  Commit: fc7fcb604c863b8eafaa319658e11da6d31e3fb6
      https://github.com/openvswitch/ovs/commit/fc7fcb604c863b8eafaa319658e11da6d31e3fb6
  Author: Dumitru Ceara <dceara at redhat.com>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

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

  Log Message:
  -----------
  ovn-controller: Add missing port group lflow references.

The commit that adds incremental processing for port-group changes
doesn't store logical flow references for port groups. If a port group
is updated (e.g., a port is added) no logical flow recalculation will be
performed.

To fix this, when parsing the flow expression also store the referenced
port groups and bind them to the logical flows that depend on them. If
the port group is updated then the logical flows referring them will
also be reinstalled.

(cherry picked from ovn commit bbcac48d443e98cbe47d3941f7e192c9c3443cb5)

Reported-by: Daniel Alvarez <dalvarez at redhat.com>
Reported-at: https://bugzilla.redhat.com/1778164
CC: Han Zhou <hzhou at ovn.org>
Fixes: 978f5e90af0a ("ovn-controller: Incremental processing for port-group changes.")
Tested-By: Daniel Alvarez <dalvarez at redhat.com>
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Han Zhou <hzhou at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list