Commit 40352077 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

new command to answer pings from the frontend

parent 0c971547
......@@ -593,6 +593,14 @@ sub _cmd_list_vm_types {
$request->status('done');
}
sub _cmd_ping_backend {
my $self = shift;
my $request = shift;
$request->status('done');
return 1;
}
sub _req_method {
my $self = shift;
my $cmd = shift;
......@@ -603,6 +611,7 @@ sub _req_method {
,create => \&_cmd_create
,remove => \&_cmd_remove
,shutdown => \&_cmd_shutdown
,ping_backend => \&_cmd_ping_backend
,prepare_base => \&_cmd_prepare_base
,list_vm_types => \&_cmd_list_vm_types
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment