[pve-devel] [PATCH pve-manager 1/3] sdn: vnetedit: tag optional && fix max tag value

2020-07-01 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/VnetEdit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager6/sdn/VnetEdit.js b/www/manager6/sdn/VnetEdit.js index dfe6cb13..aa40b41f 100644 --- a/www/manager6/sdn/VnetEdit.js +++ b/www/manager6/sdn

[pve-devel] [PATCH pve-manager 3/3] sdn: add simple zone plugin

2020-07-01 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/Makefile| 1 + www/manager6/Utils.js| 5 +++ www/manager6/sdn/zones/SimpleEdit.js | 53 3 files changed, 59 insertions(+) create mode 100644 www/manager6/sdn/zones/SimpleEdit.js

[pve-devel] [PATCH pve-network 3/3] cleanup code with wrong copy/paste from Storage

2020-07-01 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/API2/Network/SDN/Zones.pm | 2 +- PVE/API2/Network/SDN/Zones/Content.pm | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/PVE/API2/Network/SDN/Zones.pm b/PVE/API2/Network/SDN/Zones.pm index 3e371df..f629f43 100644 --- a/PVE

[pve-devel] [PATCH pve-docs] sdn: add simple zone plugin

2020-07-01 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- pvesdn.adoc | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pvesdn.adoc b/pvesdn.adoc index c1597b8..ed8652d 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -142,12 +142,22 @@ Common options nodes:: Deploy and allow to use

[pve-devel] [PATCH pve-network 0/3] add simple zone plugin

2020-07-01 Thread Alexandre Derumier
This add a new simple plugin, to create standalone/isolated bridge without any vlan tag. This can be used for routed setup or NAT bridge (I'll look to implemented NAT with subnets) Tag is now optionnal, and tag value is checked in zone plugin now. Alexandre Derumier (3): add simple p

[pve-devel] [PATCH pve-manager 0/3] add simple zone plugin

2020-07-01 Thread Alexandre Derumier
Following the pve-network && pve-docs patch series Alexandre Derumier (3): sdn: vnetedit: tag optional && fix max tag value sdn: move mtu from vnetview to zoneview sdn: add simple zone plugin www/manager6/Makefile| 1 + www/manager6/Utils.js

[pve-devel] [PATCH pve-manager 2/3] sdn: move mtu from vnetview to zoneview

2020-07-01 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/VnetView.js | 7 +-- www/manager6/sdn/ZoneView.js | 5 + 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/www/manager6/sdn/VnetView.js b/www/manager6/sdn/VnetView.js index 8afb29cf..e73632d1 100644 --- a/www/manager6

[pve-devel] [PATCH pve-network 2/3] vnet: make tag optional and verify value in zone plugins

2020-07-01 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/API2/Network/SDN/Vnets.pm | 15 +++ PVE/Network/SDN/VnetPlugin.pm | 5 +++-- PVE/Network/SDN/Zones/EvpnPlugin.pm | 7 +++ PVE/Network/SDN/Zones/Plugin.pm | 5 + PVE/Network/SDN/Zones/QinQPlugin.pm | 8

[pve-devel] [PATCH pve-network 1/3] add simple plugin

2020-07-01 Thread Alexandre Derumier
allow to create standalone or simple routed vnets Signed-off-by: Alexandre Derumier --- PVE/API2/Network/SDN/Zones.pm | 1 + PVE/Network/SDN/Zones.pm | 2 + PVE/Network/SDN/Zones/Makefile| 2 +- PVE/Network/SDN/Zones/SimplePlugin.pm | 70

[pve-devel] [PATCH pve-network] use PVE::Tools::split_list for ip lists

2020-06-30 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Controllers/EvpnPlugin.pm | 4 ++-- PVE/Network/SDN/Zones/EvpnPlugin.pm | 2 +- PVE/Network/SDN/Zones/VxlanPlugin.pm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm

Re: [pve-devel] cloudinit: generate server ssh keys on proxmox side ?

2020-06-25 Thread Alexandre DERUMIER
> Maybe could we generate them once at proxmox side ? >>-1 >> >>Copying private keys is bad ... I'll look if I can make sshkey gen occur only once, or simply chattr files it's possible to configure cloudinit modules, to launch only [once,instance,always]. by default, almost all modules run

[pve-devel] cloudinit: generate server ssh keys on proxmox side ?

2020-06-25 Thread Alexandre DERUMIER
Hi, I'm currently testing cloudinit, and I have notice that each time we are doing a change, as we generate a new instance each time (because they are no other easy way to get network configuration regenerate), The server ssh private keys are generate again and again. It's possible to put in cl

Re: [pve-devel] [PATCH pve-network] allow [ ,;] for ip lists

2020-06-24 Thread Alexandre DERUMIER
ichler" À: "pve-devel" Envoyé: Mercredi 24 Juin 2020 10:23:14 Objet: Re: [pve-devel] [PATCH pve-network] allow [ ,;] for ip lists why not use PVE::Tools::split_list ? it's our standard helper for these kind of things, and also correctly trims whitespace and has support for

Re: [pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

2020-06-23 Thread Alexandre DERUMIER
>>Do you want to allocate IPs on VM creation time, or VM start time? I think at vm creation time, or nic hotplug/unplug. the ipam api is called, return free ip address, and we write somewhere in vm config the ip address. (for nic hotplug/unplug, we need to handle ipam removal on config revert) L

Re: [pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

2020-06-23 Thread Alexandre DERUMIER
>>You you also do not store the cidr there, and instead >>store the some pool ID retured by IPAM? cidr should be the key/id of the subnet. Almost all ipam use the cidr as key. Alexandre Derumier Ingénieur système et stockage Manager Infrastructure Fixe : +33 3

Re: [pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

2020-06-23 Thread Alexandre DERUMIER
>>No. I mean you store all subnets and IPs in subnets.cfg, so why do we >>need/want IPAM plugins? oh ok sorry. No,no, I don't want to store ips in subnets.cfg, it's done in ipam. (or it could be done in a localipam database if no ipam exist). the "allocation-pools" option, was for: in this su

Re: [pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

2020-06-23 Thread Alexandre DERUMIER
>>But you already mange subnets and allocation pools in subnets.cfg, so what it >>the purpose >>of those ipam plugins? I am unable to see the point? Keeping those >>reservations in sync >>looks hard to me. do you mean sync between dhcp && ipam ? I'm more thinking about static dhcp reservation

Re: [pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

2020-06-22 Thread Alexandre DERUMIER
>> In second step, we could also add dhcp server features, with static ip/mac >> leases. (Kea dhcp seem a good candidate). >> with 1 local dhcp server by node. (only responding to local vms) >> for bgp-evpn it's easy because we already have a anycast gateway ip, so it >> can be use by dhcp serv

[pve-devel] [PATCH pve-manager] sdn: fix zone icon in tree view

2020-06-19 Thread Alexandre Derumier
also add status icon: -pending (yellow triangle) -error (red cross) Signed-off-by: Alexandre Derumier --- www/css/ext6-pve.css | 4 www/manager6/tree/ResourceTree.js | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www/css/ext6-pve.css b/www/css

[pve-devel] [PATCH pve-network] improve status

2020-06-19 Thread Alexandre Derumier
check all plumbing interfaces needed for vnets Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones.pm| 29 +--- PVE/Network/SDN/Zones/Plugin.pm | 35 PVE/Network/SDN/Zones/QinQPlugin.pm | 51 + PVE/Network/SDN

[pve-devel] RFC: sdn: add ip management (IPAM -DHCP) ideas

2020-06-15 Thread Alexandre DERUMIER
Hi, the sdn beta seem to works fine currently, I think the model is good enough to handle users need. I'm already thinking about the next step: ip management (ipam) && dhcp. The main idea is to be able to defined subnets with pools of address ip on vnets, and when user create a vm on this vnet

[pve-devel] [PATCH pve-network] allow [ ,;] for ip lists

2020-06-12 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Controllers/EvpnPlugin.pm | 4 ++-- PVE/Network/SDN/Zones/EvpnPlugin.pm | 2 +- PVE/Network/SDN/Zones/VxlanPlugin.pm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PVE/Network/SDN/Controllers/EvpnPlugin.pm

[pve-devel] [PATCH pve-manager] api : cluster resources: add sdn audit permission

2020-06-12 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/API2/Cluster.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Cluster.pm b/PVE/API2/Cluster.pm index 76560fa4..062ca849 100644 --- a/PVE/API2/Cluster.pm +++ b/PVE/API2/Cluster.pm @@ -411,7 +411,7 @@ __PACKAGE__

[pve-devel] [PATCH pve-manager] sdn: browser: fix Permissions.Modify

2020-06-12 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/Browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/manager6/sdn/Browser.js b/www/manager6/sdn/Browser.js index 20944bd5..1415f966 100644 --- a/www/manager6/sdn/Browser.js +++ b/www/manager6/sdn/Browser.js

[pve-devel] [PATCH pve-access-control] api2: AccessControl: add sdn permissions.modify

2020-06-12 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/API2/AccessControl.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/AccessControl.pm b/PVE/API2/AccessControl.pm index 8b053dc..fd27786 100644 --- a/PVE/API2/AccessControl.pm +++ b/PVE/API2/AccessControl.pm @@ -176,7 +176,7

Re: [pve-devel] [PATCH proxmox-widget-toolkit] networkedit: display mtu for ovsbond too

2020-06-08 Thread Alexandre DERUMIER
8 Juin 2020 16:48:14 Objet: Re: [pve-devel] [PATCH proxmox-widget-toolkit] networkedit: display mtu for ovsbond too On 6/7/20 1:30 PM, Alexandre Derumier wrote: > --- > node/NetworkEdit.js | 23 --- > 1 file changed, 12 insertions(+), 11 deletions(-) > Chang

[pve-devel] [PATCH pve-common] Inotify: write_network_interfaces : always autostart bond slaves interfaces

2020-06-07 Thread Alexandre Derumier
k is not implemented (yet), so the slaves of the bond are still down. Debian/Ubuntu official docs always set "auto ethX" for bond slaves, it's really more clean like this. Signed-off-by: Alexandre Derumier --- src/PVE/INotify.pm | 2 ++ test

[pve-devel] [PATCH proxmox-widget-toolkit] networkedit: display mtu for ovsbond too

2020-06-07 Thread Alexandre Derumier
--- node/NetworkEdit.js | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/node/NetworkEdit.js b/node/NetworkEdit.js index 72aab6f..b01712c 100644 --- a/node/NetworkEdit.js +++ b/node/NetworkEdit.js @@ -312,19 +312,20 @@ Ext.define('Proxmox.node.NetworkEd

[pve-devel] [PATCH ifupdown2] add patch 0009-address-don-t-process_mtu-if-ovs-mtu-is-defined.patch

2020-06-04 Thread Alexandre Derumier
: Alexandre Derumier --- debian/changelog | 6 ...-t-process_mtu-if-ovs-mtu-is-defined.patch | 32 +++ debian/patches/series | 1 + 3 files changed, 39 insertions(+) create mode 100644 debian/patches/pve/0009-address-don-t

Re: [pve-devel] [PATCH qemu-server] add virtio host_mtu feature.

2020-06-03 Thread Alexandre DERUMIER
Hi, any comment about this patch ? forum users still need it https://forum.proxmox.com/threads/set-mtu-on-guest.45078/page-2 (and it could help too with vxlan and other tunneling where mtu need to be reduce on guest) - Mail original - De: "aderumier" À: "pve-devel" Cc: "aderumier"

Re: [pve-devel] applied-series: Re: [PATCH V2 ifupdown2 00/10] 3.0.0-1 version

2020-06-03 Thread Alexandre DERUMIER
À: "pve-devel" , "aderumier" Envoyé: Mercredi 3 Juin 2020 09:47:35 Objet: applied-series: Re: [pve-devel] [PATCH V2 ifupdown2 00/10] 3.0.0-1 version On 6/2/20 10:31 AM, Alexandre Derumier wrote: > Hi, > > This patch series update ifupdown2 to 3.0.0-1. > >

[pve-devel] [PATCH pve-manager 2/2] sdn: vlan : add mtu field

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/zones/VlanEdit.js | 10 ++ 1 file changed, 10 insertions(+) diff --git a/www/manager6/sdn/zones/VlanEdit.js b/www/manager6/sdn/zones/VlanEdit.js index 9060b4e5..79b6bc39 100644 --- a/www/manager6/sdn/zones/VlanEdit.js +++ b/www

[pve-devel] [PATCH pve-manager 1/2] sdn: add vlan aware option to vnet

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/VnetEdit.js | 7 +++ www/manager6/sdn/VnetView.js | 5 + 2 files changed, 12 insertions(+) diff --git a/www/manager6/sdn/VnetEdit.js b/www/manager6/sdn/VnetEdit.js index 9ef2b1c0..c5e3859d 100644 --- a/www/manager6/sdn/VnetEdit.js

[pve-devel] [PATCH pve-manager 0/2] sdn: vlanaware + vlan mtu

2020-06-02 Thread Alexandre Derumier
Patch1 is a resend with fix Patch2 add missing mtu option to vlan plugin Alexandre Derumier (2): sdn: add vlan aware option to vnet sdn: vlan : add mtu field www/manager6/sdn/VnetEdit.js | 7 +++ www/manager6/sdn/VnetView.js | 5 + www/manager6/sdn/zones/VlanEdit.js

[pve-devel] [PATCH V2 pve-network 2/7] vlan: ovs: use dot1q-tunnel when vlanaware is enabled

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VlanPlugin.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 8364451..987c553 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm

[pve-devel] [PATCH V2 pve-network 1/7] add vnet vlan-aware option

2020-06-02 Thread Alexandre Derumier
Some users would like to be able to defined vlans at vm level, or allow trunks, on top of already tagged vnet. (including vlan on top of vxlan tunnel) Allow it on all layer2 plugins, and add a warn for evpn layer3 plugin. Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/VnetPlugin.pm

[pve-devel] [PATCH V2 pve-network 3/7] qinq|vlan: ovs: add ovsint interfaces to ovs-ports list

2020-06-02 Thread Alexandre Derumier
if not, on reload, interfaces are unplug/replugged with packet loss. Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/QinQPlugin.pm | 4 PVE/Network/SDN/Zones/VlanPlugin.pm | 6 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones

[pve-devel] [PATCH V2 pve-network 7/7] vlan: ovs : vlanaware: use 802.1q for tunnel

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VlanPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 0abe8da..edb132c 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm +++ b

[pve-devel] [PATCH V2 pve-network 6/7] vlan: ovs: remove twice defined ovsbridge ports

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VlanPlugin.pm | 5 - 1 file changed, 5 deletions(-) diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 3bff970..0abe8da 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm +++ b/PVE/Network

[pve-devel] [PATCH V2 pve-network 4/7] catch errors on sdn config generation

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones.pm| 8 +++- PVE/Network/SDN/Zones/QinQPlugin.pm | 1 + PVE/Network/SDN/Zones/VlanPlugin.pm | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones.pm b/PVE/Network/SDN/Zones.pm index

[pve-devel] [PATCH V2 pve-network 0/7] vlanaware vnets

2020-06-02 Thread Alexandre Derumier
This ass support for vlan-aware vnets. patch1 && 2 were already submit on the mailing patch3 is a small fix to avoid packet lost on reload with ovs + qinq|vlan plugins changelog v2: add more fixes for ovs Alexandre Derumier (7): add vnet vlan-aware option vlan: ovs: use dot1q-tun

[pve-devel] [PATCH V2 pve-network 5/7] vlan|qinq: add mtu to ovsint link port

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/QinQPlugin.pm | 1 + PVE/Network/SDN/Zones/VlanPlugin.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/PVE/Network/SDN/Zones/QinQPlugin.pm b/PVE/Network/SDN/Zones/QinQPlugin.pm index 2ae2649..73c2e84 100644 --- a/PVE/Network

[pve-devel] [PATCH V2 ifupdown2 00/10] 3.0.0-1 version

2020-06-02 Thread Alexandre Derumier
op of 3.0.0-1 tag. They are some fix for ovs plugin, and some new interfaces like veth pair are supported too. (I need them for sdn). changelog v2: add missing 0008-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch Alexandre Derumier (10): remove extra patches rebase 0001-don-t-r

[pve-devel] [PATCH V2 ifupdown2 08/10] control: update python3

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- debian/control | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index 62358f6..5a95659 100644 --- a/debian/control +++ b/debian/control @@ -5,12 +5,13 @@ Maintainer: Proxmox Support Team

[pve-devel] [PATCH V2 ifupdown2 07/10] add extra patch: 0004-fix-start-networking-permission.patch

2020-06-02 Thread Alexandre Derumier
https://github.com/CumulusNetworks/ifupdown2/commit/5cbe13d17a28e1ce4a411092f0bd659360406572 Signed-off-by: Alexandre Derumier --- .../0004-fix-start-networking-permission.patch | 13 + debian/patches/series | 1 + 2 files changed, 14 insertions

[pve-devel] [PATCH V2 ifupdown2 05/10] add extra patch: 0002-nllistener-increase-buffer.patch

2020-06-02 Thread Alexandre Derumier
https://github.com/CumulusNetworks/ifupdown2/commit/523b347ad49234efb7787f6f084070034de7e977 Signed-off-by: Alexandre Derumier --- .../0002-nllistener-increase-buffer.patch | 25 +++ debian/patches/series | 1 + 2 files changed, 26 insertions

[pve-devel] [PATCH V2 ifupdown2 02/10] rebase 0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- ...-veth-fwpr-interfaces-from-bridge-on.patch | 29 +-- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/debian/patches/pve/0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch b/debian/patches/pve/0001-don-t

[pve-devel] [PATCH V2 ifupdown2 06/10] add extra patch: 0003-ovs-multiple-ovsport.patch

2020-06-02 Thread Alexandre Derumier
https://github.com/CumulusNetworks/ifupdown2/pull/164 Signed-off-by: Alexandre Derumier --- .../extra/0003-ovs-multiple-ovsport.patch | 53 +++ debian/patches/series | 1 + 2 files changed, 54 insertions(+) create mode 100644 debian/patches/extra

[pve-devel] [PATCH V2 ifupdown2 09/10] changelog: bump to 3.0.0-1

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- debian/changelog | 6 ++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7ca7226..ff13c56 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ifupdown2 (3.0.0-1+pve1) pve; urgency=medium

[pve-devel] [PATCH V2 ifupdown2 10/10] add patch 0008-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- ...ports-condone-regex-exclude-tap-veth.patch | 34 +++ debian/patches/series | 1 + 2 files changed, 35 insertions(+) create mode 100644 debian/patches/pve/0008-openvswitch-ovs-ports-condone-regex-exclude-tap

[pve-devel] [PATCH V2 ifupdown2 01/10] remove extra patches

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- ...g-option-to-common_argparse-to-avoid.patch | 44 .../extra/0002-fix-default-forwarding.patch | 100 -- debian/patches/series | 2 - 3 files changed, 146 deletions(-) delete mode 100644 debian/patches

[pve-devel] [PATCH V2 ifupdown2 04/10] remove 0008-add-openvswitch-addon.patch

2020-06-02 Thread Alexandre Derumier
openvswitch is now upstream add extra-patch for ovs-ports-condone-regex https://github.com/CumulusNetworks/ifupdown2/pull/157 Signed-off-by: Alexandre Derumier --- .../0001-ovs-ovs-ports-condone-regex.patch| 66 ++ .../pve/0008-add-openvswitch-addon.patch | 595

[pve-devel] [PATCH V2 ifupdown2 03/10] rebase 0007-networking.service-fix-dependencies-and-ordering.patch

2020-06-02 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- service-fix-dependencies-and-ordering.patch | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/debian/patches/pve/0007-networking.service-fix-dependencies-and-ordering.patch b/debian/patches/pve/0007

[pve-devel] [pve-network 2/3] vlan: ovs: use dot1q-tunnel when vlanaware is enabled

2020-05-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VlanPlugin.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 8364451..987c553 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm

[pve-devel] [pve-network 3/3] qinq|vlan: ovs: add ovsint interfaces to ovs-ports list

2020-05-28 Thread Alexandre Derumier
if not, on reload, interfaces are unplug/replugged with packet loss. Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/QinQPlugin.pm | 4 PVE/Network/SDN/Zones/VlanPlugin.pm | 6 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones

[pve-devel] [pve-network 0/3] vlanaware vnets

2020-05-28 Thread Alexandre Derumier
This ass support for vlan-aware vnets. patch1 && 2 were already submit on the mailing patch3 is a small fix to avoid packet lost on reload with ovs + qinq|vlan plugins Alexandre Derumier (3): add vnet vlan-aware option vlan: ovs: use dot1q-tunnel when vlanaware is enabled qinq|v

[pve-devel] [pve-network 1/3] add vnet vlan-aware option

2020-05-28 Thread Alexandre Derumier
Some users would like to be able to defined vlans at vm level, or allow trunks, on top of already tagged vnet. (including vlan on top of vxlan tunnel) Allow it on all layer2 plugins, and add a warn for evpn layer3 plugin. Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/VnetPlugin.pm

[pve-devel] [PATCH ifupdown2 3/9] rebase 0007-networking.service-fix-dependencies-and-ordering.patch

2020-05-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- service-fix-dependencies-and-ordering.patch | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/debian/patches/pve/0007-networking.service-fix-dependencies-and-ordering.patch b/debian/patches/pve/0007

[pve-devel] [PATCH ifupdown2 7/9] add extra patch: 0004-fix-start-networking-permission.patch

2020-05-28 Thread Alexandre Derumier
https://github.com/CumulusNetworks/ifupdown2/commit/5cbe13d17a28e1ce4a411092f0bd659360406572 Signed-off-by: Alexandre Derumier --- .../0004-fix-start-networking-permission.patch | 13 + debian/patches/series | 1 + 2 files changed, 14 insertions

[pve-devel] [PATCH ifupdown2 6/9] add extra patch: 0003-ovs-multiple-ovsport.patch

2020-05-28 Thread Alexandre Derumier
https://github.com/CumulusNetworks/ifupdown2/pull/164 Signed-off-by: Alexandre Derumier --- .../extra/0003-ovs-multiple-ovsport.patch | 53 +++ debian/patches/series | 1 + 2 files changed, 54 insertions(+) create mode 100644 debian/patches/extra

[pve-devel] [PATCH ifupdown2 0/9] 3.0.0-1 version

2020-05-28 Thread Alexandre Derumier
op of 3.0.0-1 tag. They are some fix for ovs plugin, and some new interfaces like veth pair are supported too. (I need them for sdn). Alexandre Derumier (9): remove extra patches rebase 0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch rebase 0007-networking.servic

[pve-devel] [PATCH ifupdown2 2/9] rebase 0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch

2020-05-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- ...-veth-fwpr-interfaces-from-bridge-on.patch | 29 +-- 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a/debian/patches/pve/0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch b/debian/patches/pve/0001-don-t

[pve-devel] [PATCH ifupdown2 1/9] remove extra patches

2020-05-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- ...g-option-to-common_argparse-to-avoid.patch | 44 .../extra/0002-fix-default-forwarding.patch | 100 -- debian/patches/series | 2 - 3 files changed, 146 deletions(-) delete mode 100644 debian/patches

[pve-devel] [PATCH ifupdown2 5/9] add extra patch: 0002-nllistener-increase-buffer.patch

2020-05-28 Thread Alexandre Derumier
https://github.com/CumulusNetworks/ifupdown2/commit/523b347ad49234efb7787f6f084070034de7e977 Signed-off-by: Alexandre Derumier --- .../0002-nllistener-increase-buffer.patch | 25 +++ debian/patches/series | 1 + 2 files changed, 26 insertions

[pve-devel] [PATCH ifupdown2 8/9] control: update python3

2020-05-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- debian/control | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index 62358f6..5a95659 100644 --- a/debian/control +++ b/debian/control @@ -5,12 +5,13 @@ Maintainer: Proxmox Support Team

[pve-devel] [PATCH ifupdown2 9/9] changelog: bump to 3.0.0-1

2020-05-28 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- debian/changelog | 6 ++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 7ca7226..ff13c56 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ifupdown2 (3.0.0-1+pve1) pve; urgency=medium

[pve-devel] [PATCH ifupdown2 4/9] remove 0008-add-openvswitch-addon.patch

2020-05-28 Thread Alexandre Derumier
openvswitch is now upstream add extra-patch for ovs-ports-condone-regex https://github.com/CumulusNetworks/ifupdown2/pull/157 Signed-off-by: Alexandre Derumier --- .../0001-ovs-ovs-ports-condone-regex.patch| 66 ++ .../pve/0008-add-openvswitch-addon.patch | 595

[pve-devel] [pve-network] vlan: ovs: use dot1q-tunnel when vlanaware is enabled

2020-05-27 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VlanPlugin.pm | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones/VlanPlugin.pm b/PVE/Network/SDN/Zones/VlanPlugin.pm index 8364451..987c553 100644 --- a/PVE/Network/SDN/Zones/VlanPlugin.pm

[pve-devel] [PATCH pve-manager] sdn: add vlan aware option to vnet

2020-05-26 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/VnetEdit.js | 5 ++--- www/manager6/sdn/VnetView.js | 5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/www/manager6/sdn/VnetEdit.js b/www/manager6/sdn/VnetEdit.js index e2ace128..c5e3859d 100644 --- a/www/manager6/sdn

[pve-devel] [PATCH pve-docs 3/3] sdn: fix qinq zone2 example

2020-05-26 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- pvesdn.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvesdn.adoc b/pvesdn.adoc index af89bba..90a89d8 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -442,7 +442,7 @@ Create a `myvnet2' with customer VLAN-id 100 on the previ

[pve-devel] [PATCH pve-docs 2/3] sdn: add vnet vlan-aware option

2020-05-26 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- pvesdn.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pvesdn.adoc b/pvesdn.adoc index 0dd58ee..af89bba 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -114,6 +114,9 @@ VNet properties are: * Tag: The unique VLAN or VXLAN id +* Vlan Aware

[pve-devel] [PATCH pve-docs 1/3] sdn: add a note to add "source /etc/network/interfaces.d/*"

2020-05-26 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- pvesdn.adoc | 6 ++ 1 file changed, 6 insertions(+) diff --git a/pvesdn.adoc b/pvesdn.adoc index f890003..0dd58ee 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -267,6 +267,12 @@ After applying the configuration through the main SDN web-interface panel

[pve-devel] [PATCH pve-docs 0/3] sdn: improvement

2020-05-26 Thread Alexandre Derumier
Somes fixes, and add description for new vnet vlan-aware option Alexandre Derumier (3): sdn: add a note to add "source /etc/network/interfaces.d/*" sdn: add vnet vlan-aware option sdn: fix qinq zone2 example pvesdn.adoc | 11 ++- 1 file changed, 10 insertions(+),

[pve-devel] [PATCH pve-network] add vnet vlan-aware option

2020-05-25 Thread Alexandre Derumier
Some users would like to be able to defined vlans at vm level, or allow trunks, on top of already tagged vnet. (including vlan on top of vxlan tunnel) Allow it on all layer2 plugins, and add a warn for evpn layer3 plugin. Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/VnetPlugin.pm

[pve-devel] [PATCH pve-common] network: vlan-aware bridge: fix pvid when trunks is defined

2020-05-25 Thread Alexandre Derumier
100i0 2 PVID Egress Untagged after - tap100i0 2 PVID Egress Untagged net0: e1000=BA:90:68:B8:CF:F5,bridge=vmbr1,trunks=2-11 before -- tap100i0 1 PVID Egress Untagged 2-11 after - tap100i0 1 PVID Egress Untagged 2-11 Signed-off-by: Alex

[pve-devel] ceph octopus rbd benchmark

2020-05-22 Thread Alexandre DERUMIER
Hi, I have done some benchmark with librbd octopus, results are really great with new the write-around cache policy. (Simply need to enable cache=writeback in qemu) Here some iops result with 1vm - 1disk - 4k block iodepth=64, librbd, no iothread. nautilus-cache=

Re: [pve-devel] applied-series: Re: [PATCH V2 pve-network 0/6] always use a vnet bridge model

2020-05-20 Thread Alexandre DERUMIER
ply). yes, I need to improve that. I'll look at this next week. - Mail original - De: "Thomas Lamprecht" À: "pve-devel" , "aderumier" Envoyé: Mardi 19 Mai 2020 21:45:15 Objet: applied-series: Re: [pve-devel] [PATCH V2 pve-network 0/6] always use a vnet

[pve-devel] [PATCH pve-manager 0/3] sdn: updates

2020-05-19 Thread Alexandre Derumier
Following last pve-network series Alexandre Derumier (3): vnetview: remove mtu field sdn: restrict zone && vnet name to 8 characters qinq: add vlan-protocol option www/manager6/sdn/Browser.js | 4 ++-- www/manager6/sdn/VnetEdit.js | 2 +- www/mana

[pve-devel] [PATCH pve-manager 1/3] vnetview: remove mtu field

2020-05-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/Browser.js | 4 ++-- www/manager6/sdn/VnetView.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/www/manager6/sdn/Browser.js b/www/manager6/sdn/Browser.js index 339fedb1..20944bd5 100644 --- a/www/manager6/sdn

[pve-devel] [PATCH pve-manager 3/3] qinq: add vlan-protocol option

2020-05-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/zones/QinQEdit.js | 8 1 file changed, 8 insertions(+) diff --git a/www/manager6/sdn/zones/QinQEdit.js b/www/manager6/sdn/zones/QinQEdit.js index 9d0fdb67..beb2573e 100644 --- a/www/manager6/sdn/zones/QinQEdit.js +++ b/www

[pve-devel] [PATCH pve-manager 2/3] sdn: restrict zone && vnet name to 8 characters

2020-05-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/sdn/VnetEdit.js | 2 +- www/manager6/sdn/controllers/EvpnEdit.js | 2 +- www/manager6/sdn/zones/EvpnEdit.js | 2 +- www/manager6/sdn/zones/QinQEdit.js | 2 +- www/manager6/sdn/zones/VxlanEdit.js | 2 +- 5 files

[pve-devel] [PATCH V2 pve-network 5/6] evpn: prefix interfaces

2020-05-19 Thread Alexandre Derumier
vnets can have random name, prefix other interfaces to avoid conflicts Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +- PVE/Network/SDN/Zones/EvpnPlugin.pm | 24 +++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git

[pve-devel] [PATCH V2 pve-network 4/6] qinq: use new model + ovs/classic bridge support

2020-05-19 Thread Alexandre Derumier
ag)--->vnet--->vm vlanawarebridge --- eth0vlanawarebrige-(tag)->vlanwarebridge-(tag)->vnet--->vm non-vlanaware bridge eth0--->eth0.x(svlan)--->eth0.x.y(cvlan)---->vnet>vm Signed-off-by: Alexandre Derumier --- PVE

[pve-devel] [PATCH V2 pve-network 2/6] retrict vnet name to 8 characters

2020-05-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/VnetPlugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Network/SDN/VnetPlugin.pm b/PVE/Network/SDN/VnetPlugin.pm index b0280fc..179bfa4 100644 --- a/PVE/Network/SDN/VnetPlugin.pm +++ b/PVE/Network/SDN

[pve-devel] [PATCH V2 pve-network 3/6] vlan: use new model

2020-05-19 Thread Alexandre Derumier
awarebridge --- eth0vlanaware bridge vmbr0--(vmbr0.X tag)>vnet>vm non-vlanaware bridge keep vmbrXvY for compatibility with existing network eth0<>eth0.Xvmbr0v10--vnet---->vm Signed-off-by: Alexandre Derumier --- PVE/Network/SD

[pve-devel] [PATCH V2 pve-network 1/6] restrict zone name to 8 characters

2020-05-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/Plugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones/Plugin.pm b/PVE/Network/SDN/Zones/Plugin.pm index 2335d9e..9ea7a50 100644 --- a/PVE/Network/SDN/Zones/Plugin.pm +++ b/PVE/Network/SDN

[pve-devel] [PATCH V2 pve-network 0/6] always use a vnet bridge model

2020-05-19 Thread Alexandre Derumier
andle=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

[pve-devel] [PATCH V2 pve-network 6/6] vxlan: prefix interfaces

2020-05-19 Thread Alexandre Derumier
vnets can have random name, prefix other interfaces to avoid conflicts Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VxlanPlugin.pm | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/Network/SDN/Zones/VxlanPlugin.pm b/PVE/Network/SDN/Zones

Re: [pve-devel] applied: [PATCH V2 ifupdown2 1/1] openvswitch: don't remove tap|veth interfaces when adding an internal ovs port

2020-05-19 Thread Alexandre DERUMIER
--- Mail original - De: "Thomas Lamprecht" À: "pve-devel" , "aderumier" Envoyé: Mardi 19 Mai 2020 08:28:16 Objet: applied: [pve-devel] [PATCH V2 ifupdown2 1/1] openvswitch: don't remove tap|veth interfaces when adding an internal ovs port On 5/16/20 2:07 PM, A

Re: [pve-devel] [PATCH pve-network 1/7] don't sort interfaces in /etc/network/interfaces.d/sdn

2020-05-19 Thread Alexandre DERUMIER
yé: Mardi 19 Mai 2020 16:43:20 Objet: Re: [pve-devel] [PATCH pve-network 1/7] don't sort interfaces in /etc/network/interfaces.d/sdn On 5/19/20 3:48 PM, Alexandre Derumier wrote: > Sometime, ifupdown2 can't handle depend correctly, and interface order is > used > makes no s

Re: [pve-devel] [PATCH pve-network 3/7] retrict vnet name to 8 characters

2020-05-19 Thread Alexandre DERUMIER
damn, sorry - Mail original - De: "Thomas Lamprecht" À: "pve-devel" , "aderumier" Envoyé: Mardi 19 Mai 2020 16:43:59 Objet: Re: [pve-devel] [PATCH pve-network 3/7] retrict vnet name to 8 characters On 5/19/20 3:48 PM, Alexandre Derumier wrote: >

Re: [pve-devel] [PATCH pve-network 1/7] don't sort interfaces in /etc/network/interfaces.d/sdn

2020-05-19 Thread Alexandre DERUMIER
terfaces - Mail original - De: "Thomas Lamprecht" À: "pve-devel" , "aderumier" Envoyé: Mardi 19 Mai 2020 16:43:20 Objet: Re: [pve-devel] [PATCH pve-network 1/7] don't sort interfaces in /etc/network/interfaces.d/sdn On 5/19/20 3:48 PM, Alexandre Derumier

[pve-devel] [PATCH pve-docs] sdn: update qinq plugin doc

2020-05-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- pvesdn.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pvesdn.adoc b/pvesdn.adoc index 4277bb2..f890003 100644 --- a/pvesdn.adoc +++ b/pvesdn.adoc @@ -164,10 +164,12 @@ NOTE: Your physical network switches must support stacked

[pve-devel] [PATCH pve-network 0/7] always use a vnet bridge model

2020-05-19 Thread Alexandre Derumier
both 802.1ad && 802.1q service vlan. I'll update documentation && gui tomorrow Alexandre Derumier (7): don't sort interfaces in /etc/network/interfaces.d/sdn restrict zone name to 8 characters retrict vnet name to 8 characters vlan: use new model qinq: use new mo

[pve-devel] [PATCH pve-network 6/7] evpn: prefix interfaces

2020-05-19 Thread Alexandre Derumier
vnets can have random name, prefix other interfaces to avoid conflicts Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Controllers/EvpnPlugin.pm | 2 +- PVE/Network/SDN/Zones/EvpnPlugin.pm | 24 +++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git

[pve-devel] [PATCH pve-network 1/7] don't sort interfaces in /etc/network/interfaces.d/sdn

2020-05-19 Thread Alexandre Derumier
Sometime, ifupdown2 can't handle depend correctly, and interface order is used Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones.pm b/PVE/Network/SDN/Zones.pm index 436b103..435e40b 1

[pve-devel] [PATCH pve-network 2/7] restrict zone name to 8 characters

2020-05-19 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/Plugin.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/Network/SDN/Zones/Plugin.pm b/PVE/Network/SDN/Zones/Plugin.pm index 2335d9e..9ea7a50 100644 --- a/PVE/Network/SDN/Zones/Plugin.pm +++ b/PVE/Network/SDN

[pve-devel] [PATCH pve-network 5/7] qinq: use new model + ovs/classic bridge support

2020-05-19 Thread Alexandre Derumier
ag)--->vnet--->vm vlanawarebridge --- eth0vlanawarebrige-(tag)->vlanwarebridge-(tag)->vnet--->vm non-vlanaware bridge eth0--->eth0.x(svlan)--->eth0.x.y(cvlan)---->vnet>vm Signed-off-by: Alexandre Derumier --- PVE

[pve-devel] [PATCH pve-network 7/7] vxlan: prefix interfaces

2020-05-19 Thread Alexandre Derumier
vnets can have random name, prefix other interfaces to avoid conflicts Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Zones/VxlanPlugin.pm | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PVE/Network/SDN/Zones/VxlanPlugin.pm b/PVE/Network/SDN/Zones

[pve-devel] [PATCH pve-network 4/7] vlan: use new model

2020-05-19 Thread Alexandre Derumier
awarebridge --- eth0vlanaware bridge vmbr0--(vmbr0.X tag)>vnet>vm non-vlanaware bridge keep vmbrXvY for compatibility with existing network eth0<>eth0.Xvmbr0v10--vnet---->vm Signed-off-by: Alexandre Derumier --- PVE/Network/SD

  1   2   3   4   5   6   7   8   9   10   >