under pvenode guests bulkstart/stop/migrate

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

diff --git a/PVE/CLI/pvenode.pm b/PVE/CLI/pvenode.pm
index e3bc884e..2ae20ca0 100644
--- a/PVE/CLI/pvenode.pm
+++ b/PVE/CLI/pvenode.pm
@@ -7,6 +7,7 @@ use PVE::API2::ACME;
 use PVE::API2::ACMEAccount;
 use PVE::API2::Certificates;
 use PVE::API2::NodeConfig;
+use PVE::API2::Nodes;
 
 use PVE::CertHelpers;
 use PVE::Certificate;
@@ -165,6 +166,12 @@ our $cmddef = {
         set => [ 'PVE::API2::NodeConfig', 'set_options', [], { node => 
$nodename } ],
     },
 
+    guests => {
+       bulkstart => [ 'PVE::API2::Nodes::Nodeinfo', 'startall', [], { node => 
$nodename } ],
+       bulkstop => [ 'PVE::API2::Nodes::Nodeinfo', 'stopall', [], { node => 
$nodename } ],
+       bulkmigrate => [ 'PVE::API2::Nodes::Nodeinfo', 'migrateall', [ 'target' 
], { node => $nodename } ],
+    },
+
     cert => {
        info => [ 'PVE::API2::Certificates', 'info', [], { node => $nodename }, 
sub {
            my ($res) = @_;
-- 
2.11.0


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

Reply via email to