Convert binding_run to incremental processing.
authorRYAN D. MOATS <rmoats@us.ibm.com>
Tue, 7 Jun 2016 18:52:51 +0000 (13:52 -0500)
committerBen Pfaff <blp@ovn.org>
Thu, 23 Jun 2016 20:27:37 +0000 (13:27 -0700)
commit263064aeaa31e758538773fac571dff0cb246cde
tree73d419d732788ebe681620026a336b9a2115b5ce
parent1d45d5a9666da515c6affec375ca0d0fbc4bcfb9
Convert binding_run to incremental processing.

Ensure that the entire port binding table is processed
when chassis are added/removed or when get_local_iface_ids
finds new ports on the local vswitch.

Side effects:
  - Persist local_datapaths and patch_datapaths across runs so
    that changes to either can be used as a trigger to reset
    incremental flow processing.
  - Persist all_lports structure
  - Revert commit 9baaabfff3c7df014e9acbd4c68189b568552ca9
    (ovn: Fix localnet ports deletion and recreation sometimes
    after restart.) as these changes are not desirable once
    local_datatpath is persisted.

Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovn/controller/binding.c
ovn/controller/binding.h
ovn/controller/encaps.c
ovn/controller/ovn-controller.c
ovn/controller/ovn-controller.h
ovn/controller/patch.c