Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
40352077
Commit
40352077
authored
Sep 12, 2016
by
Francesc Guasch
Browse files
new command to answer pings from the frontend
parent
0c971547
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Ravada.pm
View file @
40352077
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment