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

Alexandre DERUMIER aderumier at odiso.com
Fri Mar 23 12:26:58 CET 2012


Hi,
I'm currently reading the code, I would also like to add to form. (do you want expose it to users ?)

----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "root" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Vendredi 23 Mars 2012 12:08:23 
Objet: RE: [pve-devel] [PATCH] add tag to network parser 

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 





-- 

-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	


More information about the pve-devel mailing list