used the same description as for the guests.

Signed-off-by: Dominik Csapak <[email protected]>
---
 PVE/API2/Cluster.pm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/PVE/API2/Cluster.pm b/PVE/API2/Cluster.pm
index 04387ab4..5ae390bf 100644
--- a/PVE/API2/Cluster.pm
+++ b/PVE/API2/Cluster.pm
@@ -295,6 +295,20 @@ __PACKAGE__->register_method({
                    optional => 1,
                    renderer => 'bytes',
                },
+               netin => {
+                   description => "The amount of traffic that was sent to the 
guest since it's"
+                       ." start, in bytes. (type in qemu,lxc)",
+                   type => 'integer',
+                   optional => 1,
+                   renderer => 'bytes',
+               },
+               netin => {
+                   description => "The amount of traffic that was sent from 
the guest since it's"
+                       ." start, in bytes. (type in qemu,lxc)",
+                   type => 'integer',
+                   optional => 1,
+                   renderer => 'bytes',
+               },
                level => {
                    description => "Support level (when type == node).",
                    type => 'string',
@@ -325,6 +339,20 @@ __PACKAGE__->register_method({
                    renderer => 'bytes',
                    minimum => 0,
                },
+               diskread => {
+                   description => "The amount of bytes the guest read from 
it's disks since the"
+                       ." process start in bytes. (type in qemu,lxc)",
+                   type => 'integer',
+                   optional => 1,
+                   renderer => 'bytes',
+               },
+               diskwrite => {
+                   description => "The amount of bytes the guest wrote to it's 
disks since the"
+                       ." process start in bytes. (type in qemu,lxc)",
+                   type => 'integer',
+                   optional => 1,
+                   renderer => 'bytes',
+               },
                content => {
                    description => "Allowed storage content types (when type == 
storage).",
                    type => 'string',
@@ -345,6 +373,12 @@ __PACKAGE__->register_method({
                    type => 'integer',
                    optional => 1,
                },
+               template => {
+                   description => "Determines if the guest is a template. 
(type in qemu,lxc)",
+                   type => 'boolean',
+                   optional => 1,
+                   default => 0,
+               },
            },
        },
     },
-- 
2.39.5



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to