summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-neutron/neutron-dhcp-agent-netns-cleanup.cron
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2014-03-25 14:12:04 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-04-15 19:48:37 -0400
commit509875734bb5e935436d2b09192e8b5e4c1500cb (patch)
tree593466aadfb732c9f2f097bce363b474d29ff5ac /meta-openstack/recipes-devtools/python/python-neutron/neutron-dhcp-agent-netns-cleanup.cron
parent1768e94b9e600884d43e65b3ef05e379f043a196 (diff)
downloadmeta-cloud-services-509875734bb5e935436d2b09192e8b5e4c1500cb.tar.gz
python-neutron: cleanup dhcp agent packaging
Cleanup packaging to get the necessary .ini and related files into the dhcp-agent package. Add a cron job to keep things clean. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/neutron-dhcp-agent-netns-cleanup.cron')
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/neutron-dhcp-agent-netns-cleanup.cron2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-dhcp-agent-netns-cleanup.cron b/meta-openstack/recipes-devtools/python/python-neutron/neutron-dhcp-agent-netns-cleanup.cron
new file mode 100644
index 0000000..0ebd6c5
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-dhcp-agent-netns-cleanup.cron
@@ -0,0 +1,2 @@
1# Periodically cleans Neutron's network namespaces on behalf of the Neutron DHCP agent.
230 * * * * neutron if [ -x @bindir@/neutron-netns-cleanup ] ; then @bindir@/neutron-netns-cleanup --config-file=@confdir@/neutron/neutron.conf --config-file=@confdir@/neutron/dhcp_agent.ini >/dev/null 2>&1; fi