Revision af3eed60 src/rm/RequestManager.cc

View differences:

src/rm/RequestManager.cc
26 26
#include "RequestManagerAllocate.h"
27 27

  
28 28
#include "RequestManagerVirtualNetwork.h"
29
#include "RequestManagerVirtualMachine.h"
29 30

  
30 31
#include <sys/signal.h>
31 32
#include <sys/socket.h>
......
222 223
        
223 224
void RequestManager::register_xml_methods()
224 225
{
226
    // VirtualMachine Methods
227
    xmlrpc_c::methodPtr vm_deploy(new VirtualMachineDeploy());
228
    xmlrpc_c::methodPtr vm_migrate(new VirtualMachineMigrate());
229
    xmlrpc_c::methodPtr vm_action(new VirtualMachineAction()); 
230
    xmlrpc_c::methodPtr vm_savedisk(new VirtualMachineSaveDisk());
231

  
225 232
    // VirtualNetwork Methods
226 233
    xmlrpc_c::methodPtr vn_addleases(new VirtualNetworkAddLeases());
227 234
    xmlrpc_c::methodPtr vn_rmleases(new VirtualNetworkRemoveLeases());
......
275 282
    xmlrpc_c::methodPtr imagepool_info(new ImagePoolInfo());
276 283

  
277 284
/*     
278
    xmlrpc_c::methodPtr vm_deploy(new 
279
        RequestManager::VirtualMachineDeploy(vmpool,hpool,upool));
280
        
281
    xmlrpc_c::methodPtr vm_migrate(new 
282
        RequestManager::VirtualMachineMigrate(vmpool,hpool,upool));
283
        
284
    xmlrpc_c::methodPtr vm_action(new 
285
        RequestManager::VirtualMachineAction(vmpool,upool));
286

  
287
    xmlrpc_c::methodPtr vm_savedisk(new
288
        RequestManager::VirtualMachineSaveDisk(vmpool,upool,ipool));
289

  
290

  
291 285
    xmlrpc_c::methodPtr vm_chown(new
292 286
        RequestManager::GenericChown(this,VM));
293 287

  
294 288

  
295

  
296

  
297 289
    xmlrpc_c::methodPtr template_update(new
298 290
        RequestManager::TemplateUpdate(tpool, upool));
299 291

  
300 292
    xmlrpc_c::methodPtr template_rm_attribute(new
301 293
        RequestManager::TemplateRemoveAttribute(tpool, upool));
302 294

  
303

  
304 295
    xmlrpc_c::methodPtr template_chown(new
305 296
        RequestManager::GenericChown(this,TEMPLATE));
306 297

  
......
348 339
    xmlrpc_c::methodPtr image_rm_attribute(new    
349 340
        RequestManager::ImageRemoveAttribute(ipool, upool));
350 341
        
351
        
352 342
    xmlrpc_c::methodPtr image_persistent(new    
353 343
        RequestManager::ImagePersistent(ipool, upool));
354 344
        
......
360 350
*/
361 351
    /* VM related methods  */    
362 352
/*        
353

  
354
    RequestManagerRegistry.addMethod("one.vm.chown", vm_chown);
355
*/
363 356
    RequestManagerRegistry.addMethod("one.vm.deploy", vm_deploy);
364 357
    RequestManagerRegistry.addMethod("one.vm.action", vm_action);
365 358
    RequestManagerRegistry.addMethod("one.vm.migrate", vm_migrate);
366 359
    RequestManagerRegistry.addMethod("one.vm.savedisk", vm_savedisk);
367
    RequestManagerRegistry.addMethod("one.vm.chown", vm_chown);
368
*/
369 360
    RequestManagerRegistry.addMethod("one.vm.allocate", vm_allocate);
370 361
    RequestManagerRegistry.addMethod("one.vm.info", vm_info);
371 362

  

Also available in: Unified diff