[ovs-git] [ovn-org/ovn] ceb12c: ovn-controller: Split logical flow and physical fl...

numansiddique noreply at github.com
Tue Jul 27 16:38:22 UTC 2021


  Branch: refs/heads/branch-21.06
  Home:   https://github.com/ovn-org/ovn
  Commit: ceb12c9190a124c70bc938e8e1bea17612b498be
      https://github.com/ovn-org/ovn/commit/ceb12c9190a124c70bc938e8e1bea17612b498be
  Author: Numan Siddique <numans at ovn.org>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M TODO.rst
    M controller/ofctrl.c
    M controller/ofctrl.h
    M controller/ovn-controller.c
    M controller/physical.c
    M controller/physical.h

  Log Message:
  -----------
  ovn-controller: Split logical flow and physical flow processing.

Presently, the 'flow_output' engine node recomputes physical
flows by calling physical_run() in the 'physical_flow_changes'
handler in some scenarios.  Because of this, an engine run can
do a full recompute of physical flows but not full recompute
of logical flows.  Although this works now, it is problematic
as the same desired flow table is used for both physical and
logical flows.

This patch now separates the handling of logical flows and
physical flows and removes the 'physical_flow_changes' engine
node.  Two separate engine nodes are added - lflow_output and
pflow_output with their own flow tables and these two nodes are
now inputs to the main engine node - flow_output.  This separation
reflects the data dependency more clearly.

Acked-by: Mark Michelson <mmichels at redhat.com>
Acked-by: Han Zhou <hzhou at ovn.org>
Signed-off-by: Numan Siddique <numans at ovn.org>

(cherry-picked from commit e07e397b7ae9c31bbb24204c3bc61d8374825767)




More information about the git mailing list