Feature #3748: Oneflow service shutdown and recover actions

This commit is contained in:
Carlos Martín committed 2015-06-15 12:23:07 +02:00
1 parent c6dd5e9f67
commit 64248d53e8
1 file changed
+15 -14
@@ -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
},
//--------------------------------------------------------------------------