ovs-monitor-ipsec: Detect correctly IPSEC configuration changes
authorAnsis Atteka <aatteka@nicira.com>
Fri, 9 Mar 2012 02:58:09 +0000 (18:58 -0800)
committerAnsis Atteka <aatteka@nicira.com>
Fri, 9 Mar 2012 06:42:10 +0000 (22:42 -0800)
commitacb5ad03a1731cab79dad12e8daa29980df23b2c
tree3168a67707e7f70b0eb6e8b255305e3bd65fe88d
parentcaa9d7fcdc5ebd31aa330e954a1bdaa464139bde
ovs-monitor-ipsec: Detect correctly IPSEC configuration changes

If Open vSwitch has IPSEC tunnel (with certificates) and Interface
table was updated, then ovs-monitor-ipsec daemon would incorrectly
remove and readd all existing IPSEC tunnels.

The root cause for this issue was that "peer_cert_file" key was present in
interfaces dictionary, but it was missing in new_interfaces dictionary.

v2: Do not fail buildtests

Issue#10096

Signed-off-by: Ansis Atteka <aatteka@nicira.com>
Reported-by: Niklas Andersson <nandersson@nicira.com>
debian/ovs-monitor-ipsec