summaryrefslogtreecommitdiff
path: root/debian/automake.mk
Commit message (Collapse)AuthorAgeFilesLines
* debian: Add option to build without DPDK.Ilya Maximets2022-07-151-5/+46
| | | | | | Co-authored-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* debian: Fix generation of copyright file.Frode Nordahl2022-07-151-2/+2
| | | | | | | | The recipe for inserting authors from AUTHORS.rst is wrong. Fixes: 3deca69b08f2 ("doc: Convert AUTHORS to rST") Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* debian: Update packaging source from Debian/Ubuntu.Frode Nordahl2022-07-151-1/+90
| | | | | | | | | | | | | | | | | | | | | | | | * Update upstream OVS debian packaging to be on par with package source in Debian/Ubuntu: - Provide a openvswitch-switch-dpdk package that integrates with the dpdk package in the distributions so that end users can opt into a DPDK-enabled Open vSwitch binary. - Provide systemd service files. - Provide openvswitch-source package for reproducible integrated build of for example OVN. - Stop building shared library and subsequently remove libopenvswitch and libopenvswitch-dev binary packages. Co-authored-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Luca Boccassi <bluca@debian.org> Co-authored-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Co-authored-by: James Page <james.page@ubuntu.com> Signed-off-by: James Page <james.page@ubuntu.com> Co-authored-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* debian: Archive debian packaging source.Frode Nordahl2022-07-151-81/+1
| | | | | | | | | | | | | | | | | | | | | | | The packaging source in the OVS repository has drifted away from what is currently in Debian and Ubuntu. This state is problematic because from time to time someone tries to build packages from the upstream OVS debian package source and then expect that package to work with up-/down-grades from-/to/ distro versions. To support the on-going work to remove the out of tree OVS kernel driver from the repository [0], an update to the debian packaging is also required. On the back of the discussion in [0] we agreed that replacing the current version with what Debian and Ubuntu is currently converging on would be preferable. This commit is a first in a series to update the upstream OVS debian packaging source to be up to date with what is currently in Debian and Ubuntu. 0: https://mail.openvswitch.org/pipermail/ovs-dev/2022-June/394634.html Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Require Python 3 and remove support for Python 2.Ben Pfaff2019-09-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 2 reaches end-of-life on January 1, 2020, which is only a few months away. This means that OVS needs to stop depending on in the next release that should occur roughly that same time. Therefore, this commit removes all support for Python 2. It also makes Python 3 a mandatory build dependency. Some of the interesting consequences: - HAVE_PYTHON, HAVE_PYTHON2, and HAVE_PYTHON3 conditionals have been removed, since we now know that Python3 is available. - $PYTHON and $PYTHON2 are removed, and $PYTHON3 is always available. - Many tests for Python 2 support have been removed, and the ones that depended on Python 3 now run unconditionally. This allowed several macros in the testsuite to be removed, making the code clearer. This does make some of the changes to the testsuite files large due to indentation level changes. - #! lines for Python now use /usr/bin/python3 instead of /usr/bin/python. - Packaging depends on Python 3 packages. Acked-by: Numan Siddique <nusiddiq@redhat.com> Tested-by: Numan Siddique <nusiddiq@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Remove OVN.Mark Michelson2019-09-061-22/+0
| | | | | | | | | | | | | | | | OVN is separated into its own repo. This commit removes the OVN source, OVN tests, and OVN documentation. It also removes mentions of OVN from most documentation. The only place where OVN has been left is in changelogs/NEWS, since we shouldn't mess with the history of the project. There is an exception here. The ovsdb-cluster tests rely on ovn-nbctl and ovn-sbctl to run. Therefore those ovn utilities, as well as their dependencies remain in the repo with this commit. Acked-by: Numan Siddique <nusiddiq@redhat.com> Signed-off-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* debian and rhel: Create IPsec package.Qiuyu Xiao2018-11-091-0/+3
| | | | | | | | | Added rules and files to create debian and rpm ovs-ipsec packages. Signed-off-by: Qiuyu Xiao <qiuyu.xiao.qyx@gmail.com> Signed-off-by: Ansis Atteka <aatteka@ovn.org> Co-authored-by: Ansis Atteka <aatteka@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Debian: Rework libopenvswitch packagesBen Warren2017-06-141-1/+2
| | | | | | | | | | | | | | | | The 'openvswitch-common' package did not work well with cross-compiling since it required Python. This package is broken into two packages as follows: - libopenvwitch: contains library files (.a, .so) - openvswitch-common: depends on libopenvswitch, contains command-line tools such as ovs-ofctl, ovs-appctl etc. In addition, this 'openvswitch-dev' library is renamed to 'libopenvswitch-dev' to align more closely with Debian policy. It depends on libopenvswitch. Signed-off-by: Ben Warren <ben@skyportsystems.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Remove build-time generated files when "make clean" is run.Justin Pettit2017-02-131-1/+1
| | | | | | | | | | | | "make clean" should remove all files generated by building a program, while "make distclean" should also remove files generated by configuring the program. Previously some generated files during the build process, such as man pages, were left behind when "make clean" was run. This commit only leaves configuration files after "make clean" is run, and removes all other generated files. Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* doc: Convert AUTHORS to rSTStephen Finucane2016-11-301-3/+3
| | | | | Signed-off-by: Stephen Finucane <stephen@that.guru> Signed-off-by: Russell Bryant <russell@ovn.org>
* ovn: Add ovndb servers ocf script in debian packagerBabu Shanmugam2016-11-181-0/+2
| | | | | | | | | | | | The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder and a symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers Signed-off-by: Babu Shanmugam <bschanmu@redhat.com> Acked-by: Andy Zhou <azhou@ovn.org> Signed-off-by: Andy Zhou <azhou@ovn.org>
* openvswitch: Allow external IPsec tunnel management.Pravin B Shelar2016-09-271-7/+0
| | | | | | | | | | | | | | | | | | OVS GRE IPsec tunnel support has multiple issues, Therefore it was deprecated in OVS 2.6. Following patch removes support for GRE IPsec and allows external IPsec tunnel management for any type of tunnel not just GRE. e.g. user can encrypt Geneve or VxLan traffic. It can be done by using openflow pipeline to set skb-mark and using IPsec keying daemons to implement IPsec tunnels. This packet can be matched for the skb-mark to encrypt selective tunnel traffic. VMware-BZ: 1710701 Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Ansis Atteka <aatteka@ovn.org>
* ovn: Add ovn-controller-vtep debian packageRyan Moats2016-07-281-1/+4
| | | | | | | | | | | Having a separate debian package for deploying the ovn-controller-vtep binary enables the ability to assign specific nodes the role of communicating with VTEP enabled TORs. Change-Id: Ia36aea7d89bd011a57918820b2a9f6e3469b3e04 Signed-off-by: Ryan Moats <rmoats@us.ibm.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* debian, rhel: Ship ovs shared libraries and header filesEdwin Chiu2016-06-071-0/+1
| | | | | | | | | | Compile and package ovs shared libraries and create new header package for debian (openvswitch-dev) and rhel (openvswitch-devel). VMware-BZ: #1556299 Signed-off-by: Edwin Chiu <echiu@vmware.com> Co-authored-by: Harold Lim <haroldl@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* python: Run flake8 at build time.Russell Bryant2016-01-051-0/+3
| | | | | | | | | | | | If flake8 is installed, run it at build time. Similar to most Makefile targets, run it once and then only run again if the files change. flake8 is set to ignore all error and warning types that currently occur. Future patches will remove items from the ignore list as they are resolved. Signed-off-by: Russell Bryant <russell@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* debian: Add a package for OVN docker drivers.Gurucharan Shetty2016-01-051-0/+1
| | | | | Signed-off-by: Gurucharan Shetty <guru@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* debian: Add a package for OVN central components.Gurucharan Shetty2016-01-051-0/+7
| | | | | Signed-off-by: Gurucharan Shetty <guru@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* debian: Add a package for host components.Gurucharan Shetty2016-01-051-0/+7
| | | | | Signed-off-by: Gurucharan Shetty <guru@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* debian: Add a package for OVN common components.Gurucharan Shetty2016-01-051-0/+2
| | | | | Signed-off-by: Gurucharan Shetty <guru@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* Makefiles: Add $(AM_V_GEN) annotations to clean up "make" output.Ben Pfaff2014-09-291-0/+1
| | | | | | | | The Open vSwitch "make" output was still pretty verbose even when configured with --enable-silent-rules. This cleans it up. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
* test-controller: Rename to ovs-testcontroller, again install.Ben Pfaff2014-08-261-0/+8
| | | | | | | | | | | mininet uses the Open vSwitch controller by default, for testing. CC: 757761@bugs.debian.org Reported-at: https://bugs.debian.org/757761 Requested-by: Tomasz Buchert <tomasz.buchert@inria.fr> Requested-by: Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl> Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Justin Pettit <jpettit@nicira.com>
* ovsdbmonitor: Remove.Ben Pfaff2014-01-101-2/+0
| | | | | | | ovsdbmonitor was poorly maintained and not widely used. Acked-by: Flavio Leitner <fbl@redhat.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* ovs-controller: Rename test-controller and do not install or package.Ben Pfaff2013-11-021-8/+0
| | | | | | | | | Too many users have incorrectly assumed that ovs-controller is a necessary or desirable part of an Open vSwitch deployment. This commit should fix the problem by renaming it test-controller and removing it from the default install and from packaging. Signed-off-by: Ben Pfaff <blp@nicira.com>
* vtep: Add Debian packaging.Justin Pettit2013-10-171-0/+5
| | | | | | | Co-authored-by: David Yang <davidy@vmware.com> Signed-off-by: David Yang <davidy@vmware.com> Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
* openvswitch: Remove Linux bridge compatibility.Pravin B Shelar2012-12-271-4/+0
| | | | | | | | | Currently brcompat does not work on master due to recent datapath changes. We have decided to remove it as it is not used very widely. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
* debian: Remove controller keys on openvswitch-controller package purge.Ben Pfaff2012-07-201-0/+1
| | | | | | | | | | | A Debian package is expected to remove all its configuration files (which includes all files in /etc) when it is purged, but the openvswitch-controller package wasn't doing that. This fixes the problem. Debian bug #682187. CC: 682187@bugs.debian.org Reported-by: Andreas Beckmann <debian@abeckmann.de> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Add a FAQ.Ben Pfaff2012-06-121-0/+1
| | | | | | | | I wrote most of this myself. The answer to "I can't seem to use Open vSwitch in a wireless network" is based on a response by Jesse Gross: http://openvswitch.org/pipermail/discuss/2011-January/004707.html Signed-off-by: Ben Pfaff <blp@nicira.com>
* debian: Add network integration scripts.Gurucharan Shetty2012-05-041-0/+2
| | | | | | | | Add scripts that will allow Open vSwitch bridges and ports to be configured through /etc/network/interfaces. This patch follows a very similar style as OVS network integration for rhel. Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
* debian: Move PKI directory to FHS-compliant location.Ben Pfaff2012-03-011-0/+1
| | | | | | | | | | The PKI directory is mutable state, so it should be in /var, not in /usr. This commit changes its location and, on systems upgraded from earlier versions, moves the existing PKI and leaves behind a symlink. CC: 661090@bugs.debian.org Reported-by: Andreas Beckmann <debian@abeckmann.de> Signed-off-by: Ben Pfaff <blp@nicira.com>
* debian: Delete log files correctly when packages are purged.Ben Pfaff2012-01-241-0/+2
| | | | | | | | | | | | | | | | | | Debian Policy 10.8 says "Log files should be removed when the package is purged (but not when it is only removed)," but the Open vSwitch packages didn't properly implement this: - The openvswitch-brcompat and openvswitch-pki packages didn't delete their log files at purge time. - The openvswitch-switch package deleted all of the log files at purge time, even those owned by openvswitch-brcompat or openvswitch-pki. This commit fixes both problems. CC: 656448@bugs.debian.org Reported-by: Andreas Beckmann <debian@abeckmann.de> Signed-off-by: Ben Pfaff <blp@nicira.com>
* ovs-test: A new tool that allows to diagnose connectivity and performance issuesAnsis Atteka2011-11-181-0/+3
| | | | | | | | | This tool will be a replacement for the current ovs-vlan-test utility. Besides from connectivity issues it will also be able to detect performance related issues in Open vSwitch setups. Currently it uses UDP and TCP protocols for stressing. Issue #6976
* debian: Apply Ubuntu patch to add DKMS support.Chuck Short2011-08-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | I tested that installing openvswitch-datapath-dkms worked OK on my own Debian machine. The bulk of this patch is taken from downstream Ubuntu DKMS support written by Chuck Short <zulcss@ubuntu.com>, version 1.2.0-1ubuntu1. I made the following changes: * Update debian/.gitignore. * Update debian/automake.mk. * Correct description in debian/control (it was a cut-and-paste from the openvswitch-datapath-source description without editing). * Fix up for --with-l26 to --with-linux and datapath/linux-2.6 to datapath/linux transitions. CC: Chuck Short <zulcss@ubuntu.com> CC: Dave Walker <DaveWalker@ubuntu.com> Acked-by: Simon Horman <horms@verge.net.au>
* debian: Add support for bridge compatibility.Ben Pfaff2011-07-261-0/+3
| | | | | | | This adds support for bridge compatibility to the generic Open vSwitch init scripts and to the Debian packaging. See https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/808224.
* ovs-bugtool: Make available outside of Debian packages.Ben Pfaff2011-07-121-2/+0
| | | | | | ovs-bugtool is no longer Debian-specific, so install it everywhere. (On XenServer, specifically, we do not install it, because there xen-bugtool already exists.)
* Debian: set source format to 3.0 (quilt)Simon Horman2011-06-231-1/+2
| | | | | | | | | | | This is my preferred package format as it allows changes to be added as patches when the Debian package needs to be updated between upstream releases. I have been making this change in the Debian packages so it seems as well to include it upstream. [Update to debian/automake.mk by Ben Pfaff.]
* debian: Package ovsdbmonitor.Ben Pfaff2011-05-231-0/+2
| | | | Signed-off-by: Ben Pfaff <blp@nicira.com>
* debian: Update check for Debian package version.Ben Pfaff2011-01-071-6/+7
| | | | | | | A version number like "1.1.0pre2" is properly translated into a Debian version number as "1.1.0~pre2", so we need to make that translation. Also, the Debian version number will often have suffixes on it, so don't check for a trailing parenthesis.
* debian: Remove openvswitch-pki-server package.Ben Pfaff2011-01-041-4/+0
| | | | | | | The functionality provided by this package was used only by openvswitch-switch-config, which was removed some time ago. If I had been more careful at the time, I would have removed this package at the same time.
* debian: Remove corekeeper package.Ben Pfaff2010-11-101-3/+0
| | | | | The corekeeper package has little or nothing to do with Open vSwitch itself, so remove it.
* debian: Added a manpage for ovs-bugtoolEthan Jackson2010-09-231-0/+1
| | | | Added a manpage for the ovs-bugtool script.
* debian: Add support for GRE-over-IPsecJustin Pettit2010-09-221-0/+4
| | | | | | | | | | | | | | | | | The ovs-monitor-ipsec daemon monitors the Interface table for GRE entries. If an entry specifies other-config parameters "ipsec-local-ip" and ("ipsec-psk" or "ipsec-cert"), it will create the appropriate security associations so that all GRE traffic to the remote host will be encrypted. In order for the two GRE tunnels to communicate, both sides need to be configured for IPsec with appropriate authentication. Currently, ovs-monitor-ipsec does not support certificate authentication or ensure that an interface is actually attached to a bridge. Both of these issues will be addressed in a forthcoming patch. NB: While GRE-over-IPsec should work on any system with a relatively recent racoon and setkey, it has only been tested on Debian. As such, only Debian packaging has been provided.
* debian: Rename openvswitch-python to python-openvswitchSajjad Lateef2010-09-211-2/+2
| | | | | | | | | | | Package name changed to be consistent with Debian Python policy. The python files are installed in /usr/share/python-support/python-openvswitch/ovs and /usr/share/python-support/python-openvswitch/ovs/db Changed Section to python, per lintian
* debian: Add openvswitch-python packageSajjad Lateef2010-09-201-0/+2
| | | | | | | | | | | | | This installs the Python runtime bindings for Open vSwitch database into /usr/share/python-support/openvswitch-python/ovs and /usr/share/python-support/openvswitch-python/ovs/db Updated FSF address in copyright file Minor Whitespace re-formatting Removed prerm, preinst, postinst files for openvswitch-python
* debian: Created a debian equivalent to xen-bugtoolEthan Jackson2010-09-151-0/+1
| | | | | | ovs-bugtool creates a tarball of useful information which people can submit with bug reports. The source is copied from xen-bugtool with the xen specific removed or changed.
* debian: Generate authorship in debian/copyright from AUTHORS.Ben Pfaff2010-09-061-0/+10
|
* Remove openvswitch-switch-config package.Ben Pfaff2010-08-301-10/+0
| | | | | | | | This package was never used by many users, has not worked properly for a while, and causes lintian warnings, so remove it. CC: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
* utilities: Remove ovs-wdt.Ben Pfaff2010-08-251-4/+0
| | | | | | | | We used ovs-wdt at Nicira for a while when we were working on building hardware switches. We don't use it anymore, so remove it from the tree. CC: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
* utilities: Remove ovs-monitor.Ben Pfaff2010-08-251-4/+0
| | | | | | | | The ovs-monitor script is now more than adequately replaced by the --monitor option to the various daemons. CC: Simon Horman <horms@verge.net.au> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Remove ezio-term and ovs-switchui utilities.Ben Pfaff2010-08-231-5/+0
| | | | | | | These utilities were useful when Nicira was building switches with 16x2 LCD front panel displays, but they aren't useful for other environments and even Nicira does not use that kind of switch any longer. So remove them and all the build infrastructure on which they depended.
* debian: Fix "make dist" by adding corekeeper.override to EXTRA_DIST.Ben Pfaff2010-08-191-0/+1
| | | | Reported-by: Teemu Koponen <koponen@nicira.com>