[pve-devel] [PATCH V2 pve-network 0/6] always use a vnet bridge model
Alexandre Derumier
aderumier at odiso.com
Tue May 19 18:37:39 CEST 2020
Hi,
this is a rework of vlan && qinq plugin to always use a vnet=20
bridge for all plugin.
Avoid to tag vmport directly on vlan-aware bridge or ovs.
Instead, plug the vm interface on a vnet bridge, and plug the
vnet bridge on the ovs|bridge-vlan-aware|... and do the tag here.
This will help a lot of handling tag modification on a vnet, as we=20
don't defined tap|veth in /etc/network/interfaces,
and make same vnet model for each plugins.
Qinq plugin was buggy, I have fixed it and added support for
ovs+classic linux bridge.
I have also added vlan-protocol option back, to handle=20
both 802.1ad && 802.1q service vlan.
I'll update documentation && gui tomorrow
Changelog v2:
- keep interfaces sort
- fix the vnet name character to 8
Alexandre Derumier (6):
restrict zone name to 8 characters
retrict vnet name to 8 characters
vlan: use new model
qinq: use new model + ovs/classic bridge support
evpn: prefix interfaces
vxlan: prefix interfaces
PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +-
PVE/Network/SDN/VnetPlugin.pm | 2 +-
PVE/Network/SDN/Zones/EvpnPlugin.pm | 24 ++--
PVE/Network/SDN/Zones/Plugin.pm | 2 +-
PVE/Network/SDN/Zones/QinQPlugin.pm | 133 +++++++++++++++++-----
PVE/Network/SDN/Zones/VlanPlugin.pm | 90 ++++++++++-----
PVE/Network/SDN/Zones/VxlanPlugin.pm | 6 +-
7 files changed, 183 insertions(+), 76 deletions(-)
--
2.20.1
More information about the pve-devel
mailing list