[pve-devel] [PATCH V3 ifupdown2 0/3] add openvswitch addon

Alexandre Derumier aderumier at odiso.com
Fri Feb 21 10:27:11 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.

in this v3, the networking config file in rewriten on postinst/postrm
(This is my other pve-common patch serie to handle this)

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



changelogv3:
 - add postinst/postrm 

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

Alexandre Derumier (3):
  remove patch 0008-execute-addons-scripts-before-modules.patch
  add openvswitch addon
  patch : postinst/postrm : convert network config for compatibility

 .../pve/0008-add-openvswitch-addon.patch      | 572 ++++++++++++++++++
 ...xecute-addons-scripts-before-modules.patch |  71 ---
 ...-update-network-config-compatibility.patch |  85 +++
 debian/patches/series                         |   3 +-
 4 files changed, 659 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
 create mode 100644 debian/patches/pve/0009-postinst-rm-update-network-config-compatibility.patch

-- 
2.20.1



More information about the pve-devel mailing list