]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Auto rebuild for xenial-mitaka 49/30349/3
authorIvan Udovichenko <iudovichenko@mirantis.com>
Wed, 1 Feb 2017 19:45:35 +0000 (21:45 +0200)
committerDmitry Teselkin <dteselkin@mirantis.com>
Fri, 3 Feb 2017 16:21:34 +0000 (16:21 +0000)
Neutron component from 9.0/mitaka Trusty.

https://mirantis.jira.com/browse/PROD-9094

Change-Id: Icdffb26523cccca5683bd5ecdde9e207d541cf1b

50 files changed:
xenial/debian/changelog [new file with mode: 0644]
xenial/debian/compat [new file with mode: 0644]
xenial/debian/control [new file with mode: 0644]
xenial/debian/copyright [new file with mode: 0644]
xenial/debian/cron.d/neutron-dhcp-agent-netns-cleanup [new file with mode: 0644]
xenial/debian/cron.d/neutron-l3-agent-netns-cleanup [new file with mode: 0644]
xenial/debian/cron.d/neutron-lbaas-agent-netns-cleanup [new file with mode: 0644]
xenial/debian/dnsmasq-neutron.conf [new file with mode: 0644]
xenial/debian/gbp.conf [new file with mode: 0644]
xenial/debian/mans/neutron-linuxbridge-agent.8 [new file with mode: 0644]
xenial/debian/mans/neutron-nec-agent.8 [new file with mode: 0644]
xenial/debian/mans/neutron-openvswitch-agent.8 [new file with mode: 0644]
xenial/debian/mans/neutron-rootwrap.8 [new file with mode: 0644]
xenial/debian/mans/neutron-ryu-agent.8 [new file with mode: 0644]
xenial/debian/mans/neutron-server.8 [new file with mode: 0644]
xenial/debian/neutron-common.README.Debian [new file with mode: 0644]
xenial/debian/neutron-common.dirs [new file with mode: 0644]
xenial/debian/neutron-common.install [new file with mode: 0644]
xenial/debian/neutron-common.logrotate [new file with mode: 0644]
xenial/debian/neutron-common.postinst.in [new file with mode: 0644]
xenial/debian/neutron-common.postrm [new file with mode: 0644]
xenial/debian/neutron-common.tmpfile [new file with mode: 0644]
xenial/debian/neutron-dhcp-agent.init.in [new file with mode: 0644]
xenial/debian/neutron-dhcp-agent.install [new file with mode: 0644]
xenial/debian/neutron-dhcp-agent.postinst.in [new file with mode: 0644]
xenial/debian/neutron-l3-agent.init.in [new file with mode: 0644]
xenial/debian/neutron-l3-agent.install [new file with mode: 0644]
xenial/debian/neutron-linuxbridge-agent.init.in [new file with mode: 0644]
xenial/debian/neutron-linuxbridge-agent.manpages [new file with mode: 0644]
xenial/debian/neutron-metadata-agent.init.in [new file with mode: 0644]
xenial/debian/neutron-metadata-agent.postinst.in [new file with mode: 0644]
xenial/debian/neutron-metadata-agent.postrm [new file with mode: 0644]
xenial/debian/neutron-metering-agent.init.in [new file with mode: 0644]
xenial/debian/neutron-openvswitch-agent.init.in [new file with mode: 0644]
xenial/debian/neutron-openvswitch-agent.manpages [new file with mode: 0644]
xenial/debian/neutron-plugin-nec-agent.manpages [new file with mode: 0644]
xenial/debian/neutron-server.init.in [new file with mode: 0644]
xenial/debian/neutron-server.manpages [new file with mode: 0644]
xenial/debian/neutron-server.prerm [new file with mode: 0644]
xenial/debian/neutron-server.service.in [new file with mode: 0644]
xenial/debian/neutron-server.upstart.in [new file with mode: 0644]
xenial/debian/neutron-sriov-agent.init.in [new file with mode: 0644]
xenial/debian/neutron_sudoers [new file with mode: 0644]
xenial/debian/plugin_guess_func [new file with mode: 0644]
xenial/debian/pydist-overrides [new file with mode: 0644]
xenial/debian/python-neutron.install [new file with mode: 0644]
xenial/debian/rules [new file with mode: 0755]
xenial/debian/source/format [new file with mode: 0644]
xenial/debian/source/options [new file with mode: 0644]
xenial/debian/watch [new file with mode: 0644]

diff --git a/xenial/debian/changelog b/xenial/debian/changelog
new file mode 100644 (file)
index 0000000..141c2e7
--- /dev/null
@@ -0,0 +1,656 @@
+neutron (2:8.3.0-2~u16.04+mos0) mos; urgency=medium
+
+  * Auto rebuild for xenial-mitaka
+
+ -- Ivan Udovichenko <iudovichenko@mirantis.com>  Wed, 01 Feb 2017 21:44:25 +0200
+
+neutron (2:8.3.0-2~u14.04+mos0) mos9.0; urgency=medium
+
+  * Remove interactive mode (debconf).
+
+ -- Ivan Udovichenko <iudovichenko@mirantis.com>  Wed, 01 Feb 2017 21:39:26 +0200
+
+neutron (2:8.3.0-1~u14.04+mos0) mos9.0; urgency=medium
+
+  * d/control: Fix (build-)dependencies.
+
+ -- Ivan Udovichenko <iudovichenko@mirantis.com>  Tue, 18 Oct 2016 16:47:01 +0300
+
+neutron (2:8.1.1-3~u14.04+mos1) mos9.0; urgency=medium
+
+  * Rebuild with new version of openstack-pkg-tools package.
+
+ -- Mikhail Ivanov <mivanov@mirantis.com>  Mon, 22 Aug 2016 19:33:56 +0300
+
+neutron (2:8.1.1-2~u14.04+mos1) mos9.0; urgency=medium
+
+  * Enable rootwrap daemon for neutron
+
+ -- Mikhail Ivanov <mivanov@mirantis.com>  Tue, 19 Jul 2016 17:33:57 +0300
+
+neutron (2:8.1.1-1~u14.04+mos1) mos9.0; urgency=medium
+
+  * Bump version to upstream 8.1.1
+
+ -- Jerzy Mikolajczak <jmikolajczak@mirantis.com>  Thu, 02 Jun 2016 10:37:00 +0200
+
+neutron (2:8.1.0-1~u14.04+mos1) mos9.0; urgency=medium
+
+  * Bump version to upstream 8.1.0
+  * Source [0]
+    [0] http://anonscm.debian.org/git/openstack/neutron.git/tree/debian?h=debian/mitaka
+
+ -- Jerzy Mikolajczak <jmikolajczak@mirantis.com>  Wed, 18 May 2016 11:06:16 +0200
+
+neutron (2:8.0.0-2~u14.04+mos1) mos9.0; urgency=medium
+
+  * Source [0]
+    [0] http://anonscm.debian.org/git/openstack/neutron.git/tree/debian?h=debian/mitaka
+
+ -- Jerzy Mikolajczak <jmikolajczak@mirantis.com>  Fri, 08 Apr 2016 11:10:40 +0200
+
+neutron (2:8.0.0~rc3-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Uploading to unstable.
+  * Fixed (build-)depends for this release.
+  * Added missing copyright holders (Closes: #816208).
+  * Failed tests fails the build.
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 05 Apr 2016 10:07:40 +0200
+
+neutron (2:8.0.0~rc1-2) experimental; urgency=medium
+
+  * Do not use Keystone admin auth token to register API endpoints.
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 29 Mar 2016 13:50:43 +0000
+
+neutron (2:8.0.0~rc1-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Fixed ryu version to 3.30, since I could upload it to Experimental after
+    current maintainer agreed with team maintenance.
+  * Added missing runtime depends: q-text-as-data.
+  * Rebuild with newer oslo.config.
+  * Added Return_oslo_config_Opts_to_config_generator.patch to avoid warnings.
+  * Standards-Version: 3.9.7 (no change).
+  * Ran debconf-updatepo.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 21 Mar 2016 14:46:45 +0100
+
+neutron (2:8.0.0~b3-1~u14.04+mos1) mos9.0; urgency=medium
+
+  * Source [0]
+    [0] http://anonscm.debian.org/git/openstack/neutron.git/tree/debian?h=debian/mitaka
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Sat, 05 Mar 2016 18:12:28 +0300
+
+neutron (2:8.0.0~b3-1) experimental; urgency=medium
+
+  [ Ondřej Nový ]
+  * Fixed VCS URLs (https).
+
+  [ Thomas Goirand ]
+  * New upstream release.
+  * Fixed (build-)depends for this release.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 03 Mar 2016 20:40:19 +0800
+
+neutron (2:8.0.0~b2-4) experimental; urgency=medium
+
+  [ Thomas Goirand ]
+  * Added a neutron-sriov-agent package.
+  * Added Ivan in the upload list.
+
+  [ Ivan Udovichenko]
+  * d/neutron-openvswitch-agent.upstart.in: Remove legacy custom Upstart script.
+  * d/neutron-linuxbridge-agent.init.in d/neutron-openvswitch-agent.init.in:
+      Add custom ML2 config files instead of the default one (LP: #1527005).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 26 Feb 2016 14:15:35 +0000
+
+neutron (2:8.0.0~b2-3) experimental; urgency=medium
+
+  * Bumped EPOCH to align with Ubuntu.
+  * Allow unit test to fail, because they do in Trusty.
+  * Do not -X/usr/bin when calling dh_install.
+  * Fixed auth_protocol to be http and not https by default.
+  * Drop Provides: argparse (Closes: #810728).
+  * neutron-linuxbridge-agent Breaks + Replaes older neutron-common
+    (Closes: #813068).
+  * New pt_BR.po debconf translation (Closes: #811530).
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 28 Jan 2016 07:34:12 +0000
+
+neutron (2:8.0.0~b1-1~u14.04+mos1) mos9.0; urgency=medium
+
+  * Source [0]
+    [0] http://anonscm.debian.org/git/openstack/neutron.git/tree/debian?h=debian/mitaka
+  * Add missing dependencies (radvd, python-openvswitch, python-pyroute2)
+    Commits 918a100 a5a14ee
+  * Update references to Nicira NVP plugin (e839df9)
+  * Do not manage nova_admin_* options from templates (054c7f1)
+  * Generate configuration files
+  * Add missing packages neutron-plugin-sriov-agent and neutron-plugin-ml2
+  * Add doc package and git as a build dependency
+  * Update requirements according to global requirements [1]
+    [1] https://github.com/openstack/requirements/blob/master/global-requirements.txt
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Mon, 18 Jan 2016 19:48:23 +0300
+
+neutron (1:8.0.0~b1-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Fixed (build-)depeneds for this release.
+  * Rebased better-config-defaults.patch.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 04 Dec 2015 09:03:42 +0100
+
+neutron (2:7.0.1-1~u14.04+mos1) mos8.0; urgency=medium
+
+  * Fix version according to versioning policy
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Fri, 18 Dec 2015 17:19:02 +0300
+
+neutron (2:7.0.0-1~u14.04+mos4) mos8.0; urgency=medium
+
+  * Add python-openvswitch to common dependencies as it gives performance
+    gains to neutron-netns-cleanup execution
+    LP: #1525126
+
+ -- Jerzy Mikolajczak <jmikolajczak@mirantis.com>  Tue, 15 Dec 2015 12:33:11 +0100
+
+neutron (2:7.0.0-1~u14.04+mos3) mos8.0; urgency=medium
+
+  * Update references to Nicira NVP plugin
+    LP: #1515165
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Wed, 09 Dec 2015 13:08:42 +0300
+
+neutron (2:7.0.0-1~u14.04+mos2) mos8.0; urgency=medium
+
+  * Add radvd to l3-agent dependencies as it's required for IPv6 networking
+    LP: #1515607
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Fri, 13 Nov 2015 13:18:50 +0300
+
+neutron (2:7.0.0-1~u14.04+mos1) mos8.0; urgency=medium
+
+  * Do not manage nova_admin_ options from templates as they are deprecated
+    and should be replaced with authentication plugin specific options
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Fri, 02 Nov 2015 19:51:51 +0300
+
+neutron (2:7.0.0.0b2-1~u14.04+mos2) mos8.0; urgency=medium
+
+  * Switch to Ubuntu packages compatible naming scheme
+  * Add additional upstart scripts
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Fri, 09 Oct 2015 12:22:51 +0300
+
+neutron (2:7.0.0.0b2-1~u14.04+mos1) mos8.0; urgency=medium
+
+  * Change version to reflect current state of MOS repository
+  * Raise epoch number.
+  * Add doc package
+  * Add transitional ML2 plugin package for compatibility reasons
+  * Add pyroute2 dependency (MOS-specific)
+
+ -- Sergey Kolekonov <skolekonov@mirantis.com>  Wed, 30 Sep 2015 15:31:57 +0300
+
+neutron (1:7.0.0-2) unstable; urgency=medium
+
+  * Delete openvswitch_agent.ini on purge (Closes: #802538).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 23 Oct 2015 12:25:25 +0200
+
+neutron (1:7.0.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Uploading to unstable.
+  * Added python-pymysql as runtime dependency.
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 13 Oct 2015 15:05:52 +0200
+
+neutron (1:7.0.0~rc1-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Fixed (build-)depends for this release.
+  * Rebased patches.
+  * Now neutron-server depends on python-openstackclient.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 25 Sep 2015 09:37:11 +0200
+
+neutron (1:7.0.0~b3-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Fixed (build-)depends for this release.
+  * Rebased better-config-defaults.patch.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 07 Sep 2015 11:51:13 +0200
+
+neutron (1:7.0.0~b2-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Fixed (build-)depends for this release.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 16 Jul 2015 15:06:54 +0200
+
+neutron (2015.1.0+2015.06.24.git61.bdf194a0e1-3) unstable; urgency=medium
+
+  * Added requirements.txt patch for SQLA version.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 01 Jul 2015 03:02:58 +0000
+
+neutron (2015.1.0+2015.06.24.git61.bdf194a0e1-2) unstable; urgency=medium
+
+  * Rebuilt for sqlalchemy 1.0.6.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 01 Jul 2015 02:14:01 +0000
+
+neutron (2015.1.0+2015.06.24.git61.bdf194a0e1-1) unstable; urgency=medium
+
+  * New upstream release (based on commit 61 and sha bdf194a0e1).
+  * Added patch for CVE-2015-3221 (Closes: #789713):
+    CVE-2015-3221_Provide_work_around_for_0.0.0.0_for_ipset.patch
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 24 Jun 2015 07:41:07 +0000
+
+neutron (2015.1.0-4) unstable; urgency=medium
+
+  * Updated Danish da.po debconf translation (Closes: #787375).
+
+ -- Thomas Goirand <zigo@debian.org>  Sun, 14 Jun 2015 15:58:35 +0200
+
+neutron (2015.1.0-3) unstable; urgency=medium
+
+  * Updated pt.po translation of debconf messages (Closes: #784589).
+  * Updated fr.po thanks to Julien Patriarca (Closes: #785226).
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 12 May 2015 23:21:01 +0200
+
+neutron (2015.1.0-2) unstable; urgency=medium
+
+  [ gustavo panizzo ]
+  * Fix a problem with openvswitch-agent where it's config file was not being
+    loaded.
+
+  [ Thomas Goirand ]
+  * Added Gustavo Panizzo <gfa@zumbi.com.ar> as uploaders.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 06 May 2015 07:57:24 +0000
+
+neutron (2015.1.0-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 30 Apr 2015 21:54:26 +0000
+
+neutron (2015.1~rc2-1) unstable; urgency=medium
+
+  [ Thomas Goirand ]
+  * New upstream release.
+  * Updated (build-)depends for this release.
+  * Removed quantum transition packages, and lbass package (the later is now a
+    separated project).
+
+  [ gustavo panizzo ]
+  * Updated ovs agent and lb agent init scripts, since they are deprecated as
+    core_plugin and should be used in conjunction of ml2.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 24 Dec 2014 15:10:00 +0800
+
+neutron (2014.2.1-1) experimental; urgency=medium
+
+  * New upstream release.
+  * cve-2014-7821_DoS_through_invalid_DNS_configuration_juno.patch is now
+    applied upstream, so removed it.
+  * Now build-depends on openstack-pkg-tools (>= 20~).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 12 Dec 2014 23:02:10 +0800
+
+neutron (2014.2-4) experimental; urgency=medium
+
+  * CVE-2014-7821: DoS through invalid DNS configuration. Applied upstream
+    patch: Fix hostname regex pattern (Closes: #770431).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 21 Nov 2014 16:39:03 +0800
+
+neutron (2014.2-3) experimental; urgency=medium
+
+  * Patches the ml2 plugin ini file to be like the install-guide by default.
+  * Added defaults-closer-to-install-guide.patch to have l3 and dhcp init files
+    match what the install-guide proposes as configuration.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 23 Oct 2014 14:59:07 +0800
+
+neutron (2014.2-2) experimental; urgency=medium
+
+  * Removed arping from depends of python-neutron, and put iputils-arping as
+    Recommends:.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 16 Oct 2014 15:17:02 +0000
+
+neutron (2014.2-1) experimental; urgency=medium
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 16 Oct 2014 14:52:35 +0000
+
+neutron (2014.2~rc2-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Updated (build-)depends for this release.
+  * Added ipset, iproute2, arping and keepalived as dependency.
+  * Now using a single logrotate file in neutron-common.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 10 Oct 2014 23:11:10 +0800
+
+neutron (2014.2~rc1-3) experimental; urgency=medium
+
+  * Fixed debconf template and ran debconf-updatepo.
+  * Another fix for the SQLite Alembic migrations.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 10 Oct 2014 07:34:35 +0000
+
+neutron (2014.2~rc1-2) experimental; urgency=medium
+
+  * Mangling upstream rc and beta versions in watch file.
+  * Fixed 0001-Add-parameter-and-iptables-rules-to-protect-dnsmasq-.patch
+    wrong identation.
+  * Added sqlite3 as dependency.
+  * Added debian/patches/more-alembic-with-sqlite-migration-fixes.patch.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 10 Oct 2014 15:00:51 +0800
+
+neutron (2014.2~rc1-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Now using templated init script for sysv-rc, generated systemd unit and
+    upstart jobs, using openstack-pkg-tools >= 13.
+  * Refreshed/rebased/reworked fix-alembic-migration-with-sqlite3.patch.
+  * Removed reference and license for tools/rfc.sh which doesn't exist, in
+    debian/copyright.
+  * Standards-Version is now 3.9.6.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 03 Oct 2014 18:53:11 +0800
+
+neutron (2014.2~b3-1) experimental; urgency=medium
+
+  [ Thomas Goirand ]
+  * Disabled ml2 config patch.
+  * Fixed (build-)depends for this release.
+  * Rebased patches.
+
+  [ gustavo panizzo ]
+  * New upstream release.
+  * Support to run neutron under systemd.
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 20 Sep 2014 07:54:55 +0000
+
+neutron (2014.1.1-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Removed OVS_lib_defer_apply_doesn_t_handle_concurrency.patch applied
+    upstream.
+  * Removed Install_SNAT_rules_for_ipv4_only.patch applied upstream.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 09 Jun 2014 23:06:59 +0800
+
+neutron (2014.1-8) unstable; urgency=medium
+
+  * Added sane-defaults-for-ml2_conf.ini.patch.
+  * Added missing dbconfig-common dependency.
+  * Also patches dhcp_agent.ini and dhcp_agent.ini for sane defaults.
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 07 Jun 2014 17:27:55 +0800
+
+neutron (2014.1-7) unstable; urgency=medium
+
+  * Updates the OVS_lib_defer_apply_doesn_t_handle_concurrency.patch patch
+    (Closes: #750415).
+  * Now build-depends on openstack-pkg-tools (>= 12~).
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 05 Jun 2014 07:25:38 +0000
+
+neutron (2014.1-6) unstable; urgency=high
+
+  * Adds Install_SNAT_rules_for_ipv4_only.patch. Note that without this patch,
+    it's possible to destroy an OpenStack cloud network, which is why I'm
+    putting urgency=high in this upload.
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 03 Jun 2014 00:07:08 +0800
+
+neutron (2014.1-5) unstable; urgency=medium
+
+  * Switched from restarting daemons to copytruncate for logrotate.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 29 May 2014 13:44:03 +0800
+
+neutron (2014.1-4) unstable; urgency=medium
+
+  * Fixed linuxbridge init script.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 21 May 2014 08:37:03 +0800
+
+neutron (2014.1-3) unstable; urgency=medium
+
+  * Added Russian Debconf translation, thanks to Yuri Kozlov
+    <yuray@komyakino.ru> (Closes: #746939).
+
+ -- Thomas Goirand <zigo@debian.org>  Sun, 04 May 2014 14:36:24 +0800
+
+neutron (2014.1-2) unstable; urgency=medium
+
+  * Unbreaks fr.po, thanks to Christian Perrier (Closes: #745249).
+  * Added it.po thanks to Beatrice Torracca (Closes: #746575).
+  * Added a Provides: neutron-plugin-ml2 in neutron-common (LP: #1309858).
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 03 May 2014 02:22:50 +0000
+
+neutron (2014.1-1) unstable; urgency=medium
+
+  [ Thomas Goirand ]
+  * New upstream pre-release.
+  * Uploading to unstable.
+  * Readded 0004-Fix-Metering-doesn-t-respect-the-l3-agent-binding.patch with
+    the last review from upstream.
+
+  [ Sylvain Baubeau ]
+  * Allow selecting log destination for Neutron daemons
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 09 Apr 2014 23:46:07 +0800
+
+neutron (2014.1~rc1-2) experimental; urgency=low
+
+  * More SQLite migration fixes for Icehouse.
+  * Added OVS_lib_defer_apply_doesn_t_handle_concurrency.patch
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 07 Apr 2014 14:23:29 +0800
+
+neutron (2014.1~rc1-1) experimental; urgency=medium
+
+  [ gustavo panizzo ]
+  * Fixes an issue using ml2 and openvswitch plugin, openvswitch agent wasn't
+  loading it's config file.
+
+  [ Thomas Goirand ]
+  * New upstream release.
+  * Removed SQLAlchemy version in requirements.txt patch (now useless).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 04 Apr 2014 13:29:48 +0000
+
+neutron (2014.1~b3-1) experimental; urgency=low
+
+  * New upstream release (Icehouse beta 3).
+  * Fixed /var/lib/neutron/dhcp folder rights for Ubuntu.
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 14 Dec 2013 00:44:19 +0800
+
+neutron (2013.2.2-1) unstable; urgency=medium
+
+  [ gustavo panizzo <gfa@zumbi.com.ar> ]
+  * New upstream release.
+  * Patch 0003-Fix-MeteringLabel-model-to-not-clear-router-s-tenant-id-on
+    deletion was merged upstream. Removed from debian/patches.
+
+  [ Thomas Goirand ]
+  * Refreshed patches.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 14 Feb 2014 07:01:38 +0000
+
+neutron (2013.2.1-5) unstable; urgency=medium
+
+  * Fix /var/lib/neutron and /var/lib/neutron/dhcp folder rights in
+    debian/neutron-common.postinst.in.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 13 Feb 2014 19:43:22 +0800
+
+neutron (2013.2.1-4) unstable; urgency=medium
+
+  * Restart daemons after logrotate.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 03 Feb 2014 16:40:52 +0800
+
+neutron (2013.2.1-3) unstable; urgency=medium
+
+  * Added new Debconf template translations thanks to:
+    - Spanish: Camaleón (Closes: #734286).
+    - Swedish: Martin Bagge (Closes: #734705).
+  * Downgrades openswan from depends to suggests, because openswan is hardly
+    maintained, and not available from testing, which is blocking Neutron from
+    migrating: this isn't worth the trouble.
+
+ -- Thomas Goirand <zigo@debian.org>  Sun, 12 Jan 2014 17:31:46 +0800
+
+neutron (2013.2.1-2) unstable; urgency=low
+
+  [ gustavo panizzo ]
+  * patch backported from icehouse-1 to simplify use of metadata on
+    provider networks.
+
+  [ Thomas Goirand ]
+  * Added a bunch of bugfix in advance from the next point release. Thanks
+  * to
+    Sylvain Afchain <sylvain.afchain@enovance.com> for helping gathering and
+    testing these.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 30 Dec 2013 23:12:45 +0800
+
+neutron (2013.2.1-1) unstable; urgency=high
+
+  * New upstream release. This fixes CVE-2013-6419.
+  * Refresh better-config-default.patch.
+  * Fixed rights of /var/lib/neutron/dhcp in the Ubuntu case.
+  * Added python-neutronclient (>= 2.3.0) as dependency of python-neutron.
+  * Fixes French debconf translation thanks to our Cheesemaster Christian
+    Perrier (Closes: #732266).
+  * Added Italian debconf translation, thanks to Beatrice Torracca
+    <beatricet@libero.it> (Closes: #732078).
+  * Fixed version of (build-)depends for python-six and python-iso8601.
+  * Added openswan as dependency for neutron-vpn-agent.
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 14 Dec 2013 00:44:51 +0800
+
+neutron (2013.2-9) unstable; urgency=medium
+
+  * Added missing handling of ml2 plugin in neutron-common.postinst.
+  * Do not call neutron-db-manage --config-file /etc/neutron/neutron.conf
+    upgrade head if the user didn't ask for db management through debconf.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 05 Dec 2013 20:30:09 +0800
+
+neutron (2013.2-8) unstable; urgency=medium
+
+  * Fixes the core_plugin setup in neutron-common postinst.
+  * Added new debconf templates translations, with warm thanks to:
+    - French, Julien Patriarca <leatherface@debian.org> (Closes: #728764).
+    - Portuguese, Américo Monteiro <a_monteiro@gmx.com> (Closes: #729928).
+  * Configures service_plugins =
+    neutron.services.l3_router.l3_router_plugin.L3RouterPlugin as default.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 05 Dec 2013 16:40:28 +0800
+
+neutron (2013.2-7) unstable; urgency=low
+
+  * neutron-l3-agent & neutron-vpn-agent now conflicts with each other.
+  * Fixed the cron.d files for lbass, dhcp and l3, so that they are on a single
+    line instead of broken lines with \ (this doesn't work otherwise).
+  * Fixes the sqlalchemy requirements.txt that restricted to SQLAlchemy
+    <= 0.7.99.
+  * Removes openvswitch-switch from depends since it's in pre-depends.
+
+  [ gustavo panizzo ]
+  * Watch file fixed.
+  * Dependency on OpenvSwitch has been updated to 1.9, as it required by
+    the plugin.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 02 Dec 2013 22:39:46 +0800
+
+neutron (2013.2-6) unstable; urgency=low
+
+  * Now starts the openvswitch agent using the ml2 config if this is the plugin
+    which is in use in the core_plugin directive.
+  * Now sets the OVSHybridIptablesFirewallDriver as default firewall driver.
+  * Changes the rights of /var/lib/neutron/dhcp in Ubuntu, and depends:
+    dpkg-dev to check if we are in Ubuntu.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 25 Nov 2013 17:21:56 +0000
+
+neutron (2013.2-5) unstable; urgency=low
+
+  * Added missing python-babel depends in python-neutron.
+  * Adds missing RabbitMQ debconf configuration code.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 25 Oct 2013 02:07:11 +0800
+
+neutron (2013.2-4) unstable; urgency=low
+
+  * neutron-*-agent packages are now breaking + replace only old versions of
+    Quantum packages: those who were not transition packages (Closes: #727235).
+  * Adds find . -type f -name "*.pyc" -delete in dh_clean.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 24 Oct 2013 02:09:41 +0800
+
+neutron (2013.2-3) unstable; urgency=low
+
+  * Really fix db setup (Closes: #726719).
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 19 Oct 2013 14:33:15 +0800
+
+neutron (2013.2-2) unstable; urgency=low
+
+  * Adds upstream fix for db setup (Closes: #726719).
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 18 Oct 2013 22:24:05 +0800
+
+neutron (2013.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Uploading to unstable.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 18 Oct 2013 00:21:51 +0800
+
+neutron (2013.2~rc3-1) experimental; urgency=low
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 17 Oct 2013 15:25:13 +0800
+
+neutron (2013.2~rc2-1) experimental; urgency=low
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org>  Sun, 13 Oct 2013 00:34:40 +0800
+
+neutron (2013.2~rc1-1) experimental; urgency=low
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org>  Sun, 06 Oct 2013 14:15:06 +0800
+
+neutron (2013.2~b3-1) experimental; urgency=low
+
+  * Initial release. (Closes: #718037)
+
+ -- Thomas Goirand <zigo@debian.org>  Sat, 27 Jul 2013 13:11:22 +0800
diff --git a/xenial/debian/compat b/xenial/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/xenial/debian/control b/xenial/debian/control
new file mode 100644 (file)
index 0000000..f107ed1
--- /dev/null
@@ -0,0 +1,382 @@
+Source: neutron
+Section: net
+Priority: optional
+Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
+Uploaders: Thomas Goirand <zigo@debian.org>,
+           Gustavo Panizzo <gfa@zumbi.com.ar>,
+           Ivan Udovichenko <iudovichenko@mirantis.com>,
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               dh-systemd,
+               git,
+               openstack-pkg-tools (>= 40~),
+               python-all,
+               python-pbr (>= 1.8),
+               python-setuptools,
+               python-sphinx,
+Build-Depends-Indep: alembic (>= 0.8.0),
+                     bridge-utils,
+                     python-cliff (>= 1.15.0),
+                     python-coverage,
+                     python-ddt (>= 1.0.1),
+                     python-debtcollector (>= 1.2.0),
+                     python-designateclient (>= 1.5.0),
+                     python-eventlet (>= 0.18.4),
+                     python-fixtures (>= 1.3.1),
+                     python-gflags,
+                     python-greenlet,
+                     python-hacking,
+                     python-httplib2,
+                     python-jinja2 (>= 2.8),
+                     python-keystoneauth1 (>= 2.1.0),
+                     python-keystonemiddleware (>= 4.0.0),
+                     python-mock (>= 1.3),
+                     python-netaddr (>= 0.7.12),
+                     python-netifaces (>= 0.10.4),
+                     python-neutronclient (>= 1:4.1.0),
+                     python-neutron-lib,
+                     python-novaclient (>= 2:2.30.1),
+                     python-openvswitch,
+                     python-os-testr (>= 0.4.2),
+                     python-oslo.concurrency (>= 3.7.1),
+                     python-oslo.config (>= 1:3.7.0),
+                     python-oslo.context (>= 0.2.0),
+                     python-oslo.db (>= 4.1.0),
+                     python-oslo.i18n (>= 2.1.0),
+                     python-oslo.log (>= 2.0.0),
+                     python-oslo.messaging (>= 4.0.0),
+                     python-oslo.middleware (>= 3.0.0),
+                     python-oslo.policy (>= 0.5.0),
+                     python-oslo.reports (>= 0.6.0),
+                     python-oslo.rootwrap (>= 2.0.0),
+                     python-oslo.serialization (>= 2.0.0),
+                     python-oslo.service (>= 1.0.0),
+                     python-oslo.utils (>= 3.5.0),
+                     python-oslo.versionedobjects (>= 1.5.0),
+                     python-oslosphinx (>= 2.5.0),
+                     python-oslotest (>= 1.10.0),
+                     python-paste,
+                     python-pastedeploy,
+                     python-pecan (>= 1.0.0),
+                     python-pymysql,
+                     python-pyudev,
+                     python-requests (>= 2.8.1),
+                     python-requests-mock (>= 0.7.0),
+                     python-retrying,
+                     python-routes,
+                     python-ryu (>= 3.30),
+                     python-six (>= 1.9.0),
+                     python-sqlalchemy (>= 1.0.10),
+                     python-stevedore (>= 1.5.0),
+                     python-testresources,
+                     python-testscenarios,
+                     python-testtools (>= 1.4.0),
+                     python-unittest2,
+                     python-webob,
+                     python-webtest,
+                     subunit,
+                     testrepository,
+Standards-Version: 3.9.7
+Homepage: http://neutron.openstack.org/
+Vcs-Browser: https://anonscm.debian.org/cgit/openstack/neutron.git/
+Vcs-Git: https://anonscm.debian.org/git/openstack/neutron.git
+
+Package: python-neutron
+Architecture: all
+Section: python
+Depends: alembic (>= 0.8.0),
+         conntrack,
+         iproute2,
+         ipset,
+         python-debtcollector (>= 1.2.0),
+         python-designateclient (>= 1.5.0),
+         python-eventlet (>= 0.18.4),
+         python-gflags,
+         python-greenlet,
+         python-httplib2,
+         python-jinja2 (>= 2.8),
+         python-keystoneauth1 (>= 2.1.0),
+         python-keystonemiddleware (>= 4.0.0),
+         python-mysqldb,
+         python-netaddr (>= 0.7.12),
+         python-netifaces (>= 0.10.4),
+         python-neutronclient (>= 1:4.1.0),
+         python-neutron-lib,
+         python-novaclient (>= 2:2.30.1),
+         python-openvswitch,
+         python-oslo.concurrency (>= 3.7.1),
+         python-oslo.config (>= 1:3.7.0),
+         python-oslo.context (>= 0.2.0),
+         python-oslo.db (>= 4.1.0),
+         python-oslo.i18n (>= 2.1.0),
+         python-oslo.log (>= 2.0.0),
+         python-oslo.messaging (>= 4.0.0),
+         python-oslo.middleware (>= 3.0.0),
+         python-oslo.policy (>= 0.5.0),
+         python-oslo.reports (>= 0.6.0),
+         python-oslo.rootwrap (>= 2.0.0),
+         python-oslo.serialization (>= 2.0.0),
+         python-oslo.service (>= 1.0.0),
+         python-oslo.utils (>= 3.5.0),
+         python-oslo.versionedobjects (>= 1.5.0),
+         python-paste,
+         python-pastedeploy,
+         python-pbr (>= 1.8),
+         python-pecan (>= 1.0.0),
+         python-psycopg2,
+         python-pymysql,
+         python-pyroute2,
+         python-pyudev,
+         python-requests (>= 2.8.1),
+         python-retrying,
+         python-routes,
+         python-ryu (>= 3.30),
+         python-six (>= 1.9.0),
+         python-sqlalchemy (>= 1.0.10),
+         python-stevedore (>= 1.5.0),
+         python-webob,
+         ${misc:Depends},
+         ${python:Depends},
+Recommends: iputils-arping,
+Replaces: neutron-plugin-linuxbridge-agent (<<2015.1~b3-1),
+          neutron-plugin-openvswitch-agent (<<2015.1~b3-1),
+Breaks: neutron-plugin-linuxbridge-agent (<<2015.1~b3-1),
+        neutron-plugin-openvswitch-agent (<<2015.1~b3-1),
+Provides: ${python:Provides},
+Description: OpenStack virtual network service - Python library
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the Python library.
+
+Package: neutron-server
+Architecture: all
+Depends: adduser,
+         lsb-base,
+         neutron-common (= ${source:Version}),
+         python-openstackclient,
+         ${misc:Depends},
+         ${python:Depends},
+Suggests: q-text-as-data,
+Description: OpenStack virtual network service - server
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the Neutron server.
+
+Package: neutron-common
+Architecture: all
+Depends: adduser,
+         dpkg-dev,
+         python-mysqldb,
+         python-neutron (= ${source:Version}),
+         python-pyparsing (>=1.5.7),
+         python-sqlalchemy (>= 1.0.10),
+         sqlite3,
+         ${misc:Depends},
+         ${python:Depends},
+Provides: neutron-plugin,
+          neutron-plugin-bigswitch,
+          neutron-plugin-brocade,
+          neutron-plugin-cisco,
+          neutron-plugin-hyperv,
+          neutron-plugin-linuxbridge,
+          neutron-plugin-metaplugin,
+          neutron-plugin-ml2,
+          neutron-plugin-nec,
+          neutron-plugin-nicira,
+          neutron-plugin-openvswitch,
+          neutron-plugin-plumgrid,
+          neutron-plugin-ryu,
+Replaces: neutron-plugin-linuxbridge-agent (<<2015.1~b3-1),
+          neutron-plugin-openvswitch-agent (<<2015.1~b3-1),
+Breaks: neutron-plugin-linuxbridge-agent (<<2015.1~b3-1),
+        neutron-plugin-openvswitch-agent (<<2015.1~b3-1),
+Description: OpenStack virtual network service - common files
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the common files.
+
+Package: neutron-plugin-nec-agent
+Architecture: all
+Provides: neutron-plugin,
+Depends: neutron-common (= ${source:Version}),
+         sudo,
+         ${misc:Depends},
+         ${python:Depends},
+Description: OpenStack virtual network service - NEC agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the NEC plugin agent.
+
+Package: neutron-l3-agent
+Architecture: all
+Depends: adduser,
+         iputils-arping,
+         keepalived,
+         neutron-common (= ${source:Version}),
+         radvd,
+         sudo,
+         ${misc:Depends},
+         ${python:Depends},
+Recommends: openvswitch-switch,
+Conflicts: neutron-vpn-agent,
+Description: OpenStack virtual network service - l3 agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the l3 agent.
+
+Package: neutron-dhcp-agent
+Architecture: all
+Depends: adduser,
+         dnsmasq-base (>= 2.63),
+         dnsmasq-utils (>= 2.63),
+         neutron-common (= ${source:Version}),
+         sudo,
+         ${misc:Depends},
+         ${python:Depends},
+Description: OpenStack virtual network service - DHCP agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the DHCP agent.
+
+Package: neutron-metadata-agent
+Architecture: all
+Depends: adduser,
+         neutron-common (= ${source:Version}),
+         ${misc:Depends},
+         ${python:Depends},
+Description: OpenStack virtual network service - metadata agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the metadata proxy agent.
+
+Package: neutron-metering-agent
+Architecture: all
+Depends: adduser,
+         lsb-base,
+         neutron-common (= ${source:Version}),
+         ${misc:Depends},
+         ${python:Depends},
+Provides: neutron-plugin-metering-agent,
+Description: OpenStack virtual network service - metering agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the Neutron metering agent.
+
+Package: neutron-openvswitch-agent
+Architecture: all
+Pre-Depends: openvswitch-switch (>= 1.9),
+Replaces: neutron-plugin-openvswitch-agent (<<2015.1~b3-1),
+Breaks: neutron-plugin-openvswitch-agent (<<2015.1~b3-1),
+Provides: neutron-plugin-openvswitch-agent,
+Depends: neutron-common (= ${source:Version}),
+         sudo,
+         ${misc:Depends},
+         ${python:Depends},
+Recommends: openvswitch-datapath-dkms,
+Description: OpenStack virtual network service - Open vSwitch agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the Open vSwitch agent. If you choose to use the Open
+ vSwitch plugin on neutron-server, this agent should run on each compute node.
+
+Package: neutron-linuxbridge-agent
+Architecture: all
+Replaces: neutron-common (<< 1:8.0.0~b1),
+          neutron-plugin-linuxbridge-agent (<<2015.1~b3-1),
+Breaks: neutron-common (<< 1:8.0.0~b1),
+        neutron-plugin-linuxbridge-agent (<<2015.1~b3-1),
+Provides: neutron-plugin-linuxbridge-agent,
+Depends: bridge-utils,
+         neutron-common (= ${source:Version}),
+         sudo,
+         ${misc:Depends},
+         ${python:Depends},
+Description: OpenStack virtual network service - Linux bridge agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the Linux bridge agent. If you choose to use the Linux
+ bridge plugin on neutron-server, this agent should run on each compute node.
+
+Package: neutron-plugin-linuxbridge-agent
+Depends: neutron-linuxbridge-agent,
+         ${misc:Depends},
+Architecture: all
+Section: oldlibs
+description: transitional dummy package for switching to Neutron Linuxbridge agent
+ This is a transitional dummy package due to the move of the Linuxbridge agent
+ from core plugin to ML2 MechanismDriver.
+ Once you have upgraded, this package can safely be removed. This package
+ provides a transition path from neutron-plugin-linuxbridge-agent to
+ neutron-linuxbridge-agent.
+
+Package: neutron-plugin-openvswitch-agent
+Depends: neutron-openvswitch-agent,
+         ${misc:Depends},
+Architecture: all
+Section: oldlibs
+description: transitional dummy package for switching to Neutron OpenVswitch agent
+ This is a transitional dummy package due to the move of the OpenVswitch agent
+ from core plugin to ML2 MechanismDriver.
+ Once you have upgraded, this package can safely be removed. This package
+ provides a transition path from neutron-plugin-openvswitch-agent to
+ neutron-openvswitch-agent.
+
+Package: neutron-sriov-agent
+Architecture: all
+Depends: neutron-common (= ${source:Version}),
+         ${misc:Depends},
+         ${python:Depends},
+         ${shlibs:Depends},
+Description: OpenStack virtual network service - SR-IOV agent
+ Neutron provides an API to dynamically request and configure virtual networks.
+ These networks connect "interfaces" from other OpenStack services (such as
+ vNICs from Nova VMs). The Neutron API supports extensions to provide advanced
+ network capabilities, including QoS, ACLs, and network monitoring.
+ .
+ This package provides the Mellanox SR-IOV agent.
+
+Package: neutron-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Description: Neutron is a virtual network service for Openstack - Docs
+ Neutron is a virtual network service for Openstack, and a part of
+ Netstack. Just like OpenStack Nova provides an API to dynamically
+ request and configure virtual servers, Neutron provides an API to
+ dynamically request and configure virtual networks. These networks
+ connect "interfaces" from other OpenStack services (e.g., virtual NICs
+ from Nova VMs). The Neutron API supports extensions to provide
+ advanced network capabilities (e.g., QoS, ACLs, network monitoring,
+ etc.)
+ .
+ This package contains the documentation
diff --git a/xenial/debian/copyright b/xenial/debian/copyright
new file mode 100644 (file)
index 0000000..67c6ad4
--- /dev/null
@@ -0,0 +1,62 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Neutron
+Source: git://github.com/openstack/neutron.git
+
+Files: *
+Copyright: (c) 2011-2016, OpenStack Foundation <openstack-dev@lists.openstack.org>
+           (c) 2011-2016, Cisco Systems
+           (c) 2011-2016, Nicira Networks
+           (c) 2011-2016, Citrix Systems
+           (c) 2012-2016, Hewlett-Packard Development Company, L.P.
+           (c) 2011-2016, VMware, Inc
+           (c) 2012, Nachi Ueno, NTT MCL, Inc.
+           (c) 2012-2016, Intel Corporation
+           (c) 2012-2016, Mirantis Inc.
+           (c) 2013-2016, Red Hat, Inc.
+           (c) 2013-2016, IBM Corp.
+           (c) 2014-2016, VA Linux Systems Japan K.K.
+           (c) 2014-2015, Thales Services SAS
+           (c) 2014-2015, Deutsche Telekom AG
+           (c) 2014-2015, SUSE Linux Products GmbH
+           (c) 2013-2015, NEC Corporation
+           (c) 2011-2015, VMware, Inc.
+           (c) 2012-2015, Cisco Systems, Inc.
+           (c) 2013, Huawei Technologies Co.,LTD.
+           (c) 2012-2015, New Dream Network, LLC (DreamHost)
+           (c) 2014-2015, Mellanox Technologies, Ltd
+           (c) 2013-2015, eNovance SAS <licensing@enovance.com>
+           (c) 2013-2015, Rackspace, Inc.
+           (c) 2015, Infoblox Inc.
+           (c) 2015, Cloudbase Solutions.
+           (c) 2015, Infoblox Inc.
+           (c) 2015, Taturiello Consulting, Meh.
+           (c) 2001-2010, Twisted Matrix Laboratories.
+           (c) 2012, Locaweb.
+           (c) 2010-2013, US Government as represented by the Administrator of NASA
+           (c) 2014, Cloudbase Solutions SRL
+           (c) 2014, NEC Corporation
+License: Apache-2.0
+
+Files: debian/*
+Copyright: (c) 2012-2016, Thomas Goirand <zigo@debian.org>
+           (c) 2012, Mehdi Abaakouk <sileht@sileht.net>
+           (c) 2011-2012, Ghe Rivero <ghe.rivero@stackops.com>
+           (c) 2012, Loic Dachary (OuoU) <loic@debian.org>
+           (c) 2012, Ola Lundqvist <opal@debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian-based systems the full text of the Apache version 2.0 license
+ can be found in `/usr/share/common-licenses/Apache-2.0'.
diff --git a/xenial/debian/cron.d/neutron-dhcp-agent-netns-cleanup b/xenial/debian/cron.d/neutron-dhcp-agent-netns-cleanup
new file mode 100644 (file)
index 0000000..69654c2
--- /dev/null
@@ -0,0 +1,3 @@
+# Periodically cleans Neutron's network namespaces on behalf of the Neutron
+# DHCP agent.
+30 * * * * neutron if [ -x /usr/bin/neutron-netns-cleanup ] ; then /usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/dhcp_agent.ini >/dev/null 2>&1; fi
diff --git a/xenial/debian/cron.d/neutron-l3-agent-netns-cleanup b/xenial/debian/cron.d/neutron-l3-agent-netns-cleanup
new file mode 100644 (file)
index 0000000..e59205e
--- /dev/null
@@ -0,0 +1,3 @@
+# Periodically cleans Neutron's network namespaces on behalf of the Neutron L3 agent.
+
+0 * * * * neutron if [ -x /usr/bin/neutron-netns-cleanup ] ; then /usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini >/dev/null 2>&1; fi
diff --git a/xenial/debian/cron.d/neutron-lbaas-agent-netns-cleanup b/xenial/debian/cron.d/neutron-lbaas-agent-netns-cleanup
new file mode 100644 (file)
index 0000000..f7595b7
--- /dev/null
@@ -0,0 +1,3 @@
+# Periodically cleans Neutron's network namespaces on behalf of the Neutron LBaaS agent.
+
+0 * * * * neutron if [ -x /usr/bin/neutron-netns-cleanup ] ; then /usr/bin/neutron-netns-cleanup --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/lbaas_agent.ini >/dev/null 2>&1; fi
diff --git a/xenial/debian/dnsmasq-neutron.conf b/xenial/debian/dnsmasq-neutron.conf
new file mode 100644 (file)
index 0000000..2361357
--- /dev/null
@@ -0,0 +1 @@
+dhcp-option-force=26,1454
diff --git a/xenial/debian/gbp.conf b/xenial/debian/gbp.conf
new file mode 100644 (file)
index 0000000..c737cbb
--- /dev/null
@@ -0,0 +1,8 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian/mitaka
+upstream-tag = %(version)s
+compression = xz
+
+[buildpackage]
+export-dir = ../build-area/
diff --git a/xenial/debian/mans/neutron-linuxbridge-agent.8 b/xenial/debian/mans/neutron-linuxbridge-agent.8
new file mode 100644 (file)
index 0000000..4d9ed2e
--- /dev/null
@@ -0,0 +1,11 @@
+.TH neutron\-linuxbridge\-agent 8
+.SH NAME
+neutron\-linuxbridge\-agent \- OpenStack Virtual network service \- linuxbridge agent
+
+.SH SYNOPSIS
+.B neutron\-linuxbridge\-agent
+
+.SH DESCRIPTION
+.B neutron\-linuxbridge\-agent
+
+This man page is a stub. Please contribute.
diff --git a/xenial/debian/mans/neutron-nec-agent.8 b/xenial/debian/mans/neutron-nec-agent.8
new file mode 100644 (file)
index 0000000..be78cd8
--- /dev/null
@@ -0,0 +1,11 @@
+.TH neutron\-nec\-agent 8
+.SH NAME
+neutron\-nec\-agent \- OpenStack Virtual network service \- nec agent
+
+.SH SYNOPSIS
+.B neutron\-nec\-agent
+
+.SH DESCRIPTION
+.B neutron\-nec\-agent
+
+This man page is a stub. Please contribute.
diff --git a/xenial/debian/mans/neutron-openvswitch-agent.8 b/xenial/debian/mans/neutron-openvswitch-agent.8
new file mode 100644 (file)
index 0000000..7fd8519
--- /dev/null
@@ -0,0 +1,11 @@
+.TH neutron\-openvswitch\-agent 8
+.SH NAME
+neutron\-openvswitch\-agent \- OpenStack Virtual network service \- openvswitch agent
+
+.SH SYNOPSIS
+.B neutron\-openvswitch\-agent
+
+.SH DESCRIPTION
+.B neutron\-openvswitch\-agent
+
+This man page is a stub. Please contribute.
diff --git a/xenial/debian/mans/neutron-rootwrap.8 b/xenial/debian/mans/neutron-rootwrap.8
new file mode 100644 (file)
index 0000000..bd95929
--- /dev/null
@@ -0,0 +1,11 @@
+.TH neutron-rootwrap 8
+.SH NAME
+neutron-rootwrap \- OpenStack Virtual network service \- sudo helper
+
+.SH SYNOPSIS
+.B neutron-rootwrap
+
+.SH DESCRIPTION
+.B neutron-rootwrap
+
+This man page is a stub. Please contribute.
diff --git a/xenial/debian/mans/neutron-ryu-agent.8 b/xenial/debian/mans/neutron-ryu-agent.8
new file mode 100644 (file)
index 0000000..8823f9d
--- /dev/null
@@ -0,0 +1,11 @@
+.TH neutron\-ryu\-agent 8
+.SH NAME
+neutron\-ryu\-agent \- OpenStack Virtual network service \- ryu agent
+
+.SH SYNOPSIS
+.B neutron\-ryu\-agent
+
+.SH DESCRIPTION
+.B neutron\-ryu\-agent
+
+This man page is a stub. Please contribute.
diff --git a/xenial/debian/mans/neutron-server.8 b/xenial/debian/mans/neutron-server.8
new file mode 100644 (file)
index 0000000..3ea1989
--- /dev/null
@@ -0,0 +1,11 @@
+.TH neutron-server 8
+.SH NAME
+neutron-server \- OpenStack Virtual network service \- server
+
+.SH SYNOPSIS
+.B neutron-server
+
+.SH DESCRIPTION
+.B neutron-server
+
+This man page is a stub. Please contribute.
diff --git a/xenial/debian/neutron-common.README.Debian b/xenial/debian/neutron-common.README.Debian
new file mode 100644 (file)
index 0000000..aa01f14
--- /dev/null
@@ -0,0 +1,27 @@
+Debian packages are set to use OpenVSwitch by default, since that is the most
+universal option. To have a correct setup, you should do the following on
+your node:
+
+ovs-vsctl add-br br-int
+ovs-vsctl add-br br-ex
+ovs-vsctl br-set-external-id br-ex bridge-id br-ex
+ovs-vsctl add-port br-ex eth0
+
+Then your br-ex IP address is handled by your network config in your
+/etc/network/interfaces configuration file:
+
+auto br-ex
+iface br-ex inet static
+       address 192.168.1.10
+       netmask 255.255.255.0
+
+This will bring up a bridge "br-int" for the internal network, and "br-ex" for
+the network connected to the public internet. Here, 192.168.1.10 is then of
+course your public IP address of the router which will deliver network to your
+virtual machines.
+
+With this setup, using tenant_network_type = gre and enable_tunneling = True
+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
diff --git a/xenial/debian/neutron-common.dirs b/xenial/debian/neutron-common.dirs
new file mode 100644 (file)
index 0000000..2b06aa2
--- /dev/null
@@ -0,0 +1,2 @@
+etc/neutron/plugins
+etc/neutron/rootwrap.d
diff --git a/xenial/debian/neutron-common.install b/xenial/debian/neutron-common.install
new file mode 100644 (file)
index 0000000..e4c3949
--- /dev/null
@@ -0,0 +1,9 @@
+debian/dnsmasq-neutron.conf    /etc/neutron
+debian/neutron_sudoers /etc/sudoers.d
+debian/plugin_guess_func       /usr/share/neutron-common
+etc/api-paste.ini      /usr/share/neutron-common
+etc/neutron/plugins    /etc/neutron
+etc/neutron/rootwrap.d/* /etc/neutron/rootwrap.d
+etc/policy.json                /etc/neutron
+etc/rootwrap.conf      /etc/neutron
+usr/bin/neutron*
diff --git a/xenial/debian/neutron-common.logrotate b/xenial/debian/neutron-common.logrotate
new file mode 100644 (file)
index 0000000..c39eca5
--- /dev/null
@@ -0,0 +1,7 @@
+/var/log/neutron/*.log {
+    daily
+    missingok
+    compress
+    delaycompress
+    copytruncate
+}
diff --git a/xenial/debian/neutron-common.postinst.in b/xenial/debian/neutron-common.postinst.in
new file mode 100644 (file)
index 0000000..2c82b50
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+set -e
+
+OVS_CONF=/etc/neutron/plugins/ml2/openvswitch_agent.ini
+
+#PKGOS-INCLUDE#
+
+
+if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
+       pkgos_var_user_group neutron
+       chmod 755 /var/lib/neutron
+
+       pkgos_write_new_conf neutron api-paste.ini
+       pkgos_write_new_conf neutron neutron.conf
+       chmod 0660 /etc/neutron/neutron.conf
+
+       # Maintain the OVS config
+        if [ ! -e ${OVS_CONF} ] ; then
+                install -D -m 0640 -o neutron -g neutron /usr/share/neutron-common/openvswitch_agent.ini ${OVS_CONF}
+        fi
+
+       chown -R neutron:adm /var/log/neutron/
+       chmod 0700 /etc/neutron
+       chmod 0750 /var/log/neutron/
+       chown root:root /etc/neutron/rootwrap.conf
+       chown root:root /etc/neutron/rootwrap.d
+       chmod 0755 /etc/neutron/rootwrap.d
+
+       # The /var/lib/neutron/dhcp needs to be readable from the nobody user.
+       chmod 755 /var/lib/neutron
+       mkdir -p /var/lib/neutron/dhcp
+       chown neutron:neutron /var/lib/neutron/dhcp
+       chmod 755 /var/lib/neutron/dhcp
+
+       if [ -f /etc/sudoers.d/neutron_sudoers ] ; then
+               chmod 0440 /etc/sudoers.d/neutron_sudoers
+       fi
+fi
+
+#DEBHELPER#
diff --git a/xenial/debian/neutron-common.postrm b/xenial/debian/neutron-common.postrm
new file mode 100644 (file)
index 0000000..9fdff87
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "${1}" = "purge" ] ; then
+       rm -f /etc/default/neutron /etc/neutron/api-paste.ini /etc/neutron/neutron.conf \
+                       /etc/neutron/plugins/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
+        rm -rf /var/log/neutron
+fi
+
+#DEBHELPER#
diff --git a/xenial/debian/neutron-common.tmpfile b/xenial/debian/neutron-common.tmpfile
new file mode 100644 (file)
index 0000000..d9a5824
--- /dev/null
@@ -0,0 +1 @@
+d /run/neutron 0755 neutron neutron -
diff --git a/xenial/debian/neutron-dhcp-agent.init.in b/xenial/debian/neutron-dhcp-agent.init.in
new file mode 100644 (file)
index 0000000..2cb4131
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-dhcp-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone
+# Should-Stop:       mysql postgresql rabbitmq-server keystone
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron DHCP agent
+# Description:       Provide DHCP agent for neutron
+### END INIT INFO
+
+# Author: Mehdi Abaakouk <sileht@sileht.net>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="OpenStack Neutron DHCP agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-dhcp-agent
+# --config-file=/etc/neutron/neutron.conf will be happened 
+# to DAEMON_ARGS later by openstack-pkg-tools
+DAEMON_ARGS="--config-file=/etc/neutron/dhcp_agent.ini"
diff --git a/xenial/debian/neutron-dhcp-agent.install b/xenial/debian/neutron-dhcp-agent.install
new file mode 100644 (file)
index 0000000..568ca1f
--- /dev/null
@@ -0,0 +1 @@
+debian/cron.d/neutron-dhcp-agent-netns-cleanup etc/cron.d
diff --git a/xenial/debian/neutron-dhcp-agent.postinst.in b/xenial/debian/neutron-dhcp-agent.postinst.in
new file mode 100644 (file)
index 0000000..0bf58fb
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+#PKGOS-INCLUDE#
+
+if [ "$1" = "configure" ]; then
+       pkgos_var_user_group neutron
+       chmod 755 /var/lib/neutron
+
+       chown root:root /etc/neutron/rootwrap.d/dhcp.filters
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/xenial/debian/neutron-l3-agent.init.in b/xenial/debian/neutron-l3-agent.init.in
new file mode 100644 (file)
index 0000000..ccc8ea1
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-l3-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Should-Stop:       mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron L3 agent
+# Description:       Provide L3 agent for neutron
+### END INIT INFO
+
+# Authors: Mehdi Abaakouk <sileht@sileht.net>
+#          Thomas Goirand <zigo@debian.org>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="OpenStack Neutron L3 agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-l3-agent
+# --config-file=/etc/neutron/neutron.conf will be happened 
+# to DAEMON_ARGS later by openstack-pkg-tools
+DAEMON_ARGS="--config-file=/etc/neutron/l3_agent.ini"
diff --git a/xenial/debian/neutron-l3-agent.install b/xenial/debian/neutron-l3-agent.install
new file mode 100644 (file)
index 0000000..913f215
--- /dev/null
@@ -0,0 +1 @@
+debian/cron.d/neutron-l3-agent-netns-cleanup etc/cron.d
diff --git a/xenial/debian/neutron-linuxbridge-agent.init.in b/xenial/debian/neutron-linuxbridge-agent.init.in
new file mode 100644 (file)
index 0000000..a79ed95
--- /dev/null
@@ -0,0 +1,29 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-linuxbridge-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone
+# Should-Stop:       mysql postgresql rabbitmq-server keystone
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron LinuxBridge Agent
+# Description:       Agent to use within neutron linuxbridge client
+### END INIT INFO
+
+# Author: Ghe Rivero <ghe.rivero@stackops.com>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="Openstack Neutron LinuxBridge Plugin Agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-linuxbridge-agent
+# --config-file=/etc/neutron/neutron.conf will be happened
+# to DAEMON_ARGS later by openstack-pkg-tools
+
+# Since Juno LB plugin as been deprecated as core_plugin, it has been
+# replaced by ml2 as core_plugin and lb as agent. Making ml2 mandatory
+# to use this agent
+
+DAEMON_ARGS="--config-file=/etc/neutron/plugins/linuxbridge/linuxbridge_conf.ini --config-file=/etc/neutron/plugins/ml2/linuxbridge_agent.ini"
+
diff --git a/xenial/debian/neutron-linuxbridge-agent.manpages b/xenial/debian/neutron-linuxbridge-agent.manpages
new file mode 100644 (file)
index 0000000..d1e40a2
--- /dev/null
@@ -0,0 +1 @@
+debian/mans/neutron-linuxbridge-agent.8
diff --git a/xenial/debian/neutron-metadata-agent.init.in b/xenial/debian/neutron-metadata-agent.init.in
new file mode 100644 (file)
index 0000000..34552a5
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-metadata-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Should-Stop:       mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron Metadata Agent agent
+# Description:       Provide Metadata agent for neutron
+### END INIT INFO
+
+# Author: Thomas Goirand <zigo@debian.org>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="OpenStack Neutron Metadata Agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-metadata-agent
+# --config-file=/etc/neutron/neutron.conf will be happened 
+# to DAEMON_ARGS later by openstack-pkg-tools
+DAEMON_ARGS="--config-file=/etc/neutron/metadata_agent.ini"
diff --git a/xenial/debian/neutron-metadata-agent.postinst.in b/xenial/debian/neutron-metadata-agent.postinst.in
new file mode 100644 (file)
index 0000000..0c557c0
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+CONF_FILE=/etc/neutron/metadata_agent.ini
+
+#PKGOS-INCLUDE#
+
+
+if [ "${1}" = "configure" ] ; then
+       pkgos_var_user_group neutron
+       chmod 755 /var/lib/neutron
+
+       if [ ! -e ${CONF_FILE} ] ; then
+               install -D -m 0640 -o neutron -g neutron /usr/share/neutron-metadata-agent/metadata_agent.ini ${CONF_FILE}
+       fi
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/xenial/debian/neutron-metadata-agent.postrm b/xenial/debian/neutron-metadata-agent.postrm
new file mode 100644 (file)
index 0000000..45f37ab
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "${1}" = "purge" ] ; then
+       rm -f /etc/neutron/metadata_agent.ini
+fi
+
+#DEBHELPER#
diff --git a/xenial/debian/neutron-metering-agent.init.in b/xenial/debian/neutron-metering-agent.init.in
new file mode 100644 (file)
index 0000000..2e3a3c6
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-metering-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Should-Stop:       mysql postgresql rabbitmq-server keystone openvswitch-switch
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron Metering Agent agent
+# Description:       Provides Metering agent for neutron
+### END INIT INFO
+
+# Author: Thomas Goirand <zigo@debian.org>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="OpenStack Neutron Metering Agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-metering-agent
+# --config-file=/etc/neutron/neutron.conf will be happened 
+# to DAEMON_ARGS later by openstack-pkg-tools
+DAEMON_ARGS="--config-file=/etc/neutron/metering_agent.ini"
diff --git a/xenial/debian/neutron-openvswitch-agent.init.in b/xenial/debian/neutron-openvswitch-agent.init.in
new file mode 100644 (file)
index 0000000..03c7e63
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-openvswitch-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog openvswitch-switch
+# Required-Stop:     $remote_fs openvswitch-switch
+# Should-Start:      mysql postgresql rabbitmq-server keystone
+# Should-Stop:       mysql postgresql rabbitmq-server keystone
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Neutron OpenVSwitch Agent
+# Description:       Agent to use within neutron openswitch client
+### END INIT INFO
+
+# Authors: Julien Danjou <acid@debian.org>, Thomas Goirand <zigo@debian.org>
+
+DESC="Openstack Neutron OpenVSwitch Plugin Agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-openvswitch-agent
+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
+# to use this agent
+DAEMON_ARGS="--config-file=/etc/neutron/neutron.conf"
diff --git a/xenial/debian/neutron-openvswitch-agent.manpages b/xenial/debian/neutron-openvswitch-agent.manpages
new file mode 100644 (file)
index 0000000..7cc4efe
--- /dev/null
@@ -0,0 +1 @@
+debian/mans/neutron-openvswitch-agent.8
diff --git a/xenial/debian/neutron-plugin-nec-agent.manpages b/xenial/debian/neutron-plugin-nec-agent.manpages
new file mode 100644 (file)
index 0000000..a9a0ac4
--- /dev/null
@@ -0,0 +1 @@
+debian/mans/neutron-nec-agent.8
diff --git a/xenial/debian/neutron-server.init.in b/xenial/debian/neutron-server.init.in
new file mode 100644 (file)
index 0000000..ce6b27b
--- /dev/null
@@ -0,0 +1,46 @@
+#! /bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-server
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Should-Start:      mysql postgresql rabbitmq-server keystone
+# Should-Stop:       mysql postgresql rabbitmq-server keystone
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: neutron-server
+# Description:       Provides the Neutron networking service
+### END INIT INFO
+
+DESC="OpenStack Neutron Server"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-server
+
+### Maintain the plugin selection so that we can load the corresponding .ini file    ###
+### after this, openstack-pkg-tools will add --config-file=/etc/neutron/neutron.conf ###
+DAEMON_ARGS=""
+[ -r /usr/share/neutron-common/plugin_guess_func ] || exit 0
+. /usr/share/neutron-common/plugin_guess_func
+
+if ! [ -r /etc/neutron/neutron.conf ] ; then
+       echo "Cloud not read /etc/neutron/neutron.conf: exiting"
+       exit 0
+fi
+
+CURRENT_PLUGIN=`grep "^[ \t]*core_plugin[ \t]*=[ \t]*[._a-zA-Z0-9]*\$" /etc/neutron/neutron.conf | sed -e 's/^[ \t]*core_plugin[ \t]*=[ \t]*//'`
+if [ -z "${CURRENT_PLUGIN}" ] ; then
+       echo "No core_plugin= value found: please set it and try again"
+       exit 0
+fi
+neutron_core_plugin_to_plugin_name ${CURRENT_PLUGIN}
+neutron_plugin_ini_path ${NEUTRON_PLUGIN_NAME}
+if [ -z "${NEUTRON_PLUGIN_CONFIG}" ] ; then
+       echo "Plugin not recognized: please edit /etc/init.d/neutron-server to select the correct .ini file to load for your plugin"
+else
+       DAEMON_ARGS="${DAEMON_ARGS} --config-file=${NEUTRON_PLUGIN_CONFIG}"
+       DESC="${DESC} with ${NEUTRON_PLUGIN_NAME} plugin"
+fi
+
+### Neutron folders creation ###
+mkdir -p /var/lib/neutron/tmp
+chown neutron:neutron /var/lib/neutron/tmp
+export TMPDIR=/var/lib/neutron/tmp
diff --git a/xenial/debian/neutron-server.manpages b/xenial/debian/neutron-server.manpages
new file mode 100644 (file)
index 0000000..2c37937
--- /dev/null
@@ -0,0 +1,2 @@
+debian/mans/neutron-rootwrap.8
+debian/mans/neutron-server.8
diff --git a/xenial/debian/neutron-server.prerm b/xenial/debian/neutron-server.prerm
new file mode 100644 (file)
index 0000000..8800b35
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+case $1 in
+        remove|purge)
+                invoke-rc.d neutron-server stop
+esac
+
+#DEBHELPER#
diff --git a/xenial/debian/neutron-server.service.in b/xenial/debian/neutron-server.service.in
new file mode 100644 (file)
index 0000000..d6fee4d
--- /dev/null
@@ -0,0 +1,17 @@
+[Unit]
+Description=OpenStack Neutron Server
+After=mysql.service postgresql.service rabbitmq-server.service keystone.service
+
+[Service]
+User=neutron
+Group=neutron
+WorkingDirectory=/var/lib/neutron
+PermissionsStartOnly=true
+ExecStartPre=/bin/mkdir -p /var/lock/neutron /var/log/neutron /var/lib/neutron
+ExecStartPre=/bin/chown neutron:neutron /var/lock/neutron /var/log/neutron /var/lib/neutron
+ExecStart=/etc/init.d/neutron-server systemd-start
+Restart=on-failure
+LimitNOFILE=65535
+
+[Install]
+WantedBy=multi-user.target
diff --git a/xenial/debian/neutron-server.upstart.in b/xenial/debian/neutron-server.upstart.in
new file mode 100644 (file)
index 0000000..ff39720
--- /dev/null
@@ -0,0 +1,40 @@
+description "Neutron server"
+author "Thomas Goirand <zigo@debian.org>"
+
+start on runlevel [2345]
+stop on runlevel [016]
+
+chdir /var/run
+
+pre-start script
+       mkdir -p /var/run/neutron
+       chown neutron:root /var/run/neutron
+end script
+
+script
+       [ -r /usr/share/neutron-common/plugin_guess_func ] || exit 0
+       . /usr/share/neutron-common/plugin_guess_func
+
+       [ -r /etc/default/openstack ] && . /etc/default/openstack
+       [ -r /etc/default/$UPSTART_JOB ] && . /etc/default/$UPSTART_JOB
+
+       [ "x$USE_SYSLOG" = "xyes" ] && DAEMON_ARGS="$DAEMON_ARGS --use-syslog"
+       [ "x$USE_LOGFILE" != "xno" ] && DAEMON_ARGS="$DAEMON_ARGS --log-file=/var/log/neutron/server.log"
+
+       if ! [ -r /etc/neutron/neutron.conf ] ; then
+               echo "Cloud not read /etc/neutron/neutron.conf: exiting"
+               exit 0
+       fi
+       CURRENT_PLUGIN=`grep "^[ \t]*core_plugin[ \t]*=[ \t]*[._a-zA-Z0-9]*\$" /etc/neutron/neutron.conf | sed -e 's/^[ \t]*core_plugin[ \t]*=[ \t]*//'`
+       if [ -z "${CURRENT_PLUGIN}" ] ; then
+               echo "No core_plugin= value found: please set it and try again"
+               exit 0
+       fi
+
+       neutron_core_plugin_to_plugin_name ${CURRENT_PLUGIN}
+       neutron_plugin_ini_path ${NEUTRON_PLUGIN_NAME}
+        [ -r "$NEUTRON_PLUGIN_CONFIG" ] && CONF_ARG="--config-file $NEUTRON_PLUGIN_CONFIG"
+        exec start-stop-daemon --start --chuid neutron:neutron --exec /usr/bin/neutron-server -- \
+            --config-file /etc/neutron/neutron.conf \
+            $DAEMON_ARGS $CONF_ARG
+end script
diff --git a/xenial/debian/neutron-sriov-agent.init.in b/xenial/debian/neutron-sriov-agent.init.in
new file mode 100644 (file)
index 0000000..ba535e1
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          neutron-sriov-agent
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      mysql postgresql rabbitmq-server keystone
+# Should-Stop:       mysql postgresql rabbitmq-server keystone
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: SRIOV Agent
+# Description:       This is the Neutron SRIOV agent
+### END INIT INFO
+
+# Authors: Thomas Goirand <zigo@debian.org>
+DESC="OpenStack Neutron SRIOV Agent"
+PROJECT_NAME=neutron
+NAME=${PROJECT_NAME}-sriov-agent
+DAEMON=/usr/bin/neutron-sriov-nic-agent
+# --config-file=/etc/neutron/neutron.conf will be happened
+# to DAEMON_ARGS later by openstack-pkg-tools
+DAEMON_ARGS="--config-file=/etc/neutron/plugins/ml2/sriov_agent.ini"
diff --git a/xenial/debian/neutron_sudoers b/xenial/debian/neutron_sudoers
new file mode 100644 (file)
index 0000000..9273f58
--- /dev/null
@@ -0,0 +1,4 @@
+Defaults:neutron !requiretty
+
+neutron ALL = (root) NOPASSWD: /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf *
+neutron ALL = (root) NOPASSWD: /usr/bin/neutron-rootwrap-daemon /etc/neutron/rootwrap.conf
diff --git a/xenial/debian/plugin_guess_func b/xenial/debian/plugin_guess_func
new file mode 100644 (file)
index 0000000..281152a
--- /dev/null
@@ -0,0 +1,167 @@
+#!/bin/sh
+
+# Remember to also add any new plugin name into neutron-common.templates
+
+# Please remember this function is also duplicated in debian/neutron-common.config.in
+### Guess the plugin name depending on the class of the plugin in /etc/neutron/neutron.conf ###
+neutron_core_plugin_to_plugin_name () {
+       case ${1} in
+       "neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2")
+               NEUTRON_PLUGIN_NAME=OpenVSwitch
+       ;;
+       "neutron.plugins.linuxbridge.lb_neutron_plugin.LinuxBridgePluginV2")
+               NEUTRON_PLUGIN_NAME=LinuxBridge
+       ;;
+       "neutron.plugins.ml2.plugin.Ml2Plugin")
+               NEUTRON_PLUGIN_NAME=ml2
+       ;;
+       "neutron.plugins.ryu.ryu_neutron_plugin.RyuNeutronPluginV2")
+               NEUTRON_PLUGIN_NAME=RYU
+       ;;
+       "neutron.plugins.plumgrid.plumgrid_nos_plugin.plumgrid_plugin.NeutronPluginPLUMgridV2")
+               NEUTRON_PLUGIN_NAME=PLUMgrid
+       ;;
+       "neutron.plugins.brocade.NeutronPlugin.BrocadePluginV2")
+               NEUTRON_PLUGIN_NAME=Brocade
+       ;;
+       "neutron.plugins.hyperv.hyperv_neutron_plugin.HyperVNeutronPlugin")
+               NEUTRON_PLUGIN_NAME=Hyper-V
+       ;;
+       "neutron.plugins.bigswitch.plugin.NeutronRestProxyV2")
+               NEUTRON_PLUGIN_NAME=BigSwitch
+       ;;
+       "neutron.plugins.cisco.network_plugin.PluginV2")
+               NEUTRON_PLUGIN_NAME=Cisco
+       ;;
+       "neutron.plugins.nicira.NeutronPlugin.NvpPluginV2")
+               NEUTRON_PLUGIN_NAME=neutron.plugins.nicira.NeutronPlugin.NvpPluginV2
+       ;;
+       "neutron.plugins.midonet.plugin.MidonetPluginV2")
+               NEUTRON_PLUGIN_NAME=Midonet
+       ;;
+       "neutron.plugins.nec.nec_plugin.NECPluginV2")
+               NEUTRON_PLUGIN_NAME=Nec
+       ;;
+       "neutron.plugins.metaplugin.meta_neutron_plugin.MetaPluginV2")
+               NEUTRON_PLUGIN_NAME=MetaPlugin
+       ;;
+       "neutron.plugins.mlnx.mlnx_plugin.MellanoxEswitchPlugin")
+               NEUTRON_PLUGIN_NAME=Mellanox
+       ;;
+       "vmware_nsx.plugin.NsxVPlugin")
+               NEUTRON_PLUGIN_NAME=VMware
+       ;;
+       *)
+               NEUTRON_PLUGIN_NAME="other"
+       ;;
+       esac
+}
+
+### Guess the path of the plugin .ini file depending on the plugin name ###
+neutron_plugin_ini_path () {
+       PLUG_INI_BASE=/etc/neutron/plugins/
+       case ${1} in
+       "OpenVSwitch")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}ml2/openvswitch_agent.ini
+       ;;
+       "LinuxBridge")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}linuxbridge/linuxbridge_conf.ini
+       ;;
+       "ml2")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}ml2/ml2_conf.ini
+       ;;
+       "RYU")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}ryu/ryu.ini
+       ;;
+       "PLUMgrid")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}plumgrid/plumgrid.ini
+       ;;
+       "Brocade")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}brocade/brocade.ini
+       ;;
+       "Hyper-V")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}hyperv/hyperv_neutron_plugin.ini
+       ;;
+       "BigSwitch")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}bigswitch/restproxy.ini
+       ;;
+       "Cisco")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}cisco/cisco_plugins.ini
+       ;;
+       "Nicira")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}nicira/nvp.ini
+       ;;
+       "Midonet")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}midonet/midonet.ini
+       ;;
+       "Nec")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}nec/nec.ini
+       ;;
+       "MetaPlugin")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}metaplugin/metaplugin.ini
+       ;;
+       "Mellanox")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}mlnx/mlnx_conf.ini
+       ;;
+       "VMware")
+               NEUTRON_PLUGIN_CONFIG=${PLUG_INI_BASE}vmware/nsx.ini
+       ;;
+       *)
+               NEUTRON_PLUGIN_CONFIG=""
+       ;;
+       esac
+}
+
+### Translates the core_plugin directive value from neutron.conf into the plugin name ###
+neutron_core_plugin_to_plugin_name () {
+       case ${1} in
+       "neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2")
+               NEUTRON_PLUGIN_NAME=OpenVSwitch
+       ;;
+       "neutron.plugins.linuxbridge.lb_neutron_plugin.LinuxBridgePluginV2")
+               NEUTRON_PLUGIN_NAME=LinuxBridge
+       ;;
+       "neutron.plugins.ml2.plugin.Ml2Plugin")
+               NEUTRON_PLUGIN_NAME=ml2
+       ;;
+       "neutron.plugins.ryu.ryu_neutron_plugin.RyuNeutronPluginV2")
+               NEUTRON_PLUGIN_NAME=RYU
+       ;;
+       "neutron.plugins.plumgrid.plumgrid_nos_plugin.plumgrid_plugin.NeutronPluginPLUMgridV2")
+               NEUTRON_PLUGIN_NAME=PLUMgrid
+       ;;
+       "neutron.plugins.brocade.NeutronPlugin.BrocadePluginV2")
+               NEUTRON_PLUGIN_NAME=Brocade
+       ;;
+       "neutron.plugins.hyperv.hyperv_neutron_plugin.HyperVNeutronPlugin")
+               NEUTRON_PLUGIN_NAME=Hyper-V
+       ;;
+       "neutron.plugins.bigswitch.plugin.NeutronRestProxyV2")
+               NEUTRON_PLUGIN_NAME=BigSwitch
+       ;;
+       "neutron.plugins.cisco.network_plugin.PluginV2")
+               NEUTRON_PLUGIN_NAME=Cisco
+       ;;
+       "neutron.plugins.nicira.NeutronPlugin.NvpPluginV2")
+               NEUTRON_PLUGIN_NAME=neutron.plugins.nicira.NeutronPlugin.NvpPluginV2
+       ;;
+       "neutron.plugins.midonet.plugin.MidonetPluginV2")
+               NEUTRON_PLUGIN_NAME=Midonet
+       ;;
+       "neutron.plugins.nec.nec_plugin.NECPluginV2")
+               NEUTRON_PLUGIN_NAME=Nec
+       ;;
+       "neutron.plugins.metaplugin.meta_neutron_plugin.MetaPluginV2")
+               NEUTRON_PLUGIN_NAME=MetaPlugin
+       ;;
+       "neutron.plugins.mlnx.mlnx_plugin.MellanoxEswitchPlugin")
+               NEUTRON_PLUGIN_NAME=Mellanox
+       ;;
+       "vmware_nsx.plugin.NsxVPlugin")
+               NEUTRON_PLUGIN_NAME=VMware
+       ;;
+       *)
+               NEUTRON_PLUGIN_NAME="other"
+       ;;
+       esac
+}
diff --git a/xenial/debian/pydist-overrides b/xenial/debian/pydist-overrides
new file mode 100644 (file)
index 0000000..8b68c1e
--- /dev/null
@@ -0,0 +1,4 @@
+neutron_server neutron-server
+neutron_common neutron-common
+setuptools-git
+alembic alembic
diff --git a/xenial/debian/python-neutron.install b/xenial/debian/python-neutron.install
new file mode 100644 (file)
index 0000000..036c6b9
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/python*/dist-packages/*
diff --git a/xenial/debian/rules b/xenial/debian/rules
new file mode 100755 (executable)
index 0000000..c5072a3
--- /dev/null
@@ -0,0 +1,137 @@
+#!/usr/bin/make -f
+
+include /usr/share/openstack-pkg-tools/pkgos.make
+export OSLO_PACKAGE_VERSION=$(shell dpkg-parsechangelog | grep Version: | cut -d' ' -f2 | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~/.0/' | head -n 1)
+
+PYTHONS:=$(shell pyversions -vr)
+
+%:
+       dh $@ --buildsystem=python_distutils --with python2,systemd,sphinxdoc
+
+override_dh_auto_install:
+       echo "Do nothing"
+
+override_dh_install:
+       rm -rf $(CURDIR)/debian/tmp
+       python2.7 setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp
+       cp -auxf neutron $(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages
+       rm -rf $(CURDIR)/debian/tmp/usr/etc
+
+       # dhcp_agent.ini
+       mkdir -p $(CURDIR)/debian/neutron-dhcp-agent/etc/neutron
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-dhcp-agent/etc/neutron/dhcp_agent.ini \
+               --wrap-width 140 \
+               --namespace neutron.base.agent \
+               --namespace neutron.dhcp.agent \
+               --namespace oslo.log
+
+       # l3_agent.ini
+       mkdir -p $(CURDIR)/debian/neutron-l3-agent/etc/neutron
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-l3-agent/etc/neutron/l3_agent.ini \
+               --wrap-width 140 \
+               --namespace neutron.base.agent \
+               --namespace neutron.l3.agent \
+               --namespace oslo.log
+
+       # linuxbridge_agent.ini
+       mkdir -p $(CURDIR)/debian/neutron-linuxbridge-agent/etc/neutron/plugins/ml2
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-linuxbridge-agent/etc/neutron/plugins/ml2/linuxbridge_agent.ini \
+               --wrap-width 140 \
+               --namespace neutron.ml2.linuxbridge.agent \
+               --namespace oslo.log
+
+       # metadata_agent.ini
+       mkdir -p $(CURDIR)/debian/neutron-metadata-agent/usr/share/neutron-metadata-agent
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-metadata-agent/usr/share/neutron-metadata-agent/metadata_agent.ini \
+               --wrap-width 140 \
+               --namespace neutron.metadata.agent \
+               --namespace oslo.log
+
+       # metering_agent.ini
+       mkdir -p $(CURDIR)/debian/neutron-metering-agent/etc/neutron
+       PYTHONPATH=$(CURDIR)/debian/tmp oslo-config-generator --output-file $(CURDIR)/debian/neutron-metering-agent/etc/neutron/metering_agent.ini \
+               --wrap-width 140 \
+               --namespace neutron.metering.agent \
+               --namespace oslo.log
+
+       # ml2_conf.ini
+       mkdir -p $(CURDIR)/debian/neutron-common/etc/neutron/plugins/ml2
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-common/etc/neutron/plugins/ml2/ml2_conf.ini \
+               --wrap-width 140 \
+               --namespace neutron.ml2 \
+               --namespace oslo.log
+
+       # ml2_conf_sriov.ini
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-common/etc/neutron/plugins/ml2/ml2_conf_sriov.ini \
+               --wrap-width 140 \
+               --namespace neutron.ml2.sriov \
+               --namespace oslo.log
+
+       # neutron.conf
+       mkdir -p $(CURDIR)/debian/neutron-common/usr/share/neutron-common
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-common/usr/share/neutron-common/neutron.conf \
+               --wrap-width 140 \
+               --namespace neutron \
+               --namespace neutron.agent \
+               --namespace neutron.db \
+               --namespace neutron.extensions \
+               --namespace neutron.qos \
+               --namespace nova.auth \
+               --namespace oslo.log \
+               --namespace oslo.db \
+               --namespace oslo.policy \
+               --namespace oslo.concurrency \
+               --namespace oslo.messaging \
+               --namespace oslo.middleware.cors \
+               --namespace oslo.service.sslutils \
+               --namespace oslo.service.wsgi \
+               --namespace keystonemiddleware.auth_token
+
+
+       # openvswitch_agent.ini
+       mkdir -p $(CURDIR)/debian/neutron-common/usr/share/neutron-common
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-common/usr/share/neutron-common/openvswitch_agent.ini \
+               --wrap-width 140 \
+               --namespace neutron.ml2.ovs.agent \
+               --namespace oslo.log
+
+       # sriov_agent.ini
+       mkdir -p $(CURDIR)/debian/neutron-common/etc/neutron/plugins/ml2
+       PYTHONPATH=$(CURDIR)/debian/tmp/usr/lib/python2.7/dist-packages oslo-config-generator --output-file $(CURDIR)/debian/neutron-common/etc/neutron/plugins/ml2/sriov_agent.ini \
+               --wrap-width 140 \
+               --namespace neutron.ml2.sriov.agent \
+               --namespace oslo.log
+
+       dh_install --fail-missing -X/usr/etc
+
+override_dh_auto_clean:
+       dh_auto_clean
+       find . -type f -name "*.pyc" | xargs rm -fr
+       rm -rf build neutron.egg-info
+       rm -f debian/neutron-common.postinst \
+               debian/neutron-dhcp-agent.postinst \
+               debian/neutron-metadata-agent.postinst
+       rm -f debian/*.init debian/*.service debian/*.upstart
+
+override_dh_clean:
+       dh_clean
+       find . -type f -name "*.pyc" -delete
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+       PYTHONPATH=build/* ./run_tests.sh -N -P
+endif
+
+override_dh_auto_build:
+       dh_auto_build -O--buildsystem=python_distutils
+
+       /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func neutron-common.postinst
+       /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func neutron-dhcp-agent.postinst
+       /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func neutron-metadata-agent.postinst
+
+override_dh_sphinxdoc:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+       python setup.py build_sphinx
+       cp -rf doc/build/html $(CURDIR)/debian/neutron-doc/usr/share/doc/neutron-doc
+       dh_sphinxdoc -O--buildsystem=python_distutils
+endif
diff --git a/xenial/debian/source/format b/xenial/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/xenial/debian/source/options b/xenial/debian/source/options
new file mode 100644 (file)
index 0000000..cb61fa5
--- /dev/null
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/xenial/debian/watch b/xenial/debian/watch
new file mode 100644 (file)
index 0000000..41ff952
--- /dev/null
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/\.(b|rc)/~$1/" \
+https://github.com/openstack/neutron/tags .*/(\d[\d\.]+)\.tar\.gz