1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-20 10:50:08 +03:00

Feature #3748: Oneflow service shutdown and recover actions

This commit is contained in:
Carlos Martín 2015-06-15 12:23:07 +02:00
parent c6dd5e9f67
commit 64248d53e8

View File

@ -63,24 +63,25 @@ define(function(require) {
}
},
/* TODO
"Service.shutdown" : {
type: "multiple",
call: OpenNebula.Service.shutdown,
elements: serviceElements,
error: Notifier.onError,
notify: true
type: "multiple",
call: OpenNebulaResource.shutdown,
elements: function() {
return Sunstone.getDataTable(TAB_ID).elements();
},
error: Notifier.onError,
notify: true
},
"Service.recover" : {
type: "multiple",
call: OpenNebula.Service.recover,
elements: serviceElements,
error: Notifier.onError,
notify: true
}
*/
type: "multiple",
call: OpenNebulaResource.recover,
elements: function() {
return Sunstone.getDataTable(TAB_ID).elements();
},
error: Notifier.onError,
notify: true
},
//--------------------------------------------------------------------------