]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Use L3 api from vpn ipsec driver via service plugin
authorNachi Ueno <nachi@ntti3.com>
Fri, 11 Oct 2013 18:46:32 +0000 (11:46 -0700)
committerMark McClain <mark.mcclain@dreamhost.com>
Sat, 12 Oct 2013 02:39:18 +0000 (22:39 -0400)
commit8d8b27d3938b4b8a220d7e74ae4c051fc7e92bfc
tree551e6c5157f236471bd8e5f2eab66ebb00828f73
parent1cb74d6311ee77f4349e9c1caf62593638c71f0f
Use L3 api from vpn ipsec driver via service plugin

VPNaaS and ML2 plugin won't work, because ML2 plugin
supports service version of L3.
In this commit, we modify ipsec driver to use L3 plugin.
This is also backward compatible change, because if L2 plugin
supports L3 get_service_plugin API returns L2 plugin.

Fixes bug 1238846

Change-Id: I36e541bb2e3e1df2e01f73a74f3e9005af6c38b7
Note: Exsiting unit test covers this change
(cherry picked from commit 8eb573528551d4a74c146c9d171505f7d472bb6a)
neutron/services/vpn/service_drivers/ipsec.py
neutron/tests/unit/services/vpn/service_drivers/test_ipsec.py