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:43:10 +0000 (22:43 -0800)
commit12bb621f563c2644ce20922e641848c35ede98c0
tree49751d1fc2f69fbd40d300eb66ca26349d34d57a
parentcf80480c63de67232d31816f03bd0187304e0a43
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