Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 PVE/API2/Qemu/Agent.pm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/PVE/API2/Qemu/Agent.pm b/PVE/API2/Qemu/Agent.pm
index 2743595..24b44a9 100644
--- a/PVE/API2/Qemu/Agent.pm
+++ b/PVE/API2/Qemu/Agent.pm
@@ -35,7 +35,29 @@ my $guest_agent_commands = [
 # 'method': e.g. GET/POST
 # 'perms': either a string like 'VM.Montior' or an array of such strings
 #         or a permission object
-my $ga_cmd_properties =  {};
+my $ga_cmd_properties =  {
+    'network-get-interfaces' => {
+       method => 'GET',
+    },
+    'get-vcpus' => {
+       method => 'GET',
+    },
+    'get-fsinfo' => {
+       method => 'GET',
+    },
+    'get-memory-blocks' => {
+       method => 'GET',
+    },
+    'get-memory-block-info' => {
+       method => 'GET',
+    },
+    'get-time' => {
+       method => 'GET',
+    },
+    'info' => {
+       method => 'GET',
+    },
+};
 
 __PACKAGE__->register_method({
     name => 'index',
-- 
2.11.0


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to