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:15:19 +0000 (17:15 -0800)
commit5e2a9988bb7853cad67a36e869d532d9d2f4533a
tree71d070eac10c8e5448cbd22065109252bff5d298
parentd67025e04b96ff26f22dd51167a9c44ed0e8871c
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.

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