[pve-devel] [PATCH 3/8] api2tool : extract_vm_stats : add template	value
    Alexandre Derumier 
    aderumier at odiso.com
       
    Wed Dec 12 13:32:38 CET 2012
    
    
  
Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/API2Tools.pm |    1 +
 1 file changed, 1 insertion(+)
diff --git a/PVE/API2Tools.pm b/PVE/API2Tools.pm
index bdf20a8..f7bfc04 100644
--- a/PVE/API2Tools.pm
+++ b/PVE/API2Tools.pm
@@ -55,6 +55,7 @@ sub extract_vm_stats {
 	$entry->{netout} = ($d->[10] || 0) + 0;
 	$entry->{diskread} = ($d->[11] || 0) + 0;
 	$entry->{diskwrite} = ($d->[12] || 0) + 0;
+	$entry->{template} = $d->[13] + 0;
     };
 
     return $entry;
-- 
1.7.10.4
    
    
More information about the pve-devel
mailing list