neutron-vpnaas/devstack/settings
Paul Michali 42503fc929 VPNaaS: Use new service name for devstack plugin
(Finally) move away from the old quantum naming for services, and move to
the ultra-modern, but bland, neutron-vpnaas naming.

On a practical note, coupled with I2bb7ac01e619c8a9b22bd517a4ff60d67035dfed
this commit prevents two VPN agent processes from being started. Note: This
cannot be tested/upstreamed, until the devstack repo commit is upstreamed.

With this commit, the Devstack plugin for VPN is completed.

Closes-Bug: 1473475
Closes-Bug: 1484141
Change-Id: I267c300ef5a577823dddec08e0a93e098413198a
Depends-On: I2bb7ac01e619c8a9b22bd517a4ff60d67035dfed
2015-08-27 17:18:49 +00:00

27 lines
971 B
Plaintext

# Settings for the VPNaaS devstack plugin
enable_service neutron-vpnaas
AGENT_VPN_BINARY="$NEUTRON_BIN_DIR/neutron-vpn-agent"
# Plugin
VPN_PLUGIN=${VPN_PLUGIN:-"neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin"}
# Service Driver
NEUTRON_VPNAAS_SERVICE_PROVIDER=${NEUTRON_VPNAAS_SERVICE_PROVIDER:-"VPN:openswan:neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default"}
# Device driver
IPSEC_PACKAGE=${IPSEC_PACKAGE:-"openswan"}
NEUTRON_VPNAAS_DEVICE_DRIVER=${NEUTRON_VPNAAS_DEVICE_DRIVER:-"neutron_vpnaas.services.vpn.device_drivers.ipsec.OpenSwanDriver"}
# Config files
NEUTRON_VPNAAS_DIR=$DEST/neutron-vpnaas
Q_VPN_CONF_FILE=$NEUTRON_CONF_DIR/vpn_agent.ini
NEUTRON_VPNAAS_CONF=$NEUTRON_CONF_DIR/neutron_vpnaas.conf
declare -a Q_VPN_EXTRA_CONF_FILES
# Need this because if FW and VPN enabled, the FW config must be included,
# when starting the agent. VPN-agent is a L3-agent is a FW-agent.
Q_FWAAS_CONF_FILE=$NEUTRON_CONF_DIR/fwaas_driver.ini