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
This commit is contained in:
@@ -1,3 +1,15 @@
|
||||
class { '::neutron::agents::vpnaas':
|
||||
enabled => true,
|
||||
enabled => true,
|
||||
vpn_device_driver => 'neutron_vpnaas.services.vpn.device_drivers.ipsec.OpenSwanDriver',
|
||||
}
|
||||
|
||||
# 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:openswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default',
|
||||
require => Class['::neutron::agents::vpnaas'],
|
||||
notify => Service['neutron-server'],
|
||||
}
|
||||
|
Reference in New Issue
Block a user