Revision 5b9fed52 src/rm/RequestManager.cc

View differences:

src/rm/RequestManager.cc
233 233

  
234 234
    xmlrpc_c::methodPtr vm_pool_info(new
235 235
        RequestManager::VirtualMachinePoolInfo(vmpool,upool));
236
        
236

  
237
    xmlrpc_c::methodPtr template_allocate(new
238
        RequestManager::TemplateAllocate(tpool,upool));
239

  
240
    xmlrpc_c::methodPtr template_delete(new
241
        RequestManager::TemplateDelete(tpool, upool));
242

  
243
    xmlrpc_c::methodPtr template_info(new
244
        RequestManager::TemplateInfo(tpool, upool));
245

  
246
    xmlrpc_c::methodPtr template_update(new
247
        RequestManager::TemplateUpdate(tpool, upool));
248

  
249
    xmlrpc_c::methodPtr template_rm_attribute(new
250
        RequestManager::TemplateRemoveAttribute(tpool, upool));
251

  
252
    xmlrpc_c::methodPtr template_publish(new
253
        RequestManager::TemplatePublish(tpool, upool));
254

  
255
    xmlrpc_c::methodPtr template_pool_info(new
256
        RequestManager::TemplatePoolInfo(tpool,upool));
257

  
237 258
    xmlrpc_c::methodPtr host_allocate(new 
238 259
        RequestManager::HostAllocate(hpool,upool));
239 260
        
......
340 361
    RequestManagerRegistry.addMethod("one.vm.savedisk", vm_savedisk);
341 362

  
342 363
    RequestManagerRegistry.addMethod("one.vmpool.info", vm_pool_info);
343
     
364

  
365
    /* VM Template related methods*/
366

  
367
    RequestManagerRegistry.addMethod("one.template.allocate",template_allocate);
368
    RequestManagerRegistry.addMethod("one.templatepool.info",template_pool_info);
369

  
344 370
    /* Host related methods*/
345 371
     
346 372
    RequestManagerRegistry.addMethod("one.host.allocate", host_allocate);   

Also available in: Unified diff