Revision 061ea1b3 src/rm/RequestManager.cc

View differences:

src/rm/RequestManager.cc
213 213
        
214 214
void RequestManager::register_xml_methods()
215 215
{
216
    xmlrpc_c::methodPtr vm_allocate(new 
216
/*    xmlrpc_c::methodPtr vm_allocate(new 
217 217
        RequestManager::VirtualMachineAllocate(vmpool,vnpool,ipool,tpool,upool));
218 218
        
219 219
    xmlrpc_c::methodPtr vm_deploy(new 
......
377 377

  
378 378
    xmlrpc_c::methodPtr imagepool_info(new    
379 379
        RequestManager::ImagePoolInfo(ipool, upool));
380

  
380
*/
381 381
    /* VM related methods  */    
382
        
382
/*        
383 383
    RequestManagerRegistry.addMethod("one.vm.allocate", vm_allocate);
384 384
    RequestManagerRegistry.addMethod("one.vm.deploy", vm_deploy);
385 385
    RequestManagerRegistry.addMethod("one.vm.action", vm_action);
......
389 389
    RequestManagerRegistry.addMethod("one.vm.chown", vm_chown);
390 390

  
391 391
    RequestManagerRegistry.addMethod("one.vmpool.info", vm_pool_info);
392

  
392
*/
393 393
    /* VM Template related methods*/
394

  
394
/*
395 395
    RequestManagerRegistry.addMethod("one.template.allocate",template_allocate);
396 396
    RequestManagerRegistry.addMethod("one.template.delete", template_delete);
397 397
    RequestManagerRegistry.addMethod("one.template.info", template_info);
......
401 401
    RequestManagerRegistry.addMethod("one.template.chown", template_chown);
402 402

  
403 403
    RequestManagerRegistry.addMethod("one.templatepool.info",template_pool_info);
404

  
404
*/
405 405
    /* Host related methods*/
406
     
406
/*     
407 407
    RequestManagerRegistry.addMethod("one.host.allocate", host_allocate);   
408 408
    RequestManagerRegistry.addMethod("one.host.info", host_info);
409 409
    RequestManagerRegistry.addMethod("one.host.delete", host_delete);
410 410
    RequestManagerRegistry.addMethod("one.host.enable", host_enable);
411 411
    
412 412
    RequestManagerRegistry.addMethod("one.hostpool.info", hostpool_info); 
413

  
413
*/
414 414
    /* Cluster related methods */
415

  
415
/*
416 416
    RequestManagerRegistry.addMethod("one.cluster.allocate", cluster_allocate);
417 417
    RequestManagerRegistry.addMethod("one.cluster.info", cluster_info);
418 418
    RequestManagerRegistry.addMethod("one.cluster.delete", cluster_delete);
......
420 420
    RequestManagerRegistry.addMethod("one.cluster.remove", cluster_remove);
421 421

  
422 422
    RequestManagerRegistry.addMethod("one.clusterpool.info", clusterpool_info);
423

  
423
*/
424 424
    /* Group related methods */
425

  
425
/*
426 426
    RequestManagerRegistry.addMethod("one.group.allocate",  group_allocate);
427 427
    RequestManagerRegistry.addMethod("one.group.info",      group_info);
428 428
    RequestManagerRegistry.addMethod("one.group.delete",    group_delete);
429 429

  
430 430
    RequestManagerRegistry.addMethod("one.grouppool.info",  grouppool_info);
431

  
431
*/
432 432
    /* Network related methods*/
433

  
433
/*
434 434
    RequestManagerRegistry.addMethod("one.vn.allocate", vn_allocate);   
435 435
    RequestManagerRegistry.addMethod("one.vn.info", vn_info); 
436 436
    RequestManagerRegistry.addMethod("one.vn.publish", vn_publish);
......
440 440
    RequestManagerRegistry.addMethod("one.vn.chown", vn_chown);
441 441

  
442 442
    RequestManagerRegistry.addMethod("one.vnpool.info", vnpool_info); 
443
    
443
*/    
444 444
    
445 445
    /* User related methods*/
446
        
446
/*        
447 447
    RequestManagerRegistry.addMethod("one.user.allocate", user_allocate);
448 448
    RequestManagerRegistry.addMethod("one.user.delete", user_delete);
449 449
    RequestManagerRegistry.addMethod("one.user.info", user_info);
......
451 451
    RequestManagerRegistry.addMethod("one.user.chown", user_chown);
452 452

  
453 453
    RequestManagerRegistry.addMethod("one.userpool.info", userpool_info);
454
    
454
*/    
455 455
    /* Image related methods*/
456
    
456
/*    
457 457
    RequestManagerRegistry.addMethod("one.image.allocate", image_allocate);
458 458
    RequestManagerRegistry.addMethod("one.image.delete", image_delete);
459 459
    RequestManagerRegistry.addMethod("one.image.info", image_info);
......
465 465
    RequestManagerRegistry.addMethod("one.image.chown", image_chown);
466 466

  
467 467
    RequestManagerRegistry.addMethod("one.imagepool.info", imagepool_info);
468
    
468
  */  
469 469
};
470 470

  
471 471
/* -------------------------------------------------------------------------- */

Also available in: Unified diff