[pve-devel] [PATCH manager] pvesr: allow schedule now from CLI
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Jun 29 12:08:59 CEST 2017
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
PVE/CLI/pvesr.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/CLI/pvesr.pm b/PVE/CLI/pvesr.pm
index 16989308..7da94404 100644
--- a/PVE/CLI/pvesr.pm
+++ b/PVE/CLI/pvesr.pm
@@ -375,6 +375,7 @@ my $print_job_status = sub {
our $cmddef = {
status => [ 'PVE::API2::Replication', 'status', [], { node => $nodename }, $print_job_status ],
+ 'schedule-now' => [ 'PVE::API2::Replication', 'schedule_now', ['id'], { node => $nodename }],
list => [ 'PVE::API2::ReplicationConfig', 'index' , [], {}, $print_job_list ],
read => [ 'PVE::API2::ReplicationConfig', 'read' , ['id'], {},
--
2.11.0
More information about the pve-devel
mailing list