summaryrefslogtreecommitdiff
path: root/debian
Commit message (Collapse)AuthorAgeFilesLines
* Set release date for 2.16.0.Ilya Maximets2021-08-171-1/+1
| | | | | | Acked-by: Numan Siddique <numans@ovn.org> Acked-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Prepare for post-2.16.0 (2.16.90).Ilya Maximets2021-07-161-0/+6
| | | | | Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Prepare for 2.16.0.Ilya Maximets2021-07-161-2/+2
| | | | | Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* debian: Add configure option to debian/rulesShahar Klein2021-03-251-1/+1
| | | | | | | | | | | Before this fix, in order to build with jemalloc, I had to hijack DATAPATH_CONFIGURE_OPTS: debian/rules -e DATAPATH_CONFIGURE_OPTS="LIBS=-ljemalloc" Now it is possible to: debian/rules -e EXTRA_CONFIGURE_OPTS="LIBS=-ljemalloc" Signed-off-by: Shahar Klein <sklein@nvidia.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Set release date for 2.15.0.Ilya Maximets2021-02-151-1/+1
| | | | | Acked-by: Ian Stokes <ian.stokes@intel.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Prepare for post-2.15.0 (2.15.90).Ilya Maximets2021-01-151-0/+6
| | | | | | Acked-by: Flavio Leitner <fbl@sysclose.org> Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Prepare for 2.15.0.Ilya Maximets2021-01-151-2/+2
| | | | | | Acked-by: Flavio Leitner <fbl@sysclose.org> Acked-by: Aaron Conole <aconole@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Eliminate use of term "slave" in bond, LACP, and bundle contexts.Ben Pfaff2020-10-212-3/+3
| | | | | | | | | | | | | The new term is "member". Most of these changes should not change user-visible behavior. One place where they do is in "ovs-ofctl dump-flows", which will now output "members:..." inside "bundle" actions instead of "slaves:...". I don't expect this to cause real problems in most systems. The old syntax is still supported on input for backward compatibility. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
* Set release date for 2.14.0.Ilya Maximets2020-08-171-1/+1
| | | | | | Acked-by: Ian Stokes <ian.stokes@intel.com> Acked-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* debian: Fixed openvswitch-test package dependency.Toms Atteka2020-07-271-1/+1
| | | | | | | | | | Python3 does not have python3-twisted-web. Required codebase is inside python3-twisted. Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.") Signed-off-by: Toms Atteka <cpp.code.lv@gmail.com> Acked-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Prepare for post-2.14.0 (2.14.90).Ilya Maximets2020-07-171-0/+6
| | | | | Acked-by: Ian Stokes <ian.stokes@intel.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* Prepare for 2.14.0.Ilya Maximets2020-07-171-2/+2
| | | | | Acked-by: Ian Stokes <ian.stokes@intel.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
* debian: Add python3-sphinx to ovs build dependenciesAnsis Atteka2020-05-151-0/+1
| | | | | | | | | | | | | python3-sphinx has become mandatory build dependency since patch 39b5e46 ("Documentation: Convert multiple manpages to ReST."), because, otherwise, without this dependency installed, packaging of OVS debian packages fails with an error that generated man pages can't be found. Fixes: 39b5e46312 ("Documentation: Convert multiple manpages to ReST.") CC: Ben Pfaff <blp@ovn.org> Signed-off-by: Ansis Atteka <aatteka@ovn.org> Reported-by: Artem Teleshev <artem.teleshev@gmail.com> Acked-by: Greg Rose <gvrose8192@gmail.com>
* debian: Fix package dependenciesRoi Dayan2020-05-141-2/+2
| | | | | | | | | | In python2 package was python-twisted-conch but it looks like for python3 it's just python3-twisted. For zope interface the python3 package name is python3-zope.interface. Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.") Signed-off-by: Roi Dayan <roid@mellanox.com> Acked-by: Ansis Atteka <aatteka@ovn.org>
* debian: Fix broken build after some man pages became generated from RSTAnsis Atteka2020-05-133-7/+7
| | | | | | | | | | | | | | | | | | | | | | As far as I know, the official way to build debian packages is by invoking following command: > fakeroot debian/rules binary However, that command started to fail with these errors: dh_installman --language=C dh_installman: Cannot find (any matches for) "utilities/ovs-appctl.8" (tried in .) dh_installman: Cannot find (any matches for) "utilities/ovs-l3ping.8" (tried in .) dh_installman: Cannot find (any matches for) "utilities/ovs-tcpdump.8" (tried in .) because the generated manpages are not part of the source tree anymore. This patch updates debian *.manpages files to point to the generted files. Fixes: 39b5e46312 ("Documentation: Convert multiple manpages to ReST.") CC: Ben Pfaff <blp@ovn.org> Signed-off-by: Ansis Atteka <aatteka@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* Set release date for 2.13.0.Ben Pfaff2020-02-141-2/+2
| | | | | | | The "Valentine's Day" release. Acked-by: Flavio Leitner <fbl@sysclose.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Prepare for post-2.13.0 (2.13.90).Ben Pfaff2020-01-211-0/+6
| | | | | Acked-by: Gurucharan Shetty <guru@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Prepare for 2.13.0.Ben Pfaff2020-01-211-2/+2
| | | | | Acked-by: Gurucharan Shetty <guru@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Remove dependency on python3-sixTimothy Redaelli2019-12-201-3/+1
| | | | | | | | | | | Since Python 2 support was removed in 1ca0323e7c29 ("Require Python 3 and remove support for Python 2."), python3-six is not needed anymore. Moreover python3-six is not available on RHEL/CentOS7 without using EPEL and so this patch is needed in order to release OVS 2.13 on RHEL7. Signed-off-by: Timothy Redaelli <tredaelli@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* debian: Update list of copyright holders.Ben Pfaff2019-12-021-16/+64
| | | | | | | | | | | | The list of copyright holders was incomplete and out of date. This updates it based on a "grep" for copyright notices, which I reviewed by hand. CC: 942056@bugs.debian.org Reported-by: Chris Lamb <lamby@debian.org> Reported-at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942056 Acked-by: Yi-Hung Wei <yihung.wei@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* debian and rhel: Add libunwind dev package.William Tu2019-10-181-1/+2
| | | | | | | The patch add libunwind dev package to debian and rhel. Signed-off-by: William Tu <u9012063@gmail.com> Acked-by: Yi-Hung Wei <yihung.wei@gmail.com>
* Require Python 3 and remove support for Python 2.Ben Pfaff2019-09-278-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0626-553/+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>
* Set release date for 2.12.0.Justin Pettit2019-09-041-2/+2
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Flavio Leitner <fbl@sysclose.org>
* Prepare for post-2.12.0 (2.12.90).Ben Pfaff2019-07-221-0/+6
| | | | | Acked-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Prepare for 2.12.0.Ben Pfaff2019-07-221-2/+2
| | | | | Acked-by: Ilya Maximets <i.maximets@samsung.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* debian: Notes for systemd-networkd integration with OVS.Gurucharan Shetty2019-04-221-2/+74
| | | | | Signed-off-by: Gurucharan Shetty <guru@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* debian: Remove Ben Pfaff from Uploaders field.Ben Pfaff2019-04-151-1/+1
| | | | | | | I don't want to claim to be in charge of upstream Debian packaging anymore. Reviewed-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* ifupdown.sh: Add missing "--may-exist" optionGeorge Diamantopoulos2019-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | | The ifupdown.sh script passes the --may-exist option to ovs-vsctl invocations in order for it to exit without failing if the device to be added already exists. This holds true for all cases of adding objects to ovs-vswitchd except for when configuring a bond interface. This patch adds the --may-exist option to the missing statement, which suppresses the logging of such errors in syslog. Additionally, running the unpatched version of this script when the bond interface already exists appears to break networking with some versions of ifupdown found in debian testing (0.8.35), where the service won't start up properly because of the aforementioned errors. Signed-off-by: George Diamantopoulos <georgediam@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Set release dates for 2.11.0.Justin Pettit2019-02-201-1/+1
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Flavio Leitner <fbl@sysclose.org>
* debian: Add libelf-dev dependency for dkmsGreg Rose2019-02-121-1/+1
| | | | | | | | | | | Newer kernels define CONFIG_UNWINDER_ORC for their kernel configurations and to build this the kernel compilation requires the libelf-dev package. Add the dependency to the dkms build requirements. VMware-BZ: #2287968 Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com> Signed-off-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* Prepare for post-2.11.0 (2.11.90).Justin Pettit2019-01-201-0/+6
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* Prepare for 2.11.0.Justin Pettit2019-01-201-2/+2
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* debian: Install correct vtep-ctl.Ben Pfaff2018-12-031-1/+1
| | | | | | | | | | | | The previous syntax installed the libtool wrapper script instead of the actual binary. This fixes the problem. CC: James Page <james.page@ubuntu.com> Fixes: 3d8dededeaf8 ("debian: Rationalize packaging using new debhelper.") Reported-by: hubo <hubo@jiedaibao.com> Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2018-October/047625.html Acked-by: Justin Pettit <jpettit@ovn.org> Signed-off-by: Ben Pfaff <blp@ovn.org>
* debian and rhel: Create IPsec package.Qiuyu Xiao2018-11-095-0/+207
| | | | | | | | | 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>
* Set release dates for 2.10.0.Justin Pettit2018-09-181-1/+1
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* debian: Move libovn out from package libopenvswitch.Han Zhou2018-08-283-3/+16
| | | | | | | | | | Since we are packaging OVN and OVS components separately, libovn shouldn't belong to OVS, so move it to ovn-common. Also, remove it from libopenvswitch-dev. Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Tested-by: aginwala <aginwala@ebay.com>
* debian: Add ovn-detrace to ovn-common package.Han Zhou2018-07-302-0/+2
| | | | | | Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: aginwala <aginwala@ebay.com>
* Prepare for post-2.10.0 (2.10.90).Justin Pettit2018-07-241-0/+6
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* Prepare for 2.10.0.Justin Pettit2018-07-241-2/+2
| | | | | Signed-off-by: Justin Pettit <jpettit@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
* ifupdown.sh: Correctly bring up bond slaves.Ken Sanislo2018-07-101-1/+1
| | | | | | | | | It seems that line 70 needs to be operating on the $slave variable created in the for loop at :68. Bonded interfaces fail to bring up their links with the current version, this will makes them work correctly. Signed-off-by: Ken Sanislo <ken@intherack.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* DNS: Add basic support for asynchronous DNS resolvingYifeng Sun2018-07-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | This patch is a simple implementation for the proposal discussed in https://mail.openvswitch.org/pipermail/ovs-dev/2017-August/337038.html and https://mail.openvswitch.org/pipermail/ovs-dev/2017-October/340013.html. It enables ovs-vswitchd and other utilities to use DNS names when specifying OpenFlow and OVSDB remotes. Below are some of the features and limitations of this patch: - Resolving is asynchornous in daemon context, avoiding blocking main loop; - Resolving is synchronous in general utility context; - Both IPv4 and IPv6 are supported; - The resolving API is thread-safe; - Depends on the unbound library; - When multiple ip addresses are returned, only the first one is used; - /etc/nsswitch.conf isn't respected as unbound library doesn't look at it; - For async-resolving, caller need to retry later; there is no callback. Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* ovs-kmod-ctl: introduce a kernel module load scriptAaron Conole2018-06-172-0/+2
| | | | | | | | | | | | | | | | Currently, Open vSwitch on linux embeds the logic of loading and unloading kernel modules into the ovs-ctl and ovs-lib script files. This works, but it means that there is no way to leverage extended filesystem attributes to grant fine grain permissions relating to module loading. The split out utility 'ovs-kmod-ctl' will be used in an upcoming commit for RHEL-based distributions to have a separate transition domain that will allow module loading to be given to a separate selinux domain from the openvswitch_t domain. Acked-by: Ansis Atteka <aatteka@ovn.org> Acked-by: Timothy Redaelli <tredaelli@redhat.com> Signed-off-by: Aaron Conole <aconole@redhat.com>
* treewide: Convert leading tabs to spaces.Ben Pfaff2018-06-116-126/+126
| | | | | | | | | It's always been OVS coding style to use spaces rather than tabs for indentation, but some tabs have snuck in over time. This commit converts them to spaces. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
* Edit Open vSwitch license info so that GitHub recognizes it.Andrea Kao2018-04-161-2/+1
| | | | | | | | | | | | | | | | | | | GitHub uses a library called Licensee to identify a project's license type. It shows this information in the status bar and via the API if it can unambiguously identify the license. This commit creates a LICENSE file that stores the full text of the Apache license. It also removes the COPYING file and transfers its contents to a new "License" section in the README. Collectively, these changes allow Licensee to successfully identify the license type of Open vSwitch's codebase as Apache. Submitted-at: https://github.com/openvswitch/ovs/pull/224 Signed-off-by: Andrea Kao <eirinikos@gmail.com> [blp@ovn.org removed references to COPYING and updated Makefile.am] Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Aaron Conole <aconole@redhat.com>
* ovsdb-server: Add support for a built-in _Server database.Ben Pfaff2018-03-241-0/+1
| | | | | | | | | | | | | | | | | | | | | The _Server database is valuable primarily because it provides database clients a way to find out the details of changes to databases, schemas, etc. in a granular, natural way. Until now, the only way that the server could notify clients about these kinds of changes was to close the session; when the client reconnects, it is expected to reassess the server's state. One way to provide this kind of granular information would be to add specific JSON-RPC requests to obtain notifications for different kinds of changes, but since ovsdb-server already provides granular and flexible notification support for databases, using a database for the purpose is convenient and avoids duplicating functionality. Initially this database only reports databases' names and schemas, but when clustering support is added in a later commit it will also report important aspects of clustering and cluster status. Thus, this database also reduces the need to add JSON-RPC calls to retrieve information about new features. Signed-off-by: Ben Pfaff <blp@ovn.org>
* Set release dates for 2.9.0.Justin Pettit2018-02-191-1/+1
| | | | Signed-off-by: Justin Pettit <jpettit@ovn.org>
* debian: Do not modify pre-existing defaults fileFrode Nordahl2018-02-011-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, on installation or upgrade the openvswitch-switch deb package will in some circumstances modify a pre-existing /etc/default/openvswitch-switch configuration file. This does not play well with modeling and configuration management tools and may lead to unnecessary restarts of the openvswitch-switch service after the initial restart done as part of the package upgrade. As restarting the openvswitch-switch affects the datapath this is something we should try to avoid. I also believe the current behaviour to be in conflict with best practices set out in the config files section of the [Debian Policy](https://www.debian.org/doc/debian-policy/#s-config-files). This commit addresses this by removing the part of the postinst script that attempts to append missing documentation parts of the template and leaves the installed defaults file alone when it exists. Fixes: 0aaa379d99f4 ("Debian packaging: Add several new settings to /etc/default/openflow-switch.") Signed-off-by: Frode Nordahl <frode.nordahl@gmail.com> Reported-at: https://github.com/openvswitch/ovs-issues/issues/137 Signed-off-by: Ben Pfaff <blp@ovn.org>
* Prepare for post-2.9.0 (2.9.90).Justin Pettit2018-01-171-0/+6
| | | | Signed-off-by: Justin Pettit <jpettit@ovn.org>
* Prepare for 2.9.0.Justin Pettit2018-01-171-3/+3
| | | | Signed-off-by: Justin Pettit <jpettit@ovn.org>