virtual machines.
With this setup, using tenant_network_type = gre and enable_tunneling = True
-in /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini, which is the
+in /etc/neutron/plugins/ml2/openvswitch_agent.ini, which is the
default in this package, should work.
-- Thomas Goirand <zigo@debian.org> Sat, 03 Nov 2012 14:01:32 +0000
. /usr/share/debconf/confmodule
N_CONF=/etc/neutron/neutron.conf
-OVS_CONF=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
+OVS_CONF=/etc/neutron/plugins/ml2/openvswitch_agent.ini
# Please remember this function is also in debian/plugin_guess_func
neutron_core_plugin_to_plugin_name () {
set -e
N_CONF=/etc/neutron/neutron.conf
-OVS_CONF=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
+OVS_CONF=/etc/neutron/plugins/ml2/openvswitch_agent.ini
#PKGOS-INCLUDE#
# Maintain the OVS config
if [ ! -e ${OVS_CONF} ] ; then
- install -D -m 0640 -o neutron -g neutron /usr/share/neutron-common/ovs_neutron_plugin.ini ${OVS_CONF}
+ install -D -m 0640 -o neutron -g neutron /usr/share/neutron-common/openvswitch_agent.ini ${OVS_CONF}
fi
if [ "${NEUTRON_plugin_path}" = "OpenVSwitch" ] ; then
# Clean /etc/neutron on purge
rm -f /etc/default/neutron /etc/neutron/api-paste.ini /etc/neutron/neutron.conf \
- /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
- [ -d /etc/neutron/plugins/openvswitch ] && rmdir --ignore-fail-on-non-empty /etc/neutron/plugins/openvswitch
+ /etc/neutron/plugins/openvswitch/ml2/openvswitch_agent.ini
+ [ -d /etc/neutron/plugins/ml2 ] && rmdir --ignore-fail-on-non-empty /etc/neutron/plugins/ml2
[ -d /etc/neutron/plugins ] && rmdir --ignore-fail-on-non-empty /etc/neutron/plugins
[ -d /etc/neutron ] && rmdir --ignore-fail-on-non-empty /etc/neutron
rm -rf /var/lib/neutron
DESC="Openstack Neutron OpenVSwitch Plugin Agent"
PROJECT_NAME=neutron
NAME=${PROJECT_NAME}-openvswitch-agent
-CONFIG_FILE=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
+CONFIG_FILE=/etc/neutron/plugins/ml2/openvswitch_agent.ini
# Since Juno OVS plugin as been deprecated as core_plugin, it has been
# replaced by ml2 as core_plugin and ovs as agent. Making ml2 mandatory
PLUG_INI_BASE=/etc/neutron/plugins/
case ${1} in
"OpenVSwitch")
- NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}openvswitch/ovs_neutron_plugin.ini
+ NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}ml2/openvswitch_agent.ini
;;
"LinuxBridge")
NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}linuxbridge/linuxbridge_conf.ini
rm -rf $(CURDIR)/debian/neutron-common/usr/bin/quantum*
rm -rf $(CURDIR)/debian/neutron-common/usr/etc
- install -D -m 0640 etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini $(CURDIR)/debian/neutron-common/usr/share/neutron-common/ovs_neutron_plugin.ini
+ install -D -m 0640 etc/neutron/plugins/ml2/openvswitch_agent.ini $(CURDIR)/debian/neutron-common/usr/share/neutron-common/openvswitch_agent.ini
install -D -m 0640 etc/metadata_agent.ini $(CURDIR)/debian/neutron-metadata-agent/usr/share/neutron-metadata-agent/metadata_agent.ini
sed -i -e 's|^# nova_metadata_ip = 127.0.0.1|nova_metadata_ip = 127.0.0.1|' $(CURDIR)/debian/neutron-metadata-agent/usr/share/neutron-metadata-agent/metadata_agent.ini
# Move the OVS config file, since we use debconf for it
- rm $(CURDIR)/debian/neutron-common/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
- install -D -m 0640 etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini $(CURDIR)/debian/neutron-common/usr/share/neutron-common/ovs_neutron_plugin.ini
+ rm $(CURDIR)/debian/neutron-common/etc/neutron/plugins/ml2/openvswitch_agent.ini
+ install -D -m 0640 etc/neutron/plugins/ml2/openvswitch_agent.ini $(CURDIR)/debian/neutron-common/usr/share/neutron-common/openvswitch_agent.ini
override_dh_auto_clean:
dh_auto_clean