Configure service_provider for VPNaaS
A service_provider needs to be configured in
/etc/neutron/neutron_vpnaas.conf for neutron-server to start
correctly when VPNaaS is configured.
Please note this is currently done in a hacky way, and it should be
changed as soon as proper support is added in puppet-neutron (see
https://bugs.launchpad.net/puppet-neutron/+bug/1538971 for details).
Change-Id: I40cd7d8dfe64bf14fad5960061d2f40869bce642
(cherry picked from commit 324b8c3df3
)
This commit is contained in:
parent
895d532f57
commit
dad839096c
|
@ -3,3 +3,14 @@ class { '::neutron::agents::vpnaas':
|
|||
vpn_device_driver => 'neutron_vpnaas.services.vpn.device_drivers.libreswan_ipsec.LibreSwanDriver',
|
||||
}
|
||||
|
||||
# FIXME: this is a workaround until
|
||||
# https://bugs.launchpad.net/puppet-neutron/+bug/1538971 is fixed
|
||||
|
||||
file_line { 'vpnaas_service_provider':
|
||||
path => '/etc/neutron/neutron_vpnaas.conf',
|
||||
match => '^service_provider +=.*',
|
||||
line => 'service_provider = VPN:libreswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default',
|
||||
require => Class['::neutron::agents::vpnaas'],
|
||||
notify => Service['neutron-server'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue