[pve-devel] [PATCH] add tag to network parser

Dietmar Maurer dietmar at proxmox.com
Fri Mar 23 12:08:23 CET 2012


comitted. But you also want to add it inside 'printQemuNetwork'?

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of root
> Sent: Freitag, 23. März 2012 09:00
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] [PATCH] add tag to network parser
> 
> 
> Signed-off-by: root <aderumier at odiso.com>
> ---
>  www/manager/Parser.js |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/www/manager/Parser.js b/www/manager/Parser.js index
> 17e16a1..5bedb8e 100644
> --- a/www/manager/Parser.js
> +++ b/www/manager/Parser.js
> @@ -29,6 +29,8 @@ Ext.define('PVE.Parser', { statics: {
>  		res.bridge = match_res[1];
>  	    } else if ((match_res = p.match(/^rate=(\d+(\.\d+)?)$/)) !== null) {
>  		res.rate = match_res[1];
> +	    } else if ((match_res = p.match(/^tag=(\d+(\.\d+)?)$/)) !== null) {
> +                res.tag = match_res[1];
>  	    } else {
>  		errors = true;
>  		return false; // break
> --
> 1.7.2.5
> 
> _______________________________________________
> 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