[pve-devel] [PATCH v2 ifupdown2 0/2] add openvswitch addon

Alexandre Derumier aderumier at odiso.com
Mon Feb 17 15:59:42 CET 2020


This is an reimplementation of ifupdown1 ovs script,
with reloading support.

The only difference is that interfaces need to be defined
with "auto ...", instead "allow-ovs , allow-vmbr..."
as relationship between interface is correctly managed with ifupdown2.
(Maybe could we add a prestart script in networking.service to fix the config ?)

I'm also remove the 0008-execute-addons-scripts-before-modules.patch,
as it was a workaround to create ovs interface before ifupdown2 modules

I have tested it with multiple reload, all kind of ovs interfaces,
but please test it again.

also try to play of "address ..." on interfaces, to be sure it's applied on reboot.

I have send a pull request for upstream, but based on the next 3.0 python3 branch
https://github.com/CumulusNetworks/ifupdown2/pull/143


changelogv2:
 - add missing patch file (sorry :/)

Alexandre Derumier (2):
  remove patch 0008-execute-addons-scripts-before-modules.patch
  add openvswitch addon

 .../pve/0008-add-openvswitch-addon.patch      | 572 ++++++++++++++++++
 ...xecute-addons-scripts-before-modules.patch |  71 ---
 debian/patches/series                         |   2 +-
 3 files changed, 573 insertions(+), 72 deletions(-)
 create mode 100644 debian/patches/pve/0008-add-openvswitch-addon.patch
 delete mode 100644 debian/patches/pve/0008-execute-addons-scripts-before-modules.patch

-- 
2.20.1




More information about the pve-devel mailing list