openvpn: Handle reconnections the same way as ThirdPartyVpnDriver
Use the new APIs and callbacks to clean up the way OpenVPN handles
link up/down/change events. This fixes a couple of UI anomalies seen
when using OpenVPN.
BUG=chromium:616573
TEST=`FEATURES=test emerge-link shill`
TEST=connect to openvpn server and add/remove network connections
Change-Id: I2adf24f6d645ebf5070697b9324da03de4a4d237
Reviewed-on: https://chromium-review.googlesource.com/348801
Commit-Ready: Kevin Cernekee <cernekee@chromium.org>
Tested-by: Kevin Cernekee <cernekee@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Kirtika Ruchandani <kirtika@google.com>
4 files changed