Install ipset for the ml2 agent

Neutron recently added a new enable_ipset option which
helps optimize applying large iptables rules via the use
of ipset.

This patch installs the ipset package which is now required
because enable_ipset=True is the default.

Change-Id: I6078fa5e8f0f8639bcd8964765a8fa322bb7b3b1
Related-bug: #1369381
Related-bug: #1369386
This commit is contained in:
Dan Prince 2014-09-14 23:42:13 -04:00
parent a3a4118bcd
commit 57ac243591
1 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,8 @@
#!/bin/bash
set -eux
# The l2 agent now requires ipset since enable_ipset=True enabled by default
install-packages ipset
os-svc-daemon -i "$NEUTRON_VENV_DIR" neutron-openvswitch-agent neutron neutron-openvswitch-agent \
"--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-dir /etc/neutron"