From c1b1dac13218101ace7454bc19de74b3a76ccb8b Mon Sep 17 00:00:00 2001 From: Dongcan Ye Date: Thu, 19 Jul 2018 01:56:36 +0000 Subject: [PATCH] Update vpnaas-scenario docs Add different configs depending upon the Linux distribution. Change-Id: If50421ec722c89c2f37776d0df66de8a583ddb48 --- doc/source/admin/vpnaas-scenario.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/doc/source/admin/vpnaas-scenario.rst b/doc/source/admin/vpnaas-scenario.rst index 98e45592cc6..6b92471db05 100644 --- a/doc/source/admin/vpnaas-scenario.rst +++ b/doc/source/admin/vpnaas-scenario.rst @@ -25,7 +25,7 @@ they provide their version of manuals. set suitable plugin for your own deployment. #. Configure the VPNaaS service provider by creating the - ``/etc/neutron/neutron_vpnaas.conf`` file as follows: + ``/etc/neutron/neutron_vpnaas.conf`` file as follows, ``strongswan`` used in Ubuntu distribution: .. code-block:: ini @@ -34,11 +34,14 @@ they provide their version of manuals. .. note:: - There are several kinds of service drivers like ``CiscoCsrIPsecVPNDriver``, ``VyattaIPsecDriver``... + There are several kinds of service drivers. + Depending upon the Linux distribution, you may need to override this value. + Select ``libreswan`` for RHEL/CentOS, the config will like this: + ``service_provider = VPN:openswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default``. Consider to use the appropriate one for your deployment. #. Configure the VPNaaS plugin for the L3 agent by adding to - ``/etc/neutron/l3_agent.ini`` the following section: + ``/etc/neutron/l3_agent.ini`` the following section, ``StrongSwanDriver`` used in Ubuntu distribution: .. code-block:: ini @@ -50,7 +53,10 @@ they provide their version of manuals. .. note:: - There are several kinds of device drivers like ``LibreSwanDriver``, ``CiscoCsrIPsecDriver``... + There are several kinds of device drivers. + Depending upon the Linux distribution, you may need to override this value. + Select ``LibreSwanDriver`` for RHEL/CentOS, the config will like this: + ``vpn_device_driver = neutron_vpnaas.services.vpn.device_drivers.libreswan_ipsec.LibreSwanDriver``. Consider to use the appropriate drivers for your deployment. #. Create the required tables in the database: