devstack/lib/neutron_plugins/services/vpn
Nachi Ueno 1e3d318c86 Support OpenSwan in Neturon VPNaaS
Neutron VPNaaS chagned ipsec package for
OpenSwan. This commit updates the package.

Change-Id: I333501a405fbc552c575d26cfbac083646d05dfd
2013-09-04 22:02:11 -07:00

27 lines
622 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"
IPSEC_PACKAGE=${IPSEC_PACKAGE:-"openswan"}
function neutron_vpn_install_agent_packages() {
install_package $IPSEC_PACKAGE
}
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