summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO210
-rw-r--r--PKGBUILD478
-rw-r--r--neutron-dhcp-agent.service9
-rw-r--r--neutron-l3-agent.service9
-rw-r--r--neutron-lbaas-agent.service9
-rw-r--r--neutron-metadata-agent.service9
-rw-r--r--neutron-plugin-linuxbridge-agent.service9
-rw-r--r--neutron-plugin-metering-agent.service9
-rw-r--r--neutron-plugin-mlnx-agent.service9
-rw-r--r--neutron-plugin-nec-agent.service9
-rw-r--r--neutron-plugin-openvswitch-agent.service9
-rw-r--r--neutron-plugin-ryu-agent.service9
-rw-r--r--neutron-plugin-vpn-agent.service9
-rw-r--r--neutron-server-default1
-rw-r--r--neutron-server.service10
-rw-r--r--neutron.install21
-rw-r--r--neutron.plugin.openvswitch.install12
-rw-r--r--neutron_sudoers3
18 files changed, 834 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4b76cdcea6b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,210 @@
+pkgbase = neutron-icehouse
+ pkgdesc = A virtual network service for Openstack
+ pkgver = 2014.1.3
+ pkgrel = 1
+ url = https://launchpad.net/neutron
+ arch = any
+ license = Apache
+ makedepends = python2-setuptools
+ makedepends = python2-sphinx
+ makedepends = python2-oslosphinx
+ depends = python2
+ depends = python2-setuptools
+ source = https://launchpad.net/neutron/icehouse/2014.1.3/+download/neutron-2014.1.3.tar.gz
+ source = neutron-dhcp-agent.service
+ source = neutron-l3-agent.service
+ source = neutron-lbaas-agent.service
+ source = neutron-metadata-agent.service
+ source = neutron-plugin-linuxbridge-agent.service
+ source = neutron-plugin-metering-agent.service
+ source = neutron-plugin-mlnx-agent.service
+ source = neutron-plugin-nec-agent.service
+ source = neutron-plugin-openvswitch-agent.service
+ source = neutron-plugin-ryu-agent.service
+ source = neutron-plugin-vpn-agent.service
+ source = neutron-server-default
+ source = neutron-server.service
+ source = neutron_sudoers
+ source = neutron.plugin.openvswitch.install
+ md5sums = be08b386162facd20c6927c6f565a1f2
+ md5sums = c59c436057efbb2317487a0822aa97e7
+ md5sums = ca5d870e84ca2cce40bab18bf770870f
+ md5sums = f080ddbe9b270c1ffd241db9723bc565
+ md5sums = 1ab745acf0da636c4484803969229714
+ md5sums = 31ed220677df34466ca25fb1d64e9df0
+ md5sums = ef5a00d81ecea910fb29706e3181fc80
+ md5sums = 926c8fe2ec3fd79955ed8f74109fceea
+ md5sums = 50bc95405d91d73a583c508a0446e38c
+ md5sums = f40d35da4256957eb0dd6e0ce6a4c696
+ md5sums = 50946c6024c5043c7046968e6eb9b698
+ md5sums = 9f2af5aef38b58a6b11f715059aecb95
+ md5sums = 91d4643e9c29210cc82ec8c8c512675d
+ md5sums = 7c710afee7078e7a52d3708acd158c26
+ md5sums = 2cfc83f85ae2f8bc790e280da721262d
+ md5sums = fd68f680bfa312a0a17c705924cfe662
+
+pkgname = python2-neutron-icehouse
+ pkgdesc = A virtual network service for Openstack - Python library
+ depends = python2-pbr>=0.6
+ depends = python2-pbr<1.0
+ depends = python2-paste
+ depends = python2-paste-deploy>=1.5.0
+ depends = python2-routes>=1.12.3
+ depends = python2-amqplib>=0.6.1
+ depends = python2-amqp
+ depends = python2-anyjson>=0.3.3
+ depends = python2-argparse
+ depends = python2-babel>=1.3
+ depends = python2-eventlet>=0.13.0
+ depends = python2-greenlet>=0.3.2
+ depends = python2-httplib2>=0.7.5
+ depends = python2-requests>=1.1
+ depends = python2-iso8601>=0.1.9
+ depends = python2-jsonrpclib
+ depends = python2-jinja
+ depends = python2-kombu>=2.4.8
+ depends = python2-netaddr>=0.7.6
+ depends = python2-neutronclient>=2.3.4
+ depends = python2-neutronclient<3.0.0
+ depends = python2-sqlalchemy>=0.7.8
+ depends = python2-sqlalchemy<0.9.99
+ depends = python2-webob>=1.2.3
+ depends = python2-keystoneclient>=0.7.0
+ depends = python2-alembic>=0.4.1
+ depends = python2-six>=1.6.0
+ depends = python2-stevedore>=0.14
+ depends = python2-oslo-config>=1.2.0
+ depends = python2-oslo-rootwrap
+ depends = python2-novaclient>=2.17.0
+
+pkgname = neutron-dhcp-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - DHCP agent
+ depends = neutron-icehouse
+ depends = dnsmasq
+ depends = neutron-metadata-agent-icehouse
+ backup = etc/neutron/dhcp_agent.ini
+
+pkgname = neutron-l3-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - l3 agent
+ depends = neutron-icehouse
+ depends = neutron-metadata-agent-icehouse
+ backup = etc/neutron/l3_agent.ini
+
+pkgname = neutron-lbaas-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - LBaaS agent
+ depends = neutron-icehouse
+ depends = neutron-metadata-agent-icehouse
+ depends = haproxy
+ backup = etc/neutron/lbaas_agent.ini
+
+pkgname = neutron-metadata-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - metadata agent
+ depends = neutron-icehouse
+ backup = etc/neutron/metadata_agent.ini
+
+pkgname = neutron-plugin-bigswitch-icehouse
+ pkgdesc = A virtual network service for Openstack - BigSwitch agent
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/bigswitch/restproxy.ini
+
+pkgname = neutron-plugin-brocade-icehouse
+ pkgdesc = A virtual network service for Openstack - Brocade agent
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/brocade/brocade.ini
+
+pkgname = neutron-plugin-cisco-icehouse
+ pkgdesc = A virtual network service for Openstack - Cisco agent
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/cisco/cisco_plugins.ini
+
+pkgname = neutron-plugin-hyperv-icehouse
+ pkgdesc = A virtual network service for Openstack - Hyper-V plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/hyperv/hyperv_neutron_plugin.ini
+
+pkgname = neutron-plugin-linuxbridge-icehouse
+ pkgdesc = A virtual network service for Openstack - linuxbridge plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini
+
+pkgname = neutron-plugin-linuxbridge-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - linuxbridge plugin agent
+ depends = neutron-icehouse
+ depends = bridge-utils
+ depends = neutron-plugin-linuxbridge-icehouse
+
+pkgname = neutron-plugin-metaplugin-icehouse
+ pkgdesc = A virtual network service for Openstack - Metaplugin plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/metaplugin/metaplugin.ini
+
+pkgname = neutron-plugin-metering-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - metering plugin agent
+ depends = neutron-icehouse
+ backup = etc/neutron/metering_agent.ini
+
+pkgname = neutron-plugin-midonet-icehouse
+ pkgdesc = A virtual network service for Openstack - Midonet plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/midonet/midonet.ini
+
+pkgname = neutron-plugin-mlnx-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - MLNX plugin agent
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/mlnx/mlnx_conf.ini
+
+pkgname = neutron-plugin-nec-icehouse
+ pkgdesc = A virtual network service for Openstack - NEC plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/nec/nec.ini
+
+pkgname = neutron-plugin-nec-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - NEC plugin agent
+ depends = neutron-icehouse
+ depends = openvswitch
+ depends = neutron-plugin-nec-icehouse
+
+pkgname = neutron-plugin-nicira-icehouse
+ pkgdesc = A virtual network service for Openstack - Nicira plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/nicira/nvp.ini
+
+pkgname = neutron-plugin-openvswitch-icehouse
+ pkgdesc = A virtual network service for Openstack - Open vSwitch plugin
+ install = neutron.plugin.openvswitch.install
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
+
+pkgname = neutron-plugin-openvswitch-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - Open vSwitch plugin agent
+ depends = openvswitch
+ depends = neutron-icehouse
+ depends = neutron-plugin-openvswitch-icehouse
+
+pkgname = neutron-plugin-plumgrid-icehouse
+ pkgdesc = A virtual network service for Openstack - PLUMgrid plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/plumgrid/plumgrid.ini
+
+pkgname = neutron-plugin-ryu-icehouse
+ pkgdesc = A virtual network service for Openstack - RYU plugin
+ depends = neutron-icehouse
+ backup = etc/neutron/plugins/ryu/ryu.ini
+
+pkgname = neutron-plugin-ryu-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - RYU plugin agent
+ depends = neutron-icehouse
+ depends = neutron-plugin-ryu-icehouse
+
+pkgname = neutron-plugin-vpn-agent-icehouse
+ pkgdesc = A virtual network service for Openstack - VPN plugin agent
+ depends = neutron-icehouse
+
+pkgname = neutron-icehouse
+ pkgdesc = A virtual network service for Openstack - Server
+ install = neutron.install
+ depends = python2-neutron-icehouse
+ optdepends = neutron-plugin-openvswitch-icehouse
+ backup = etc/neutron/api-paste.ini
+ backup = etc/neutron/neutron.conf
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f691725b494
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,478 @@
+# Maintainer: Erhan SAHIN <erhan@ssahin.net>
+
+pkgbase=neutron-icehouse
+pkgname=neutron-icehouse
+pkgname=('python2-neutron-icehouse'
+ 'neutron-dhcp-agent-icehouse'
+ 'neutron-l3-agent-icehouse'
+ 'neutron-lbaas-agent-icehouse'
+ 'neutron-metadata-agent-icehouse'
+ 'neutron-plugin-bigswitch-icehouse'
+ 'neutron-plugin-brocade-icehouse'
+ 'neutron-plugin-cisco-icehouse'
+ 'neutron-plugin-hyperv-icehouse'
+ 'neutron-plugin-linuxbridge-icehouse'
+ 'neutron-plugin-linuxbridge-agent-icehouse'
+ 'neutron-plugin-metaplugin-icehouse'
+ 'neutron-plugin-metering-agent-icehouse'
+ 'neutron-plugin-midonet-icehouse'
+ 'neutron-plugin-mlnx-agent-icehouse'
+ 'neutron-plugin-nec-icehouse'
+ 'neutron-plugin-nec-agent-icehouse'
+ 'neutron-plugin-nicira-icehouse'
+ 'neutron-plugin-openvswitch-icehouse'
+ 'neutron-plugin-openvswitch-agent-icehouse'
+ 'neutron-plugin-plumgrid-icehouse'
+ 'neutron-plugin-ryu-icehouse'
+ 'neutron-plugin-ryu-agent-icehouse'
+ 'neutron-plugin-vpn-agent-icehouse'
+ 'neutron-icehouse')
+
+pkgver=2014.1.3
+pkgrel=1
+pkgdesc="A virtual network service for Openstack"
+arch=(any)
+url="https://launchpad.net/neutron"
+license=('Apache')
+depends=('python2' 'python2-setuptools')
+makedepends=('python2-setuptools' 'python2-sphinx' 'python2-oslosphinx')
+source=("https://launchpad.net/neutron/icehouse/$pkgver/+download/neutron-$pkgver.tar.gz"
+ "neutron-dhcp-agent.service"
+ "neutron-l3-agent.service"
+ "neutron-lbaas-agent.service"
+ "neutron-metadata-agent.service"
+ "neutron-plugin-linuxbridge-agent.service"
+ "neutron-plugin-metering-agent.service"
+ "neutron-plugin-mlnx-agent.service"
+ "neutron-plugin-nec-agent.service"
+ "neutron-plugin-openvswitch-agent.service"
+ "neutron-plugin-ryu-agent.service"
+ "neutron-plugin-vpn-agent.service"
+ "neutron-server-default"
+ "neutron-server.service"
+ "neutron_sudoers"
+ "neutron.plugin.openvswitch.install")
+md5sums=('be08b386162facd20c6927c6f565a1f2'
+ 'c59c436057efbb2317487a0822aa97e7'
+ 'ca5d870e84ca2cce40bab18bf770870f'
+ 'f080ddbe9b270c1ffd241db9723bc565'
+ '1ab745acf0da636c4484803969229714'
+ '31ed220677df34466ca25fb1d64e9df0'
+ 'ef5a00d81ecea910fb29706e3181fc80'
+ '926c8fe2ec3fd79955ed8f74109fceea'
+ '50bc95405d91d73a583c508a0446e38c'
+ 'f40d35da4256957eb0dd6e0ce6a4c696'
+ '50946c6024c5043c7046968e6eb9b698'
+ '9f2af5aef38b58a6b11f715059aecb95'
+ '91d4643e9c29210cc82ec8c8c512675d'
+ '7c710afee7078e7a52d3708acd158c26'
+ '2cfc83f85ae2f8bc790e280da721262d'
+ 'fd68f680bfa312a0a17c705924cfe662')
+
+build() {
+ cd "neutron-$pkgver"
+ /usr/bin/python2 setup.py build
+ /usr/bin/python2 setup.py build_sphinx
+ /usr/bin/python2 setup.py install --root="$srcdir/tmp" --install-data="/" --optimize=1
+ cp -R doc/build/man/ "$srcdir/tmp/"
+}
+
+package_python2-neutron-icehouse() {
+ pkgdesc+=" - Python library"
+ depends=('python2-pbr>=0.6'
+ 'python2-pbr<1.0'
+ 'python2-paste'
+ 'python2-paste-deploy>=1.5.0'
+ 'python2-routes>=1.12.3'
+ 'python2-amqplib>=0.6.1'
+ 'python2-amqp'
+ 'python2-anyjson>=0.3.3'
+ 'python2-argparse'
+ 'python2-babel>=1.3'
+ 'python2-eventlet>=0.13.0'
+ 'python2-greenlet>=0.3.2'
+ 'python2-httplib2>=0.7.5'
+ 'python2-requests>=1.1'
+ 'python2-iso8601>=0.1.9'
+ 'python2-jsonrpclib'
+ 'python2-jinja'
+ 'python2-kombu>=2.4.8'
+ 'python2-netaddr>=0.7.6'
+ 'python2-neutronclient>=2.3.4'
+ 'python2-neutronclient<3.0.0'
+ 'python2-sqlalchemy>=0.7.8'
+ 'python2-sqlalchemy<0.9.99'
+ 'python2-webob>=1.2.3'
+ 'python2-keystoneclient>=0.7.0'
+ 'python2-alembic>=0.4.1'
+ 'python2-six>=1.6.0'
+ 'python2-stevedore>=0.14'
+ 'python2-oslo-config>=1.2.0'
+ 'python2-oslo-rootwrap'
+ 'python2-novaclient>=2.17.0')
+ conflics=('python2-quantum' 'python2-neutron' 'python2-neutron-havana')
+ cd tmp
+
+ install -d ${pkgdir}/usr/lib/
+ cp -R usr/lib/ ${pkgdir}/usr/
+}
+
+
+package_neutron-dhcp-agent-icehouse() {
+ pkgdesc+=" - DHCP agent"
+ depends=('neutron-icehouse' 'dnsmasq' 'neutron-metadata-agent-icehouse')
+ conflics=('quantum-dhcp-agent' 'neutron-dhcp-agent' 'neutron-dhcp-agent-havana')
+ backup=('etc/neutron/dhcp_agent.ini')
+
+ cd tmp
+
+ install -d ${pkgdir}/etc/neutron/rootwrap.d/
+ install -m 640 etc/neutron/dhcp_agent.ini ${pkgdir}/etc/neutron/
+ install -m 644 etc/neutron/rootwrap.d/dhcp.filters ${pkgdir}/etc/neutron/rootwrap.d/
+
+ install -d ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-dhcp-agent ${pkgdir}/usr/bin/
+
+ install -D -m 644 ${srcdir}/neutron-dhcp-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-dhcp-agent.service
+}
+
+package_neutron-l3-agent-icehouse() {
+ pkgdesc+=" - l3 agent"
+ depends=('neutron-icehouse' 'neutron-metadata-agent-icehouse')
+ conflics=('quantum-l3-agent' 'neutron-l3-agent' 'neutron-l3-agent-havana')
+ backup=('etc/neutron/l3_agent.ini')
+
+ cd tmp
+
+ install -d ${pkgdir}/etc/neutron/rootwrap.d/
+ install -m 640 etc/neutron/l3_agent.ini ${pkgdir}/etc/neutron/
+ install -m 644 etc/neutron/rootwrap.d/l3.filters ${pkgdir}/etc/neutron/rootwrap.d/
+
+ install -D -m 755 usr/bin/neutron-l3-agent ${pkgdir}/usr/bin/neutron-l3-agent
+
+ install -D -m 644 ${srcdir}/neutron-l3-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-l3-agent.service
+}
+
+package_neutron-lbaas-agent-icehouse() {
+ pkgdesc+=" - LBaaS agent"
+ depends=('neutron-icehouse' 'neutron-metadata-agent-icehouse' 'haproxy')
+ conflics=('quantum-lbaas-agent' 'neutron-lbaas-agent' 'neutron-lbaas-agent-havana')
+ backup=('etc/neutron/lbaas_agent.ini')
+
+ cd tmp
+
+ install -d ${pkgdir}/etc/neutron/rootwrap.d/
+ install -m 640 etc/neutron/lbaas_agent.ini ${pkgdir}/etc/neutron/
+ install -m 644 etc/neutron/rootwrap.d/lbaas-haproxy.filters ${pkgdir}/etc/neutron/rootwrap.d/
+
+ install -D -m 755 usr/bin/neutron-lbaas-agent ${pkgdir}/usr/bin/neutron-lbaas-agent
+
+ install -D -m 644 ${srcdir}/neutron-lbaas-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-lbaas-agent.service
+}
+
+package_neutron-metadata-agent-icehouse() {
+ pkgdesc+=" - metadata agent"
+ depends=('neutron-icehouse')
+ conflics=('quantum-metadata-agent' 'neutron-metadata-agent' 'neutron-metadata-agent-havana')
+ backup=('etc/neutron/metadata_agent.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/metadata_agent.ini ${pkgdir}/etc/neutron/metadata_agent.ini
+
+ install -d ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-metadata-agent ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-ns-metadata-proxy ${pkgdir}/usr/bin/
+
+ install -D -m 644 ${srcdir}/neutron-metadata-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-metadata-agent.service
+}
+
+package_neutron-plugin-bigswitch-icehouse() {
+ pkgdesc+=" - BigSwitch agent"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-bigswitch' 'neutron-plugin-bigswtich' 'neutron-plugin-bigswitch-havana')
+ backup=('etc/neutron/plugins/bigswitch/restproxy.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/bigswitch/restproxy.ini \
+ ${pkgdir}/etc/neutron/plugins/bigswitch/restproxy.ini
+}
+
+package_neutron-plugin-brocade-icehouse() {
+ pkgdesc+=" - Brocade agent"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-brocade' 'neutron-plugin-brocade' 'neutron-plugin-brocade-havana')
+ backup=('etc/neutron/plugins/brocade/brocade.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/brocade/brocade.ini \
+ ${pkgdir}/etc/neutron/plugins/brocade/brocade.ini
+}
+
+package_neutron-plugin-cisco-icehouse() {
+ pkgdesc+=" - Cisco agent"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-cisco' 'neutron-plugin-cisco' 'neutron-plugin-cisco-havana')
+ backup=('etc/neutron/plugins/cisco/cisco_plugins.ini')
+
+ cd tmp
+
+ install -d ${pkgdir}/etc/neutron/plugins/cisco/
+ install -m 640 etc/neutron/plugins/cisco/cisco_plugins.ini ${pkgdir}/etc/neutron/plugins/cisco/
+}
+
+package_neutron-plugin-hyperv-icehouse() {
+ pkgdesc+=" - Hyper-V plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-hyperv' 'neutron-plugin-hyperv' 'neutron-plugin-hyperv-havana')
+ backup=('etc/neutron/plugins/hyperv/hyperv_neutron_plugin.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/hyperv/hyperv_neutron_plugin.ini \
+ ${pkgdir}/etc/neutron/plugins/hyperv/hyperv_neutron_plugin.ini
+}
+
+package_neutron-plugin-linuxbridge-icehouse() {
+ pkgdesc+=" - linuxbridge plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-linuxbridge' 'neutron-plugin-linuxbridge' 'neutron-plugin-linuxbridge-havana')
+ backup=('etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini \
+ ${pkgdir}/etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini
+}
+
+package_neutron-plugin-linuxbridge-agent-icehouse() {
+ pkgdesc+=" - linuxbridge plugin agent"
+ depends=('neutron-icehouse' 'bridge-utils' 'neutron-plugin-linuxbridge-icehouse')
+ conflics=('quantum-plugin-linuxbridge-agent' 'neutron-plugin-linuxbridge-agent' 'neutron-plugin-linuxbridge-agent-havana')
+
+ cd tmp
+
+ install -D -m 644 etc/neutron/rootwrap.d/linuxbridge-plugin.filters \
+ ${pkgdir}/etc/neutron/rootwrap.d/linuxbridge-plugin.filters
+ install -D -m 755 usr/bin/neutron-linuxbridge-agent ${pkgdir}/usr/bin/neutron-linuxbridge-agent
+ install -D -m 644 ${srcdir}/neutron-plugin-linuxbridge-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-plugin-linuxbridge-agent.service
+}
+
+package_neutron-plugin-metaplugin-icehouse() {
+ pkgdesc+=" - Metaplugin plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-metaplugin' 'neutron-plugin-metaplugin' 'neutron-plugin-metaplugin-havana')
+ backup=('etc/neutron/plugins/metaplugin/metaplugin.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/metaplugin/metaplugin.ini \
+ ${pkgdir}/etc/neutron/plugins/metaplugin/metaplugin.ini
+}
+
+package_neutron-plugin-metering-agent-icehouse() {
+ pkgdesc+=" - metering plugin agent"
+ depends=('neutron-icehouse')
+ conflics=('neutron-plugin-metering-agent' 'neutron-plugin-metering-agent-havana')
+ backup=('etc/neutron/metering_agent.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/metering_agent.ini ${pkgdir}/etc/neutron/metering_agent.ini
+ install -D -m 755 usr/bin/neutron-metering-agent ${pkgdir}/usr/bin/neutron-metering-agent
+ install -D -m 644 ${srcdir}/neutron-plugin-metering-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-plugin-metering-agent.service
+}
+
+package_neutron-plugin-midonet-icehouse() {
+ pkgdesc+=" - Midonet plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-midonet' 'neutron-plugin-midonet' 'neutron-plugin-midonet-havana')
+ backup=('etc/neutron/plugins/midonet/midonet.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/midonet/midonet.ini \
+ ${pkgdir}/etc/neutron/plugins/midonet/midonet.ini
+}
+
+package_neutron-plugin-mlnx-agent-icehouse() {
+ pkgdesc+=" - MLNX plugin agent"
+ depends=('neutron-icehouse')
+ conflics=('neutron-plugin-mlnx-agent' 'neutron-plugin-mlnx-agent-havana')
+ backup=('etc/neutron/plugins/mlnx/mlnx_conf.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/mlnx/mlnx_conf.ini \
+ ${pkgdir}/etc/neutron/plugins/mlnx/mlnx_conf.ini
+ install -D -m 755 usr/bin/neutron-mlnx-agent ${pkgdir}/usr/bin/neutron-mlnx-agent
+ install -D -m 644 ${srcdir}/neutron-plugin-mlnx-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-plugin-mlnx-agent.service
+}
+
+package_neutron-plugin-nec-icehouse() {
+ pkgdesc+=" - NEC plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-nec' 'neutron-plugin-nec' 'neutron-plugin-nec-havana')
+ backup=('etc/neutron/plugins/nec/nec.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/nec/nec.ini ${pkgdir}/etc/neutron/plugins/nec/nec.ini
+}
+
+package_neutron-plugin-nec-agent-icehouse() {
+ pkgdesc+=" - NEC plugin agent"
+ depends=('neutron-icehouse' 'openvswitch' 'neutron-plugin-nec-icehouse')
+ conflics=('quantum-plugin-nec-agent' 'neutron-plugin-nec-agent' 'neutron-plugin-nec-agent-havana')
+
+ cd tmp
+
+ install -D -m 644 etc/neutron/rootwrap.d/nec-plugin.filters \
+ ${pkgdir}/etc/neutron/rootwrap.d/nec-plugin.filters
+ install -D -m 755 usr/bin/neutron-nec-agent ${pkgdir}/usr/bin/neutron-nec-agent
+ install -D -m 644 ${srcdir}/neutron-plugin-nec-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-plugin-nec-agent.service
+}
+
+package_neutron-plugin-nicira-icehouse() {
+ pkgdesc+=" - Nicira plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-nicira' 'neutron-plugin-nicira' 'neutron-plugin-nicira-havana')
+ backup=('etc/neutron/plugins/nicira/nvp.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/nicira/nvp.ini ${pkgdir}/etc/neutron/plugins/nicira/nvp.ini
+ install -D -m 755 usr/bin/neutron-check-nvp-config ${pkgdir}/usr/bin/neutron-check-nvp-config
+}
+
+package_neutron-plugin-openvswitch-icehouse() {
+ pkgdesc+=" - Open vSwitch plugin"
+ install=neutron.plugin.openvswitch.install
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-openvswitch' 'neutron-plugin-openvswitch' 'neutron-plugin-openvswitch-havana')
+ backup=('etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini \
+ ${pkgdir}/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
+}
+
+package_neutron-plugin-openvswitch-agent-icehouse() {
+ pkgdesc+=" - Open vSwitch plugin agent"
+ depends=('openvswitch'
+ 'neutron-icehouse'
+ 'neutron-plugin-openvswitch-icehouse')
+ conflics=('quantum-plugin-openvswitch-agent' 'neutron-plugin-openvswitch-agent' 'neutron-plugin-openvswitch-agent-havana')
+ cd tmp
+
+ install -D -m 644 etc/neutron/rootwrap.d/openvswitch-plugin.filters \
+ ${pkgdir}/etc/neutron/rootwrap.d/openvswitch-plugin.filters
+ install -D -m 755 usr/bin/neutron-openvswitch-agent ${pkgdir}/usr/bin/neutron-openvswitch-agent
+ install -D -m 644 ${srcdir}/neutron-plugin-openvswitch-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-plugin-openvswitch-agent.service
+}
+
+package_neutron-plugin-plumgrid-icehouse() {
+ pkgdesc+=" - PLUMgrid plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-plumgrid' 'neutron-plugin-plumgrid' 'neutron-plugin-plumgrid-havana')
+ backup=('etc/neutron/plugins/plumgrid/plumgrid.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/plumgrid/plumgrid.ini \
+ ${pkgdir}/etc/neutron/plugins/plumgrid/plumgrid.ini
+}
+
+package_neutron-plugin-ryu-icehouse() {
+ pkgdesc+=" - RYU plugin"
+ depends=('neutron-icehouse')
+ conflics=('quantum-plugin-ryu' 'neutron-plugin-ryu' 'neutron-plugin-ryu-havana')
+ backup=('etc/neutron/plugins/ryu/ryu.ini')
+
+ cd tmp
+
+ install -D -m 640 etc/neutron/plugins/ryu/ryu.ini ${pkgdir}/etc/neutron/plugins/ryu/ryu.ini
+}
+
+package_neutron-plugin-ryu-agent-icehouse() {
+ pkgdesc+=" - RYU plugin agent"
+ depends=('neutron-icehouse' 'neutron-plugin-ryu-icehouse')
+ conflics=('quantum-plugin-ryu-agent' 'neutron-plugin-ryu-agent' 'neutron-plugin-ryu-agent-havana')
+
+ cd tmp
+
+ install -D -m 644 etc/neutron/rootwrap.d/ryu-plugin.filters \
+ ${pkgdir}/etc/neutron/rootwrap.d/ryu-plugin.filters
+ install -D -m 755 usr/bin/neutron-ryu-agent ${pkgdir}/usr/bin/neutron-ryu-agent
+ install -D -m 644 ${srcdir}/neutron-plugin-ryu-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-plugin-ryu-agent.service
+}
+
+package_neutron-plugin-vpn-agent-icehouse() {
+ pkgdesc+=" - VPN plugin agent"
+ depends=('neutron-icehouse')
+ conflics=('neutron-plugin-vpn-agent' 'neutron-plugin-vpn-agent-havana')
+ cd tmp
+
+ install -D -m 640 etc/neutron/vpn_agent.ini \
+ ${pkgdir}/etc/neutron/vpn_agent.ini
+ install -D -m 755 usr/bin/neutron-vpn-agent ${pkgdir}/usr/bin/neutron-vpn-agent
+ install -D -m 644 ${srcdir}/neutron-plugin-vpn-agent.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-plugin-vpn-agent.service
+}
+
+
+package_neutron-icehouse() {
+ pkgdesc+=" - Server"
+ install=neutron.install
+ depends=('python2-neutron-icehouse')
+ conflics=('quantum-common' 'quantum-server' 'neutron-common' 'neutron-server' 'neutron-havana')
+ optdepends=('neutron-plugin-openvswitch-icehouse')
+ backup=('etc/neutron/api-paste.ini'
+ 'etc/neutron/neutron.conf')
+
+ cd tmp
+
+ install -d ${pkgdir}/etc/neutron/rootwrap.d/
+ install -m 640 etc/neutron/api-paste.ini ${pkgdir}/etc/neutron/
+ install -m 640 etc/neutron/policy.json ${pkgdir}/etc/neutron/
+ install -m 640 etc/neutron/neutron.conf ${pkgdir}/etc/neutron/
+ install -m 644 etc/neutron/rootwrap.conf ${pkgdir}/etc/neutron/
+ install -m 644 etc/neutron/rootwrap.d/iptables-firewall.filters ${pkgdir}/etc/neutron/rootwrap.d/
+
+ install -d ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-db-manage ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-debug ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-netns-cleanup ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-ovs-cleanup ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-rootwrap ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-rootwrap-xen-dom0 ${pkgdir}/usr/bin/
+ install -m 755 usr/bin/neutron-usage-audit ${pkgdir}/usr/bin/
+
+ install -d ${pkgdir}/usr/share/man/man1/
+ cp -R man/* ${pkgdir}/usr/share/man/man1/
+
+ install -d -m 0750 ${pkgdir}/etc/sudoers.d/
+ install -m 440 ${srcdir}/neutron_sudoers ${pkgdir}/etc/sudoers.d/
+
+ install -d -m 0770 ${pkgdir}/var/lib/neutron/
+ install -d -m 0770 ${pkgdir}/var/log/neutron/
+
+ install -D -m 644 ${srcdir}/neutron-server-default ${pkgdir}/etc/default/neutron-server
+ install -D -m 755 usr/bin/neutron-server ${pkgdir}/usr/bin/neutron-server
+ install -D -m 644 ${srcdir}/neutron-server.service \
+ ${pkgdir}/usr/lib/systemd/system/neutron-server.service
+}
+
diff --git a/neutron-dhcp-agent.service b/neutron-dhcp-agent.service
new file mode 100644
index 00000000000..c2d0b5eba1b
--- /dev/null
+++ b/neutron-dhcp-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron DHCP agent
+
+[Service]
+ExecStart=/usr/bin/neutron-dhcp-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/dhcp_agent.ini --log-file=/var/log/neutron/dhcp-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-l3-agent.service b/neutron-l3-agent.service
new file mode 100644
index 00000000000..ff4b009791f
--- /dev/null
+++ b/neutron-l3-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron l3 agent
+
+[Service]
+ExecStart=/usr/bin/neutron-l3-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini --log-file=/var/log/neutron/l3-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-lbaas-agent.service b/neutron-lbaas-agent.service
new file mode 100644
index 00000000000..4a652b1ac1a
--- /dev/null
+++ b/neutron-lbaas-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron LBaaS agent
+
+[Service]
+ExecStart=/usr/bin/neutron-lbaas-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/lbaas_agent.ini --log-file=/var/log/neutron/lbaas-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-metadata-agent.service b/neutron-metadata-agent.service
new file mode 100644
index 00000000000..29b26bd13fa
--- /dev/null
+++ b/neutron-metadata-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron metadata agent
+
+[Service]
+ExecStart=/usr/bin/neutron-metadata-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/metadata_agent.ini --log-file=/var/log/neutron/metadata-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-plugin-linuxbridge-agent.service b/neutron-plugin-linuxbridge-agent.service
new file mode 100644
index 00000000000..e10ec7ecf68
--- /dev/null
+++ b/neutron-plugin-linuxbridge-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron Linux bridge plugin agent
+
+[Service]
+ExecStart=/usr/bin/neutron-linuxbridge-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini --log-file=/var/log/neutron/linuxbridge-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-plugin-metering-agent.service b/neutron-plugin-metering-agent.service
new file mode 100644
index 00000000000..8cd3bb1d1d4
--- /dev/null
+++ b/neutron-plugin-metering-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron metering agent
+
+[Service]
+ExecStart=/usr/bin/neutron-metering-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/metering_agent.ini --log-file=/var/log/neutron/metering_agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-plugin-mlnx-agent.service b/neutron-plugin-mlnx-agent.service
new file mode 100644
index 00000000000..3645570f929
--- /dev/null
+++ b/neutron-plugin-mlnx-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron MLNX Plugin Agent
+
+[Service]
+ExecStart=/usr/bin/neutron-mlnx-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/mlnx_conf.ini --log-file=/var/log/neutron/mlnx_conf.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-plugin-nec-agent.service b/neutron-plugin-nec-agent.service
new file mode 100644
index 00000000000..50eaa83e1d7
--- /dev/null
+++ b/neutron-plugin-nec-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron NEC plugin agent
+
+[Service]
+ExecStart=/usr/bin/neutron-nec-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/nec/nec.ini --log-file=/var/log/neutron/nec-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-plugin-openvswitch-agent.service b/neutron-plugin-openvswitch-agent.service
new file mode 100644
index 00000000000..8e4b0749428
--- /dev/null
+++ b/neutron-plugin-openvswitch-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron openvswitch plugin agent
+
+[Service]
+ExecStart=/usr/bin/neutron-openvswitch-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file=/var/log/neutron/openvswitch-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-plugin-ryu-agent.service b/neutron-plugin-ryu-agent.service
new file mode 100644
index 00000000000..6abea3121b3
--- /dev/null
+++ b/neutron-plugin-ryu-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron ryu plugin agent
+
+[Service]
+ExecStart=/usr/bin/neutron-ryu-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ryu/ryu.ini --log-file=/var/log/neutron/ryu-agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-plugin-vpn-agent.service b/neutron-plugin-vpn-agent.service
new file mode 100644
index 00000000000..5fe44f50cb3
--- /dev/null
+++ b/neutron-plugin-vpn-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Neutron VPN Plugin Agent
+
+[Service]
+ExecStart=/usr/bin/neutron-vpn-agent --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/vpn_agent.ini --log-file=/var/log/neutron/vpn_agent.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron-server-default b/neutron-server-default
new file mode 100644
index 00000000000..58a5d84a5da
--- /dev/null
+++ b/neutron-server-default
@@ -0,0 +1 @@
+QUANTUM_PLUGIN_CONFIG="/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini"
diff --git a/neutron-server.service b/neutron-server.service
new file mode 100644
index 00000000000..8c0ea16b352
--- /dev/null
+++ b/neutron-server.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Neutron server
+
+[Service]
+EnvironmentFile=/etc/default/neutron-server
+ExecStart=/usr/bin/neutron-server --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file=/var/log/neutron/server.log
+User=neutron
+
+[Install]
+WantedBy=multi-user.target
diff --git a/neutron.install b/neutron.install
new file mode 100644
index 00000000000..819751fda9a
--- /dev/null
+++ b/neutron.install
@@ -0,0 +1,21 @@
+post_install() {
+ getent group neutron &>/dev/null || groupadd neutron >/dev/null
+ getent passwd neutron &>/dev/null || useradd -d /var/lib/neutron -g neutron -s /bin/false neutron >/dev/null
+
+ chmod 755 /etc/neutron
+ chown -R root:neutron /etc/neutron
+ chown root:root /etc/neutron/rootwrap.conf
+ chown -R root:root /etc/neutron/rootwrap.d
+ chown neutron:neutron /var/lib/neutron
+ chown neutron /var/log/neutron
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ getent passwd neutron &>/dev/null && userdel neutron >/dev/null
+ getent group neutron &>/dev/null && groupdel neutron >/dev/null
+ true
+}
diff --git a/neutron.plugin.openvswitch.install b/neutron.plugin.openvswitch.install
new file mode 100644
index 00000000000..c1e80dc031e
--- /dev/null
+++ b/neutron.plugin.openvswitch.install
@@ -0,0 +1,12 @@
+post_install() {
+ chown -R neutron:neutron /etc/neutron/plugins
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ echo OK
+ true
+}
diff --git a/neutron_sudoers b/neutron_sudoers
new file mode 100644
index 00000000000..faba2035ad6
--- /dev/null
+++ b/neutron_sudoers
@@ -0,0 +1,3 @@
+Defaults:neutron !requiretty
+
+neutron ALL = (root) NOPASSWD: /usr/bin/neutron-rootwrap