summaryrefslogtreecommitdiff
path: root/rhel/openvswitch-kmod-fedora.spec.in
diff options
context:
space:
mode:
authorDumitru Ceara <dceara@redhat.com>2019-07-08 12:07:26 +0200
committerBen Pfaff <blp@ovn.org>2019-07-08 14:05:25 -0700
commitc18c020e3cf789fbf5f3fc96e02fee4fc94c789c (patch)
tree6c9afff3f71847b54069340de63d1ccce1183aec /rhel/openvswitch-kmod-fedora.spec.in
parent242f1799fc2271747f06f732158c95412ef2ca98 (diff)
downloadopenvswitch-c18c020e3cf789fbf5f3fc96e02fee4fc94c789c.tar.gz
ovn-controller: Update stale chassis entry at init
The first time ovn-controller initializes the Chassis entry (shortly after start up) we first look if there is a stale Chassis record in the OVN_Southbound DB by checking if any of the old Encap entries associated to the Chassis record match the new tunnel configuration. If found it means that ovn-controller didn't shutdown gracefully last time it was run so it didn't cleanup the Chassis table. Potentially in the meantime the OVS system-id was also changed. We then update the stale entry with the new configuration and store the last configured chassis-id in memory to avoid walking the Chassis table every time. Signed-off-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'rhel/openvswitch-kmod-fedora.spec.in')
0 files changed, 0 insertions, 0 deletions