[pve-devel] [PATCH] use linko+ name for ovs fwbrint interfaces

Dietmar Maurer dietmar at proxmox.com
Tue May 13 14:37:12 CEST 2014


Applied slightly modified version, using "link${vmid}o${devid}";

> -----Original Message-----
> From: pve-devel [mailto:pve-devel-bounces at pve.proxmox.com] On Behalf
> Of Alexandre Derumier
> Sent: Dienstag, 13. Mai 2014 07:58
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] use linko+ name for ovs fwbrint interfaces
> 
> we need to match link+ rule from iptables rules, and need to have a name
> different than link(\d+)i(\d+), for distinguished bridge/ovs interface unplug
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>  data/PVE/Network.pm |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/data/PVE/Network.pm b/data/PVE/Network.pm index
> bacca24..613612e 100644
> --- a/data/PVE/Network.pm
> +++ b/data/PVE/Network.pm
> @@ -89,7 +89,7 @@ my $compute_fwbr_names = sub {
>      my $fwbr = "fwbr${vmid}i${devid}";
>      my $vethfw = "link${vmid}i${devid}";
>      my $vethfwpeer = "link${vmid}p${devid}";
> -    my $ovsintport = "fwint${vmid}i${devid}";
> +    my $ovsintport = "linko${vmid}i${devid}";
> 
>      return ($fwbr, $vethfw, $vethfwpeer, $ovsintport);  };
> --
> 1.7.10.4
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





More information about the pve-devel mailing list