+++ /dev/null
-openvswitch (2.7.0-3) stretch; urgency=low
-
- * ifupdown2 compatibility fixes
-
- -- Proxmox Support Team <support@proxmox.com> Fri, 15 Jun 2018 10:06:52 +0200
-
-openvswitch (2.7.0-2) stretch; urgency=low
-
- * added missing dependency: net-tools
-
- -- Proxmox Support Team <support@proxmox.com> Mon, 27 Mar 2017 14:23:35 +0200
-
-openvswitch (2.7.0-1) unstable; urgency=medium
-
- * update to 2.7.0, recompile for Debian stretch
-
- -- Proxmox Support Team <support@proxmox.com> Fri, 17 Mar 2017 17:11:08 +0100
-
-openvswitch (2.6.0-2) unstable; urgency=medium
-
- * drop System V init script
-
- -- Proxmox Support Team <support@proxmox.com> Mon, 21 Nov 2016 15:35:52 +0100
-
-openvswitch (2.6.0-1) unstable; urgency=medium
-
- * update to 2.6.0
-
- -- Proxmox Support Team <support@proxmox.com> Mon, 21 Nov 2016 15:15:48 +0100
-
-openvswitch (2.5.0-1) unstable; urgency=medium
-
- * update to 2.5.0
-
- -- Proxmox Support Team <support@proxmox.com> Wed, 20 Apr 2016 07:00:45 +0200
-
-openvswitch (2.3.2-3) unstable; urgency=medium
-
- * Fix CVE-2016-2074
-
- -- Proxmox Support Team <support@proxmox.com> Fri, 01 Apr 2016 07:39:07 +0200
-
-openvswitch (2.3.2-2) unstable; urgency=medium
-
- * fix systemd service dependencies
-
- -- Proxmox Support Team <support@proxmox.com> Fri, 27 Nov 2015 10:58:40 +0100
-
-openvswitch (2.3.2-1) unstable; urgency=medium
-
- * update to 2.3.2
-
- -- Proxmox Support Team <support@proxmox.com> Sat, 27 Jun 2015 18:37:45 +0200
-
-openvswitch (2.3.1-2) unstable; urgency=medium
-
- * updates for debian jessie, use systemd
-
- -- Proxmox Support Team <support@proxmox.com> Thu, 11 Jun 2015 10:16:53 +0200
-
-openvswitch (2.3.1-1) unstable; urgency=low
-
- * update to 2.3.1
-
- -- Proxmox Support Team <support@proxmox.com> Sat, 27 Dec 2014 10:58:59 +0100
-
-openvswitch (2.3.0-1) unstable; urgency=low
-
- * update to latest stable upstream version 2.3.0
-
- -- Proxmox Support Team <support@proxmox.com> Thu, 18 Sep 2014 07:39:32 +0200
-
-openvswitch (2.0.90-4) unstable; urgency=low
-
- * fix bug #528: start after $local_fs
-
- -- Proxmox Support Team <support@proxmox.com> Wed, 11 Jun 2014 10:42:28 +0200
-
-openvswitch (2.0.90-3) unstable; urgency=low
-
- * do not kill ovs daemons with sendsig
-
- -- Proxmox Support Team <support@proxmox.com> Tue, 07 Jan 2014 09:48:54 +0100
-
-openvswitch (2.0.90-2) unstable; urgency=low
-
- * backport for Proxmox VE
-
- * start vswitchd early in runlevel S, so that ovs network interfaces
- are available at boot time.
-
- -- Proxmox Support Team <support@proxmox.com> Sat, 21 Dec 2013 06:43:12 +0100
-
+++ /dev/null
-> Debian #857178
-> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857178
-diff -rup a/debian/control b/debian/control
---- a/debian/control 2017-03-27 12:27:49.803031236 +0200
-+++ b/debian/control 2017-03-27 12:29:13.762965174 +0200
-@@ -46,6 +46,7 @@ Architecture: linux-any
- Suggests: openvswitch-datapath-module
- Depends: kmod | module-init-tools,
- netbase,
-+ net-tools,
- openvswitch-common (= ${binary:Version}),
- procps,
- python-argparse,
+++ /dev/null
-diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init
-deleted file mode 100755
-index aece780..0000000
---- a/debian/openvswitch-switch.init
-+++ /dev/null
-@@ -1,146 +0,0 @@
--#! /bin/sh
--#
--# Copyright (C) 2011, 2012, 2016 Nicira, Inc.
--#
--# 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.
--#
--### BEGIN INIT INFO
--# Provides: openvswitch-switch
--# Required-Start: $network $named $remote_fs $syslog
--# Required-Stop: $remote_fs
--# Default-Start: 2 3 4 5
--# Default-Stop: 0 1 6
--# Short-Description: Open vSwitch switch
--# Description: openvswitch-switch provides the userspace components and utilities for
--# the Open vSwitch kernel-based switch.
--### END INIT INFO
--
--(test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || exit 0
--
--_SYSTEMCTL_SKIP_REDIRECT=yes
--
--. /usr/share/openvswitch/scripts/ovs-lib
--test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch
--
--network_interfaces () {
-- INTERFACES="/etc/network/interfaces"
-- [ -e "${INTERFACES}" ] || return
-- bridges=`ifquery --allow ovs --list`
-- [ -n "${bridges}" ] && $1 --allow=ovs ${bridges}
--}
--
--load_kmod () {
-- ovs_ctl load-kmod || exit $?
--}
--
--start () {
-- if ovs_ctl load-kmod; then
-- :
-- else
-- echo "Module has probably not been built for this kernel."
-- if ! test -d /usr/share/doc/openvswitch-datapath-source; then
-- echo "Install the openvswitch-datapath-source package, then read"
-- else
-- echo "For instructions, read"
-- fi
-- echo "/usr/share/doc/openvswitch-datapath-source/README.Debian"
--
-- if test X"$OVS_MISSING_KMOD_OK" = Xyes; then
-- # We're being invoked by the package postinst. Do not
-- # fail package installation just because the kernel module
-- # is not available.
-- exit 0
-- fi
-- fi
-- set ovs_ctl ${1-start} --system-id=random
-- if test X"$FORCE_COREFILES" != X; then
-- set "$@" --force-corefiles="$FORCE_COREFILES"
-- fi
-- set "$@" $OVS_CTL_OPTS
-- "$@" || exit $?
-- if [ "$2" = "start" ] && [ "$READ_INTERFACES" != "no" ]; then
-- network_interfaces ifup
-- fi
--}
--
--stop () {
-- [ "$READ_INTERFACES" != "no" ] && network_interfaces ifdown
-- ovs_ctl stop
--}
--
--restart () {
-- # OVS_FORCE_RELOAD_KMOD can be set by package postinst script.
-- if [ "$1" = "--save-flows=yes" ] || \
-- [ "${OVS_FORCE_RELOAD_KMOD}" = "no" ]; then
-- start restart
-- elif [ "${OVS_FORCE_RELOAD_KMOD}" = "yes" ]; then
-- depmod -a
--
-- if [ -e /sys/module/openvswitch ]; then
-- LOADED_SRCVERSION=`cat /sys/module/openvswitch/srcversion \
-- 2>/dev/null`
-- LOADED_VERSION=`cat /sys/module/openvswitch/version \
-- 2>/dev/null`
-- fi
-- SRCVERSION=`modinfo -F srcversion openvswitch 2>/dev/null`
-- VERSION=`modinfo -F version openvswitch 2>/dev/null`
--
-- ovs_ctl_log "Package upgrading:\n"\
-- "Loaded version: ${LOADED_VERSION} ${LOADED_SRCVERSION}.\n"\
-- "Version on disk: ${VERSION} ${SRCVERSION}."
--
-- # If the kernel module was previously loaded and it is different than
-- # the kernel module on disk, then do a 'force-reload-kmod'.
-- if [ -n "${LOADED_SRCVERSION}" ] && [ -n "${SRCVERSION}" ] && \
-- [ "${SRCVERSION}" != "${LOADED_SRCVERSION}" ]; then
-- start force-reload-kmod
-- else
-- start restart
-- fi
-- else
-- READ_INTERFACES="no" stop
-- READ_INTERFACES="no" start
-- fi
--}
--
--case $1 in
-- start)
-- start
-- ;;
-- stop | force-stop)
-- stop
-- ;;
-- reload | force-reload)
-- # The OVS daemons keep up-to-date.
-- ;;
-- restart)
-- shift
-- restart "$@"
-- ;;
-- status)
-- ovs_ctl status
-- exit $?
-- ;;
-- force-reload-kmod)
-- start force-reload-kmod
-- ;;
-- load-kmod)
-- load_kmod
-- ;;
-- *)
-- echo "Usage: $0 {start|stop|restart|force-reload|status|force-stop|force-reload-kmod|load-kmod}" >&2
-- exit 1
-- ;;
--esac
--
--exit 0
+++ /dev/null
-From 8eef7f26c0489a582f8d8dd8fe8da8e573454d42 Mon Sep 17 00:00:00 2001
-From: root <root@kvmformation1.odiso.net>
-Date: Wed, 16 May 2018 10:22:22 +0200
-Subject: [PATCH] ifupdown.sh : add ifupdown2 workaround
-
-with ifupdown2, we can't call ifup for each ovs_ports in OvsBridge.
-But as we define also ovs_bridge for each interface, we can simply add
-the bridge here, to be sure that it's exist before adding the interface.
-
-for config, we simply need to replace allow-..., with auto.
-I have keeped ovs_ports to avoid config change, but it's not used.
-
-old config
-----------
-auto vmbr100
-iface vmbr100 inet manual
- ovs_type OVSBridge
- ovs_ports bond0 ovsinternalport
-
-allow-vmbr100 ovsinternalport
-iface ovsinternalport inet static
- address 172.16.0.10
- netmask 255.255.255.0
- ovs_type OVSIntPort
- ovs_bridge vmbr100
- ovs_options tag=30
-
-allow-vmbr100 bond0
-iface bond0 inet manual
- ovs_bonds eno3 eno4
- ovs_type OVSBond
- ovs_bridge vmbr100
- ovs_options bond_mode=balance-slb lacp=active
-
-new config
-----------
-auto vmbr100
-iface vmbr100 inet manual
- ovs_type OVSBridge
- ovs_ports bond0 ovsinternalport
-
-auto ovsinternalport
-iface ovsinternalport inet static
- address 172.16.0.10
- netmask 255.255.255.0
- ovs_type OVSIntPort
- ovs_bridge vmbr100
- ovs_options tag=30
-
-auto bond0
-iface bond0 inet manual
- ovs_bonds eno3 eno4
- ovs_type OVSBond
- ovs_bridge vmbr100
- ovs_options bond_mode=balance-slb lacp=active
----
- debian/ifupdown.sh | 44 ++++++++++++++++++++++++++++++++++++++++----
- 1 file changed, 40 insertions(+), 4 deletions(-)
-
-diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh
-index e21215a..098d913 100755
---- a/debian/ifupdown.sh
-+++ b/debian/ifupdown.sh
-@@ -44,11 +44,20 @@ if [ "${MODE}" = "start" ]; then
- ovs_vsctl -- --may-exist add-br "${IFACE}" ${IF_OVS_OPTIONS}\
- ${OVS_EXTRA+-- $OVS_EXTRA}
-
-- if [ ! -z "${IF_OVS_PORTS}" ]; then
-- ifup --allow="${IFACE}" ${IF_OVS_PORTS}
-+ if [ ! -f /usr/share/ifupdown2/ifupdown2 ]; then
-+ if [ ! -z "${IF_OVS_PORTS}" ]; then
-+ ifup --allow="${IFACE}" ${IF_OVS_PORTS}
-+ fi
- fi
-+
- ;;
- OVSPort)
-+
-+ if [ -f /usr/share/ifupdown2/ifupdown2 ]; then
-+ ovs_vsctl -- --may-exist add-br "${IF_OVS_BRIDGE}"
-+ ip link set "${IF_OVS_BRIDGE}" up
-+ fi
-+
- ovs_vsctl -- --may-exist add-port "${IF_OVS_BRIDGE}"\
- "${IFACE}" ${IF_OVS_OPTIONS} \
- ${OVS_EXTRA+-- $OVS_EXTRA}
-@@ -56,6 +65,12 @@ if [ "${MODE}" = "start" ]; then
- ifconfig "${IFACE}" up
- ;;
- OVSIntPort)
-+
-+ if [ -f /usr/share/ifupdown2/ifupdown2 ]; then
-+ ovs_vsctl -- --may-exist add-br "${IF_OVS_BRIDGE}"
-+ ip link set "${IF_OVS_BRIDGE}" up
-+ fi
-+
- ovs_vsctl -- --may-exist add-port "${IF_OVS_BRIDGE}"\
- "${IFACE}" ${IF_OVS_OPTIONS} -- set Interface "${IFACE}"\
- type=internal ${OVS_EXTRA+-- $OVS_EXTRA}
-@@ -63,6 +78,12 @@ if [ "${MODE}" = "start" ]; then
- ifconfig "${IFACE}" up
- ;;
- OVSBond)
-+
-+ if [ -f /usr/share/ifupdown2/ifupdown2 ]; then
-+ ovs_vsctl -- --may-exist add-br "${IF_OVS_BRIDGE}"
-+ ip link set "${IF_OVS_BRIDGE}" up
-+ fi
-+
- ovs_vsctl -- --fake-iface add-bond "${IF_OVS_BRIDGE}"\
- "${IFACE}" ${IF_OVS_BONDS} ${IF_OVS_OPTIONS} \
- ${OVS_EXTRA+-- $OVS_EXTRA}
-@@ -74,12 +95,24 @@ if [ "${MODE}" = "start" ]; then
- done
- ;;
- OVSPatchPort)
-+
-+ if [ -f /usr/share/ifupdown2/ifupdown2 ]; then
-+ ovs_vsctl -- --may-exist add-br "${IF_OVS_BRIDGE}"
-+ ip link set "${IF_OVS_BRIDGE}" up
-+ fi
-+
- ovs_vsctl -- --may-exist add-port "${IF_OVS_BRIDGE}"\
- "${IFACE}" ${IF_OVS_OPTIONS} -- set Interface "${IFACE}" \
- type=patch options:peer="${IF_OVS_PATCH_PEER}" \
- ${OVS_EXTRA+-- $OVS_EXTRA}
- ;;
- OVSTunnel)
-+
-+ if [ -f /usr/share/ifupdown2/ifupdown2 ]; then
-+ ovs_vsctl -- --may-exist add-br "${IF_OVS_BRIDGE}"
-+ ip link set "${IF_OVS_BRIDGE}" up
-+ fi
-+
- ovs_vsctl -- --may-exist add-port "${IF_OVS_BRIDGE}"\
- "${IFACE}" ${IF_OVS_OPTIONS} -- set Interface "${IFACE}" \
- type=${IF_OVS_TUNNEL_TYPE} ${IF_OVS_TUNNEL_OPTIONS} \
-@@ -92,8 +125,11 @@ if [ "${MODE}" = "start" ]; then
- elif [ "${MODE}" = "stop" ]; then
- case "${IF_OVS_TYPE}" in
- OVSBridge)
-- if [ ! -z "${IF_OVS_PORTS}" ]; then
-- ifdown --allow="${IFACE}" ${IF_OVS_PORTS}
-+
-+ if [ ! -f /usr/share/ifupdown2/ifupdown2 ]; then
-+ if [ ! -z "${IF_OVS_PORTS}" ]; then
-+ ifdown --allow="${IFACE}" ${IF_OVS_PORTS}
-+ fi
- fi
-
- ovs_vsctl -- --if-exists del-br "${IFACE}"
---
-2.11.0
-
+++ /dev/null
-Index: openvswitch-2.7.0/debian/openvswitch-switch.openvswitch-nonetwork.service
-===================================================================
---- /dev/null
-+++ openvswitch-2.7.0/debian/openvswitch-switch.openvswitch-nonetwork.service
-@@ -0,0 +1,12 @@
-+[Unit]
-+Description=Open vSwitch Internal Unit
-+
-+DefaultDependencies=no
-+After=local-fs.target systemd-tmpfiles-setup.service pvenetcommit.service
-+
-+[Service]
-+Type=oneshot
-+RemainAfterExit=yes
-+EnvironmentFile=-/etc/sysconfig/openvswitch
-+ExecStart=/usr/share/openvswitch/scripts/ovs-ctl start --system-id=random $OPTIONS
-+ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop
-Index: openvswitch-2.7.0/debian/openvswitch-switch.openvswitch.service
-===================================================================
---- /dev/null
-+++ openvswitch-2.7.0/debian/openvswitch-switch.openvswitch.service
-@@ -0,0 +1,13 @@
-+[Unit]
-+Description=Open vSwitch
-+After=syslog.target network.target openvswitch-nonetwork.service
-+Requires=openvswitch-nonetwork.service
-+
-+[Service]
-+Type=oneshot
-+ExecStart=/bin/true
-+ExecStop=/bin/true
-+RemainAfterExit=yes
-+
-+[Install]
-+WantedBy=multi-user.target
-Index: openvswitch-2.7.0/debian/rules
-===================================================================
---- openvswitch-2.7.0.orig/debian/rules
-+++ openvswitch-2.7.0/debian/rules
-@@ -56,7 +56,10 @@ override_dh_install-indep:
- dh_install
-
- override_dh_installinit:
-- dh_installinit -R
-+ dh_systemd_enable -p "openvswitch-switch" --name openvswitch
-+ dh_systemd_enable -p "openvswitch-switch" --name openvswitch-nonetwork
-+ dh_installinit
-+ dh_systemd_start -p "openvswitch-switch" --name openvswitch-nonetwork --restart-after-upgrade
-
- override_dh_strip:
- dh_strip --dbg-package=openvswitch-dbg
-Index: openvswitch-2.7.0/debian/control
-===================================================================
---- openvswitch-2.7.0.orig/debian/control
-+++ openvswitch-2.7.0/debian/control
-@@ -14,6 +14,7 @@ Build-Depends: graphviz,
- openssl,
- procps,
- python-all (>= 2.7),
-+ dh-systemd (>= 1.4),
- python-six
- Standards-Version: 3.9.3
- Homepage: http://openvswitch.org/
-@@ -51,7 +52,8 @@ Depends: kmod | module-init-tools,
- uuid-runtime,
- ${misc:Depends},
- ${python:Depends},
-- ${shlibs:Depends}
-+ ${shlibs:Depends},
-+ systemd
- Description: Open vSwitch switch implementations
- Open vSwitch is a production quality, multilayer, software-based,
- Ethernet virtual switch. It is designed to enable massive network
-Index: openvswitch-2.7.0/debian/automake.mk
-===================================================================
---- openvswitch-2.7.0.orig/debian/automake.mk
-+++ openvswitch-2.7.0/debian/automake.mk
-@@ -24,7 +24,6 @@ EXTRA_DIST += \
- debian/openvswitch-pki.postrm \
- debian/openvswitch-switch.README.Debian \
- debian/openvswitch-switch.dirs \
-- debian/openvswitch-switch.init \
- debian/openvswitch-switch.install \
- debian/openvswitch-switch.logrotate \
- debian/openvswitch-switch.manpages \
+++ /dev/null
-diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst
-index 2464572..160b37b 100755
---- a/debian/openvswitch-switch.postinst
-+++ b/debian/openvswitch-switch.postinst
-@@ -33,6 +33,10 @@ case "$1" in
- fi
- done
- fi
-+
-+ if dpkg --compare-versions "$2" le "2.6.0-1"; then
-+ rm -f /etc/init.d/openvswitch-switch
-+ fi
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
+++ /dev/null
-Index: openvswitch-2.7.0/debian/control
-===================================================================
---- openvswitch-2.7.0.orig/debian/control
-+++ openvswitch-2.7.0/debian/control
-@@ -14,46 +14,10 @@ Build-Depends: graphviz,
- openssl,
- procps,
- python-all (>= 2.7),
-- python-twisted-conch,
-- python-zopeinterface,
- python-six
- Standards-Version: 3.9.3
- Homepage: http://openvswitch.org/
-
--Package: openvswitch-datapath-source
--Architecture: all
--Depends: bzip2, debhelper (>= 5.0.37), module-assistant, ${misc:Depends}
--Suggests: openvswitch-switch
--Description: Open vSwitch datapath module source - module-assistant version
-- Open vSwitch is a production quality, multilayer, software-based,
-- Ethernet virtual switch. It is designed to enable massive network
-- automation through programmatic extension, while still supporting
-- standard management interfaces and protocols (e.g. NetFlow, IPFIX,
-- sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
-- to support distribution across multiple physical servers similar to
-- VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
-- .
-- This package provides the Open vSwitch datapath module source code
-- that is needed by openvswitch-switch. The kernel module can be built
-- from it using module-assistant or make-kpkg. README.Debian in this
-- package provides further instructions.
--
--Package: openvswitch-datapath-dkms
--Architecture: all
--Depends: dkms (>= 1.95), libc6-dev, make, ${misc:Depends}, ${python:Depends}
--Description: Open vSwitch datapath module source - DKMS version
-- Open vSwitch is a production quality, multilayer, software-based,
-- Ethernet virtual switch. It is designed to enable massive network
-- automation through programmatic extension, while still supporting
-- standard management interfaces and protocols (e.g. NetFlow, IPFIX,
-- sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
-- to support distribution across multiple physical servers similar to
-- VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
-- .
-- This package provides the Open vSwitch datapath module source code
-- that is needed by openvswitch-switch. DKMS can built the kernel
-- module from it.
--
- Package: openvswitch-common
- Architecture: linux-any
- Depends: openssl,
-@@ -100,114 +64,6 @@ Description: Open vSwitch switch impleme
- openvswitch-switch provides the userspace components and utilities for
- the Open vSwitch kernel-based switch.
-
--Package: ovn-common
--Architecture: linux-any
--Depends: openvswitch-common (= ${binary:Version}),
-- ${misc:Depends},
-- ${shlibs:Depends}
--Description: OVN common components
-- OVN, the Open Virtual Network, is a system to support virtual network
-- abstraction. OVN complements the existing capabilities of OVS to add
-- native support for virtual network abstractions, such as virtual L2 and L3
-- overlays and security groups.
-- .
-- ovn-common provides components required by other OVN packages.
--
--Package: ovn-controller-vtep
--Architecture: linux-any
--Depends: ovn-common (= ${binary:Version}),
-- ${misc:Depends},
-- ${shlibs:Depends}
--Description: OVN vtep controller
-- ovn-controller-vtep is the local controller daemon in
-- OVN, the Open Virtual Network, for VTEP enabled physical switches.
-- It connects up to the OVN Southbound database over the OVSDB protocol,
-- and down to the VTEP database over the OVSDB protocol.
-- .
-- ovn-controller-vtep provides the ovn-controller-vtep binary for controlling
-- vtep gateways.
--
--
--Package: ovn-host
--Architecture: linux-any
--Depends: openvswitch-switch (= ${binary:Version}),
-- openvswitch-common (= ${binary:Version}),
-- ovn-common (= ${binary:Version}),
-- ${misc:Depends},
-- ${shlibs:Depends}
--Description: OVN host components
-- OVN, the Open Virtual Network, is a system to support virtual network
-- abstraction. OVN complements the existing capabilities of OVS to add
-- native support for virtual network abstractions, such as virtual L2 and L3
-- overlays and security groups.
-- .
-- ovn-host provides the userspace components and utilities for
-- OVN that can be run on every host/hypervisor.
--
--Package: ovn-central
--Architecture: linux-any
--Depends: openvswitch-switch (= ${binary:Version}),
-- openvswitch-common (= ${binary:Version}),
-- ovn-common (= ${binary:Version}),
-- ${misc:Depends},
-- ${shlibs:Depends}
--Description: OVN central components
-- OVN, the Open Virtual Network, is a system to support virtual network
-- abstraction. OVN complements the existing capabilities of OVS to add
-- native support for virtual network abstractions, such as virtual L2 and L3
-- overlays and security groups.
-- .
-- ovn-central provides the userspace daemons, utilities and
-- databases for OVN that is run at a central location.
--
--Package: ovn-docker
--Architecture: linux-any
--Depends: openvswitch-switch (= ${binary:Version}),
-- openvswitch-common (= ${binary:Version}),
-- python (>= 2.7),
-- python-openvswitch (= ${source:Version}),
-- ovn-common (= ${binary:Version}),
-- ${misc:Depends},
-- ${python:Depends},
-- ${shlibs:Depends}
--Description: OVN Docker drivers
-- OVN, the Open Virtual Network, is a system to support virtual network
-- abstraction. OVN complements the existing capabilities of OVS to add
-- native support for virtual network abstractions, such as virtual L2 and L3
-- overlays and security groups.
-- .
-- ovn-docker provides the docker drivers for OVN.
--
--Package: openvswitch-pki
--Architecture: all
--Depends: openvswitch-common (<< ${source:Version}.1~),
-- openvswitch-common (>= ${source:Version}),
-- ${misc:Depends}
--Description: Open vSwitch public key infrastructure dependency package
-- Open vSwitch is a production quality, multilayer, software-based,
-- Ethernet virtual switch. It is designed to enable massive network
-- automation through programmatic extension, while still supporting
-- standard management interfaces and protocols (e.g. NetFlow, IPFIX,
-- sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
-- to support distribution across multiple physical servers similar to
-- VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
-- .
-- openvswitch-pki provides PKI (public key infrastructure) support for
-- Open vSwitch switches and controllers, reducing the risk of
-- man-in-the-middle attacks on the Open vSwitch network infrastructure.
--
--Package: openvswitch-testcontroller
--Architecture: linux-any
--Depends: openvswitch-common (= ${binary:Version}),
-- openvswitch-pki (= ${source:Version}),
-- ${misc:Depends},
-- ${shlibs:Depends}
--Description: Simple controller for testing OpenFlow setups
-- This controller enables OpenFlow switches that connect to it to act
-- as MAC-learning Ethernet switches. It can be used for initial
-- testing of OpenFlow networks. It is not a necessary or desirable
-- part of a production OpenFlow deployment.
--
- Package: openvswitch-dbg
- Section: debug
- Architecture: linux-any
-@@ -229,72 +85,3 @@ Description: Debug symbols for Open vSwi
- This package contains the debug symbols for all the other openvswitch-*
- packages. Install it to debug one of them or to examine a core dump
- produced by one of them.
--
--Package: python-openvswitch
--Architecture: all
--Section: python
--Depends: ${misc:Depends}, ${python:Depends}, python-six
--Description: Python bindings for Open vSwitch
-- Open vSwitch is a production quality, multilayer, software-based,
-- Ethernet virtual switch. It is designed to enable massive network
-- automation through programmatic extension, while still supporting
-- standard management interfaces and protocols (e.g. NetFlow, IPFIX,
-- sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
-- to support distribution across multiple physical servers similar to
-- VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
-- .
-- This package contains the full Python bindings for Open vSwitch database.
--
--Package: openvswitch-test
--Architecture: all
--Depends: python (>= 2.7) | python-argparse,
-- python-twisted-web,
-- ${misc:Depends},
-- ${python:Depends}
--Description: Open vSwitch test package
-- Open vSwitch is a production quality, multilayer, software-based,
-- Ethernet virtual switch. It is designed to enable massive network
-- automation through programmatic extension, while still supporting
-- standard management interfaces and protocols (e.g. NetFlow, IPFIX,
-- sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed
-- to support distribution across multiple physical servers similar to
-- VMware's vNetwork distributed vswitch or Cisco's Nexus 1000V.
-- .
-- This package contains utilities that are useful to diagnose
-- performance and connectivity issues in Open vSwitch setup.
--
--Package: openvswitch-vtep
--Architecture: linux-any
--Depends: openvswitch-common (>= ${binary:Version}),
-- openvswitch-switch (>= ${binary:Version}),
-- python,
-- python-openvswitch (>= ${source:Version}),
-- ${misc:Depends},
-- ${shlibs:Depends}
--Description: Open vSwitch VTEP utilities
-- Open vSwitch is a production quality, multilayer, software-based, Ethernet
-- virtual switch. It is designed to enable massive network automation through
-- programmatic extension, while still supporting standard management interfaces
-- and protocols (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In
-- addition, it is designed to support distribution across multiple physical
-- servers similar to VMware's vNetwork distributed vswitch or Cisco's Nexus
-- 1000V.
-- .
-- This package provides utilities that are useful to interact with a
-- VTEP-configured database and a VTEP emulator.
--
--Package: openvswitch-dev
--Architecture: linux-any
--Depends:
-- openvswitch-common (>= ${binary:Version}),
-- ${misc:Depends}
--Description: Open vSwitch development package
-- Open vSwitch is a production quality, multilayer, software-based, Ethernet
-- virtual switch. It is designed to enable massive network automation through
-- programmatic extension, while still supporting standard management interfaces
-- and protocols (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In
-- addition, it is designed to support distribution across multiple physical
-- servers similar to VMware's vNetwork distributed vswitch or Cisco's Nexus
-- 1000V.
-- .
-- This package provides openvswitch headers and libopenvswitch for developers.
-Index: openvswitch-2.7.0/debian/rules
-===================================================================
---- openvswitch-2.7.0.orig/debian/rules
-+++ openvswitch-2.7.0/debian/rules
-@@ -12,7 +12,6 @@
- #export DH_VERBOSE=1
-
- PACKAGE=openvswitch
--PACKAGE_DKMS=openvswitch-datapath-dkms
- DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([0-9]+:)?([0-9][a-zA-Z0-9.+:~-]*)(-[a-zA-Z0-9*.~]*),\2,p')
-
- ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
-@@ -53,42 +52,9 @@ override_dh_install-arch:
- # openvswitch-switch
- cp debian/openvswitch-switch.template debian/openvswitch-switch/usr/share/openvswitch/switch/default.template
-
-- # ovn-host
-- cp debian/ovn-host.template debian/ovn-host/usr/share/ovn/host/default.template
--
-- # ovn-central
-- cp debian/ovn-central.template debian/ovn-central/usr/share/ovn/central/default.template
--
- override_dh_install-indep:
- dh_install
-
-- # openvswitch-datapath-source
-- cp debian/rules.modules debian/openvswitch-datapath-source/usr/src/modules/openvswitch-datapath/debian/rules
-- chmod 755 debian/openvswitch-datapath-source/usr/src/modules/openvswitch-datapath/debian/rules
-- cd debian/openvswitch-datapath-source/usr/src && tar -c modules | bzip2 -9 > openvswitch-datapath.tar.bz2 && rm -rf modules
--
-- # openvswitch-datapath-dkms
-- # setup the dirs
-- dh_installdirs -p$(PACKAGE_DKMS) usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)
--
-- # copy the source
-- cd debian/$(PACKAGE_DKMS)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION) && tar xvzf $(CURDIR)/openvswitch.tar.gz && mv openvswitch/* openvswitch/.[a-z]* . && rmdir openvswitch
--
-- # check we can get kernel module names
-- $(MAKE) -C datapath print-build-modules
--
-- # Prepare dkms.conf from the dkms.conf.in template
-- sed "s/__VERSION__/$(DEB_UPSTREAM_VERSION)/g; s/__MODULES__/$(shell $(MAKE) -C datapath print-build-modules | grep -v make)/" debian/dkms.conf.in > debian/$(PACKAGE_DKMS)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/dkms.conf
--
-- # We don't need the debian folder in there, just upstream sources...
-- rm -rf debian/$(PACKAGE_DKMS)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/debian
-- # We don't need the rhel stuff in there either
-- rm -rf debian/$(PACKAGE_DKMS)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/rhel
-- # And we should also clean useless license files, which are already
-- # described in our debian/copyright anyway.
-- rm -f debian/$(PACKAGE_DKMS)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/COPYING \
-- debian/$(PACKAGE_DKMS)/usr/src/$(PACKAGE)-$(DEB_UPSTREAM_VERSION)/xenserver/LICENSE
--
- override_dh_installinit:
- dh_installinit -R
-
+++ /dev/null
-remove-unneeded-from-control.patch
-install-systemd-services.patch
-delete-openvswitch-switch-init.patch
-use-systemctl-inside-ifupdown.patch
-remove-init-script-on-upgrades.patch
-add-net-tools-dependency.patch
-ifupdown.sh-add-ifupdown2-workaround.patch
+++ /dev/null
-Index: new/debian/ifupdown.sh
-===================================================================
---- new.orig/debian/ifupdown.sh
-+++ new/debian/ifupdown.sh
-@@ -29,8 +29,11 @@ if (ovs_vsctl --version) > /dev/null 2>&
- exit 0
- fi
-
--if /etc/init.d/openvswitch-switch status > /dev/null 2>&1; then :; else
-- /etc/init.d/openvswitch-switch start
-+SERVICE_UNIT=/lib/systemd/system/openvswitch-nonetwork.service
-+if [ -f $SERVICE_UNIT ] && [ -x /bin/systemctl ]; then
-+ if ! systemctl --quiet is-active openvswitch-nonetwork.service; then
-+ systemctl --ignore-dependencies start openvswitch-nonetwork.service
-+ fi
- fi
-
- if [ "${MODE}" = "start" ]; then