]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
add missing files from setup.py
authorJiajun Liu <iamljj@gmail.com>
Thu, 13 Sep 2012 03:43:54 +0000 (11:43 +0800)
committerJiajun Liu <iamljj@gmail.com>
Fri, 14 Sep 2012 01:28:20 +0000 (09:28 +0800)
Fixes bug 1050045.

Currently, setup.py will not copy l3_agent.ini and rootwrap filters
into directory /etc/quantum. Add copy operation in setup.py for those
config files so that those files will be copied into proper directory.

Change-Id: I7052d6c07ffd4d03cafa93187d8072053ee0a832

setup.py

index a40a929c7fdb032bd6234d5449b87465532706d9..41aec2515844a888cf60c2ad32291f781153a8ee 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -44,6 +44,7 @@ ProjectScripts = [
 
 config_path = 'etc/quantum/'
 init_path = 'etc/init.d'
+rootwrap_path = 'etc/quantum/rootwrap.d'
 ovs_plugin_config_path = 'etc/quantum/plugins/openvswitch'
 cisco_plugin_config_path = 'etc/quantum/plugins/cisco'
 linuxbridge_plugin_config_path = 'etc/quantum/plugins/linuxbridge'
@@ -58,7 +59,16 @@ DataFiles = [
          'etc/rootwrap.conf',
          'etc/api-paste.ini',
          'etc/policy.json',
-         'etc/dhcp_agent.ini']),
+         'etc/dhcp_agent.ini',
+         'etc/l3_agent.ini']),
+    (rootwrap_path,
+        ['etc/quantum/rootwrap.d/dhcp.filters',
+         'etc/quantum/rootwrap.d/iptables-firewall.filters',
+         'etc/quantum/rootwrap.d/l3.filters',
+         'etc/quantum/rootwrap.d/linuxbridge-plugin.filters',
+         'etc/quantum/rootwrap.d/nec-plugin.filters',
+         'etc/quantum/rootwrap.d/openvswitch-plugin.filters',
+         'etc/quantum/rootwrap.d/ryu-plugin.filters']),
     (init_path, ['etc/init.d/quantum-server']),
     (ovs_plugin_config_path,
         ['etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini']),