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 03:32:21 +0000 (19:32 -0800)
commitf00731ddfaa6b1cee19b60b5342d2d8b74db57a7
tree46da7de24cbf972a87b96ee1ef7fba9634a99045
parent1f69acbe0079b539276a429973b6df8083352cf0
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

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