[pve-devel] [PATCH V2 pve-manager 2/3] sdn: enable SDN menu if /cluster/sdn api exist

2020-03-10 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/Workspace.js | 8 www/manager6/dc/Config.js | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/www/manager6/Workspace.js b/www/manager6/Workspace.js index 1cc86999..8b5d5cff 100644 --- a/www/manager6/Workspace.js

[pve-devel] [PATCH V2 pve-manager 3/3] add sdn icons

2020-03-10 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/css/ext6-pve.css | 44 ++ www/images/Makefile| 6 +++- www/images/icon-sdn-controller.svg | 1 + www/images/icon-sdn-vnet.svg | 1 + www/images/icon-sdn-zone.svg | 1 +

[pve-devel] [PATCH V2 pve-manager 1/3] add sdn gui

2020-03-10 Thread Alexandre Derumier
Signed-off-by: Alexandre Derumier --- www/manager6/Makefile | 17 +++ www/manager6/Makefile.rej | 9 ++ www/manager6/StateProvider.js | 4 +- www/manager6/Utils.js | 70 + www/manager6/Workspace.js

[pve-devel] [PATCH V2 pve-manager 0/3] add conditionnal sdn GUI

2020-03-10 Thread Alexandre Derumier
Patch 1 is still the same Patch 2 enable the menu in datacenter if pve-network is installed Changelog v2: add nice icons Alexandre Derumier (3): add sdn gui sdn: enable SDN menu if /cluster/sdn api exist add sdn icons www/css/ext6-pve.css | 44 ++

[pve-devel] applied: [PATCH pve-container] lxc: add sdn veth_create|plug

2020-03-10 Thread Thomas Lamprecht
On 3/9/20 10:24 AM, Alexandre Derumier wrote: > --- > src/PVE/LXC.pm | 21 ++--- > src/lxcnetaddbr | 16 +++- > 2 files changed, 33 insertions(+), 4 deletions(-) > applied, thanks! Please remember to add your Signed-off-by's :)

[pve-devel] applied: [PATCH qemu-server] sdn: use sdn tap_create|plug

2020-03-10 Thread Thomas Lamprecht
On 3/9/20 10:24 AM, Alexandre Derumier wrote: > --- > PVE/QemuServer.pm | 12 +++- > vm-network-scripts/pve-bridge | 15 --- > 2 files changed, 23 insertions(+), 4 deletions(-) > applied, but had to resolve a merge conflict with oguz "safe_ne" changes in similar

[pve-devel] applied: [PATCH pve-network] add tap|veth create|plug

2020-03-10 Thread Thomas Lamprecht
On 3/9/20 10:24 AM, Alexandre Derumier wrote: > --- > PVE/Network/SDN/Vnets.pm| 8 > PVE/Network/SDN/Zones.pm| 74 ++--- > PVE/Network/SDN/Zones/Plugin.pm | 39 +-- > PVE/Network/SDN/Zones/QinQPlugin.pm | 2 +- >

[pve-devel] applied: [PATCH v2 docs] Add documentation for virtio-rng

2020-03-10 Thread Thomas Lamprecht
On 3/10/20 6:01 PM, Stefan Reiter wrote: > Signed-off-by: Stefan Reiter > --- > > Thanks for reminding me :) > > v2 includes Aarons review as well as feedback I discussed with him off-list > > qm.adoc | 38 ++ > 1 file changed, 38 insertions(+) > applied,

[pve-devel] [PATCH v2 docs] Add documentation for virtio-rng

2020-03-10 Thread Stefan Reiter
Signed-off-by: Stefan Reiter --- Thanks for reminding me :) v2 includes Aarons review as well as feedback I discussed with him off-list qm.adoc | 38 ++ 1 file changed, 38 insertions(+) diff --git a/qm.adoc b/qm.adoc index 0b699e2..cd6641f 100644 ---

Re: [pve-devel] [PATCH docs 5/5] Add documentation for virtio-rng

2020-03-10 Thread Thomas Lamprecht
On 2/20/20 6:10 PM, Stefan Reiter wrote: > Signed-off-by: Stefan Reiter > --- > qm.adoc | 38 ++ > 1 file changed, 38 insertions(+) > Stefan, how's the v2 for this with Aaron's comments addressed going on? :) ___

Re: [pve-devel] applied: [PATCH http-server 1/4] websocket: improve masking performance

2020-03-10 Thread Alexandre DERUMIER
>>[ 5] 0.00-10.00 sec 2.58 GBytes 2.22 Gbits/sec 0 sender >>[ 5] 0.00-10.00 sec 2.57 GBytes 2.21 Gbits/sec receiver >>iperf Done. >>this is with TLS and our regular AnyEvent API server handling the >>connection, with the target being a VM on the same physical host. >> >>with -l 1024k

[pve-devel] applied, followup with dropping the unused import of typesafe_ne, not used, anywhere..: [PATCH v2 qemu-server 2/5] QemuServer: use helper functions from GuestHelpers

2020-03-10 Thread Thomas Lamprecht
On 2/19/20 5:07 PM, Oguz Bektas wrote: > removes safe_string_ne and safe_num_ne code which is now shared in > GuestHelpers. also change all the calls to use the shared definitions. > > Signed-off-by: Oguz Bektas > --- > > v1->v2: > * use helpers from @EXPORT_OK > > > > PVE/QemuServer.pm |

[pve-devel] applied: [PATCH v2 container 3/5] use helper functions from GuestHelpers

2020-03-10 Thread Thomas Lamprecht
On 2/19/20 5:07 PM, Oguz Bektas wrote: > remove safe_string_ne and safe_num_ne code which is now shared in > GuestHelpers. also change all the calls. > > Signed-off-by: Oguz Bektas > --- > > v1->v2: > * use helpers from @EXPORT_OK > > > src/PVE/LXC.pm | 38

Re: [pve-devel] applied: [PATCH http-server 1/4] websocket: improve masking performance

2020-03-10 Thread Fabian Grünbichler
On March 10, 2020 11:28 am, Alexandre DERUMIER wrote: > Hi, > > do have a small poc sample to create a tunnel like socat ? > > I would like to bench with iperf. > > > I have some benchmark, on recent server with 3ghz cpu: > > nbd migration direct : 3,5gbit/s > > iperf through socat tunnel :

Re: [pve-devel] applied: [PATCH v2 guest-common] abstractconfig: add prototype for get_backup_volumes

2020-03-10 Thread Aaron Lauterer
LGTM thanks :) On 3/10/20 12:20 PM, Thomas Lamprecht wrote: On 2/27/20 11:01 AM, Aaron Lauterer wrote: Signed-off-by: Aaron Lauterer --- v1[0] -> v2: given the feedback from Fabian I * changed name of the method * added more details as to what implementations should return [0]

Re: [pve-devel] KVM Templates on CephFS are only shown on one node - not all nodes in the cluster

2020-03-10 Thread Victor Hooi
Hi Dominik, Aha - I apologise - let me explain the use-case. We have two Proxmox clusters in our lab - both are HA clusters, using hyper-converged Ceph to store the VM disk images. In each cluster, we have a template of various VM images (e.g. Windows 7, Windows 8.1, Windows 10 etc), in various

[pve-devel] applied: [PATCH v2 guest-common] abstractconfig: add prototype for get_backup_volumes

2020-03-10 Thread Thomas Lamprecht
On 2/27/20 11:01 AM, Aaron Lauterer wrote: > Signed-off-by: Aaron Lauterer > --- > > v1[0] -> v2: > given the feedback from Fabian I > * changed name of the method > * added more details as to what implementations should return > > [0]

Re: [pve-devel] applied: [PATCH http-server 1/4] websocket: improve masking performance

2020-03-10 Thread Alexandre DERUMIER
Hi, do have a small poc sample to create a tunnel like socat ? I would like to bench with iperf. I have some benchmark, on recent server with 3ghz cpu: nbd migration direct : 3,5gbit/s iperf through socat tunnel : 3,5gbit/s (1core 100%) iperf through websocat plaintext (a rust

Re: [pve-devel] [PATCH v2 qemu-server 5/5] hotplug_pending: allow partial fast plugging

2020-03-10 Thread Thomas Lamprecht
On 2/19/20 5:07 PM, Oguz Bektas wrote: > adds a loop after the main fastplug loop, to check if any of the options > are partially fast pluggable. > > these are defined in $partial_fast_plug_option > > Signed-off-by: Oguz Bektas > --- > > v1->v2: > * set $changes according to partial_fast_plug

Re: [pve-devel] [PATCH v2 guest-common 4/5] abstractconfig: add partial_fast_plug

2020-03-10 Thread Thomas Lamprecht
On 2/19/20 5:07 PM, Oguz Bektas wrote: > allows partial fast plugging of functions as defined in the > $partial_fast_plug_option in qemuserver (and possibly lxc later on) > > Signed-off-by: Oguz Bektas > --- > > v1->v2: > * rename get_partial_fast_plug_map -> get_partial_fast_plug_option > *

[pve-devel] applied: [PATCH v2 guest-common 1/5] guesthelpers: move/add safe comparison functions from lxc and qemu

2020-03-10 Thread Thomas Lamprecht
On 2/19/20 5:07 PM, Oguz Bektas wrote: > move the safe_string_ne and safe_num_ne functions to guesthelpers to > remove duplicate code. > > add the new safe_boolean_ne and typesafe_ne helper functions > > also add them in @EXPORT_OK > > Signed-off-by: Oguz Bektas > --- > > v1->v2: > * add new

Re: [pve-devel] [PATCH qemu-server 4/4] implement PoC migration to remote cluster/node

2020-03-10 Thread Thomas Lamprecht
On 3/10/20 9:22 AM, Fabian Grünbichler wrote: > do we need a stored mapping for intra-cluster migration as well? we > could put the same entities into the node config as well, and the > order of precedence would be: It could seem a bit strange to users to be able to have a convenience mapping

Re: [pve-devel] [PATCH qemu-server 4/4] implement PoC migration to remote cluster/node

2020-03-10 Thread Dietmar Maurer
> do we need a stored mapping for intra-cluster migration as well? we > could put the same entities into the node config as well, and the > order of precedence would be: IMHO this is not necessary ___ pve-devel mailing list

Re: [pve-devel] [PATCH qemu-server 4/4] implement PoC migration to remote cluster/node

2020-03-10 Thread Fabian Grünbichler
On March 10, 2020 7:25 am, Thomas Lamprecht wrote: > On 3/10/20 7:08 AM, Dietmar Maurer wrote: >>> I like the second option >>> >>> "mapping of source storage/bridge to target storage/bridge" >> ... >>> Also, it could be great to save mapping for reusing later >> >> Maybe in the new remote

[pve-devel] applied: [PATCH] netowrking-pre: fix udevadm path for non usr-merged systems

2020-03-10 Thread Thomas Lamprecht
udevadm ships actually a full executable copy in /bin and /sbin, so go for the path systemd-udev-settle.service is using too - but it shouldn't matter Signed-off-by: Thomas Lamprecht --- .../0007-networking.service-fix-dependencies-and-ordering.patch | 2 +- 1 file changed, 1 insertion(+), 1

Re: [pve-devel] [PATCH qemu-server 4/4] implement PoC migration to remote cluster/node

2020-03-10 Thread Thomas Lamprecht
On 3/10/20 7:08 AM, Dietmar Maurer wrote: >> I like the second option >> >> "mapping of source storage/bridge to target storage/bridge" > ... >> Also, it could be great to save mapping for reusing later > > Maybe in the new remote configuration (@fabian)? > Yeah, IMO the second options gives

Re: [pve-devel] [PATCH qemu-server 4/4] implement PoC migration to remote cluster/node

2020-03-10 Thread Dietmar Maurer
> I like the second option > > "mapping of source storage/bridge to target storage/bridge" ... > Also, it could be great to save mapping for reusing later Maybe in the new remote configuration (@fabian)? ___ pve-devel mailing list