]> 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)
committerNachi Ueno <nachi@ntti3.com>
Fri, 11 Oct 2013 21:03:05 +0000 (14:03 -0700)
commit8eb573528551d4a74c146c9d171505f7d472bb6a
tree8929555f0693376f5c63153958cb1a6c9d4ee61d
parentd5c455c663174414c14ed61871208f0eda66aea5
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
neutron/services/vpn/service_drivers/ipsec.py
neutron/tests/unit/services/vpn/service_drivers/test_ipsec.py