Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in any_bridge

2020-04-08 Thread Alexandre DERUMIER
Hi Thomas,

Any news about this patch ? 

This is the last missing part for the beta testing.

I have seen a lot of users on the forum with questions with routed setup, with 
server at hertzer or other hosting providers.

I really think that bgp-evpn will help a lot (I'll be easy to defined new 
vnets/subnet with anycast gateway)

they seem to be good candidates for testing sdn :)




- Mail original -
De: "Thomas Lamprecht" 
À: "pve-devel" , "aderumier" 
Envoyé: Vendredi 27 Mars 2020 07:48:07
Objet: Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in 
any_bridge

On 3/26/20 3:07 AM, Alexandre Derumier wrote: 
> Signed-off-by: Alexandre Derumier  
> --- 
> PVE/API2/Network.pm | 8  
> 1 file changed, 8 insertions(+) 
> 
> diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm 
> index 4c691879..32ab8ebd 100644 
> --- a/PVE/API2/Network.pm 
> +++ b/PVE/API2/Network.pm 
> @@ -18,6 +18,7 @@ use base qw(PVE::RESTHandler); 
> 
> my $have_sdn; 
> eval { 
> + require PVE::Network::SDN; 
> require PVE::Network::SDN::Zones; 
> require PVE::Network::SDN::Controllers; 
> $have_sdn = 1; 
> @@ -246,6 +247,13 @@ __PACKAGE__->register_method({ 
> ($type eq 'bridge' || $type eq 'OVSBridge')); 
> delete $ifaces->{$k} if !$match; 
> } 
> + 
> + if ($have_sdn && $param->{type} eq 'any_bridge') { 
> + my $vnets = PVE::Network::SDN::get_local_vnets(); 
> + map { 
> + $ifaces->{$_} = $vnets->{$_}; 
> + } keys %$vnets; 
> + } 
> } 
> 
> return PVE::RESTHandler::hash_to_array($ifaces, 'iface'); 
> 

nicer, IMO :) Is there still stuff open for pve-network repo, or is 
something coming quite soon? 

Because this needs bumping, and I'd do that depending on how your 
plans about sending new stuff are. 

___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in any_bridge

2020-03-27 Thread Alexandre DERUMIER
also the documentation is  here:

https://pve.proxmox.com/pipermail/pve-devel/2020-March/042387.html

(Maybe I need to update some tree screenshots with new icons)


- Mail original -
De: "aderumier" 
À: "Thomas Lamprecht" 
Cc: "pve-devel" 
Envoyé: Vendredi 27 Mars 2020 09:53:57
Objet: Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in 
any_bridge

>>nicer, IMO :) Is there still stuff open for pve-network repo, or is 
>>something coming quite soon? 

It's missing this patch: 
https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg38598.html 

But that's all. 


Maybe the permissions management will need some polish before final release 
Mainly in gui, I think it's ok in pve-network api. 


But for a first beta, all features should work fine. 





- Mail original - 
De: "aderumier"  
À: "Thomas Lamprecht"  
Cc: "pve-devel"  
Envoyé: Vendredi 27 Mars 2020 09:48:05 
Objet: Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in 
any_bridge 

Alexandre Derumier 
Ingénieur système et stockage 

Manager Infrastructure 


Fixe : +33 3 59 82 20 10 



125 Avenue de la république 
59110 La Madeleine 
[ https://twitter.com/OdisoHosting ] [ https://twitter.com/mindbaz ] [ 
https://www.linkedin.com/company/odiso ] [ 
https://www.viadeo.com/fr/company/odiso ] [ 
https://www.facebook.com/monsiteestlent ] 

[ https://www.monsiteestlent.com/ | MonSiteEstLent.com ] - Blog dédié à la 
webperformance et la gestion de pics de trafic 

- Mail original - 
De: "Thomas Lamprecht"  
À: "pve-devel" , "aderumier"  
Envoyé: Vendredi 27 Mars 2020 07:48:07 
Objet: Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in 
any_bridge 

On 3/26/20 3:07 AM, Alexandre Derumier wrote: 
> Signed-off-by: Alexandre Derumier  
> --- 
> PVE/API2/Network.pm | 8  
> 1 file changed, 8 insertions(+) 
> 
> diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm 
> index 4c691879..32ab8ebd 100644 
> --- a/PVE/API2/Network.pm 
> +++ b/PVE/API2/Network.pm 
> @@ -18,6 +18,7 @@ use base qw(PVE::RESTHandler); 
> 
> my $have_sdn; 
> eval { 
> + require PVE::Network::SDN; 
> require PVE::Network::SDN::Zones; 
> require PVE::Network::SDN::Controllers; 
> $have_sdn = 1; 
> @@ -246,6 +247,13 @@ __PACKAGE__->register_method({ 
> ($type eq 'bridge' || $type eq 'OVSBridge')); 
> delete $ifaces->{$k} if !$match; 
> } 
> + 
> + if ($have_sdn && $param->{type} eq 'any_bridge') { 
> + my $vnets = PVE::Network::SDN::get_local_vnets(); 
> + map { 
> + $ifaces->{$_} = $vnets->{$_}; 
> + } keys %$vnets; 
> + } 
> } 
> 
> return PVE::RESTHandler::hash_to_array($ifaces, 'iface'); 
> 

nicer, IMO :) Is there still stuff open for pve-network repo, or is 
something coming quite soon? 

Because this needs bumping, and I'd do that depending on how your 
plans about sending new stuff are. 

___ 
pve-devel mailing list 
pve-devel@pve.proxmox.com 
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 

___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in any_bridge

2020-03-27 Thread Alexandre DERUMIER
>>nicer, IMO :) Is there still stuff open for pve-network repo, or is
>>something coming quite soon?

It's missing this patch:
https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg38598.html

But that's all.


Maybe the permissions management will need some polish before final release
Mainly in gui, I think it's ok in pve-network api.


But for a first beta, all features should work fine.





- Mail original -
De: "aderumier" 
À: "Thomas Lamprecht" 
Cc: "pve-devel" 
Envoyé: Vendredi 27 Mars 2020 09:48:05
Objet: Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in 
any_bridge

Alexandre Derumier 
Ingénieur système et stockage 

Manager Infrastructure 


Fixe : +33 3 59 82 20 10 



125 Avenue de la république 
59110 La Madeleine 
[ https://twitter.com/OdisoHosting ] [ https://twitter.com/mindbaz ] [ 
https://www.linkedin.com/company/odiso ] [ 
https://www.viadeo.com/fr/company/odiso ] [ 
https://www.facebook.com/monsiteestlent ] 

[ https://www.monsiteestlent.com/ | MonSiteEstLent.com ] - Blog dédié à la 
webperformance et la gestion de pics de trafic 

- Mail original - 
De: "Thomas Lamprecht"  
À: "pve-devel" , "aderumier"  
Envoyé: Vendredi 27 Mars 2020 07:48:07 
Objet: Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in 
any_bridge 

On 3/26/20 3:07 AM, Alexandre Derumier wrote: 
> Signed-off-by: Alexandre Derumier  
> --- 
> PVE/API2/Network.pm | 8  
> 1 file changed, 8 insertions(+) 
> 
> diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm 
> index 4c691879..32ab8ebd 100644 
> --- a/PVE/API2/Network.pm 
> +++ b/PVE/API2/Network.pm 
> @@ -18,6 +18,7 @@ use base qw(PVE::RESTHandler); 
> 
> my $have_sdn; 
> eval { 
> + require PVE::Network::SDN; 
> require PVE::Network::SDN::Zones; 
> require PVE::Network::SDN::Controllers; 
> $have_sdn = 1; 
> @@ -246,6 +247,13 @@ __PACKAGE__->register_method({ 
> ($type eq 'bridge' || $type eq 'OVSBridge')); 
> delete $ifaces->{$k} if !$match; 
> } 
> + 
> + if ($have_sdn && $param->{type} eq 'any_bridge') { 
> + my $vnets = PVE::Network::SDN::get_local_vnets(); 
> + map { 
> + $ifaces->{$_} = $vnets->{$_}; 
> + } keys %$vnets; 
> + } 
> } 
> 
> return PVE::RESTHandler::hash_to_array($ifaces, 'iface'); 
> 

nicer, IMO :) Is there still stuff open for pve-network repo, or is 
something coming quite soon? 

Because this needs bumping, and I'd do that depending on how your 
plans about sending new stuff are. 

___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in any_bridge

2020-03-27 Thread Alexandre DERUMIER


Alexandre Derumier 
Ingénieur système et stockage 

Manager Infrastructure 


Fixe : +33 3 59 82 20 10 



125 Avenue de la république 
59110 La Madeleine 
[ https://twitter.com/OdisoHosting ] [ https://twitter.com/mindbaz ] [ 
https://www.linkedin.com/company/odiso ] [ 
https://www.viadeo.com/fr/company/odiso ] [ 
https://www.facebook.com/monsiteestlent ] 

[ https://www.monsiteestlent.com/ | MonSiteEstLent.com ] - Blog dédié à la 
webperformance et la gestion de pics de trafic

- Mail original -
De: "Thomas Lamprecht" 
À: "pve-devel" , "aderumier" 
Envoyé: Vendredi 27 Mars 2020 07:48:07
Objet: Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in 
any_bridge

On 3/26/20 3:07 AM, Alexandre Derumier wrote: 
> Signed-off-by: Alexandre Derumier  
> --- 
> PVE/API2/Network.pm | 8  
> 1 file changed, 8 insertions(+) 
> 
> diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm 
> index 4c691879..32ab8ebd 100644 
> --- a/PVE/API2/Network.pm 
> +++ b/PVE/API2/Network.pm 
> @@ -18,6 +18,7 @@ use base qw(PVE::RESTHandler); 
> 
> my $have_sdn; 
> eval { 
> + require PVE::Network::SDN; 
> require PVE::Network::SDN::Zones; 
> require PVE::Network::SDN::Controllers; 
> $have_sdn = 1; 
> @@ -246,6 +247,13 @@ __PACKAGE__->register_method({ 
> ($type eq 'bridge' || $type eq 'OVSBridge')); 
> delete $ifaces->{$k} if !$match; 
> } 
> + 
> + if ($have_sdn && $param->{type} eq 'any_bridge') { 
> + my $vnets = PVE::Network::SDN::get_local_vnets(); 
> + map { 
> + $ifaces->{$_} = $vnets->{$_}; 
> + } keys %$vnets; 
> + } 
> } 
> 
> return PVE::RESTHandler::hash_to_array($ifaces, 'iface'); 
> 

nicer, IMO :) Is there still stuff open for pve-network repo, or is 
something coming quite soon? 

Because this needs bumping, and I'd do that depending on how your 
plans about sending new stuff are. 

___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] [PATCH V2 pve-manager] API2: Network: display vnets in any_bridge

2020-03-27 Thread Thomas Lamprecht
On 3/26/20 3:07 AM, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier 
> ---
>  PVE/API2/Network.pm | 8 
>  1 file changed, 8 insertions(+)
> 
> diff --git a/PVE/API2/Network.pm b/PVE/API2/Network.pm
> index 4c691879..32ab8ebd 100644
> --- a/PVE/API2/Network.pm
> +++ b/PVE/API2/Network.pm
> @@ -18,6 +18,7 @@ use base qw(PVE::RESTHandler);
>  
>  my $have_sdn;
>  eval {
> +require PVE::Network::SDN;
>  require PVE::Network::SDN::Zones;
>  require PVE::Network::SDN::Controllers;
>  $have_sdn = 1;
> @@ -246,6 +247,13 @@ __PACKAGE__->register_method({
>   ($type eq 'bridge' || $type eq 'OVSBridge'));
>   delete $ifaces->{$k} if !$match;
>   }
> +
> + if ($have_sdn && $param->{type} eq 'any_bridge') {
> + my $vnets = PVE::Network::SDN::get_local_vnets();
> + map {
> + $ifaces->{$_} = $vnets->{$_};
> + } keys %$vnets;
> + }
>   }
>  
>   return PVE::RESTHandler::hash_to_array($ifaces, 'iface');
> 

nicer, IMO :) Is there still stuff open for pve-network repo, or is
something coming quite soon?

Because this needs bumping, and I'd do that depending on how your
plans about sending new stuff are.

___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel