devstack/lib/neutron_plugins/services/vpn
Nachi Ueno 584750f996 Update neutron-vpn-agent path
Fix path of vpn-agent as same as lbaas

- If q-vpn service is enabled, this patch switches the l3-agent to
vpn-agent

Change-Id: Ifbe3d51b5c89f759a71e904960c5f6cc99c44a5f
2013-07-17 07:37:03 -07:00

26 lines
575 B
Plaintext

# Neutron VPN plugin
# ---------------------------
# Save trace setting
MY_XTRACE=$(set +o | grep xtrace)
set +o xtrace
AGENT_VPN_BINARY="$NEUTRON_BIN_DIR/neutron-vpn-agent"
VPN_PLUGIN="neutron.services.vpn.plugin.VPNDriverPlugin"
function neutron_vpn_install_agent_packages() {
install_package strongswan
}
function neutron_vpn_configure_common() {
if [[ $Q_SERVICE_PLUGIN_CLASSES == '' ]]; then
Q_SERVICE_PLUGIN_CLASSES=$VPN_PLUGIN
else
Q_SERVICE_PLUGIN_CLASSES="$Q_SERVICE_PLUGIN_CLASSES,$VPN_PLUGIN"
fi
}
# Restore xtrace
$MY_XTRACE