ovs-monitor-ipsec: Detect correctly IPSEC configuration changes
authorAnsis Atteka <aatteka@nicira.com>
Fri, 9 Mar 2012 00:19:59 +0000 (16:19 -0800)
committerAnsis Atteka <aatteka@nicira.com>
Fri, 9 Mar 2012 01:04:43 +0000 (17:04 -0800)
commite1870e82f5ea35d45d7358c2454e876122a02bfb
tree8f2169ef80035b03a824c62c32aa652df0bcc5a6
parentb94b42eed52ddf2b4b5956ccf83cfd5480432645
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 not present in new_interfaces dictionary.

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